I am working Boot loader using RH850 R7F701008 device. I could successfully flash the application firmware into flash memory,
but i couldn't load the application after flashing, i am not able to load the vector address of application firmware.
if any one worked on such issue help me sort out the issue ,
Are you trying to jump to the application code directly after flashing, or are you saying it won't run the application after a reset?
In reply to Scott Winder:
Thanks for ur response,
I am not able run the application after reset
In reply to Deepu:
interrupt vector table, RH850, boot loader
Please use the R_FCL_CMD_SET_RESET_VECTOR command in the FCL to change the reset vector.
we are using our own boot loader implementation,
i am not using renesas FCL library, can u tell me which register i have to use reset Vector
You're not using FCL for the flash write? Are you interfacing directly with the FACI? (In that case, the "Config Program" command can be used to change the reset vector.)
yes we are using FACI, could let me know to how to modify "config program" Command i tried to figure it out.
Section 6.3.17 in the flash manual describes the process of using the command. You need to load the variable reset vector address into the FSADDR register before you begin.
I want know how to use the R_FCL_CMD_SET_RESET_VECTOR command in the FCL to change the reset vector.
can you give me the example?thank you !
In reply to roger:
You'll need the flash manual, which requires an NDA. Please contact the Renesas office for your region for details on obtaining the relevant documentation.
In reply to Ganesh:
I have concern/doubt when we try to change rest vector location using FACI command.
Let's say i have factory production on going where we flash boot loader only. ( any of the .elf/.s37/.hex format ) The boot loader reside in 0800 0000H to 0800 FFFFH Code flash (User boot area). Once we download the file, we do power cycle.
Now by default reset vector is set to 0000 0000H. There is no executable code present. It will never jump to bootloader. So how to tackle this situation ? Where should we write a code to load the variable reset vector address ? If we write in boot loader, it is not going execute though.
Is the Option Byte Setting through external device is only option ?
In reply to Shubham: