Problem after attempting to upgrade firmware

Home Forums TinyG TinyG Support Problem after attempting to upgrade firmware

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #4402
    hk
    Member

    I just received a tinyg V8. I wanted to connect via tgFX but it said I needed to upgrade the firmware. I attempted to upgrade and got this response..

    C:\Users\Jason\Desktop\avrdude>avrdude -C avrdude.conf -p x192a3 -c avr109 -b 11
    5200 -P COM10 -U flash:w:tinyg.hex

    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.03s

    avrdude: Device signature = 0x1e9744
    avrdude: NOTE: FLASH memory has been specified, an erase cycle will be performed

    To disable this feature, specify the -D option.
    avrdude: erasing chip
    avrdude: reading input file “tinyg.hex”
    avrdude: input file tinyg.hex auto detected as raw binary
    avrdude: writing flash (204800 bytes):

    Writing | ################################################## | 100% 26.98s

    avrdude: 204800 bytes of flash written
    avrdude: verifying flash memory against tinyg.hex:
    avrdude: load data flash data from input file tinyg.hex:
    avrdude: input file tinyg.hex auto detected as raw binary
    avrdude: input file tinyg.hex contains 204800 bytes
    avrdude: reading on-chip flash data:

    Reading | ################################################## | 100% 25.99s

    avrdude: verifying …
    avrdude: verification error, first mismatch at byte 0x30000
    0x61 != 0x0d
    avrdude: verification error; content mismatch

    avrdude done. Thank you.

    I have attempted several different tinyg.hex files and none seem to do the trick. After doing some research it looks like I have to get an mkII programmer and set the lock bits to nolock. I had assumed when I purchased this that I would not need the mkII to be able to upgrade firmware otherwise I would not have attempted the upgrade. Now every time I power up my tinyg I just get the flashing D5 (SpDir) light. I cannot seem to do anything else with this and am now kind of dead in the water. Can anyone help out?

    #4404
    Riley
    Keymaster

    You do not need to set the fuses. Or should not.

    If your goal is to use tgFX you need to right click save this file.
    https://github.com/synthetos/TinyG/raw/edge/firmware/tinyg/default/tinyg.hex

    That is Edge. Normally you will always use master for tgFX support. However, I pushed past master on accident. Edge will be pushed to master shortly. However as of today (Aug16 2013) Edge works with tgFX.

    Try that file and we can see if that fixes things. If not you can send us the board back and we can get you a new one. Your fuses should be set right. However, mistakes do happen. We will get you working.

    Sorry for the late reply I am watching this thread and should be much faster to reply.

    Thanks,

    #4405
    hk
    Member

    I did attempt to use edge with a similar result. It does not appear to accept any.hex. It always ends with a similar. I have ordered an mkii to try and resolve this issue.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.