Aug 27, 2019
07:14 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 27, 2019
07:14 AM
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.
I'm new on Infineon, I've a XMC1202x016 it's possible to flash/debug it with the ulink2 programmer via SWD programming?
Thanks.
- Tags:
- IFX
12 Replies
Aug 30, 2019
02:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 30, 2019
02:04 AM
Hi,
Yes it is possible.
Regards,
Jesus
Yes it is possible.
Regards,
Jesus
Sep 03, 2019
02:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 03, 2019
02:43 AM
Thanks for reply, I'm using this configuration but the ulink2 doesn't recognize any Cortex.. What's wrong?
Thanks.
Thanks.
Sep 04, 2019
05:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 04, 2019
05:09 AM
Hi,
Did you switched the BMI from ASC_BSL to SWD0?
Regards,
Jesus
Did you switched the BMI from ASC_BSL to SWD0?
Regards,
Jesus
Oct 07, 2019
04:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 07, 2019
04:44 AM
Thanks for reply,
I'm new on this uC I'm studying all the datasheet, I'll try your suggest.
Regards,
Lorenzo.
I'm new on this uC I'm studying all the datasheet, I'll try your suggest.
Regards,
Lorenzo.
Feb 06, 2020
05:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 06, 2020
05:32 AM
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.
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.
Feb 06, 2020
11:07 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 06, 2020
11:07 PM
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
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
Feb 07, 2020
06:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 07, 2020
06:48 AM
Ok, now I see if I can do that.
Need by chance of an external signal? e.g. pin low at power on?
Need by chance of an external signal? e.g. pin low at power on?
Feb 13, 2020
04:05 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 13, 2020
04:05 AM
I'm not able to trace it via oscilloscope sorry.. Any other idea? this thing is really frustrating.
Thanks
Thanks
Feb 16, 2020
08:47 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 16, 2020
08:47 PM
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?
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)
Regards,
Jesus
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?
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)
Regards,
Jesus
Attachments are accessible only for community members.
Feb 24, 2020
07:46 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 24, 2020
07:46 AM
Feb 24, 2020
10:55 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 24, 2020
10:55 AM
Ok. Now I'm using J-Mem and I can see the FLASH! at the address 10000E00 is flashed F8C3 so I think that is correct! but in keil when I try to flash it gives me this text:
JLink info:
------------
DLL: V6.32i, compiled Jul 24 2018 15:19:55
Firmware: J-Link V11 compiled Jan 7 2020 16:52:13
Hardware: V11.00
Feature(s) : FlashBP, GDB
* JLink Info: Performing XMC1000 connection sequence.
* JLink Info: Trying to identify target via SPD
* JLink Info: Could not identify target via SPD. Trying again via SWD.
* JLink Info: Found SW-DP with ID 0x0BB11477
* JLink Info: Scanning AP map to find all available APs
* JLink Info: AP[1]: Stopped AP scan as end of AP map has been reached
* JLink Info: AP[0]: AHB-AP (IDR: 0x04770021)
* JLink Info: Iterating through AP map to find AHB-AP to use
* JLink Info: AP[0]: Core found
* JLink Info: AP[0]: AHB-AP ROM base: 0xF0000000
* JLink Info: CPUID register: 0x410CC200. Implementer code: 0x41 (ARM)
* JLink Info: Found Cortex-M0 r0p0, Little endian.
* JLink Info: FPUnit: 4 code (BP) slots and 0 literal slots
* JLink Info: CoreSight components:
* JLink Info: ROMTbl[0] @ F0000000
* JLink Info: ROMTbl[0][0]: E00FF000, CID: B105100D, PID: 000BB471 ROM Table
* JLink Info: ROMTbl[1] @ E00FF000
* JLink Info: ROMTbl[1][0]: E000E000, CID: B105E00D, PID: 000BB008 SCS
* JLink Info: ROMTbl[1][1]: E0001000, CID: B105E00D, PID: 000BB00A DWT
* JLink Info: ROMTbl[1][2]: E0002000, CID: B105E00D, PID: 000BB00B FPB
ROMTableAddr = 0xF0000000
* JLink Info: Performing XMC1000 reset
Target info:
------------
Device: XMC1202-T028x0016
VTarget = 4.492V
State of Pins:
TCK: 0, TDI: 0, TDO: 0, TMS: 1, TRES: 1, TRST: 0
Hardware-Breakpoints: 4
Software-Breakpoints: 8192
Watchpoints: 2
JTAG speed: 1000 kHz
Full Chip Erase Failed!
Error: Flash Download failed - "Cortex-M0"
Any idea? Thanks.
JLink info:
------------
DLL: V6.32i, compiled Jul 24 2018 15:19:55
Firmware: J-Link V11 compiled Jan 7 2020 16:52:13
Hardware: V11.00
Feature(s) : FlashBP, GDB
* JLink Info: Performing XMC1000 connection sequence.
* JLink Info: Trying to identify target via SPD
* JLink Info: Could not identify target via SPD. Trying again via SWD.
* JLink Info: Found SW-DP with ID 0x0BB11477
* JLink Info: Scanning AP map to find all available APs
* JLink Info: AP[1]: Stopped AP scan as end of AP map has been reached
* JLink Info: AP[0]: AHB-AP (IDR: 0x04770021)
* JLink Info: Iterating through AP map to find AHB-AP to use
* JLink Info: AP[0]: Core found
* JLink Info: AP[0]: AHB-AP ROM base: 0xF0000000
* JLink Info: CPUID register: 0x410CC200. Implementer code: 0x41 (ARM)
* JLink Info: Found Cortex-M0 r0p0, Little endian.
* JLink Info: FPUnit: 4 code (BP) slots and 0 literal slots
* JLink Info: CoreSight components:
* JLink Info: ROMTbl[0] @ F0000000
* JLink Info: ROMTbl[0][0]: E00FF000, CID: B105100D, PID: 000BB471 ROM Table
* JLink Info: ROMTbl[1] @ E00FF000
* JLink Info: ROMTbl[1][0]: E000E000, CID: B105E00D, PID: 000BB008 SCS
* JLink Info: ROMTbl[1][1]: E0001000, CID: B105E00D, PID: 000BB00A DWT
* JLink Info: ROMTbl[1][2]: E0002000, CID: B105E00D, PID: 000BB00B FPB
ROMTableAddr = 0xF0000000
* JLink Info: Performing XMC1000 reset
Target info:
------------
Device: XMC1202-T028x0016
VTarget = 4.492V
State of Pins:
TCK: 0, TDI: 0, TDO: 0, TMS: 1, TRES: 1, TRST: 0
Hardware-Breakpoints: 4
Software-Breakpoints: 8192
Watchpoints: 2
JTAG speed: 1000 kHz
Full Chip Erase Failed!
Error: Flash Download failed - "Cortex-M0"
Any idea? Thanks.
Mar 04, 2020
06:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 04, 2020
06:23 AM
Hi,
The BMI is correct. Can you try by upgrading the JLink software?
If I try the same I get the following (using latest JLink software)
These are my debug settings
Regards,
Jesus
The BMI is correct. Can you try by upgrading the JLink software?
If I try the same I get the following (using latest JLink software)
Load "C:\\Files\\Projects\\MDK\\XMC1400_Test_JLINK\\Objects\\XMC1400_Test_JLINK.axf"
Set JLink Project File to "C:\Files\Projects\MDK\XMC1400_Test_JLINK\JLinkSettings.ini"
* JLink Info: Device "XMC1404-0200" selected.
JLink info:
------------
DLL: V6.62d, compiled Mar 2 2020 09:22:41
Firmware: J-Link Lite-XMC4200 Rev.1 compiled Mar 1 2019 11:28:26
Hardware: V1.00
S/N : 591046198
* JLink Info: Trying to identify target via SPD
* JLink Info: Could not identify target via SPD. Trying again via SWD.
* JLink Info: Found SW-DP with ID 0x0BB11477
* JLink Info: Unknown DP version. Assuming DPv0
* JLink Info: Scanning AP map to find all available APs
* JLink Info: AP[1]: Stopped AP scan as end of AP map has been reached
* JLink Info: AP[0]: AHB-AP (IDR: 0x04770021)
* JLink Info: Iterating through AP map to find AHB-AP to use
* JLink Info: AP[0]: Core found
* JLink Info: AP[0]: AHB-AP ROM base: 0xF0000000
* JLink Info: CPUID register: 0x410CC200. Implementer code: 0x41 (ARM)
* JLink Info: Found Cortex-M0 r0p0, Little endian.
* JLink Info: FPUnit: 4 code (BP) slots and 0 literal slots
* JLink Info: CoreSight components:
* JLink Info: ROMTbl[0] @ F0000000
* JLink Info: ROMTbl[0][0]: E00FF000, CID: B105100D, PID: 000BB471 ROM Table
* JLink Info: ROMTbl[1] @ E00FF000
* JLink Info: ROMTbl[1][0]: E000E000, CID: B105E00D, PID: 000BB008 SCS
* JLink Info: ROMTbl[1][1]: E0001000, CID: B105E00D, PID: 000BB00A DWT
* JLink Info: ROMTbl[1][2]: E0002000, CID: B105E00D, PID: 000BB00B FPB
ROMTableAddr = 0xF0000000
* JLink Info: Performing XMC1000 reset
Target info:
------------
Device: XMC1404-Q064x0200
VTarget = 3.300V
State of Pins:
TCK: 0, TDI: 0, TDO: 0, TMS: 16, TRES: 0, TRST: 1
Hardware-Breakpoints: 4
Software-Breakpoints: 8192
Watchpoints: 2
JTAG speed: 3000 kHz
Erase Done.
Programming Done.
Verify OK.
Flash Load finished at 15:19:02
These are my debug settings
Regards,
Jesus