This tutorial will walk you through on how to add a .srec image to the S5D9 Board using the onboard boot loader application with USB mass storage support. You may follow along the video below or scroll down for a step-by-step guide.
What you need:
Renesas S5D9 IoT Fast Prototyping Kit (Order Here)
Program image (.srec format) – this can be found on the Quick Start Guide of the tutorial you want to complete
Plug your S5D9 board into your computer. It should show up as a USB Drive. Do not connect to Ethernet at this point.
Check and make sure the board should have the green, red, and yellow LED lights strobing.
Open the folder. There may be other files such as ‘factory_test.log’ and ‘factory_test_passed.ok’. Do not edit these files.
Make sure the files “update.txt” and “loaded.txt” are not present. If they are, delete them, wait 2 seconds, then unplug the board and plug it back in.
Copy the SREC file (from your tutorial) into the “Put binary here” folder. If the SREC you are copying already exists in the folder, delete it first and wait 2 seconds. This is expected to take about 5 minutes to copy over. You may not see any progress for the first 1.5 minutes.
Back in the original directory, create a file named “update.txt”, and put the whole filename of the SREC you just copied into it. Wait 2 seconds, then unplug the board and plug it back in.
Plug in your board and connect to Ethernet. When plugged in, the file should have been renamed “loaded.txt”, and the board will be running the latest firmware. If the file is still named “update.txt”, the application binary was not updated properly. Please go back and check the previous steps.
Congrats, Your S5D9 board is now updated with an application binary! Your board is now ready to complete your tutorial.