Menu

ERROR ON SAVED FILE

2014-12-25
2014-12-27
  • stefan martin

    stefan martin - 2014-12-25

    Hi first of all MARRY CRISTMAS to you.
    I get a problem and do not know what is hapend. I can copy a cip (12F1840) by read the first and after that Write to the second , but if I save the file and after that Load and Write on the same cip ,the result FAIL. I copy to you the report (I use Open Prog V0.9.0 )version for XP windows

    IF I READ A CIP AND AFTER THAT I WRITE TO SECOND CIP THE COD
    EVRITING IT IS OK (Configuration word 2: 0x38FF)and the second
    cip works ok

    Regulator up and running after 0ms VPP=8.5V

    DevID: 0x1B85
    12F1840 rev5
    Calibration word 1: 0x18D4
    Calibration word 2: 0x1D4B
    Erasing ... completed
    Writing code ... completed
    Verifying code ... completed, 0 errors
    Writing EEPROM ... completed, 0 errors
    Writing CONFIG area ... completed, 0 errors

    End (3.56 s) 0 errors

    Reading code ... completed
    Reading CONFIG area ... completed
    Reading EEPROM ... completed
    ID0: 0x3FFF ID1: 0x3FFF
    ID2: 0x3FFF ID3: 0x3FFF
    DevID: 0x1B85
    12F1840 rev5
    Configuration word 1: 0x09E4
    Configuration word 2: 0x38FF
    Calibration word 1: 0x18D4

    But if I save the code and after that I load the hex-code and I write
    to the cip return to me :
    "Unknown device
    Warning: the device is different from what specified in source data"
    like below and I get "Configuration word 2: 0x08FF instead ox3FF"
    and the cip do not work (of corse)
    I tryed vith 3.3V (low voltage extension )and with 5 v (ignore LV)
    and the same result.
    Only if I write after read is ok; I can not keep the cod corectly.

    DevREV: 0x0000
    Unknown device
    Warning: the device is different from what specified in source data
    Calibration word 1: 0x2100
    Calibration word 2: 0x2812
    Erasing ... completed
    Writing code ... completed
    Verifying code ... completed, 0 errors
    Writing EEPROM ... completed, 0 errors
    Writing CONFIG area ... completed, 0 errors

    Regulator up and running after 0ms VPP=8.5V

    Reading code ... completed
    Reading CONFIG area ... completed
    Reading EEPROM ... completed
    ID0: 0x3FFF ID1: 0x3FFF
    ID2: 0x3FFF ID3: 0x3FFF
    DevID: 0x1B85
    12F1840 rev5
    Configuration word 1: 0x09E4

    Calibration word 1: 0x18D4

    Calibration word 2: 0x1D4B
    Calibration word 3: 0x0000

     
  • Alberto Maccioni

    Hello,
    I checked the source code and there is a bug when you save while you select a 12F1xxx; it is treated as a 12F5xx.
    After reading you can select a 16F1xxx and save a correct file.
    I will fix this in the next release.

     
  • stefan martin

    stefan martin - 2014-12-27

    Hello
    Thanks again for your help. You made a great job.

    With best regards Stefan

     

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.