Re: PIC18F45K50 ICSP Issues
2021/03/03 19:59:35
(permalink)
Thanks Ric, that makes sense.
However.... I still cannot get it to work. On the "normal" pins everything runs fine, I can run the board through the debugger with no issues.
If I switch on the ICPRT bit then it will not allow me to debug through the normal pins, as expected. When I switch over to the dedicated pins it never finds the device ID.
I even checked the list file, CONFIG4L is at memory location 300006, it loads the value A1, which is 10100001, that is exactly how the register should be setup.
Not entirely sure what is going on, I'm curious if anyone may have had a similar issue, or maybe I'm over-looking something. Thankfully I don't really need to run the debugger, and thankfully the pins RB6 and 7 are pulled down on my board, so everything will still work out.