Code Monkey home page Code Monkey logo

usbasp's People

Contributors

bperrybap avatar petervh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

usbasp's Issues

TPI Fails

Short story, I have not investigated far, ATTiny5

Writing flash with TPI on 1.06a firmware (prebuilt binary) doesn't actually appear to modify the flash,

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.01s

avrdude: Device signature = 0x1e8f09 (probably t5)
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 "/tmp/arduino_build_514273/Blink.ino.hex"
avrdude: writing flash (242 bytes):

Writing | ################################################## | 100% 0.32s

avrdude: 242 bytes of flash written
avrdude: verifying flash memory against /tmp/arduino_build_514273/Blink.ino.hex:
avrdude: load data flash data from input file /tmp/arduino_build_514273/Blink.ino.hex:
avrdude: input file /tmp/arduino_build_514273/Blink.ino.hex contains 242 bytes
avrdude: reading on-chip flash data:

An error occurred while uploading the sketch
Reading | ################################################## | 100% 0.10s

avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x00ba
        0x43 != 0x47
avrdude: verification error; content mismatch

avrdude done.  Thank you.

The existing firmware on the target is unmodified (evidenced by the behaviour of the target being that specified by the previous flash contents) indicating that even though it said it wrote flash, it didn't, and hence the verification error.

Usnig the current fischl firmware it works fine.

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.01s

avrdude: Device signature = 0x1e8f09 (probably t5)
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 "/tmp/arduino_build_514273/Blink.ino.hex"
avrdude: writing flash (242 bytes):

Writing | ################################################## | 100% 0.91s

avrdude: 242 bytes of flash written
avrdude: verifying flash memory against /tmp/arduino_build_514273/Blink.ino.hex:
avrdude: load data flash data from input file /tmp/arduino_build_514273/Blink.ino.hex:
avrdude: input file /tmp/arduino_build_514273/Blink.ino.hex contains 242 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 0.10s

avrdude: verifying ...
avrdude: 242 bytes of flash verified

Now, beware when testing, the verification in 1.06a firmware DOES work, so if you successfully write the flash with the fischl firmware, then try to write the same flash contents using the 1.06a firmware, it will look like it all worked fine, but it didn't, it still didn't write the flash it just passes verification because it was already written previously. So in other words, every time you do a test, make sure your flash content you are testing with is unique.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.