petrockblog / petrockutil

This is a command line utility for interacting with petrockblock.com devices

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error: programmer did not respond to command: set addr

mahuti opened this issue · comments

When running the updater on Raspberry Pi 3, I get the following error.

Reading | ###########                                        | 21% 0.10savrdude: error: programmer did not respond to command: set addr 2018/02/26 19:11:45 exit status 1

However, when I check the firmware number it originally stated 1.1, and now says 1.2. So the update happened, but it looks like the system could not confirm that it worked successfully.

In my quick testing, I'm now able to use an atari controller (and was not able to do so before) so it looks to have worked except for the confirmation.

Connecting to programmer: .
Found programmer: Id = "LUFACDC"; type = S
    Software Version = 1.0; No Hardware Version given.
Programmer supports auto addr increment.
Programmer supports buffered memory access with buffersize=128 bytes.

Programmer supports the following devices:
    Device code: 0x44

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x1e958a
avrdude: reading input file "firmware.hex"
avrdude: input file firmware.hex auto detected as Intel Hex
avrdude: writing flash (17356 bytes):

Writing | ################################################## | 100% 1.73s

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

Reading | ###########                                        | 21% 0.10savrdude: error: programmer did not respond to command: set addr
2018/02/26 19:11:45 exit status 1

Strange. The download to the GamepadBlock worked fine, the read back process was interrupted for some reasons.

Did you run this on Windows, Linux, OSX?

To be clear I ran it on RetroPie. So Raspbian Linux.