Traveo 2 run code from RAM

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
dach_4705251
Level 1
Level 1
First like received First reply posted First question asked

Hello,

I would like to develop a custom 'production line' bootloader for the Traveo2.

The idea would be to start in flash, execute some functions, then relocate the code to RAM (offering CAN and Flash support).

Using this RAM code i would like to rewrite the FLASH contents with a new firmware image and in the end leave the board ready to start the new firmware at next power on.

I have access to the SDL examples in tviibe2m\tools\iar\sram but it's not clear to me how this example should be run, is it depending on some other image running in Flash? Some help to get this example running would be appreciated as well as some comments if my approach sounds feasible.

 

Best regards,
Dan

1 Reply
dach_4705251
Level 1
Level 1
First like received First reply posted First question asked

So it seems that things are made easier by the fact that the startup code already relocates the interrupt vector to RAM.

Now the question is if there is already some example code to relocate the flash drivers to RAM so that all the flash erase and write functions can be executed from RAM.

 

0 Likes