- This topic is empty.
December 30, 2013 at 8:55 am #22721
I had a pre built unit that had 2.0.0 pre installed and working.
Performed the update to 2.0.2 which was successful however had an issue with the sd card and would not get a dhcp ip address.
This is when it all went terribly wrong as I then tried to upload the 2.0.0 firmware again to back out with the following which seemed to work.
However now have no display or anything at all. I can plug the unit into a PC and it shows up the USBtinyISP AVR Programmer in device manager however am kind of stuck now on what I have done is recoverable.
Any suggestions would be great.
Detail from downgrade from 2.0.2 to 2.0.0 which caused the issue
avrdude -c usbtiny -p m328p -F -U flash:w:firmware2.0.0.hex
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.05s
avrdude: Device signature = 0x1e9609
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 “firmware2.0.0.hex”
avrdude: input file firmware2.0.0.hex auto detected as Intel Hex
avrdude: ERROR: address 0x8010 out of range at line 2049 of firmware2.0.0.hex
avrdude: write to file ‘firmware2.0.0.hex’ failed
avrdude: safemode: Fuses OK
avrdude done. Thank you.December 30, 2013 at 9:15 am #25881
Ok I have managed to get 2.0.2 back on the unit thankfully.
However still getting the same issue as before where when starting the unit im getting “A microSD card is required.”
I have tried two different microSD cards (128mb and 2gb) with the files copied locally however still get the same issue when restarting the unit.
If i eject and insert the microSD card at this point it then gets to the NTP Syncing screen however It never gives me a DHCP address and by pressing B1 gives me 0.0.0.0:80.
I have set the ip to 192.168.20.200 with a gw of 192.168.20.1 however it still will not take the static ip and still shows 0.0.0.0:80 in the IP address when pressing B1.
Should the microSD card be formatted with fat32 or something else?
BrettDecember 30, 2013 at 1:39 pm #25882
1) Regarding downgrading to 2.0.0, the issue was because you used ‘-p m328p’ in the command. It should be ‘-p m644’ because OpenSprinkler 2.0 uses ATmega644 microcontroller, not mega328.
2) Regarding microSD card problem, how did you format the SD card? I’ve had issues when formatting the card in Linux. It should be formatted to FAT16. Somehow when I formatted it in Linux it wasn’t recognizable, but it was fine when formatted in Windows. I will investigate the issue later.
Thanks ray the update to 2.0.3 that doesn’t require the ad card worked a treat.
- You must be logged in to reply to this topic.