Board 1.1 wont upload to 1.8, 1.6 is OK.

Showing 1-7 of 7 messages
Board 1.1 wont upload to 1.8, 1.6 is OK. Mongo 10/3/12 10:10 PM
First off, great product! Thanks for the amount of time and effort you put in!

I bought the board for a 1.1 because I wanted to mess with the RTC option ( I didnt realize 1.4 was coming out a couple days after I ordered). Also, I seem to want to make things harder than they should be. Anyway, I can get the board running with 1.6 and all is well. When I try to upload 1.8.1 with TinyUSB programmer, it says complete, but I cant login to the board. Doesn't list as an attached device in the router menu. If I roll back to 1.6, all is well. I even tried brand new Atmega's with and without optiboot...

Any ideas what i may be doing wrong? Thanks!
********************************************

AVRDUDE printout if it helps:

C:\Arduino>avrdude -c usbtiny -p m328p -F -U flash:w:firmware1.8.1.hex

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.02s

avrdude: Device signature = 0x1e9514
avrdude: Expected signature for ATMEGA328P is 1E 95 0F
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 "firmware1.8.1.hex"
avrdude: input file firmware1.8.1.hex auto detected as Intel Hex
avrdude: writing flash (32628 bytes):

Writing | ################################################## | 100% 19.36s



avrdude: 32628 bytes of flash written
avrdude: verifying flash memory against firmware1.8.1.hex:
avrdude: load data flash data from input file firmware1.8.1.hex:
avrdude: input file firmware1.8.1.hex auto detected as Intel Hex
avrdude: input file firmware1.8.1.hex contains 32628 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 17.27s



avrdude: verifying ...
avrdude: 32628 bytes of flash verified

avrdude: safemode: Fuses OK

avrdude done.  Thank you.


C:\Arduino>

Re: Board 1.1 wont upload to 1.8, 1.6 is OK. Ray 10/4/12 6:05 AM
I am not sure. I just tried it on my 1.1 board and everything is working fine. Make sure you are uploading the hex file from the compiled/v1.1 folder, not v1.2 or other folders.

Note that since you are using TingUSB programmer to upload, the bootloader (e.g. optiboot) does not matter because it will be overwritten by the programmer.
Re: Board 1.1 wont upload to 1.8, 1.6 is OK. Mongo 10/4/12 10:54 PM
Thanks for answering Ray! Much appreciated!
Worked with it a few hours tonight, flashing 1.8 or rolling back to 1.6. Upgraded router to latest software, tried to ISP load a new blank chip in a regular Arduino board, still nothing with 1.8. Does 1.8 default to a static IP? I even tried running AngryIP to see everything that pings on the router. Totally stumped here...
Re: Board 1.1 wont upload to 1.8, 1.6 is OK. Ray 10/4/12 11:07 PM
The only thing I could think of is perhaps you have accidentally changed the fuse bits. The pre-programmed mcus are all set to use 8MHz clock. Maybe you have changed it to 16MHz by accident. To change the fuse bits back, use:
avrdude -c usbtiny -p m328p -B 250 -F -U lfuse:w:0xe2:m -U hfuse:w:0xd1:m -U efuse:w:0x06:m
then
avrdude -c usbtiny -p m328p -B 1 -F -U flash:w:firmware1.8.1.hex
to flash the firmware again.

Well you did mention that firmware 1.6 works, so I am not sure why 1.8 doesn't work. Do you see anything displayed on the LCD?
Re: Board 1.1 wont upload to 1.8, 1.6 is OK. Mongo 10/5/12 8:48 AM
Ran those commands like you suggested and same thing. No display- I think I smoked it by putting it in backwards when I first built it, I should have looked at the pictures better. New one is on the way, hopefully shows up today... Thanks again.
Re: Board 1.1 wont upload to 1.8, 1.6 is OK. Mongo 10/5/12 6:41 PM
Got it!
Once I got a display on it ( had to wire it up with a breadboard, pins didnt match the one I got off Ebay), I was able to see that even with 1.8.1 it was not getting an IP from the router. I manually set an IP and all is well!
Now I just have to figure out if I want to keep the display ( and how to rewire it and make it fit the case) or pull it. I like it, its green letters on black...

Thanks again for your help and the great product!
Re: Board 1.1 wont upload to 1.8, 1.6 is OK. Ray 10/7/12 2:28 PM
OK, that's good to know. Thanks for the update.