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

cross mob
Tonny
Level 3
Level 3
25 replies posted 10 questions asked 50 sign-ins

Hi Infineon:

In TC387 bootloader project, I want flash driver function compile into an independent BIN file. when boot start the file load into ram and run.  I don't know how to make the flash driver. please give me some guidance and advice.

0 Likes
1 Solution
Di_W
Moderator
Moderator
Moderator
1000 replies posted 250 solutions authored 100 likes received

There is a demo code for Flash programming on Git. And pdf and chm.

View solution in original post

0 Likes
3 Replies
Di_W
Moderator
Moderator
Moderator
1000 replies posted 250 solutions authored 100 likes received

Hi Tonny, 

Do you mean SOTA example code? If you use SOTA, you can load a .hex file from UART or CAN interface, and then program into the Flash B bank, then switch the system to Bank B. In the same time, the program is running on Bank A or on the RAM.   You could contact local Infineon representative for the example.

0 Likes
Tonny
Level 3
Level 3
25 replies posted 10 questions asked 50 sign-ins

Hi dw,

Thank you for your reply. I didn't mean SOTA example code. Because the safety reason, the flash driver code can't exist in flash in application. When boot start, the flash driver image download from PC by can bus separated. the API still invoked by function pointer from RAM range.

0 Likes
Di_W
Moderator
Moderator
Moderator
1000 replies posted 250 solutions authored 100 likes received

There is a demo code for Flash programming on Git. And pdf and chm.

0 Likes