Pages: [1]   Go Down
Author Topic: Arduino Due JTAG doesnt work :(  (Read 1574 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Full Member
***
Karma: 1
Posts: 128
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

I just soldered and connected my J-link to my Arduino Due (Taiji-uino DUE). But he cant find the Chip smiley-sad. When I use it as "Standalone" without powering the Due via USB J-Link Flash says:
Quote
Supply Voltage to low (1 Volt is required, Measured 0,0V)
Please Check target Power
Unable to Connect

So far so good. When I connect the USB Plug, it takes 2-3 sec. until this message appears
Quote
Connecting ...
 - Connecting via USB to J-Link device 0
 - J-Link firmware: V1.20 (J-Link ARM V8 compiled Nov 14 2012 22:34:52)
 - JTAG speed: 5 kHz (Fixed)
 - Initializing CPU core (Init sequence) ...
    - Initialized successfully
 - JTAG speed: 5 kHz (Auto)
 - J-Link found 0 JTAG device. Core ID: 0x00000000 (ARM9)
 - Reading CFI info ...
    - Could not find CFI compliant flash device
 - Detecting flash memory ...
    - ERROR: Could not find any flash devices
 - ERROR: Failed to connect

Now trying the Same with J-Link (without flash)
Quote
OEM: SEGGER-EDU
Feature(s): FlashBP, GDB
VTarget = 2.497V
Info: TotalIRLen = ?, IRPrint = 0x..000000000000000000000000
Info: TotalIRLen = ?, IRPrint = 0x..000000000000000000000000
No devices found on JTAG chain. Trying to find device on SWD.

WARNING: RESET (pin 15) high, but should be low. Please check target hardware.

WARNING: RESET (pin 15) high, but should be low. Please check target hardware.
No device found on SWD.
Did not find any core.
Failed to identify target. Trying again with slow (4 kHz) speed.
Info: TotalIRLen = ?, IRPrint = 0x..000000000000000000000000
Info: TotalIRLen = ?, IRPrint = 0x..000000000000000000000000
No devices found on JTAG chain. Trying to find device on SWD.

WARNING: RESET (pin 15) high, but should be low. Please check target hardware.

WARNING: RESET (pin 15) high, but should be low. Please check target hardware.
No device found on SWD.
Did not find any core.
J-Link>

But when I try the same with pressing the RESET button the 0V problem appears in the J-LINK Flash Software (as mentioned above).


Are there any basic things I have to do before I start to program?
Logged

Offline Offline
Jr. Member
**
Karma: 4
Posts: 66
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Those messages indicate that the J-link adapter is just not seeing any sensible data on the JTAG pins. Assuming that your hardware is working correctly, then the JTAG pins may not be mapped to JTAG depending on what software is loaded in the SAM3X, a whole chip ERASE should clear that. Another thing that could cause this is a misconnected header. It is worth noting here that the orientation of the JTAG header on the Taiji is 180° opposite to the Due, which could lead to confusion. There is a small dot on the board indicating pin 1, easy to miss.
Logged

Offline Offline
Full Member
***
Karma: 1
Posts: 128
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks, it worked! I had to choose SWD and not JTAG, didnt knew that smiley-grin
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 37
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Ok so SWD works?
Also what is a CHEAP JTAG adapter that works. I was thinking the 25$ Clones like (http://www.ebay.com/itm/Mini-JLINK-V8-j-link-Multi-function-with-3JTAG-Cable-Support-Mini2440-S3C6410-/140842915680?pt=US_Radio_Control_Control_Line&hash=item20cae45760).

I am working with Keil uVision, Atmel Studio, and possibly some more.
Logged

Pages: [1]   Go Up
Jump to: