Loading...
  Show Posts
Pages: 1 [2]
16  Using Arduino / General Electronics / Re: Type of 10-pin JTAG header of Arduino Due on: December 16, 2012, 11:55:45 pm
I found a low cost source of 20pin to 10pin 0.05" JTAG connectors.
Olimex ARM-JTAG-20-10 = US$7.00 http://microcontrollershop.com/advanced_search_result.php?osCsid=c60e23p2l0oluqgme7vdnji6n0&keywords=ARM-JTAG-20-10&x=0&y=0  -
from microcontrollershop.com and it has worked for me with the Atmel SAM-ICE
The JTAG 2x5 0.05" connector does hit another connector SIL 0.1" called Debug - but it can be pressed in and does work for me.
The JTAG isn't keyed and I have the cable direction as coming away from the board.
17  Products / Arduino Due / Re: Programm error: assertion "(address & 0x80) == 0" failed on: December 11, 2012, 10:03:32 pm
The Due/SAM3X takes the TWI address in 7 bit format with out the lower b0 R/W.  ie range 0-127. and that is used to write the hardware address register.
A lot of TWI address are quoted in 8bit format with the lower R/W bit added and then it is written it to the hardware address register.
This particular syntax got me stymied for a few days  when an NXP data sheet was quoting the address in 8 bit "hex" format and Ididn't realize it.
 
18  Products / Arduino Due / Re: Why use a RTOS? on: December 11, 2012, 09:47:42 pm
That would be fantastic. Neil
19  Products / Arduino Due / Re: Python for Arduino Due on: December 07, 2012, 09:58:29 pm
As I understand it the benefit of pyhton is the ability to process text strings.
So for interfacing over USB to an instrument or external module there would be an easier capability to manage the input and output.
However, I don't think it replaces C++. The C++ is the machine control environment and implement the drivers and management.
So the down side is more resources - ram and flash.
20  Products / Arduino Due / Re: Debugging Arduino Due using SAM-ICE JTAG (an approach) on: December 06, 2012, 02:10:08 pm
Hi All, I'm using the SAM-JTAG and Atmel Framework examples on a pvt SAM3X hw and also SAM3X-EK - I'm hoping to get a production Due when they  arrive later this month at Digikey, Sparkfun etc.
I've brought in the Arduino DUE  C++ framework to Atmel Studio 6, however when downloading through the JTAG I haven't bee able to put watches in the internal RAM.
I can get access to the peripheral memory map with the C drivers it seems - which is really nice

Anybody got the symbolics working and accessible with Atmels Studio C++ compiler?
21  Products / Arduino Due / Re: Arduino Due compatible with Arduino Ethernet shield or Arduino Wifi shield ? on: December 06, 2012, 01:27:52 am
I have the Ethernet Shield (rev3) with the Beta Due running a COSM reporting sketch 24/7 for the past 3months with no problems.
22  Products / Arduino Due / Re: Debugging Arduino Due using SAM-ICE JTAG (an approach) on: December 06, 2012, 01:13:18 am
Does this do the same thing
ARM-JTAG-20-10
http://microcontrollershop.com/product_info.php?products_id=4650
I haven't checked out the wiring - but there is an ARM spec for a 0.05" connector.
23  Products / Arduino Due / Re: Porting libs from the Atmel Framework on: December 05, 2012, 07:56:19 pm
Hey Nice to see it
I was thinking of pulling the RTC in from the from the framework.
Code comment review.
There is a potential hiccup. When reading hardware registers and operating on them I always make one good local read/copy of the hardware register and then operate on the same value.  So in
Code:
int RTC_clock::get_hours()
{
return (((current_time()  & 0x00300000) >> 20) * 10 + ((current_time()  & 0x000F0000) >> 16));
}
converting from BCD to std number the "current_time()" is called twice and each time reads from the hardware registers. With the two  current_time() reads they could return different readings.
Better I would think to do
Code:
int RTC_clock::get_hours()
{
uint32_t dwTimeCurrent = current_time();
return (((dwTimeCurrent  & 0x00300000) >> 20) * 10 + (( dwTimeCurrent & 0x000F0000) >> 16));
}
24  Products / Arduino Due / Re: DUE temperature sensor API on: October 25, 2012, 01:15:50 pm
I put in a request to enable the ADC15/temperature sensor. However - it is the temperature on the die - which does warm up.
To make it be close to the ambient temperature is going to require implementing a power down mode - no power no die warmup - and then on wakeup reading the temperature straight away.
25  Products / Arduino Due / Re: Ethernet Capability on: October 22, 2012, 08:11:28 pm
I've been using the standard Ethernet Board with the Beta release and pushing data on some watermeters I'm recording to COSM. Worked nicely and reliably.
Looking at the hardware, PB0-PB9 - the ehternet pins - are run to a connector with 14pins - labeled on the schematic MACB - but can't visually see anything on the board that specifies MAC. The MACB has no gnd or power shown - so looks like expected to be used with other pins. Neil
26  Community / Products and Services / Re: Highly Anticipated 32-bit "Due" due When? on: May 24, 2012, 05:13:06 pm
Hmm
http://asf.atmel.com/docs/latest/search.html?device=sam3x
gives an Ardunio Due/X   smiley-cool
- maybe the X is for remove   smiley-eek
27  Community / Products and Services / Re: Highly Anticipated 32-bit "Due" due When? on: May 17, 2012, 10:53:11 pm
For what its worth I received some SAM3X samples today - 144pin. Production is supposed to be July, though Digikey is saying it can ship May24th. The big advantage to the Atmel low cost ARM  is integrated Ethernet, USB OTG, ADC12bits and 96Kb ram - and wide Vcc range.
Pages: 1 [2]