Jun 16, 2019
06:55 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 16, 2019
06:55 AM
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 ?
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 ?
3 Replies
Jun 18, 2019
08:10 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 18, 2019
08:10 AM
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
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
Dec 22, 2021
05:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 22, 2021
05:15 AM
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
Jun 18, 2019
12:07 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 18, 2019
12:07 PM
Thank you for the explanation, it's clear now.
Regards,
Ipek
Regards,
Ipek