2015-07-19, 16:45:16
Hi Mikael,
How are you?
I was using ds30_Loader_140817 to program PIC18F8621. As 18F8621 was not supported, I used 18F8622 to hack the GUI. The firmware source code is attached below.
When trying to program the flash memory via the GUI, it failed with verification errors:
-------------------------------------------------------------------------------------------------------------------------------------------------------
Initiating write...
Searching for bl .
Found PIC18F8622 fw ver. 3.0.2
Waiting for the boot loader to be ready...ok
Parsing hexfile...
File timestamp: 7/18/2015 5:14:03 PM
Opening hexfile...ok
Validating hexfile...ok
Hex file successfully parsed
Writing flash....verification error(1), trying again...
Writing flash...verification error(2), trying again...
Writing flash...write failed
Write flash failed
Tx 217 bytes / Rx 8 bytes / 1.5s
Write failed
-------------------------------------------------------------------------------------------------------------------------------------------------------
Then I commented out the verification part in the firmware, and the flash memory was written, but incorrectly: the 0x0000 bootloader starting address was erased, only part of the user application source code was written. The original user application software and the hex file exported after flashing PIC memory are attached.
Hope you can help me with this. Looking forward to hearing from you soon!
Regards,
Eric
How are you?
I was using ds30_Loader_140817 to program PIC18F8621. As 18F8621 was not supported, I used 18F8622 to hack the GUI. The firmware source code is attached below.
When trying to program the flash memory via the GUI, it failed with verification errors:
-------------------------------------------------------------------------------------------------------------------------------------------------------
Initiating write...
Searching for bl .
Found PIC18F8622 fw ver. 3.0.2
Waiting for the boot loader to be ready...ok
Parsing hexfile...
File timestamp: 7/18/2015 5:14:03 PM
Opening hexfile...ok
Validating hexfile...ok
Hex file successfully parsed
Writing flash....verification error(1), trying again...
Writing flash...verification error(2), trying again...
Writing flash...write failed
Write flash failed
Tx 217 bytes / Rx 8 bytes / 1.5s
Write failed
-------------------------------------------------------------------------------------------------------------------------------------------------------
Then I commented out the verification part in the firmware, and the flash memory was written, but incorrectly: the 0x0000 bootloader starting address was erased, only part of the user application source code was written. The original user application software and the hex file exported after flashing PIC memory are attached.
Hope you can help me with this. Looking forward to hearing from you soon!
Regards,
Eric