Show Posts
Pages: 1 [2] 3 4 ... 10
16  Products / Arduino Due / Re: "PORTC =" command cannot compile in Arduino Due mode?? on: May 24, 2014, 01:37:57 am
The replacing register is REG_PIOC_ODSR afaik.
17  Products / Arduino Due / Re: Arduino Due joystick on native usb on: May 18, 2014, 09:46:53 am
Maybe you should try to start by looking at the mouse and keyboard examples.
18  Products / Arduino Due / Re: Programming and Native port connected at the same time on: May 09, 2014, 03:28:00 am
Hi to everyone.

I would like to know if is it possible to connect my arduino DUE at the same time through the native and the programming port.

Is there the possibility that I damage my board?

Thanks for your help,
Fab.
No, but if you are programming using the programming port, and the native port is connected aswell while programming, it can act a bit weird sometimes (no device found for example). But while just running it works good.
19  Products / Arduino Due / Re: Arduino Due not in sync on: May 02, 2014, 03:17:04 am
Hi All,

I purchased an arduino Due, hooked it up, and got the following synch error: avrdude: stk500_getsync(): not in sync: resp=0x00

I tried reinstalling the driver, IDE (1.5.6-r2), double checking the COM port, and nothing would let me upload the sketch.  I also tried all of the different variations of resetting just bofre or just as I was uploading the sketch.  After a positive loopback test, I concluded that the 328P chip was bad, so I returned it.  Got a new one, and I have the same problem.  I can;t imagine the odds of both 328P chips being defective, and I can;t help but suspect user error, on my part.

Any other ideas of things I can try to get this thing working? 

Thanks so much.

--Nick
I think you forgot to select the arduino due board. The due doesn't use avr dude, but bossac.
20  Products / Arduino Due / Re: Arduino due dont work some code on: April 21, 2014, 10:05:26 am
How much EEPROM does a Due have?
The Arduino Due got no eeprom (at least not in the sam3x chip).
21  Products / Arduino Due / Re: Interested in ARM arquitecture on: April 12, 2014, 02:55:11 am
Gericom, thank you for your answer,

Maybe it could be programmed using Atmel Studio 6.

I think this link is interesting for someone trying to learn ARM architecture:
http://rcarduino.blogspot.com.es/2012/09/how-to-view-arduino-assembly.html

Probably. Personally I don't find arm (the due uses thumb only, but it's quite the same) very difficult. You may want to use this as a simple reference: http://simplemachines.it/doc/arm_inst.pdf
It is for arm, but as I said, it may be partly used for thumb aswell.
22  Products / Arduino Due / Re: Interested in ARM arquitecture on: April 11, 2014, 11:02:53 am
Hello, I am interested about learning ARM architecture and how to program it.

Well, I have several questions:

Can I program Arduino Due in Assembly language ?
Could you tell me any good tutorial about it ?
Do you know any good book or tutorial about programming ARM or its architecture ?

A good answer would be very appreciated
Yes, you can program the arduino due in assembly language, but only using inline asm by default. (I think that using .s files might be possible as well with some little changes in the ide)
23  Products / Arduino Due / Re: Storing data on Arduino DUE on: March 21, 2014, 09:08:26 am
Did you read the bit where it says :- 96 KBytes of SRAM
That means that the Due as most ram than most Arduino have flash / eeprom / sram put together.
o.k 96k of ram , 5 seconds , 4 sensors
4 sensors at 32 bits each ( 4 bytes )  4 * 4 = 16 byte
96k and say 80k usable ? ( 80 * 1024 )  / 16 = 5120 * 5 seconds  = 25600 seconds of 4 sensor data.
25600 / 60 / 60 about 7 hours of data , without storing it , And you can double that for you only need 16 bit per cell .
Yea, I know the arduino due got not a lot of ram, but I am not sure if storing in the flash is a good idea. Maybe you can better get an external memory chip the sam3x can interface natively. (Look in the datasheet)
24  Products / Arduino Due / Re: Storing data on Arduino DUE on: March 20, 2014, 02:05:48 pm
Hi,
I wanted to store information on the arduino DUE board. I want to store the readings taken from four different types of sensors every 5s. How can I accomplish this, as most of the examples shown are in relation to other boards? How do I store these values into the FLASH memory? Any help or guidance would be appreciated.
Why do you want to save in flash?
25  Products / Arduino Due / Re: Nothing appears on arduino DUE screen on: March 13, 2014, 08:33:33 am
When using the native port, do it like this:
Code:
void setup()                    // run once, when the sketch starts
{
  SerialUSB.begin(9600);           // set up Serial library at 9600 bps
}

void loop()                       // run over and over again
{
 SerialUSB.println("Hello world!");        // prints hello with ending line break                             
}
26  Products / Arduino Due / Re: Nothing appears on arduino DUE screen on: March 12, 2014, 01:47:43 pm
If you use the native port you muste use "SerialUSB" for communication with the computer.
Exactly. Thats why I asked.
27  Products / Arduino Due / Re: ADC - analogRead at high frequency (1 MHz) on Arduino DUE on: March 12, 2014, 01:46:49 pm
Here you can find the datasheet of the chip: www.atmel.com/Images/doc11057.pdf
28  Products / Arduino Due / Re: Nothing appears on arduino DUE screen on: March 11, 2014, 02:56:02 pm
Did you connect using programming or native port?
29  Products / Arduino Due / Re: ADC - analogRead at high frequency (1 MHz) on Arduino DUE on: March 11, 2014, 01:38:54 pm
I think you can only get 1MHz using dma.
30  Products / Arduino Due / Re: Creating a Sinusoidal PWM signal for H-Bridge Control on: March 06, 2014, 01:39:10 pm
Maybe you could use dma or a timer interrupt.
Pages: 1 [2] 3 4 ... 10