Show Posts
Pages: [1] 2 3 ... 40
1  Forum 2005-2010 (read only) / Troubleshooting / Re: Express PCB, board layout on: April 29, 2009, 07:51:07 am
I am not sure if this is what you are looking for, but you can find the
EAGLE files and Schematic here:

http://arduino.cc/en/Main/ArduinoBoardDuemilanove
2  Forum 2005-2010 (read only) / Troubleshooting / Re: New Arduino 0017 compiling problems on: September 17, 2009, 09:35:36 pm
your code needs to contain a setup() and a loop() function.
I gues your main programm is located in a function called main()... simly rename this function to setup().

And then add a new function:
void loop()
{
}

will your code compile then?
3  Forum 2005-2010 (read only) / Troubleshooting / Re: Programmer is not responding on: March 29, 2009, 06:16:40 pm
I don't like to use Arduino with Mac OS because the FTDI drivers "are not good".
Maybe try to reinstall the drivers (uninstall them and then reinstall them)...
I can upload sketches via Arduino IDE on Leopard, so at least it is possible (using Arduino 0014).
4  Forum 2005-2010 (read only) / Troubleshooting / Re: Programmer is not responding on: March 29, 2009, 03:25:55 pm
no idea. Check if it works on a windows machine or if the board is damaged.

How did you put the bootloader to the Atmega168 of your own Arduino?
5  Forum 2005-2010 (read only) / Troubleshooting / Re: Problem burning bootloader to Atmega328 on: March 27, 2009, 08:27:10 am
I read the manual of your programmer and it seems as if the programmer gets a virtual com port.
So add this entry to the programmers.txt in the hardware folder:

olimexisp.name=AVR ISP 500 Olimex
olimexisp.communication=serial
olimexisp.protocol=stk500v2

and then select the right com port in the IDE and try to burn the bootloader

are you using mac os x or windows?
6  Forum 2005-2010 (read only) / Troubleshooting / Re: Problem burning bootloader to Atmega328 on: March 27, 2009, 07:57:54 am
Which programmer did you choose in the menu?
AVR ISP or  AVRISP mkII ?

Your Olimex ISP programmer uses the stk500v2 protocol, so you have to choose AVRISP mkII.

With a serial (original Atmel) stk500v2 I had some problems because the baud rate was wrong. I had to recompile the IDE for fixing this, because the AvrdudeUploader.java uses the upload speed specified in the boards.txt file and my programmer doesn't like -b options with avrdude...
7  Forum 2005-2010 (read only) / Troubleshooting / Re: Which chips can I bootload? on: March 29, 2009, 06:13:36 pm
http://code.google.com/p/arduino/source/browse/#svn/trunk/hardware/bootloaders/atmega

you can see that atmega1280 is supported. You can even download a .hex file for it there. I guess this is the chip that is being used on the new Arduino Mega... but I am more into the opposite direction (use smaller attiny mcus) so I guess you have to try it because I never worked with the atmega1280.
8  Forum 2005-2010 (read only) / Troubleshooting / Re: Which chips can I bootload? on: March 29, 2009, 05:39:50 pm
I have these chips running:

atmega168,328,32
and other people use atmega8 and 16...

attiny84,85 (own bootloader)

which mcu do you want to use in your project? I guess it is possible to use almost any atmega chip.
9  Forum 2005-2010 (read only) / Troubleshooting / Re: Serial.print(0x00, BYTE) has very strange behavior on: March 11, 2009, 06:47:31 pm
hterm is great, indeed.

So your terminal program was the only problem?
Did you try other terminal applications and had the same problems that you have with gtkterm?
10  Forum 2005-2010 (read only) / Troubleshooting / Re: Serial.print(0x00, BYTE) has very strange behavior on: March 11, 2009, 06:30:03 am
just search for the FTDI Application Notes. The ones that explain the driver settings for Windows are:

Application Note AN_107 Advanced Driver Options
or the older version:
AN232B-10 Advanced Driver Options

and some more information can be found in this document:
AN232B-04 Data Throughput, Latency and Handshaking

So on windows you can change these settings and it really improves communication (on low baud rates) with the Arduino.

If you find a way to change these parameters on Linux then please let me know.
11  Forum 2005-2010 (read only) / Troubleshooting / Re: Serial.print(0x00, BYTE) has very strange behavior on: March 09, 2009, 01:58:00 pm
I tested with this code:
Code:
void setup()
{
  Serial.begin(9600);
}

void loop()
{
   Serial.print(0xAA, BYTE);
   Serial.print(0x0D, BYTE);
   Serial.print(0x00, BYTE);
   Serial.print(0x00, BYTE);
   Serial.print(0x00, BYTE);
   Serial.print(0x00, BYTE);
   delay(1000);
}

And I started hterm (on windows) and read the values in this order:
AA 0D 00 00 00 00

so no problem on windows and Diecimila. I would say that this is not a bug in the Arduino core.

Oh and I have these settings for my FTDI driver:
USB packetsize: 512 bytes
BM delay: 16ms
maybe your usb driver produces the errors because of bad usb timing?
12  Forum 2005-2010 (read only) / Troubleshooting / Re: generating a PRBS on: March 09, 2009, 07:43:10 pm
And for your random numbers, have a look at this topic in the reference:
http://arduino.cc/en/Reference/RandomSeed

and the Blink example was already mentioned: http://www.arduino.cc/en/Tutorial/Blink

the random() function in combination with the delay() function can change the interval between on and off of the LED in the range of milliseconds.

If you need something that is more like a candle light, shorter intervals might be more interesting. Please let me know if you want to create a candle light or if the random() function in combination with the Blink example solved your problem.
13  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: under 1k bootloader, any interest? on: August 31, 2009, 03:12:15 pm
any news here?

is there any checksum in the current bootloader or in the smaller version? I only see that a lot of bytes (a page or even more??) can be transmitted to the Arduino but there does not seem to be a checksum or echo of the bytes... is this correct?
14  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: Running the pre-preprocessor outside the IDE on: March 28, 2009, 04:46:14 pm
Interessting. Would love to try it.

What I don't like is that you use Jython. When I modify the IDE, then this is all Java. I don't like Java, but at least everything is written in a single programming language at the moment.
Now it seems as if I would have to use another programming language for some parts. Maybe this is a benefit but I can't see it at the moment.

15  Forum 2005-2010 (read only) / Syntax & Programs / Re: Getting initial values into EEPROM on: March 13, 2009, 02:56:34 pm
What comes to my mind is the magic word: EEMEM.
Have a look at  http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1202157667
because I am not sure if this is supported yet.
Pages: [1] 2 3 ... 40