Hello all,
my Name is Michael. I am just in the progress of replacing some hard-to-come-by Atmel AVR´s with something more modern. ATM i am having a closer look at the XMC1100 famity, and bought the "XMC 100 Boot Kit" to try it out.
Using DAVE, all the simple "Hello world" projects with having some LEDs blink worked fine so far.
Now its time to see how easy it is to integrate that MCU into exiting designs. So, for the first step, i made a simple PCB with just the XMC1100T016F0064ABXUMA1 on it, a simple 5V regulator and the 8-pin 2.54mm debug header to connect the J-Link debugger to it.
I parted the boot kit board and the J-Link part, soldered the pin heads to both boards and made an 8-pin ribbon cable to connect them. After adding power to the boot kit board, i was able to program it - just fine.
So the Cable and my connectors are OK.
I have Pin 14 (XMC_CLK, P0.15) of the XMC go to Pin 1 (SWCLK) of the 8-pin header,
and Pin 15 (XMC_DATA, P0.14) to Pin 2 (SWD).
GND to Pins 4 and 5 of the debug header, +5V to Pins 3 and 6 of the debug header.
Pins 7 and 8 go to a jumper, so i can later see to where i will connect the UART. (no jumpers in place atm, so they are just floating)
Pin 5 of the XMC to GND, Pin 6 to +5V; 100nf bypass cap near the IC.
All other pins via 3.3K to a LED, so i could se later what happens there.
I can post the schematic, if that helps.
when i connect the debugger and try to download a program to the board, it keeps telling me:
SEGGER J-Link GDB Server V6.40 Command Line Version
JLinkARM.dll V6.40 (DLL compiled Oct 26 2018 15:06:02)
Command line: -if swd -device XMC1100-T016x0064 -endian little -speed 1000 -port 2331 -swoport 2332 -telnetport 2333 -vd -ir -localhostonly 1 -singlerun -strict -timeout 0
-----GDB Server start settings-----
GDBInit file: none
GDB Server Listening port: 2331
SWO raw output listening port: 2332
Terminal I/O port: 2333
Accept remote connection: localhost only
Generate logfile: off
Verify download: on
Init regs on start: on
Silent mode: off
Single run mode: on
Target connection timeout: 0 ms
------J-Link related settings------
J-Link Host interface: USB
J-Link script: none
J-Link settings file: none
------Target related settings------
Target device: XMC1100-T016x0064
Target interface: SWD
Target interface speed: 1000kHz
Target endian: little
Connecting to J-Link...
J-Link is connected.
Firmware: J-Link Lite-XMC4200 Rev.1 compiled Apr 5 2017 11:59:07
Hardware: V1.00
S/N: 591110263
Checking target voltage...
Target voltage: 3.30 V
Listening on TCP/IP port 2331
Connecting to target...ERROR: Could not connect to target.
Target connection failed. GDBServer will be closed...Restoring target state and closing J-Link connection...
Shutting down...
Of course the board has power, and the cable is connected correctly.
What am i doing wrong here ? Do i need to bootstrap some XMC pins to somewhere to activate the boot loader ?
Any help would be great - Thenk you !
P.S.: if i connect the boot kit board instead of my board, it conects fine, despite of having a diferent XMC chip on it
-Michael
my Name is Michael. I am just in the progress of replacing some hard-to-come-by Atmel AVR´s with something more modern. ATM i am having a closer look at the XMC1100 famity, and bought the "XMC 100 Boot Kit" to try it out.
Using DAVE, all the simple "Hello world" projects with having some LEDs blink worked fine so far.
Now its time to see how easy it is to integrate that MCU into exiting designs. So, for the first step, i made a simple PCB with just the XMC1100T016F0064ABXUMA1 on it, a simple 5V regulator and the 8-pin 2.54mm debug header to connect the J-Link debugger to it.
I parted the boot kit board and the J-Link part, soldered the pin heads to both boards and made an 8-pin ribbon cable to connect them. After adding power to the boot kit board, i was able to program it - just fine.
So the Cable and my connectors are OK.
I have Pin 14 (XMC_CLK, P0.15) of the XMC go to Pin 1 (SWCLK) of the 8-pin header,
and Pin 15 (XMC_DATA, P0.14) to Pin 2 (SWD).
GND to Pins 4 and 5 of the debug header, +5V to Pins 3 and 6 of the debug header.
Pins 7 and 8 go to a jumper, so i can later see to where i will connect the UART. (no jumpers in place atm, so they are just floating)
Pin 5 of the XMC to GND, Pin 6 to +5V; 100nf bypass cap near the IC.
All other pins via 3.3K to a LED, so i could se later what happens there.
I can post the schematic, if that helps.
when i connect the debugger and try to download a program to the board, it keeps telling me:
SEGGER J-Link GDB Server V6.40 Command Line Version
JLinkARM.dll V6.40 (DLL compiled Oct 26 2018 15:06:02)
Command line: -if swd -device XMC1100-T016x0064 -endian little -speed 1000 -port 2331 -swoport 2332 -telnetport 2333 -vd -ir -localhostonly 1 -singlerun -strict -timeout 0
-----GDB Server start settings-----
GDBInit file: none
GDB Server Listening port: 2331
SWO raw output listening port: 2332
Terminal I/O port: 2333
Accept remote connection: localhost only
Generate logfile: off
Verify download: on
Init regs on start: on
Silent mode: off
Single run mode: on
Target connection timeout: 0 ms
------J-Link related settings------
J-Link Host interface: USB
J-Link script: none
J-Link settings file: none
------Target related settings------
Target device: XMC1100-T016x0064
Target interface: SWD
Target interface speed: 1000kHz
Target endian: little
Connecting to J-Link...
J-Link is connected.
Firmware: J-Link Lite-XMC4200 Rev.1 compiled Apr 5 2017 11:59:07
Hardware: V1.00
S/N: 591110263
Checking target voltage...
Target voltage: 3.30 V
Listening on TCP/IP port 2331
Connecting to target...ERROR: Could not connect to target.
Target connection failed. GDBServer will be closed...Restoring target state and closing J-Link connection...
Shutting down...
Of course the board has power, and the cable is connected correctly.
What am i doing wrong here ? Do i need to bootstrap some XMC pins to somewhere to activate the boot loader ?
Any help would be great - Thenk you !
P.S.: if i connect the boot kit board instead of my board, it conects fine, despite of having a diferent XMC chip on it
-Michael