Pages: [1]   Go Down
Author Topic: Cortex-M Debug Connector  (Read 2187 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 12
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi Massimo,

Arduino Due is based on the Cortex-M processor, but why isn't the debugging connector designed for the 10-pin Cortex Debug connector?

CoreSight Technology
http://www.keil.com/support/man/docs/ulinkpro/ulinkpro_cs_core_sight.htm
http://www.keil.com/support/man/docs/ulinkpro/ulinkpro_cs_connectors.htm#Cortex10Pin
« Last Edit: March 08, 2013, 05:50:05 pm by ctbenergy » Logged

St. Leonards-on-Sea, E. Sussex, UK.
Offline Offline
Sr. Member
****
Karma: 2
Posts: 301
Ancient developer
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

It is designed for the ARM Cortex 10-pin SWD connector, as are most Cortex boards:

http://www.arm.com/products/system-ip/debug-trace/coresight-soc-components/serial-wire-debug.php
« Last Edit: March 08, 2013, 03:32:59 pm by Leon Heller » Logged

Leon Heller
G1HSM

Offline Offline
Newbie
*
Karma: 0
Posts: 12
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

Ther are to debugging conectors in the Arduino Due schematic.

1. 10-pin (referred as JTAG) -> JTAG & Serial Wire (SWJ)
2. 4-pin (referred as DEBUG) -> Specification?

I referred to the 10-pin connector and use the Segger J-Link 9-pin Cortex-M Adapter.
The J-Link 9-pin Cortex-M Adapter allows JTAG, SWD and SWO connections between J-Link and Cortex-M based target hardware systems.

Key pin. Removed from target connector, or physically blocked on debug connector.
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0314h/Chdcdggc.html

and why is this Key pin.(7) not removed from the Arduino Due Board?
« Last Edit: March 08, 2013, 06:26:15 pm by ctbenergy » Logged

St. Leonards-on-Sea, E. Sussex, UK.
Offline Offline
Sr. Member
****
Karma: 2
Posts: 301
Ancient developer
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

All the boards I have use the standard 10 pin connector, as does the CrossConnect JTAG unit that I use.
Logged

Leon Heller
G1HSM

Offline Offline
Full Member
***
Karma: 7
Posts: 146
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I don't know where the 9-pin format came from, is it created by Segger? It does not seem to be an ARM standard.

Personally I prefer to use a header with a polarised housing. The key pin does the same job, but I am not going around cutting pins off headers... Seems a bad idea to introduce an incompatible standard, for a marginal improvement.
Logged

Please don't PM me asking for help. Ask questions in the forum.

Offline Offline
Newbie
*
Karma: 0
Posts: 12
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

Segger J-Link 9-pin Cortex-M Adapter has a 10-pin debug connector specified by ARM (Key pin. physically blocked on debug connector.)

Now i have removed the blockade on pin 7 and connect it to the Arduino Due 10-pin connector (referred as JTAG).

But why is there still a the 4-pin (referred as DEBUG) connector?
« Last Edit: March 09, 2013, 05:12:17 am by ctbenergy » Logged

Venezuela
Offline Offline
God Member
*****
Karma: 17
Posts: 522
Ground, ground, always ground
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello ctbenery,

That 4 pin header (DEBUG) is a serial wire debug protocol (SWD) connector. It is another simpler protocol that only needs the data and clock lines to talk via serial between the SAM3X8E and the debugger.

In reference to dealing with surface components on the Due, I would recommend to be very careful. It happened to me twice that a capacitors just pop up the board and where hard to find in my workbench floor smiley. Regards!
Logged

Pages: [1]   Go Up
Jump to: