Switch to Alternate Boot (XC164)

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

cross mob
Not applicable
Hello,

I have 2 programs flashed on microcontroller XC164.
The first program is placed in sector starting C0'0000 and the second one in sector starting C1'0000.

How can I switch to Alternate Boot for XC164 microcontroller programatically?
I tried to enable ALE pin P20.4 but after software reset the application is started from default start location C0'0000.

My second question is if it is possible to switch to Alternate Boot or Standard Boot "permanently".
I mean that if i switch to Alternate Boot then after every reset the program placed on C1'0000 will be started unless Standard Boot is selected (e.g. by program on C1'0000)

Thank you very much for your answer.

Best regards,
Thomas
0 Likes
0 Replies