Hallo Zusammen,
ich bekomme meinen nanoCUL nicht von einer a-culfw Firmware auf die culfw geflasht.
die culfw brauche ich da die a-culfw scheinbar kein Kopp kann
kann mir jemand sagen was ich falsch gemacht habe ausgaben in der Console siehe unten
root@FHEM_PI:~/culfw-code/culfw/Devices/nanoCUL# make program
#@if test ! -d /sys/class/gpio/gpio17; then echo 17 > /sys/class/gpio/export; fi
#@if test ! -d /sys/class/gpio/gpio18; then echo 18 > /sys/class/gpio/export; fi
#echo out > /sys/class/gpio/gpio17/direction
#echo out > /sys/class/gpio/gpio18/direction
#echo 0 > /sys/class/gpio/gpio17/value
#echo 0 > /sys/class/gpio/gpio18/value
#sleep 1
#echo 1 > /sys/class/gpio/gpio17/value
#sleep 1
#echo 1 > /sys/class/gpio/gpio18/value
avrdude -D -p atmega328p -P /dev/ttyUSB0 -b 57600 -c arduino -U flash:w:nanoCUL.hex
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x1e950f
avrdude: reading input file "nanoCUL.hex"
avrdude: input file nanoCUL.hex auto detected as Intel Hex
avrdude: writing flash (24700 bytes):
Writing | ################################################## | 100% 10.03s
avrdude: 24700 bytes of flash written
avrdude: verifying flash memory against nanoCUL.hex:
avrdude: load data flash data from input file nanoCUL.hex:
avrdude: input file nanoCUL.hex auto detected as Intel Hex
avrdude: input file nanoCUL.hex contains 24700 bytes
avrdude: reading on-chip flash data:
Reading | ########################## | 52% 5.49s
avrdude: stk500_paged_load(): (a) protocol error, expect=0x14, resp=0xf4
avrdude: stk500_cmd(): programmer is out of sync
makefile:217: recipe for target 'program' failed
make: *** [program] Error 1
root@FHEM_PI:~/culfw-code/culfw/Devices/nanoCUL#
Nimm mal einen aktiven USB Hub oder möglichst keine anderen USB Geräte anschliessen. Evtl. Hilft ein anderes USB Kabel!
Gruß Arnd
Raspi2 mit FHEM, CUL, Signalduino, MySensors, HomeBridge, Presence, Bravia, ...
Hallo RaspiLED,
danke mit nem aktiven USB Hub und mehrfachem Flashversuch hat es nun funktioniert