Loading...
  Show Posts
Pages: 1 ... 30 31 [32] 33 34 35
466  Using Arduino / Installation & Troubleshooting / Re: Program won't upload when programming a Pro Mini with a Duemilanove on: March 12, 2011, 01:30:04 pm
try the pins on the long edge of the board - very few boards with 'faults' are actualy faulty (IME).


Drew.
467  Using Arduino / Installation & Troubleshooting / Re: Upload Program to Ardweeny using Arduino on: March 12, 2011, 01:25:31 pm
try this for timing :

press upload, then wait until sketch size comes up on lower IDE panel
tap 'RESET'
wait



hope this works for you.



Drew.
468  Using Arduino / Installation & Troubleshooting / Re: Pro mini 328 uploading issues on: March 12, 2011, 01:18:09 pm
try this for timing :

press upload, then wait until sketch size comes up on lower IDE panel
tap 'RESET'
wait



hope this works for you.



Drew.
469  Using Arduino / Installation & Troubleshooting / Re: Program won't upload when programming a Pro Mini with a Duemilanove on: March 12, 2011, 01:14:37 pm
try swapping tx and rx on the pro!!! waybe misslabled clone!!!


Drew.
470  Using Arduino / Installation & Troubleshooting / Re: Program won't upload when programming a Pro Mini with a Duemilanove on: March 12, 2011, 01:00:47 pm
try connecting the lead you have in grn to rst on the pro. also verify your connections by moving the board on the breadboard to a different location (I've got 2 faulty tracks on one of my boards, and that took days to discover.

Drew.
471  Using Arduino / Installation & Troubleshooting / Re: Problem while programming the Atmega328 on breadboard! on: March 10, 2011, 08:31:19 am
can you provide a layout for YOUR setup - before building my programming station I had :

rx (arduino pin 0) - tx (Chip pin 3)
tx (arduino pin 1) - tx (Chip pin 2)
reset - reset (Chip pin 1)

and +5v and Gnd from Arduino to the standalone.

The ATMega328 was removed from the board.

Upload using the IDE as normal - choosing the correct com port ad MCu.
472  Using Arduino / Microcontrollers / Re: Upload sketch only once! on: March 09, 2011, 06:42:15 pm
Give it a try, Remember to unlock the chip before writing the bootloader, and lock the chip when finished. also unplug the board and reinsert it after locking it.

Drew.
473  Using Arduino / Microcontrollers / Re: Upload sketch only once! on: March 09, 2011, 06:10:49 pm
There has been issues with the drivers on mac, try this :

1) Go to System Preferences -> Network
2) If it asks you to add the Arduino (modem device), say cancel
3) Remove the Arduino device from the list if its there
4) Try uploading a sketch!

I only have windows xp - so can't comment if this realy works.

Drew
474  Using Arduino / Microcontrollers / Re: Upload sketch only once! on: March 09, 2011, 05:34:10 pm
what operating system and version of ide are you using?
475  Using Arduino / Microcontrollers / Re: Upload sketch only once! on: March 09, 2011, 04:13:44 pm
Looks OK ! - Does the sketch you are trying to upload contain !!! in it? - That is the debug switch code to access the extended menu on the 2560 bootloader.

Drew
476  Using Arduino / Microcontrollers / Re: Upload sketch only once! on: March 09, 2011, 01:54:10 pm
Sounds like a lock issue - after uploading the bootloader, the lock but should be set to 0x0F - maybe an issue with the boards.txt file. Can you post its contents here and we'll havea look at it.


Drew.
477  Using Arduino / Microcontrollers / Re: BitBang Scripts. on: March 09, 2011, 06:01:34 am
The -c diecimila is supported under the older verion of AVRDUDE (mine is from 2007) -
See here for files : http://www.geocities.jp/arduino_diecimila/bootloader/index_en.html*.
Remember to download the updated avrdude.conf file from the same site. The site also gives you step by step instructions on how to do the job manualy.

hope this helps

Drew

*this is not my site, I 'borrowed' the link from another post.
478  Using Arduino / Microcontrollers / BitBang Scripts. on: March 08, 2011, 05:23:58 pm
I have a high turnover of ATMega328 & 168 chips for arduino and different projects.
Needing a cheaper way to get these, I buy them in 100's from my suppliers and program the bootloaders
myself.

If anyone is interested - here are the scripts i use (Bitbanging is covered elsewhere in the forums).

avrdude -p m328p -c diecimila -B 4800 -P ft0 -e -U lock:w:0x3f:m -U lfuse:w:0xff:m -U hfuse:w:0xda:m -U efuse:w:0x05:m

avrdude -p m328p -c diecimila -P ft0 -D -U flash:w:328boot.hex:i

avrdude -p m328p -c diecimila -P ft0 -U lock:w:0x0f:m

put the above 3 lines in a bat file (mine is 328boot.bat) in the avrdude directory, it will program a virgin atmega328 to an arduino chip in about 20 seconds, you also have to copy the file ATmegaBOOT_168_atmega328.hex to the same directory and rename it 328boot.hex

for the atmega168 :

avrdude -p m168 -c diecimila -B 4800 -P ft0 -e -U lock:w:0x3f:m -U lfuse:w:0xff:m -U hfuse:w:0xdd:m -U efuse:w:0x00:m

avrdude -p m168 -c diecimila -P ft0 -D -U flash:w:168boot.hex:i

avrdude -p m168 -c diecimila -P ft0 -U lock:w:0x0f:m


put the above 3 lines in a bat file (mine is 168boot.bat) in the avrdude directory, it will program a virgin atmega168 to an arduino chip in about 20 seconds, you also have to copy the file ATmegaBOOT_168_diecimila.hex to the same directory and rename it 168boot.hex

If you want to program a final image to the chip, replace ***boot.hex with your own .hex filename.

Hope this helps


Drew.
479  Using Arduino / Microcontrollers / Re: Bitbang & upload to standalone, without removing 328. on: February 23, 2011, 06:44:44 am
Thanks for the reply Nishant, The socket on the arduino is a DIN socket, a ZIF socket is the one with a lever to release the chip. I have programmed dozens of chips with the arduino, and ruined 3 - not many, but on a limited budget, it's more than enough - the programing board was made from my bitza box, so cost me nothing  smiley-lol .
480  Using Arduino / Microcontrollers / Bitbang & upload to standalone, without removing 328. on: February 22, 2011, 01:20:56 pm
I have just had to program 10 of these chips using my duemilenove. I built a programming board with a ZIF socket, 16Mhz resinator, a 10k resistor (to keep the reset line high), and a 10nf smoothing cap on the power lines. I also have an LED with resistor, and three pin headers, one 2 way for power from the duemilenove, one 2 way for Tx and Rx lines, and finaly a 4 way for SPI programming,  and a reset button.

I Bitbang the boot loader from the 4 way pin header on the duemilenove using AVRDUDE-GUI (as covered in the forums). But wanted to use the duemilenove as a USB to SERIAL bridge for programming the chips with sketches. So hooked up digital pins 0 and 1 to the standalone pins 2 and 3 (LEG numbers, NOT the digital pin numbers).

Just to try I held down the reset button on the duemilenove, hit upload sketch, waited until the project was built, and tapped the reset button on the standalone. BINGO - sketch uploaded.

No more bent pins swapping chips - Virtualy no ware on the chips - and no damage to my arduino.
Pages: 1 ... 30 31 [32] 33 34 35