Re: 18F45K40 bootloader MCC MPLABX
Oerfect, it works, thanks for the help.
But I have still one little problem.
I Use for verification the “CHECK_REST_VECTOR” from the bootloader MCC.
After Programming the application to the host, the program stops.
Here is the protocol from the unified host application:
08:03:58.692 > Device: COM2 Bootloading started
08:03:58.733 > Hex File (re)loaded...
08:03:58.734 > (20) Sec Timeout Check per CMD
08:03:58.734 > Reading Version ...
08:03:58.734 > Failure Hint: Check Communication with Device
08:03:58.815 > Bootloader Version Read Successful
08:03:58.820 > Erasing Device ...
08:03:58.821 > Failure Hint: Confirm Erase Range
08:04:00.410 > Erase Successful
08:04:00.411 > Programming Flash ...
08:04:00.412 > Failure Hint: Confirm Hex Offset
08:04:20.259 > Flashed Programmed
08:04:20.260 > Retrieving Checksum ...
08:04:20.260 > Failure Hint: Check Build Properties
08:04:21.718 > Checksum Matched
08:04:21.719 > Resetting Device
08:04:41.774 > Device Failed to respond to command...
After the RESET command, the application stops and nothing happens.
The verification of the RESET fails.
In the emulation, it stops at the RESET instruction.
I have to start the program (run),…
Without emulation, I have to make a power ON reset,…
Why happens this? Why stops the program at the RESET?
Why does the program not runs further on?