Menu

Erase error

Mohammed
2014-10-21
2014-10-23
  • Mohammed

    Mohammed - 2014-10-21

    Sir, I have tried to erase the chip 16F1503 and it returns an error there is no log file generated while this error. I can program with a hex file. I can read the chip, but while writing blank, it returns this error.

     

    Last edit: Mohammed 2014-10-21
  • Alberto Maccioni

    First of all: why are you trying to erase the device? It is automatically erased before a write.
    Then if you really want to erase it you have to write an empty file, but one that contains 0x3FFF at config locations.
    The error you see happens when no data is available for config locations.

     
    • Mohammed

      Mohammed - 2014-10-22

      Sir, It's because I need to confirm the chip is erased, that's all. Let me ask you one doubt. If I program 1.5K of data to the chip and then I reprogram the same chip with 1K data, the rest 0.5K data location will be erased or not? thank you.

       
  • Alberto Maccioni

    The chip is erase altogether using the bulk erase command.
    The same command is used if you write an empty file, so all you're doing is decreasing the endurance (RW cycles) twice as fast.
    This is precisely the reason why an erase button is not present.

     

Anonymous
Anonymous

Add attachments
Cancel





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.