s7g2 (Custom Board)
We want to code flash our board for upgrades etc.
We have made provision to store any file(s) required for this to the SD-Card.
Please share any link(s) which can help us achieve this.
1. Which Files/Resources are required for the process which I need to transfer to the SD-Card? Is any Conversion etc required? our current Output file is a .Hex.
2. After which I will place the new code in a buffer and flash it... Any working examples?
The current solution for Synergy is the Secure Boot Manager - Secure Boot Manager - Application Note - Renesas https://www.renesas.com/us/en/document/apn/secure-boot-manager-application-note
Your chip has a bootloader built in that can receive a flash image via USB or serial from a Renesas Flash PC tool.
The boot manger app will allow you to build a bootloader that will read your image from SD card, erase the existing app, write a new one, and jump to it.
You could use a hex file with s recs or other format. You might want to consider a secure bootloader that will only allow ot to flash image an signed image known to produced by you.
Thank you for your reply.
My requirement is to flash the Device from Hex code which was uploaded via WebServer to the Device MMC.
I don't find any clue in Secure BOOT Manager...
I have also referred to the post by Karol which seems to have been used successfully by many...
Where I find the use of g_sf_firmware_image_int
or the FirmWare Framework...
I cant seem to find any reference in SSP 1.7.0
Still Looking for a solution.
Also I find there is "Secure Boot Loader"
and a "Customisable Boot Loader".
which should I follow in my case..
more so I found a post regrading..
Where in the post "Karol" clearly mentions...
whereas in Both Secure/Customisable Flash loader... I Found...
The Secure Boot loader uses a PC tool (Which we are also Using in Production) and doesn't serve our purpose...
I have a Hex/Bin/Srec code in the SDCard which is in the Device and I want to use it to flash the Device.
Any Lead to this?