JPawww / mphidflash

Automatically exported from code.google.com/p/mphidflash
GNU General Public License v3.0
0 stars 0 forks source link

lenght must be even, write and verify only defined memory areas, version 1.4 proposal attached #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

HID bootloader hang, when HEX file contains some lines with odd length of bytes 
in line. Adding one byte 0xFF before write data to PIC solve this problem. 

When HEX file contains some code in bootloader memory area or fuses, we must 
skip this area, or unlock fuses. Otherwise verification failed, or attempt to 
write to locked flash program memory hang PIC.

Proposal of version 1.4 is attached. 

Petr

Original issue reported on code.google.com by rege...@gmail.com on 28 Dec 2010 at 5:42

Attachments:

GoogleCodeExporter commented 9 years ago
Thank you for the 1.4,
Worked with PIC18F46J50
Under Debian AMD64 and MPLAB X

The initial release didn't worked for me at all,
Then the user rafad...@gmail.com made a release what fixed the problem of 
writing in the bootloader area. This worked with the 18F2550, but not with the 
18F46j50.

Original comment by arsantu...@gmail.com on 9 Aug 2011 at 5:39

GoogleCodeExporter commented 9 years ago
Hi, version 1.3 does not work on my 18f4550 it destroyes the bootloader in 
place, just tried the above 1.4 that works fine. But I cannot find the 
executable for OSX, is there someone who could compile and post the OSX version 
of 1.4 please that would be really great.

Original comment by rolf.zco...@gmail.com on 19 Jan 2012 at 11:36

GoogleCodeExporter commented 9 years ago
Applied suggested change.

Original comment by fnargwibble on 30 Jun 2014 at 5:31