Register
Results 1 to 4 of 4
  1. #1
    Newbie
    Join Date
    Mar 2017
    Posts
    8
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts

    Default Can't update Xprog.

    I am trying to update an Xprog but Ive hit a dead end. I am using my USBASP which I have for programing arduino boards. The EEPROM seems to program and verify fine, The Flash doesn't verify and I get the following error. I have tried this on 2 computers and still get the same error. Can anyone shed any light in this please?

    Thanks

    avrdude.exe: verifying ...
    avrdude.exe: verification error, first mismatch at byte 0x0100
    0xff != 0x19
    avrdude.exe: verification error; content mismatch

    avrdude.exe done. Thank you.

  2. #2
    DK Veteran
    droidwayne65's Avatar
    Join Date
    Aug 2015
    Location
    North America
    Posts
    1,661
    Thanks Thanks Given 
    272
    Thanks Thanks Received 
    856
    Thanked in
    648 Posts

    Default

    Quote Originally Posted by Avinitlarge View Post
    I am trying to update an Xprog but Ive hit a dead end. I am using my USBASP which I have for programing arduino boards. The EEPROM seems to program and verify fine, The Flash doesn't verify and I get the following error. I have tried this on 2 computers and still get the same error. Can anyone shed any light in this please?

    Thanks

    avrdude.exe: verifying ...
    avrdude.exe: verification error, first mismatch at byte 0x0100
    0xff != 0x19
    avrdude.exe: verification error; content mismatch

    avrdude.exe done. Thank you.
    Sounds like it's verifying after everything everything is written. Try writing flash, eeprom and fuse bytes as a first step. After verification, write the lock byte.

  3. #3
    Newbie
    Join Date
    Mar 2017
    Posts
    8
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts

    Default

    Ive tried it all individually. EEPROM writes and verifies, Fuses and set lock write fine but not matter what I try, I always get this error when the flash verifies

    avrdude.exe: Device signature = 0x1e9602
    avrdude.exe: erasing chip
    avrdude.exe: set SCK frequency to 1500000 Hz
    avrdude.exe: reading input file "C:\Users\Paul\Desktop\XProg 5.7.4\Firmware\Flash 5.5.5.HEX"
    avrdude.exe: input file C:\Users\Paul\Desktop\XProg 5.7.4\Firmware\Flash 5.5.5.HEX auto detected as Intel Hex
    avrdude.exe: writing flash (65526 bytes):

    Writing | ################################################## | 100% 16.94s

    avrdude.exe: 65526 bytes of flash written
    avrdude.exe: verifying flash memory against C:\Users\Paul\Desktop\XProg 5.7.4\Firmware\Flash 5.5.5.HEX:
    avrdude.exe: load data flash data from input file C:\Users\Paul\Desktop\XProg 5.7.4\Firmware\Flash 5.5.5.HEX:
    avrdude.exe: input file C:\Users\Paul\Desktop\XProg 5.7.4\Firmware\Flash 5.5.5.HEX auto detected as Intel Hex
    avrdude.exe: input file C:\Users\Paul\Desktop\XProg 5.7.4\Firmware\Flash 5.5.5.HEX contains 65526 bytes
    avrdude.exe: reading on-chip flash data:

    Reading | ################################################## | 100% 14.29s

    avrdude.exe: verifying ...
    avrdude.exe: verification error, first mismatch at byte 0x0100
    0xff != 0x19
    avrdude.exe: verification error; content mismatch

    avrdude.exe done. Thank you.

  4. #4
    Newbie
    Join Date
    Mar 2017
    Posts
    8
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts

    Default

    I think it could be down to the ATMega 64 bootloader. Where would I find a boot loader for this device?

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.