Menu

Erasing flash (program store)

Bug report
2017-02-01
2017-02-01
  • Mark Osborne

    Mark Osborne - 2017-02-01

    Is it possible to erase the flash before programming with HEX file?

    I do a custom checksum of the flash to check integrity after the tiny bootloader has programmed. (Basically adding the content of the program store etc..)

    But I've found an enomaliy

    If a pre-existing program is in the flash then a program with a different more smaller program = checksum1

    If I use a blank device then program with the same smaller program = checksum2

    Checksum1 and checksum2 are different, because the Tiny bootloader+ v0.11.0 dos NOT erase first.

    I'm using a PIC16F18855 device.

    Thank you
    Mark

     
  • Anobium

    Anobium - 2017-02-05

    If you are using a PIC16F18855 why not use the Microchip USB bootloader?

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.