Do this only if you do not have the J-Link Software installed. Note your installation directory, you will need that to call the executable from the command line in a later step.
Step 2: Connect the Board to The Computer
Connect the J-Link debugger to your Windows or Mac computer and connect the debugger to the S3A7 Fast Prototyping board, as shown (note the position of the red stripe on the ribbon cable):
Now, connect the USB cable from the JLink programmer to your PC USB port. You also must apply external power on the S3A7 board.
Note, there will be one USB powering the S3A7 board and a second USB from the JLink programmer to your PC.
When you first plug in your board, you will notice that Windows will install drivers.
On your Windows PC, open the J-Flash Lite application.
You may see a popup notice like this, click OK.
Config the Settings on the following screen like so. Note the Device is “R7FS3A77C”, Interface is JTAG and speed is 6000. Click OK once the settings are configured.
On the next window, add a Data File (your .srec image you wish to program)
Select your image to program and click Open. In this case, we are programming the s3a7-embedded.srec image.
Click “Program Device”.
Restart the Board. Congrats, you’re done!
NOTE: If you see this popup, that means the JLink drivers were not successfully installed and you should unplug the USB cable and plug back to your PC until you see the JLink driver install. Then repeat the previous step in flash the board.
Follow this video guide to flash the board using Terminal and command line.
For this step you will need the following command and the program.jlink file (download).