CAN BSL operation with XMC4000 vs XMC1400

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

cross mob
ipek
Level 4
Level 4
25 replies posted 10 replies posted 10 questions asked
Hi,

Unlike for XMC1400, there is a whole document for XMC4000 to use CAN BSL(https://www.infineon.com/dgdl/Infineon-AP32269_XMC4000_CAN_BSL-AN-v01_00-EN.pdf?fileId=5546d4624933b...).
And in that document there is a section explaining how to program flash. So in XMC4000 it is possible to load program to flash.
In the document for XMC1400 about boot mode handling (https://www.infineon.com/dgdl/Infineon-ApplicationNote_XMC1000_Microcontroller_BootModeHandling-AN-v...)
no mention of any flash operation. The document says that in CAN BSL mode program will be loaded to sram and if no init fram received from the client, CAN BSL starts the application in a certain flash location.
Are flash programming operations that are provided for XMC4000,valid for XMC1400 too ?
0 Likes
3 Replies
jferreira
Employee
Employee
10 sign-ins 5 sign-ins First like received
Hi,

In CAN_BSL mode the user can download their program into SRAM, starting at address 0x20000200. After the program is received and stored, the start-up software will run the user’s program at SRAM address 0x20000200.
So it is the program received, secondary bootloader, which is responsable for receiving the application and flash it. After that a system reset will be needed.
CAN_BSL supports a time-out option. If the device does not receive the initialization frame from the host within the duration defined in BMI.BLSTO, it will jump to the flash location whose address is stored at 0x10001004, and execute from there.


Regards,
Jesus
0 Likes
MM10
Level 1
Level 1
First reply posted First question asked Welcome!

Hi,

i am trying to download bootloader program from xmc 4500 to xmc 1403 in can bsl 
with time out. After the data download is complete in 1403,
the bootloader does not start. Is there any particular setting to set in the startup
file that escapes me?

Thanks

 

0 Likes
ipek
Level 4
Level 4
25 replies posted 10 replies posted 10 questions asked
Thank you for the explanation, it's clear now.

Regards,
Ipek
0 Likes