USA
Offline
God Member
Karma: 14
Posts: 644
|
 |
« Reply #15 on: October 22, 2012, 01:52:24 pm » |
It's a famous line from the classic movie The Wizard of Oz after Dorthy and her little dog are sweep up in a tornado and deposited in the land of Oz. Do you have no culture down under?  Of course they do, but since Australia is a place where practically everything is trying to kill you they don't have time to enjoy classic cinema! They are much too busy fending-off fatally poisonous snakes, spiders, toads, and duckbilled playpuses (well only the males have poisonous claws but that's roughly half of them). As well as potentially face-rending koloa bears, boxing kangroos, and baby stealing dingos. Heck, under certian circumstances even the trees explode! Steve Irwin was never acting for the camera, he just was displaying the attitude necessary to wake-up each morning and attempt to live your life there.
|
|
|
|
« Last Edit: October 22, 2012, 01:54:46 pm by Far-seeker »
|
Logged
|
|
|
|
|
Nice, France
Offline
Full Member
Karma: 10
Posts: 232
|
 |
« Reply #16 on: October 22, 2012, 03:11:32 pm » |
I think you forgot the insects that live under toilet seats and bite your balls, and dropbears, and jellyfish. But yeah.
|
|
|
|
|
Logged
|
|
|
|
|
Nice, France
Offline
Full Member
Karma: 10
Posts: 232
|
 |
« Reply #17 on: October 22, 2012, 03:16:03 pm » |
Getting more on-topic, that 4-pin JTAG debugging interface. I cant find a JTAG pinout that is less than 8 pins. Most are 14..20. The official schematic shows something that is clearly not what is on the photo. Any ideas?
|
|
|
|
|
Logged
|
|
|
|
|
nr Bundaberg, Australia
Offline
Tesla Member
Karma: 71
Posts: 6813
Scattered showers my arse -- Noah, 2348BC.
|
 |
« Reply #18 on: October 22, 2012, 03:52:56 pm » |
The jtag connector at the top of the schematic is a standard 10-pin ARM pinout IIRC. The 4-pin one at the bottom of the schematics looks to be what's loaded on the board. If you look near the 4-pin header on the photo you can see provision for the 10-pin 50-mil pitch header. So I'd say you could go both ways, they must have a debugger in mind that uses the 4-pin version but are also allowing for a standard interface. EDIT: I didn't realise it was so dangerous here, maybe I should emigrate  , mind you the snakes are getting active now we're warming up after winter, I've seen a 4' black snake, 8' python and a baby snake with a black and orange head in the last few days. ______ Rob
|
|
|
|
« Last Edit: October 22, 2012, 04:29:27 pm by Graynomad »
|
Logged
|
|
|
|
|
Nice, France
Offline
Full Member
Karma: 10
Posts: 232
|
 |
« Reply #19 on: October 23, 2012, 04:56:56 am » |
I see in another thread: Actually interrupt*() functions are not implemented yet.
Sorry for that guys, but we didn't had the time to implement it on time for launch, this is one of our high priority for the next 1.5.1, that will be released ASAP.
I added a warning about that in the first post in the thread.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Jr. Member
Karma: 2
Posts: 81
|
 |
« Reply #20 on: October 23, 2012, 03:52:27 pm » |
The four pin header labeled DEBUG on the pcb is the SWD (serial wire debug protocol) connector. It uses jtag's TMS and TCK signals in another simpler protocol (only a clock and a data line are needed to communicate serially between the processor and a debugger).
The unpopulated pads are indeed a more complete jtag connector. I looked up the pinout in the schematic:
RESET TMS TCK GND x x x x RESET x x GND TDI x x TDO x x GND TCK x x GND TMS x x 3V3 (<-- pin1)
|
|
|
|
|
Logged
|
|
|
|
|
Lexington, SC
Offline
Jr. Member
Karma: 0
Posts: 54
|
 |
« Reply #21 on: October 24, 2012, 03:03:48 pm » |
Actually interrupt*() functions are not implemented yet.
Sorry for that guys, but we didn't had the time to implement it on time for launch, this is one of our high priority for the next 1.5.1, that will be released ASAP.
What is cool about the SAM3X is that every pin has the capability of being an interrupt(various different modes, rise edge, falling edge etc). It will be interesting to see how this feature is implemented.
|
|
|
|
|
Logged
|
"Who left the fridge open?" -Tugg Speedman (Scorcher VI - Global Meltdown)
|
|
|
|
nr Bundaberg, Australia
Offline
Tesla Member
Karma: 71
Posts: 6813
Scattered showers my arse -- Noah, 2348BC.
|
 |
« Reply #22 on: October 25, 2012, 04:22:07 am » |
I've written code to do that on an LPC, maybe I'll port it across.
______ Rob
|
|
|
|
|
Logged
|
|
|
|
|
Nice, France
Offline
Full Member
Karma: 10
Posts: 232
|
 |
« Reply #23 on: October 25, 2012, 07:26:10 am » |
PeterVH, thanks for the pinout details. I have updated the image in the first post of the thread. I looked around for SWD breakouts and debuggers, did not find much. I found more i terms of breakouts for the full JTAG header, such as bus blaster which can be used with urJTAG. There is also a SWD library. Most of the software I came across was pricey; this hitex serial wire viewer gives an idea of what can be done with the SWD interface. goJTAG looks interesting, with free software for Windows and Linux, and free training materials. It seems to use the picoTAP as a hardware connector, but I didn't see this on sale anywhere. However they do provide a schematic so I suppose clones are possible. It would be nice to see in-circuit debugging integrated into a future version of the Arduino IDE.
|
|
|
|
« Last Edit: October 25, 2012, 07:28:48 am by Nantonos »
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 46
|
 |
« Reply #24 on: November 11, 2012, 05:07:19 am » |
there is an post where some have mapped out the pins on the Mega: http://arduino.cc/forum/index.php/topic,45329.msg328678.html#msg328678Is the spi pins same on the Due? on the pic in the first post, I thought mosi was in pin 51, and ss in pin 53, but could not find the others, so I tried also to use the spi header in the middle of the board, but god knows what pins the SPI library on the Due is using. In this list: http://arduino.cc/en/Hacking/PinMappingSAM3Xpin 74-77 seems to be spi related, where are those pin numbers?, is that the ones in the middle? And also, in that list, pins 50-54 is listed just as digitalpins, if any pins are doing doubleduty, shouldnt that be mentioned here so it's easier to understand? For me, when I am trying this spi stuff, I'm lead to belive the spi library is using software to do things, not the hardware? Why didn't Arduino creators create an proper pinlayout for these boards?, even after one extra year of development/betatesting?
|
|
|
|
« Last Edit: November 11, 2012, 05:14:56 am by neslekkim »
|
Logged
|
|
|
|
|
nr Bundaberg, Australia
Offline
Tesla Member
Karma: 71
Posts: 6813
Scattered showers my arse -- Noah, 2348BC.
|
 |
« Reply #25 on: November 11, 2012, 05:23:08 am » |
You're not alone in asking such questions, see here http://arduino.cc/forum/index.php?topic=131630.new;topicseen#newLike I said in that thread, takes about 10 minutes to document such things. _____ Rob
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 46
|
 |
« Reply #26 on: November 11, 2012, 06:24:02 am » |
These things are made for beginners?
Yes, you can make an led blink, or use the plain digital/analog pins easily, but, connecting to other modules without using shields should be even so easy.
I'd like somehting like what you did there, or something like this: [img="pinout.png"][/img] (<== How I can refer to the attached picture? )
|
|
|
|
|
Logged
|
|
|
|
|
nr Bundaberg, Australia
Offline
Tesla Member
Karma: 71
Posts: 6813
Scattered showers my arse -- Noah, 2348BC.
|
 |
« Reply #27 on: November 11, 2012, 07:03:06 am » |
How I can refer to the attached picture? AFAIK you have to have the image on the web somewhere and use the URL inside an [ img ] tag. Like this [img]http://www.robgray.com/temp/pinout.png[/img]  I grabbed it and put it on my site  ______ Rob
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 46
|
 |
« Reply #28 on: November 11, 2012, 07:05:09 am » |
Now if anyone at Arduino.cc would read this..
For now, the Due food for the drawer.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 46
|
 |
« Reply #29 on: November 11, 2012, 02:37:16 pm » |
I found the atmega pinout after rummaging through these forums: http://arduino.cc/forum/index.php/topic,125908.0.htmlAnd it seems the miso and sck at pin 50 and 52 are forgotten, they are printed on the pcb there. and the atmega's icsp, there are no dot on the pcb to tell its orientation, did anyone find out how it's oriented?
|
|
|
|
|
Logged
|
|
|
|
|
|