Moving from XMC1400 Xtreme to custom board

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
sca
Level 1
Level 1
5 sign-ins First reply posted First question asked

Hello,

I'm having issues migrating from an XTREME connectivity 1400 dev board to a custom PCB.

Having laid out and assembled a custom board, I'm not able to connect via SWD to start testing.

Toolchain is Rowley Crossworks. It's working fine with the XTREME board.

I have a few debuggers to choose from - Crossconnect with SWD adapter, the onboard debugger on the XTREME  board, and the debugger portion of an XMC1400 for Arduiono board. All work fine to debug the XTREME board, but when I try to connect to my own board, I get the following:

j-link Log
Executing get part name script
Loading target script file XMC1000_Target.js
Executing script GetPartName()
Identifying
ROM Table 0x20000fd8
Identifying

Cannot find debug component from ROM table

The CPU section of the board is as follows:

CPU CLIP.png

I get the same with any of the 4 possible positions for J68/69.

Looking at the schematics for the XTREME board, I can't see that I've missed anything. I don't have any connection for SWD reset, but it appears not to be required as it's not connected at all on the XMC1400 for Arduino debugger.

Oscillator doesn't appear to be running, but I think the processor should start from internal oscillator anyway.

Processors are from a lot of 50 purchased from Mouser, so should be good, markings XMC1404 200A R5G2124. I've tried several on different boards to no avail. 

I'm obviously missing something obvious, I'd love to know what!

 

Thanks

 

sca

0 Likes
1 Solution
Vasanth
Moderator
Moderator
Moderator
250 sign-ins 500 solutions authored First question asked

Hi,

The XMC1400 devices you have bought will be in ASC BSL mode as the default start-up mode in device delivery state is the ASC BSL mode. You can try change the devcie BMI to user mode debug using Dave.

Vasanth_1-1649831761956.png

Vasanth_2-1649831790633.png

or BMI set get option in xmc flasher

Vasanth_3-1649832006059.png

Vasanth_4-1649832282787.png

 

Read more about Bootstrap loaders on reference manual.

Best Regards,
Vasanth

 

 

View solution in original post

0 Likes
3 Replies
sca
Level 1
Level 1
5 sign-ins First reply posted First question asked

Just to add further to this, I've noticed that whereas on the my board, the SWD transcript is as above:

j-link Log
Executing get part name script
Loading target script file XMC1000_Target.js
Executing script GetPartName()
Identifying
ROM Table 0x20000fd8
Identifying

 

before I get the error message, on the XTREME dev board the transcript reads:

j-link Log
Executing get part name script
Loading target script file XMC1000_Target.js
Executing script GetPartName()
Identifying
ROM Table 0xf0000000
ROM Table ID 0xb105100d Base Address 0xe00ff000 Peripheral ID 0x04000bb471 4KB Count = 1 JEP 106 code = 0x4 0x3b RevAnd 0x0 Customer Modified 0x0 Rev 0 Part Number 0x471 Device ID 0x00 Device Type 0x01
ROM Table 0xe00ff000
CM0-SCS Rev 0 Base Address 0xe000e000
CM0-DWT Rev 0 Base Address 0xe0001000
CM0-FPB Rev 0 Base Address 0xe0002000
Cortex-M0 r0p0
Num Breakpoints 4
Num Watchpoints 2
Identifying

before a successful connection.

Why would they be different? I guess it starts to go wrong with the ROM table address.

Marking on XTREME board processor is

1400 X

200A

6JG1725

 

 

0 Likes
Vasanth
Moderator
Moderator
Moderator
250 sign-ins 500 solutions authored First question asked

Hi,

The XMC1400 devices you have bought will be in ASC BSL mode as the default start-up mode in device delivery state is the ASC BSL mode. You can try change the devcie BMI to user mode debug using Dave.

Vasanth_1-1649831761956.png

Vasanth_2-1649831790633.png

or BMI set get option in xmc flasher

Vasanth_3-1649832006059.png

Vasanth_4-1649832282787.png

 

Read more about Bootstrap loaders on reference manual.

Best Regards,
Vasanth

 

 

0 Likes
sca
Level 1
Level 1
5 sign-ins First reply posted First question asked

Thanks, Vasanth, that appears to get things moving.

Perhaps some reference to the flasher tool in the reference manual, or even on the XMC1400 product page would be useful, I can't see it mentioned anywhere.

Thanks,

Simon

0 Likes