OpenSprinkler Forums OpenSprinkler Unified Firmware OpenSprinkler Unified Firmware 2.1.9(9) released Reply To: OpenSprinkler Unified Firmware 2.1.9(9) released

#73231

Zoltán
Participant

Hi Ray,

I upgraded my working OS 2.3 (AC) device today to 2.1.9(9). The device is connected via a client mode TP-Link nano router, but it cannot get an IP address now. After reboot the display shows:

“Start wired link” -> then “NTP Syncing…” -> then “Start wired link” again -> then the normal status screen with the time/date and MC:________

B1 button shows IP is 0.0.0.0:80 (so it could not get an IP)
B2 shows the correct MAC as it used to be
B3 shows the zones

Sometimes I can catch on the nano router’s admin web that the device sometimes has a 192.168.1.x IP address for some seconds, but the address disappears soon.

I upgraded the firmware using a Mac Mini M1 via avrdude M1 build. It missed avrdude.conf at first, but finally I used this command below and it succeeded. Please note that the USB device name for the CH340 programmer on the M1 is somewhat different, but worked.

The beginning of avrdude output is as follows:
==============================================

(base) zoltansz@mac-mini-m1 bin % sudo ./avrdude -v -v -v -v -p atmega1284p -c arduino -P /dev/tty.usbserial-21310 -b 115200 -U flash:w:os_219_9.hex:i
Password:
executable_abspath = /opt/homebrew/Cellar/avrdude/7.0_2/bin/avrdude
executable_abspath_len = 46
executable_dirpath = /opt/homebrew/Cellar/avrdude/7.0_2/bin
executable_dirpath_len = 38
sys_config = /opt/homebrew/etc/avrdude.conf
sys_config_found = true

avrdude: Version 7.0
Copyright (c) Brian Dean, http://www.bdmicro.com/
Copyright (c) Joerg Wunsch

System wide configuration file is “/opt/homebrew/etc/avrdude.conf”
User configuration file is “/Users/zoltansz/.avrduderc”
User configuration file does not exist or is not a regular file, skipping

Using Port : /dev/tty.usbserial-21310
Using Programmer : arduino
Overriding Baud Rate : 115200
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]
AVR Part : ATmega1284P
Chip Erase delay : 55000 us
PAGEL : PD7
BS2 : PA0
RESET disposition : dedicated
RETRY pulse : SCK
Serial program mode : yes
Parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
PollIndex : 3
PollValue : 0x53
Memory Detail :

Block Poll Page Polled
Memory Type Alias Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
———– ——– —- —– —– —- —— —— —- —— —– —– ———
eeprom 65 10 128 0 no 4096 8 0 9000 9000 0xff 0xff
Block Poll Page Polled
Memory Type Alias Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
———– ——– —- —– —– —- —— —— —- —— —– —– ———
flash 65 10 256 0 yes 131072 256 512 4500 4500 0xff 0xff
Block Poll Page Polled
Memory Type Alias Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
———– ——– —- —– —– —- —— —— —- —— —– —– ———
lock 0 0 0 0 no 1 1 0 9000 9000 0x00 0x00
Block Poll Page Polled
Memory Type Alias Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
———– ——– —- —– —– —- —— —— —- —— —– —– ———
lfuse 0 0 0 0 no 1 1 0 9000 9000 0x00 0x00
Block Poll Page Polled
Memory Type Alias Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
———– ——– —- —– —– —- —— —— —- —— —– —– ———
hfuse 0 0 0 0 no 1 1 0 9000 9000 0x00 0x00
Block Poll Page Polled
Memory Type Alias Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
———– ——– —- —– —– —- —— —— —- —— —– —– ———
efuse 0 0 0 0 no 1 1 0 9000 9000 0x00 0x00
Block Poll Page Polled
Memory Type Alias Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
———– ——– —- —– —– —- —— —— —- —— —– —– ———
signature 0 0 0 0 no 3 1 0 0 0 0x00 0x00
Block Poll Page Polled
Memory Type Alias Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
———– ——– —- —– —– —- —— —— —- —— —– —– ———
calibration 0 0 0 0 no 1 1 0 0 0 0x00 0x00

Programmer Type : Arduino
Description : Arduino
avrdude: Send: A [41] . [80] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [03]
avrdude: Recv: . [10]

==============================================

Do you have any idea what could cause this? Shall I reflash the firmware? Is there anything else I could do?

Thanks,
Z