infineon4engi@twitter infineon4engineers infineon@linkedin infineon@youtube
twitter Facebook Linkedin Youtube

+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13

Thread: XMC1202 with ULINK2?

  1. #1
    New Member New Member Lore90 is on a distinguished road
    Join Date
    Aug 2019
    Posts
    8
    Points
    37.5

    XMC1202 with ULINK2?

    Hi all,
    I'm new on Infineon, I've a XMC1202x016 it's possible to flash/debug it with the ulink2 programmer via SWD programming?
    Thanks.

  2. #2

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

    Yes it is possible.

    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 Lore90 is on a distinguished road
    Join Date
    Aug 2019
    Posts
    8
    Points
    37.5
    Thanks for reply, I'm using this configuration but the ulink2 doesn't recognize any Cortex.. What's wrong?
    Thanks.Click image for larger version

Name:	image.png
Views:	0
Size:	99.9 KB
ID:	4122

  4. #4

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

    Did you switched the BMI from ASC_BSL to SWD0?

    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.

  5. #5
    New Member New Member Lore90 is on a distinguished road
    Join Date
    Aug 2019
    Posts
    8
    Points
    37.5
    Thanks for reply,
    I'm new on this uC I'm studying all the datasheet, I'll try your suggest.

    Regards,
    Lorenzo.

  6. #6
    New Member New Member Lore90 is on a distinguished road
    Join Date
    Aug 2019
    Posts
    8
    Points
    37.5
    Hi,
    now I'm trying to change the BMI, I'm using an USB to UART converter and I've downloaded the MemTool software but it cannot communicate with the XMC.. I'm doing something wrong?
    Thanks.

  7. #7

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

    Can you send an oscilloscope picture of the communication between your USB to UART converter and the XMC1200?
    The connection sequence is specified in 23.1.2.2 ASC BSL download sequence, see Figure 23-1 Baud Rate configuration sequence during XMC1200 ASC BSL entry

    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.

  8. #8
    New Member New Member Lore90 is on a distinguished road
    Join Date
    Aug 2019
    Posts
    8
    Points
    37.5
    Ok, now I see if I can do that.
    Need by chance of an external signal? e.g. pin low at power on?

  9. #9
    New Member New Member Lore90 is on a distinguished road
    Join Date
    Aug 2019
    Posts
    8
    Points
    37.5
    I'm not able to trace it via oscilloscope sorry.. Any other idea? this thing is really frustrating.
    Thanks

  10. #10

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

    Normally the connection works out of the box.
    Can you verify that you followed the steps in the following figures for configuring the ASC interface?
    Click image for larger version

Name:	memtool_target_configuration.png
Views:	2
Size:	26.5 KB
ID:	4458
    Click image for larger version

Name:	memtool_general_target_interface_configuration.png
Views:	1
Size:	26.1 KB
ID:	4459
    Click image for larger version

Name:	memtool_monitor_target_interface_configuration.png
Views:	1
Size:	25.5 KB
ID:	4460

    You can try to enable the logging (Log > Show Log).

    The power applied to the device is compatible with the levels of the USB to UART device?
    Your connection to the device should look like the following (for the case of 5V)

    Click image for larger version

Name:	xmc1_uart_bootloader_connection.png
Views:	1
Size:	60.9 KB
ID:	4461

    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.

+ 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.