+ Reply to Thread
Results 1 to 5 of 5

Thread: XMC4500 Relax Kit - Not running without debugging when ETH_LWIP APP is used

  1. #1
    New Member New Member compc4 is on a distinguished road
    Join Date
    Dec 2018
    Posts
    3
    Points
    35

    XMC4500 Relax Kit - Not running without debugging when ETH_LWIP APP is used

    Hi,

    I have a problem running ETH_LWIP with XMC4500 Relax Kit.

    I followed the example project (basic ping without RTOS) provided in the usage section of the APP Help document of ETH_LWIP APP.
    Of course, some changes in pin allocation were applied.

    When I started debugging, it worked as expected. (The Relax Kit was ping-able at the specified IP address.)
    But after stopping debugging, neither re-applying power nor pressing reset button could make it work again.

    To find out whether the system is still running or not, I added LED toggling every second using SYSTIMER.
    The LED was blinking and the kit was also ping-able when there is a live debug session.
    However, the LED was not blinking without a live debug session, indicating that the system is not in operation.
    When the ETH_LWIP APP was removed, the LED blinked with or without debugging.
    So I suspect there must be something keeping the process from going further when the debug session is not running, especially when ETH_LWIP APP is used.

    Could you please provide me an advice to solve this issue?
    Thanks in advance.

    My DAVE is the latest version (4.4.2) and all APPs are up-to-date.
    Please find the attached DAVE CE project I have created.
    ?????

  2. #2

    Infineon Employee
    Infineon Employee
    jferreira will become famous soon enough
    Join Date
    Oct 2012
    Posts
    716
    Hi,

    I have checked your application. It does not contain the latest ETH_LWIP APP v4.1.12. When the project is upgraded to the latest version the issue is solved.
    Please ensure that your workspace preferences contains the correct library update site as below
    Click image for larger version

Name:	dave_update_site.png
Views:	11
Size:	14.9 KB
ID:	3724

    Regards,
    Jesus
    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
    New Member New Member compc4 is on a distinguished road
    Join Date
    Dec 2018
    Posts
    3
    Points
    35
    Thank you, Jesus.

    I even couldn't think the possibility of the APP being out-of-date because just checking library update did not return any message to me.
    Updating the APP solved the problem.

  4. #4
    New Member New Member xqdzn is on a distinguished road
    Join Date
    Dec 2018
    Posts
    1
    Points
    20
    Hi compc4,

    1. Where did you find the pin allocation map?
    I mean, I know that green button looks like IC icon, and I know how to change it. I just did not know what pin should i use in XMC4500 Relax Kit and soldered ethernet port.

    2. I am having trouble uploading (flashing my program to the microcontroller?),
    I tried LED Test by using P1.1 and P1.0 and it works,
    but when i tried to compile and flash example project (xmc4500_relaxkit_lwip_httpserver_netconn),
    I got error message like attached below

    I am really new to this arm programming, my experience is limited to arduino programming,
    if you could lead me to read some basic tutorials or books, i would highly appreciate it.

    Code:
    Error in final launch sequence
    Failed to execute MI command:
    symbol-file "C:\\Program Files (x86)\\SEGGER\\JLink_V640\\JLinkGDBServerCL.exe"
    Error message from debugger back end:
    `C:\Program Files (x86)\SEGGER\JLink_V640\JLinkGDBServerCL.exe': can't read symbols: File format not recognized. ,Failed to execute MI command:
    load "C:\\Program Files (x86)\\SEGGER\\JLink_V640\\JLinkGDBServerCL.exe"
    Error message from debugger back end:
    "C:\Program Files (x86)\SEGGER\JLink_V640\JLinkGDBServerCL.exe" is not an object file: File format not recognized
    Failed to execute MI command:
    symbol-file "C:\\Program Files (x86)\\SEGGER\\JLink_V640\\JLinkGDBServerCL.exe"
    Error message from debugger back end:
    `C:\Program Files (x86)\SEGGER\JLink_V640\JLinkGDBServerCL.exe': can't read symbols: File format not recognized.
    `C:\Program Files (x86)\SEGGER\JLink_V640\JLinkGDBServerCL.exe': can't read symbols: File format not recognized.
    Failed to execute MI command:
    load "C:\\Program Files (x86)\\SEGGER\\JLink_V640\\JLinkGDBServerCL.exe"
    Error message from debugger back end:
    "C:\Program Files (x86)\SEGGER\JLink_V640\JLinkGDBServerCL.exe" is not an object file: File format not recognized
    "C:\Program Files (x86)\SEGGER\JLink_V640\JLinkGDBServerCL.exe" is not an object file: File format not recognized

  5. #5
    New Member New Member compc4 is on a distinguished road
    Join Date
    Dec 2018
    Posts
    3
    Points
    35
    Hi xqdzn,

    1. You can find pin connections from the schematics of the XMC4500 Relax Kit.
    (Download a zip file from 'Board' section of the page: https://www.infineon.com/cms/en/prod...mc45_relax_v1/)
    Specifically, the connection shown in the schematics is as follows: (find signals starting with 'ETH_')
    Click image for larger version

Name:	XMC4500_ETH.png
Views:	0
Size:	20.3 KB
ID:	3730
    So the pin allocation settings in DAVE should be:
    Click image for larger version

Name:	XMC45_ETH_pin.png
Views:	0
Size:	13.9 KB
ID:	3731

    2. Sorry but I have no experience with an error message like that.
    Last edited by compc4; Dec 19th, 2018 at 05:47 PM.

+ Reply to Thread

Tags for this 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.