Show Posts
Pages: 1 [2] 3 4 ... 14
16  Using Arduino / Installation & Troubleshooting / Reference design of Arduino GPRS shield do not open in Eagle on: September 11, 2013, 08:45:01 am
Hi,

I downloaded the files for the Arduino GPRS shield from this link:

http://arduino.cc/en/uploads/Main/arduino-gsm-shield-06-reference-design.zip

But i cannot open them in Eagle, anyone with same problem?
17  Using Arduino / Networking, Protocols, and Devices / Re: Achieving Ethernet top speed on: September 05, 2013, 12:03:27 pm
SurferTim,

I wasn´t expecting nothing, i was only trying to achieve the highest speed i could and make my code as efficient as possible.

I´m now able to have a good enough speed for my application, i´m able to download a 130kB file and save it on the SDCard in aproximately 30/40 seconds.
18  Using Arduino / Programming Questions / Re: Write to SDcard function question on: September 05, 2013, 09:17:42 am
You are all correct.

My main worry was that i didn´t understood the behaviour of the compiler accordingly to the documentation...
I failed to consult the code, should have done that...
19  Using Arduino / Programming Questions / Re: Write to SDcard function question on: September 04, 2013, 11:04:58 am
I understand that but in the documentation they say that buf is:

Quote
buf: an array of characters or bytes

So char should work according to the documentation, no?
20  Using Arduino / Programming Questions / Re: Write to SDcard function question on: September 04, 2013, 10:52:42 am
MarkT

You are correct!

They refer that:  buf: an array of characters or bytes

So it should accept a char array, no?
Apparently if you define byte you don´t even need to do the cast.
If you define as char array and do the cast to (byte *) it works to.

But, using char array and no cast it doesn´t work, can you explain? shouldn´t char work, or there is a small error in the documentation?
21  Using Arduino / Programming Questions / Write to SDcard function question on: September 04, 2013, 10:07:27 am
Hi,

I have been trying to write an array of characters to a file in the SDcard using the write function.

The definition of the funtion in the arduino.cc is the following:
Quote
write()

Description
Write data to the file.

Syntax
file.write(data)
file.write(buf, len)

Parameters
file: an instance of the File class (returned by SD.open())
data: the byte, char, or string (char *) to write
buf: an array of characters or bytes
len: the number of elements in buf

Shouldn´t i be able to do the following, declarations and use of the write function:
Code:
...
File myFile;
char buff[10] = {'1','2','3','4','5','6','7','8','9','0'};
...
...
myFile.write(buff,9);
...

Apparently i can´t get this myFile.write(buff,9); to compile.
Isn´t it possible to write entire buffers to a file?

Regards
22  Using Arduino / Networking, Protocols, and Devices / Re: Achieving Ethernet top speed on: September 04, 2013, 06:05:52 am
Yes,

You are correct, right now my bottleneck isn´t the ethernet speed.
It´s the time i take to put the data in the SDCard...
23  Using Arduino / Networking, Protocols, and Devices / Re: Achieving Ethernet top speed on: September 03, 2013, 08:34:13 am
Yap,

It seems to work.
24  Using Arduino / Networking, Protocols, and Devices / Re: Achieving Ethernet top speed on: September 03, 2013, 05:29:10 am
So,

Calling:

Code:
void SPIClass::setClockDivider(uint8_t rate)
{
  SPCR = (SPCR & ~SPI_CLOCK_MASK) | (rate & SPI_CLOCK_MASK);
  SPSR = (SPSR & ~SPI_2XCLOCK_MASK) | ((rate >> 2) & SPI_2XCLOCK_MASK);
}

and using:

Code:
#define SPI_CLOCK_DIV2 0x04

should allow me to achieve the highest speed, correct?
25  Using Arduino / Networking, Protocols, and Devices / Achieving Ethernet top speed on: September 02, 2013, 10:31:20 am
Hi,

I would like to know what is the top speed achievable with the Ethernet Shield?

I have been trying to speed up my ethernet download speed, but i have been having problems with that.
I´m always trying to empty the W5100 buffer, but i don´t think that is the best way to make a download, because it might interfere with the filling of the buffer.

Does anyone has any ideas that can help.
Or code i can use as example, that allows for good download speeds? I have read that some people were able to achieve 14KB/s.

Regards
26  Using Arduino / Microcontrollers / Re: Programming Writting failing on: August 27, 2013, 12:23:21 pm
Solved.

Problem was to many exclamation points on my code on some Serial.println, forgot that this was an issue...
27  Using Arduino / Project Guidance / Re: Source the DUE chip AT91SAM3X8E on: August 27, 2013, 12:00:33 pm
Sorry,

Forget what i said. Wrong search. Found it.
28  Using Arduino / Project Guidance / Source the DUE chip AT91SAM3X8E on: August 27, 2013, 11:58:45 am
Hi!

I have been trying to find an internet store to buy the AT91SAM3X8E, but i wasn´t able to find one.

Does anyone has sugestions? I have already tried farnell, RS, digikey etc...

Regards
29  Using Arduino / Microcontrollers / Programming Writting failing on: August 27, 2013, 11:36:09 am
Hi,

I have been using a standalone arduino board, custom design, that i program using an external FTDI breakout board.

I´am currently using the eclipse environment, everything has been working smoothly, but today got a strange error when programming.

Quote
Launching C:\Program Files\arduino-1.0.1\hardware\tools\avr\bin\avrdude -patmega2560 -cstk500v2 "-P\\.\COM9" -b115200 -Uflash:w:MCU2.hex:a "-CC:\Program Files\arduino-1.0.1\hardware\tools\avr\etc\avrdude.conf"
Output:

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.03s

avrdude: Device signature = 0x1e9801
avrdude: NOTE: FLASH memory has been specified, an erase cycle will be performed
         To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file "MCU2.hex"
avrdude: input file MCU2.hex auto detected as Intel Hex
avrdude: writing flash (50110 bytes):

Writing | #################################################avrdude: stk500v2_ReceiveMessage(): timeout
avrdude execution aborted

I think i didn´t do anything wrong to my configs. I have tried several FTDI, my collegue is able to program my own platform but i cannot, i think is something software related but i dont´know what.

As anyone dealt with this problem? I really don´t understand what might be going wrong.
Any ideas?

Thank you
30  Using Arduino / Microcontrollers / Re: Problem with custom Atmega2560 board, cannot use FT232 for Serial comms on: March 18, 2013, 05:56:54 am
Hi Nick,

What i will say doesn´t help i think, but i have a similar problem.

I have a custom designed board with ATmega 2560 and ATm3ga328P processors.

I have to 7 FTDI breakout boards from sparksfun, https://www.sparkfun.com/products/9716.

The fun part is this..., only 2 of this FTDI boards are able to program the AT328P however all 7 are able to program the AT2560.

I have been figthing with this problem for some time and never understood why this happens.

It seems to be a similar behaviour to what you have.

regards
Pages: 1 [2] 3 4 ... 14