mphidflash
mphidflash copied to clipboard
Issue Writing to PIC18 for Windows v1.8
HI,
I've built this application and have been running it on the various boards that I have. 2 PIC24's and 2 PIC18's. The PIC24's flashing seems to work fine, but with the PIC18, what ends up happening is the following:
- Put the board in bootloader mode.
- Use the command line to flash the board.
- Output received as verified and successful and reset.
C:\GIT\GenosylDSGen3Console\UpgradeManager\Administrator\bin\Debug\net5.0-windows>mphidflash.exe -w "Firmware\PowerBoard\G3 Power Board v324.hex" -r
USB HID device found
Device family: PIC18
Memory: 125952 bytes free, addr: 1000, total 2
Erasing...
Writing hex file 'Firmware\PowerBoard\G3 Power Board v324.hex':.......................................................................................................................................................................................................................................................................................................................................................
Verifying:....................................................................................................................................................................................................................................................................................................................................................
Resetting device...
The board seems to still be in bootloader mode. When I used an external HIDBootloader tool and flash the device manually it seems to work with the binary I tried to flash it with.
This does not happen with the PIC24 boards, it resets fine and my program hex file is uploaded successfully. Any help would be greatly appreciated.
Monil