I'm using TinyG v8 with old firmware (v412.01).
When used it after a long time, Application has recommended to upgrade it.
I downloaded firmware (v440.20) and tried to upgrade into my TinyG. But I failed it with a lot of "failed" messages.
My environment is Windows 10 Home Edition, so I tried and got failed under Command prompt and TinyG Updater. But both of them gave same result.
If someone knows how to resolve this problem, please let me know.
If you are using Chilipeppr, from what browser do you run?
I have never seen anyone try the Edge browser, but that does not mean it does not work for this, just new ground being plowed.
I've got same result (failed one) that ran under Windows.
I think that some parameters may be wrong. So, is it correct that parameters of "-p" and/or "-c" options are? Please let me know.
Additionally, I got log file(failflash.log) that how to fail this work.
I'll show top and bottom of that below.
Connecting to programmer: .
Found programmer: Id = "XBoot++"; type = S
Software Version = 1.7; No Hardware Version given.
Programmer supports auto addr increment.
Programmer supports buffered memory access with buffersize=512 bytes.
Programmer supports the following devices:
Device code: 0x7b
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.01s
avrdude: Device signature = 0x1e9744
avrdude: NOTE: Programmer supports page erase for Xmega devices.
Each page will be erased before programming it, but no chip erase is performed.
To disable page erases, specify the -D option; for a chip-erase, use the -e option.
avrdude: reading input file "/home/hisa/tinyg-master-440.20.hex"
avrdude: input file /home/hisa/tinyg-master-440.20.hex auto detected as Intel Hex
avrdude: writing flash (118274 bytes):
Writing | ***failed;
***failed;
***failed;
:
(snipped)
:
***failed;
***failed;
# | 100% 1.47s
avrdude: 118274 bytes of flash written
avrdude: verifying flash memory against /home/hisa/tinyg-master-440.20.hex:
avrdude: load data flash data from input file /home/hisa/tinyg-master-440.20.hex:
avrdude: input file /home/hisa/tinyg-master-440.20.hex auto detected as Intel Hex
avrdude: input file /home/hisa/tinyg-master-440.20.hex contains 118274 bytes
avrdude: reading on-chip flash data:
Reading | avrdude: error: programmer did not respond to command: set addr
Thanks for reply quickly and sorry for slow answering.
I tried updating again with avrdude(version 6.0.1, Linux 32bit binary) under Ubuntu 18.04 LTS 64bit.
This command has ran on standard terminal screen of Ubuntu.
I've got same result (failed one) that ran under Windows.
I think that some parameters may be wrong. So, is it correct that parameters of "-p" and/or "-c" options are? Please let me know.
Additionally, I got log file(failflash.log) that how to fail this work.
I'll show top and bottom of that below.
Connecting to programmer: .
Found programmer: Id = "XBoot++"; type = S
Software Version = 1.7; No Hardware Version given.
Programmer supports auto addr increment.
Programmer supports buffered memory access with buffersize=512 bytes.
Programmer supports the following devices:
Device code: 0x7b
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.01s
avrdude: Device signature = 0x1e9744
avrdude: NOTE: Programmer supports page erase for Xmega devices.
Each page will be erased before programming it, but no chip erase is performed.
To disable page erases, specify the -D option; for a chip-erase, use the -e option.
avrdude: reading input file "/home/hisa/tinyg-master-440.20.hex"
avrdude: input file /home/hisa/tinyg-master-440.20.hex auto detected as Intel Hex
avrdude: writing flash (118274 bytes):
Writing | ***failed;
***failed;
***failed;
:
(snipped)
:
***failed;
***failed;
# | 100% 1.47s
avrdude: 118274 bytes of flash written
avrdude: verifying flash memory against /home/hisa/tinyg-master-440.20.hex:
avrdude: load data flash data from input file /home/hisa/tinyg-master-440.20.hex:
avrdude: input file /home/hisa/tinyg-master-440.20.hex auto detected as Intel Hex
avrdude: input file /home/hisa/tinyg-master-440.20.hex contains 118274 bytes
avrdude: reading on-chip flash data:
Reading | avrdude: error: programmer did not respond to command: set addr
I tried it with "-e" option again, it has succeeded to flush.
This link says that my question was one of FAQs... sorry for duplicates.
On this note says, "-e" option comes with force erasing before writing onto flush.
> I am not sure why -e is only required sometimes, but give the modified avrdude (with -e option) a try
Maybe, it conflicts with very old programs like this case.
It was 5 or 6 years ago that I stumbled on this.
To best of my recollection, we never really understood why sometimes it was necessary sometimes it was not.
Since avrdude is a generic third party application, there is a possibility that at the time there was concern about flash memory wear.