- This topic is empty.
May 27, 2013 at 12:16 am #22446
I’m learning so please be gentle. I might be using incorrect terminology so be patient.
So I have a ver 1.1 OS board that I built and installed last year with firmware 1.4 installed. I tried updating the firmware last year but gave up. I’m trying again this year to upgrade to 1.8.3. I’m trying to follow the instructions but am running into problems.
I have a MacBook and a connected arduino uno that I am trying to use to flash the microcontroller, an ATMEGA328 PU is what the chip says.
I dont need to try and modify the code, so I just need to download the pre-compiled code, correct?
I installed avrdude as instructed.
I downloaded the firmware update file zip folder and located the appropriate .hex file.
I entered this command in Terminal:
avrdude -c usbtiny -p m328p -F -U flash:w:firmware1.8.3.hex
and got this:
avrdude: Error: Could not find USBtiny device (0x1781/0xc9f)
ok…then I figured I wasn’t using a USBtiny, I am using the Uno, so I entered:
avrdude -c avrisp mkii avrdude -p m328p -F -U flash:w:firmware1.8.3.hex
I then get this error (plus a long list of parts):
avrdude: No AVR part has been specified, use “-p Part”
Valid parts are:
t10 = ATtiny10 [/usr/local/CrossPack-AVR-20130212/etc/avrdude.conf:16674]
t9 = ATtiny9 [/usr/local/CrossPack-AVR-20130212/etc/avrdude.conf:16630]…
Here I am stuck. What do I do?
PS. Last resort, Ray, can I just buy a new chip with the 1.8.3 installed?May 27, 2013 at 7:18 pm #23752
Note that hardware 1.1 does not have built-in USBtinyISP programmer. Are you using an external USBtinyISP programmer, or are you using FTDI cable? As described in the firmware update instructions, you must use an ISP programmer (FTDI cable does not work any more due to the size of firmware 1.8.3):
http://rayshobby.net/?page_id=732May 28, 2013 at 12:24 am #23753
I have a MacBook and a connected arduino uno that I am trying to use to flash the microcontroller, an ATMEGA328 PU is what the chip says
I’m trying to use a Arduino Uno board, but can buy a USBTinyISP if the Arduino won’t work.May 28, 2013 at 12:50 pm #23754
If you have an existing Arduino, you can use it as an ISP programmer to program the OpenSprinkler. Here are the instructions of how:
Although it will be quite tricky because you will need to layout the wires yourself. So it’s probably still easier to get a DIY programmer from my website.
You cannot plug in the OpenSprinkler’s microcontroller to your Arduino and program it that way. The reason is that Arduino itself does not have an ISP programmer — it only has a FTDI chip on board, hence it requires the chip to have a bootloader which takes too much space for the latest OpenSprinkler firmware.
The difference of an ISP (in-system programming) programmer is that it directly writes to the microcontroller’s flash without any bootloader. Therefore it takes zero bootloader space.May 29, 2013 at 3:23 pm #23755
I understand. Think I will pick up the the USB programmer. Should simplify the process significantly. I watched the video of the 1.8.3 firmware…very cool. Can’t wait to try it. Thanks for the excellent support and your patient instruction.May 29, 2013 at 6:59 pm #23756
PS. Stop answering forum questions. You are on vacation! 😀
- You must be logged in to reply to this topic.