so I bougt a tinyG and wanted to test tgFX and discovered that I needed a newer fw to test it, said and done, tried to flash with avrdude via USB and it cant verify the hex, I get:
C:\tools\avr\bin>avrdude -p x192a3 -c avr109 -b 115200 -P COM3 -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.01s
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% 25.36s
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% 24.98s
avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x30000
0x20 != 0x0d
avrdude: verification error; content mismatch
avrdude done. Thank you.`
So after a few tries it only went into bootloader mode and wont start tinyG, connected it to my AVRISP mkII according to instructions(lockbits issue) but the Atmelstudio(6.x) tells me the lockbits where correct, reflased the xboot.hex and it looks fine, downloaded the latest tinyG and trie to flash it and atelstudio says:
`Unable to parse objectfile C:\Users\selektha\Desktop\tinyg.hex: Unsupported format.
Timestamp: 2013-07-05 11:10:10.044
Severity: ERROR
ComponentId: 20100
StatusCode: 131106
ModuleName: TCF command: Modules:add failed.
Unable to parse objectfile C:\Users\selektha\Desktop\tinyg.hex: Unsupported format.
I have tried all tinyG.hex I can find on the Github and noone works(xboot.hex works fine to flash). And if I understand everything I should use the one in debug/ for atmelstudio6.1.
So any idee how I can get my new and fine TinyG to work again? =)
Sorry if I am unclear but im 100% newbee on this but like to tinker(danger danger! ;) )