Re: BP3 firmware update problem
Reply #9 –
ok,
i just did some playing,
i used my pic programmer to erase the pic and then reload the bootloader. that all went fine. pic verified etc.
then i loaded the v3.1 firmware again. i get verify errors upto 0xb5c
the last few lines are
Verify Error at 0xB30 should be: 0xFFFFFF but read: 0xBB0880
Verify Error at 0xB32 should be: 0xFFFFFF but read: 0x90004E
Verify Error at 0xB34 should be: 0xFFFFFF but read: 0x200550
Verify Error at 0xB36 should be: 0xFFFFFF but read: 0x883B30
Verify Error at 0xB38 should be: 0xFFFFFF but read: 0x200AA0
Verify Error at 0xB3A should be: 0xFFFFFF but read: 0x883B30
Verify Error at 0xB3C should be: 0xFFFFFF but read: 0xA8E761
Verify Error at 0xB3E should be: 0xFFFFFF but read: 0x0
Verify Error at 0xB40 should be: 0xFFFFFF but read: 0x0
Verify Error at 0xB42 should be: 0xFFFFFF but read: 0xBFC761
Verify Error at 0xB44 should be: 0xFFFFFF but read: 0xB3C801
Verify Error at 0xB46 should be: 0xFFFFFF but read: 0x604001
Verify Error at 0xB48 should be: 0xFFFFFF but read: 0xE00400
Verify Error at 0xB4A should be: 0xFFFFFF but read: 0x3AFFFB
Verify Error at 0xB4C should be: 0xFFFFFF but read: 0x78001E
Verify Error at 0xB4E should be: 0xFFFFFF but read: 0x880190
Verify Error at 0xB50 should be: 0xFFFFFF but read: 0xFA8000
Verify Error at 0xB52 should be: 0xFFFFFF but read: 0x60000
Verify Error at 0xB54 should be: 0xFFFFFF but read: 0x800
Verify Error at 0xB56 should be: 0xFFFFFF but read: 0x118
Verify Error at 0xB58 should be: 0xFFFFFF but read: 0x0
Verify Error at 0xB5A should be: 0xFFFFFF but read: 0x0
Verify Error at 0xB5C should be: 0xFFFFFF but read: 0xFE0000
before i erased the pic i was getting the same errors but i also got verify errors at a higher location 0xa??? (note sure of the exact range as i didnt note it.)
i am wondering if the bootloader is erasing the full chip when its told to keep the config words.
edit: this was with my v2go.
edit: Just realised that the verify errors to that address are ok. i thought that the bootloader stopped at 0x800 but reading the readme it can go to 0xbff so i think that the erase with the pickit2 it is now working as exopected. the only thing i can think of is that the device is not being erased properly when the bootloader program says it is erased.