Simple custom boot loader for XMC in Flash

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

cross mob
rt54321
Level 1
Level 1
First reply posted 10 sign-ins 5 questions asked

We are looking to make our custom boot loader with an XMC4400, where the setup will be this:

Flash starts at 0x 0C00 0000  <--- Boot loader code

                              0x 0C00 4000  <--- User application code

We do NOT intend on using ASC, or CAN BSL modes, or PSRAM.

I currently have a simple boot loader program that does run at powerup, but it does NOT "hand off" to the application program when it is done.

What is the command, at the conclusion of the boot loader, to "Go to 0x 0C00 4000 and start the main app"?

0 Likes
1 Solution
lock attach
Attachments are accessible only for community members.
Owen_Su
Moderator
Moderator
Moderator
250 solutions authored 500 replies posted 50 likes received

Hi, @rt54321 ,

    You can refer to the picture below:

Owen_Su_0-1676873339865.png

    The application execution can only be triggered by a system reset ( click the button 'reset' or the software reset), you can refer to the example for more details. Hope this can help you.

BR,

Owen

View solution in original post

0 Likes
1 Reply
lock attach
Attachments are accessible only for community members.
Owen_Su
Moderator
Moderator
Moderator
250 solutions authored 500 replies posted 50 likes received

Hi, @rt54321 ,

    You can refer to the picture below:

Owen_Su_0-1676873339865.png

    The application execution can only be triggered by a system reset ( click the button 'reset' or the software reset), you can refer to the example for more details. Hope this can help you.

BR,

Owen

0 Likes