infineon4engineers Facebook

infineon@google+ Google+

infineon@linkedin linkedin

infineon4engi@twitter twitter

infineon@youtube youtube

+ Reply to Thread
Results 1 to 4 of 4

Thread: firmware update FoE XMC4800

  1. #1
    Beginner Beginner Janet is on a distinguished road
    Join Date
    Feb 2019
    Posts
    17
    Points
    180

    firmware update FoE XMC4800

    Hi!
    I'm working with an XMC4800 144x2028 and I need to enable the FoE for firmware update.
    I'm trying the example code ETHCAT_FWUPDATE_SSC_APPLICATION_XMC48 found at https://www.infineon.com/cms/en/prod...downloads.html (adapted to my application), but it doesn't work.
    I'm using TRACE32 Lauterbach to debug and to flash the code into the chip: I flash the ETHCAT_FWUPDATE_BOOTLOADER_XMC48 and then I run it, but the system goes in "running(sleep)" and it can't be stopped, so i'm not able to go further.
    Is there another way to implement FoE? or is there a proper way to make the ETHCAT_FWUPDATE_SSC_APPLICATION_XMC48 code work with Lauterbach? I can't use the Segger jtag.

    Thank you for any help

  2. #2
    Intermediate Intermediate
    Infineon Employee
    Infineon Employee
    MichaelIFX is on a distinguished road
    Join Date
    Mar 2016
    Posts
    45
    Points
    404.53125
    The problem you describe is not related to TRACE/Lauterbach.
    I understand you have only downloaded the bootloader, correct?

    So bootloader is starting the application image inside flash where nothing is programmed into. As a consequence the CPU hangs there.

    To solve this issue, just also download the application image using Lauterbach.
    Before downloading the images (bootloader/application) it is always good to start from a defined basis which is an erased flash.
    You can use Segger J-Flash Lite for this purpose.


    Kind Regards

    Michael
    The views expressed here are my personal opinions, have not been reviewed or authorized by Infineon and do not necessarily represent the views of Infineon.

  3. #3
    Beginner Beginner Janet is on a distinguished road
    Join Date
    Feb 2019
    Posts
    17
    Points
    180
    Hi Michael,
    I've tried to do what you said, but when i download the application i get "FLASH programming error around address SD:0xC020000".
    I can't use Segger, because my debbuger pinout is only for the Lauterbach, not compatible with Segger Debugger.

  4. #4
    Intermediate Intermediate
    Infineon Employee
    Infineon Employee
    MichaelIFX is on a distinguished road
    Join Date
    Mar 2016
    Posts
    45
    Points
    404.53125
    Hi Janet,
    Of course writing to 0xC020000 does not work, because there is no flash inside XMC48 at this address.
    Typically the application image inside FoE-example must be loaded to 0xC0020000

    Maybe you have a typo inside the linker file when you have set the address.

    Kind Regards

    Michael
    Last edited by MichaelIFX; Jul 9th, 2019 at 03:44 AM.
    The views expressed here are my personal opinions, have not been reviewed or authorized by Infineon and do not necessarily represent the views of Infineon.

+ Reply to Thread
Disclaimer

All content and materials on this site are provided “as is“. Infineon makes no warranties or representations with regard to this content and these materials of any kind, whether express or implied, including without limitation, warranties or representations of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, whether express or implied, is granted by Infineon. Use of the information on this site may require a license from a third party, or a license from Infineon.


Infineon accepts no liability for the content and materials on this site being accurate, complete or up- to-date or for the contents of external links. Infineon distances itself expressly from the contents of the linked pages, over the structure of which Infineon has no control.


Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Usage Terms of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Usage Terms of this site. Infineon reserves the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.