Not applicable
Oct 23, 2014
11:10 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 23, 2014
11:10 PM
Hello,
I'm planning to implement a Firmware over the air updating mechanism on an XMC device.
The file shall be downloaded via cell network and stored in an external flash memory.
After that, a bootloader shall replace the previous application.
So I have the following questions:
* How should internal flash be segmented, so that the bootloader resides in a protected area?
* Location of ISR addresses?
* What kind of file type should the compiler generate, so that it can be transfered in internal code flash?
* Any app notes/code examples describing a similiar situation?
Thanks in advance for any suggestions!
George
I'm planning to implement a Firmware over the air updating mechanism on an XMC device.
The file shall be downloaded via cell network and stored in an external flash memory.
After that, a bootloader shall replace the previous application.
So I have the following questions:
* How should internal flash be segmented, so that the bootloader resides in a protected area?
* Location of ISR addresses?
* What kind of file type should the compiler generate, so that it can be transfered in internal code flash?
* Any app notes/code examples describing a similiar situation?
Thanks in advance for any suggestions!
George
4 Replies
Oct 24, 2014
01:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 24, 2014
01:38 AM
This is very challenging. You might want to search the forum for those who had done Alternate Boot Mode (ABM)
* How should internal flash be segmented, so that the bootloader resides in a protected area?
The XMC has got a factory programmed startup software within it's flash to support ASC flash programming. During flash programming the bootloader is copied into the RAM to execute the flash command for flash programming. Therefore it is not advisable to have your bootloader to reside in the flash area.
* Location of ISR addresses?
Please check reference manual.
* What kind of file type should the compiler generate, so that it can be transfered in internal code flash?
You can temporary create the bootloader in the flash during the development stage. However these bootloadercodes need to be mapped to the external flash using linker script.
* Any app notes/code examples describing a similiar situation?
Nope.. So sorry. But some guys over here are doing it.
Good luck
Travis
* How should internal flash be segmented, so that the bootloader resides in a protected area?
The XMC has got a factory programmed startup software within it's flash to support ASC flash programming. During flash programming the bootloader is copied into the RAM to execute the flash command for flash programming. Therefore it is not advisable to have your bootloader to reside in the flash area.
* Location of ISR addresses?
Please check reference manual.
* What kind of file type should the compiler generate, so that it can be transfered in internal code flash?
You can temporary create the bootloader in the flash during the development stage. However these bootloadercodes need to be mapped to the external flash using linker script.
* Any app notes/code examples describing a similiar situation?
Nope.. So sorry. But some guys over here are doing it.
Good luck
Travis
Not applicable
Oct 29, 2014
03:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 29, 2014
03:25 AM
Hello Travis,
Thank you for the tips, I will do my research and update if I have something new.
Best regards,
George
Thank you for the tips, I will do my research and update if I have something new.
Best regards,
George
Not applicable
Mar 29, 2016
10:01 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 29, 2016
10:01 PM
Hi Travis,
I am new to this forum.Currently i am working on Field firmware Update project and Boot loader plays the Key role in it. I am trying to Update the firmware through external SPI based SD card interface.
So i have to implement the SPI based boot loader for XMC1400.I am working on XMC1400 Dev. Kit. What steps i need to follow for this implementation?.Please help in this prospective.
I am new to this forum.Currently i am working on Field firmware Update project and Boot loader plays the Key role in it. I am trying to Update the firmware through external SPI based SD card interface.
So i have to implement the SPI based boot loader for XMC1400.I am working on XMC1400 Dev. Kit. What steps i need to follow for this implementation?.Please help in this prospective.
Not applicable
Mar 29, 2016
10:03 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 29, 2016
10:03 PM
Hi,
Anyone please help me in above implementation.
Thanks & Regards,
M. Ramarao.
Anyone please help me in above implementation.
Thanks & Regards,
M. Ramarao.