XMC1302-T016X0032 AA in ASC_BSL BMI connect with DAVE4 and Memtool

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

cross mob
Not applicable
Hi All,

I have a segger jlink debugger (separated from XMC1300 boot kit), and a XMC1302-T016X0032 AA which is in ASC_BSL mode.

And my software tool is DAVE v4.1.4, Memtool v4.7.

1657.attach
For connecting XMC1302 with DAVE4 (by using "BMI Set and Get" function to check the connection is ok or not). There are two wiring which both were functional.

1659.attach 1660.attach

For connecting XMC1302 with Memtool. (by using "Program" and "Verify" Function to check the connection is ok or not). There is only one wiring which is functional.

1661.attach

In other words, I have to change the wiring for DAVE4 and Memtool. That is very annoying. 😞

My questions is
Can Memtool use the same wiring like DAVE4 to connect XMC1302 ?
Can Memtool use the 3 pin wiring to connect XMC1302 ?
Is there any way I can program flash, erase flash, verify flash content, flash checksum calculate, hex file checksum calculate in DAVE4?

If those needs can not be achieved right now, but in the future. Is there any time schedule?
0 Likes
5 Replies
Travis
Employee
Employee
First solution authored Welcome! 500 replies posted
Hi,

If i remember correctly, both memtool and DAVE4 should share the same connection.
0 Likes
Not applicable
Travis wrote:
Hi,

If i remember correctly, both memtool and DAVE4 should share the same connection.


Indeed, it should be the same. But it is not based on my test.
If any one can use the same wiring to connect XMC1302-T016X0032 AA with DAVE4 and Memtool by segger jlink debugger.
Please let me know the details.
Thanks a lot.
0 Likes
Travis
Employee
Employee
First solution authored Welcome! 500 replies posted
Hi JohnWu,

I had tested this and it is working good.
0 Likes
Not applicable
Hi Travis.

Below photo are three wiring what I try. (from left to right, wiring 1, wiring 2, wiring 3)
1679.attach 1681.attach 1680.attach

Wiring 1:
Debugger Pin 1 to XMC1302 Pin 14, Green Wire
Debugger Pin 2 to XMC1302 Pin 13, Orange Wire
Debugger Pin 3 to XMC1302 Pin 6, Red Wire, 5V
Debugger Pin 4 to XMC1302 Pin 5, Black Wire, Gnd

Wiring 2:
Debugger Pin 2 to XMC1302 Pin 13, Orange Wire
Debugger Pin 3 to XMC1302 Pin 6, Red Wire, 5V
Debugger Pin 4 to XMC1302 Pin 5, Black Wire, Gnd

Wiring 3:
Debugger X201 Pin 8 to XMC1302 Pin 14, Green Wire
Debugger X201 Pin 7 to XMC1302 Pin 13, Orange Wire
Debugger X201 Pin 3 to XMC1302 Pin 6, Red Wire, 5V
Debugger X201 Pin 4 to XMC1302 Pin 5, Black Wire, Gnd

Like what I mention before.
For DAVE4, first one and second one are work but not in Memtool.
1682.attach

For Memtool, last one is work but not in DAVE4.
1683.attach

If you can use the same wiring connect to "XMC1302-T016X0032 AA" with DAVE4 or memtool by segger jlink debugger, please tell me how you do that in details. (SW, HW, IC version) (wiring steps and photo) (my question 1)

And please answer question 2 and 3 as well.

Thanks.
0 Likes
Not applicable
Hi, John,
By using the Segger Jlink debugger, the pin1 and pin2 of the debugger is for SWD usage while the pin7 and pin 8 is for UART communication. Memtool can use UART com port for flash download, verification, so Memtool could only use pin7 an pin 8 of the Segger Jlink debugger. DAVE4 is a debugging tool, so it does not have programmer utility in it. So, for the 3 questions:
1) No, you cannot use Pin1, Pin2 of Segger Jlink debugger to connect to the XMC1000 device via Memtool.
2) Do you mean using pin 2,3,4 of Segger Jlink debugger with Memtool, then, it is no.
3) No, DAVE4 is a debugging tool.
Thanks.

Best regard
tys
0 Likes