6-pin Infineon CoreSight SP49 (2.54mm) Debug Adapter
This debug adapter is used to connect the BlueBox to Infineon SP49 based target featuring a 6-pin 2.54mm pitch target debug connector with Infineon SWD pinout.
The debug adapter connects to the 25 cm 40-pin ribbon cable coming from the BlueBox and to the target debug connector on the other side.
The following pinout is valid on the target side:
Pin |
Signal |
Signal Description |
Signal Direction |
---|---|---|---|
1 |
Vref |
Reference Voltage |
I |
2 |
PP0 |
SCL (I2C clock line) |
I/O |
3 |
PP1 |
SDA (I2C data line) |
I/O |
4 |
GND |
Ground |
|
5 |
PP2 |
SWCLK (optional) |
I/O |
6 |
PP3 |
SWDIO (optional) |
I/O |
6-pin 2.54mm Infineon SWD pinout
Signal Direction is described from the BlueBox perspective.
When initially connecting the BlueBox to a target, ensure the debug adapter pinout matches the Target connector to avoid potential hardware failure. |
6-pin 2.54mm Infineon Debug Adapter features resettable fuses on pins 1, 2, 3, 4, 5 and 6. These fuses protect debug signals against overcurrent and cycle back to a conductive state after the excessive current fades away.
The MCU can run in normal or debug mode. Mode is always selected after power-on and cannot be changed later. Because of this the Vref (pin 1) is a power supply output from the emulator and the target power supply (battery) must be removed while debugging. Before the debug download takes place, power off/on sequence is generated by the emulator and programming mode selected. During the debug download, flash is erased and then the application code programmed into the flash. Verification is done on-the-fly by flash controller but can also be performed by the debugger at the end of programming by reading back the flash contents.
SP49 has also the Firmware ROM which cannot be read by the debugger.
If sector lock bytes are used, a Mass Erase and then power off/on cycle needs to be performed before new application can be downloaded.
After the download, it is recommended to reset the MCU (winIDEA can be configured to perform this automatically) so that new flash configuration and sector lock bytes can take effect. This means a power off/on sequence is initiated. Power off/on sequence is also applied when debug reset command is executed. During the debugging (the MCU in the debug mode) two hardware execution breakpoints are available. One hardware breakpoint is reserved for the debugger (stepping, run until etc.). Software breakpoints in flash and modifying flash via Memory window is not available. Real time access is available.
Note: The 4-pin “connector” located on the side of the debug adapter is meant for future extensions of debug functionalities. Currently it provides no functionality.
The debug adapter connects to the target via a 6-pin 2.54 mm connector, LUMBERG: 2,5 MBX 06. A target should feature a matching part, for example WÜRTH ELEKTRONIK: 613 006 111 21.
Make sure this adapter fits on your target connector - check Cross Table. |
Refer to Hardware Setup and Configuration Tutorial to get more information on how to connect the hardware. |