Sep 21, 2016
10:41 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 21, 2016
10:41 PM
Hello,
I am using XMC4800 for an EtherCAT slave module. Although we can update firmware via ASC Bootloader using Infineon's memtool, our users want to update firmware via EtherCAT FoE or, at least, USB device port. Is there any available FoE or USB solution?
I found that Infineon has an application note "Firmware update via SD card" (for XMC4500), where can I download the example code for this AN? I think I can modify this example for FoE, USB updating.
Thank you
I am using XMC4800 for an EtherCAT slave module. Although we can update firmware via ASC Bootloader using Infineon's memtool, our users want to update firmware via EtherCAT FoE or, at least, USB device port. Is there any available FoE or USB solution?
I found that Infineon has an application note "Firmware update via SD card" (for XMC4500), where can I download the example code for this AN? I think I can modify this example for FoE, USB updating.
Thank you
- Tags:
- IFX
10 Replies
Sep 21, 2016
11:54 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 21, 2016
11:54 PM
Hi,
You can find the app note below.
http://www.infineon.com/cms/en/product/microcontroller/32-bit-industrial-microcontroller-based-on-ar...
You can find the app note below.
http://www.infineon.com/cms/en/product/microcontroller/32-bit-industrial-microcontroller-based-on-ar...
Attachments are accessible only for community members.
Sep 21, 2016
11:57 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 21, 2016
11:57 PM
Sep 22, 2016
07:00 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 22, 2016
07:00 PM
Thank you, I will have a try.
Oct 04, 2016
06:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 04, 2016
06:50 AM
Hello mophong,
If you don't mind sharing, what is your status on this?
I have been delegated the same task as you are trying to solve, namely application update via EtherCAT FoE.
What I have been thinking is a bootloader that can initiate EtherCAT in init mode, and depending on mode request, pre-op or boot, the bootloader will load the application (if pre-op mode was requested), or receive a new application (if boot mode was requested).
The way that DAVE's EtherCAT app init's is by loading the eeprom.h/flash first. Is there a way to load a truely minimalistic EtherCAT where only FoE mailbox is provided for the bootloader, and then a full initialization is done by the application when it is loaded?
Regards Mathias
If you don't mind sharing, what is your status on this?
I have been delegated the same task as you are trying to solve, namely application update via EtherCAT FoE.
What I have been thinking is a bootloader that can initiate EtherCAT in init mode, and depending on mode request, pre-op or boot, the bootloader will load the application (if pre-op mode was requested), or receive a new application (if boot mode was requested).
The way that DAVE's EtherCAT app init's is by loading the eeprom.h/flash first. Is there a way to load a truely minimalistic EtherCAT where only FoE mailbox is provided for the bootloader, and then a full initialization is done by the application when it is loaded?
Regards Mathias
Oct 04, 2016
07:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 04, 2016
07:39 AM
Hi,
please find the example on Firmware update via FoE
ETHCAT_FWUPDATE_SSC_APPLICATION_XMC48
inside DAVE or from the example download side:
http://www.infineon.com/cms/en/product/promopages/aim-mc/dave_downloads.html
Make sure to have a complete understanding of this example first:
ETHCAT_SSC_XMC48
BR
Michael
please find the example on Firmware update via FoE
ETHCAT_FWUPDATE_SSC_APPLICATION_XMC48
inside DAVE or from the example download side:
http://www.infineon.com/cms/en/product/promopages/aim-mc/dave_downloads.html
Make sure to have a complete understanding of this example first:
ETHCAT_SSC_XMC48
BR
Michael
Oct 04, 2016
07:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 04, 2016
07:42 AM
On the example download page and inside DAVE you als find examples for firmware update via USB:
USB Firmware update XMC acting as device: USBD_MS_BOOTLOADER_IAP_XMC47
USB Firmware update XMC acting as host: USBH_MS_BOOTLOADER_IAP_XMC45
BR
Michael
USB Firmware update XMC acting as device: USBD_MS_BOOTLOADER_IAP_XMC47
USB Firmware update XMC acting as host: USBH_MS_BOOTLOADER_IAP_XMC45
BR
Michael
Not applicable
Oct 17, 2016
12:10 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 17, 2016
12:10 PM
Hello
I wrote TFTP loader for 4500. I suppose it can adapted for 4800 too.
Please see https://www.infineonforums.com/threads/4509-TFTP-Loader
Vladimír
I wrote TFTP loader for 4500. I suppose it can adapted for 4800 too.
Please see https://www.infineonforums.com/threads/4509-TFTP-Loader
Vladimír
Not applicable
Oct 17, 2016
05:54 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 17, 2016
05:54 PM
wow. so many solutions. its very fantastic thread.. learning things 🙂
Oct 26, 2016
07:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 26, 2016
07:51 AM
Just leaving the thread for period and now we have many solutions here!
Thanks MichaelIFX for the very new FoE update example, I should try it soon.
So far I have solved USB update method including:
- USB Mass storage based on XMC4500 example
- USB VCOM + Windows host application (written in C#)
If anyone wanna try the USB VCOM solution, I will share it.
Cheers,
Thanks MichaelIFX for the very new FoE update example, I should try it soon.
So far I have solved USB update method including:
- USB Mass storage based on XMC4500 example
- USB VCOM + Windows host application (written in C#)
If anyone wanna try the USB VCOM solution, I will share it.
Cheers,
Mar 13, 2020
10:45 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 13, 2020
10:45 AM
Hi mophong,
I know a long time has passed since your last post but is it possible to try your USB VCOM + Windows host application (written in C#) ?
Thanks very much
PHAB
I know a long time has passed since your last post but is it possible to try your USB VCOM + Windows host application (written in C#) ?
Thanks very much
PHAB