Pickit 4 fetures somehow not described fully enywhere, halt on USB pic18
Can maybe someone pinpoint where are all the features of Pickit 4 described in details? Pickit 4 manual is not enough. It's a great tool compared to Pickit 3, programming speed is significantly faster even for small programs, although everywhere on internet it was told it will be not that fast and you only gain speed on big programs. Also setting up breakpoint on a running code is just wonderful. Anyway I also see a great feature when USB PIC18 code is halted, but I cannot fully understand how it works. The strange thing is that when program is halted, USB device is still listed in Windows Device Manager. Communication with that device of course is paused, but what is strange device stays recognized. I can un-pause and let program running further and it continues to do so , like nothing special happened. So PIC18 is:
-not fully halted, otherwise windows would reject it since it cannot ask it for every polling action interval, registers and memory are read and buffered, PIC18 is actually running in that USB hardware part
-some other magic is happening here
On Pickit 3 behavior was easy to predict: halting of code showed all the registers, memory, variables, but all the USB devices implemented in that PIC 18 disappeared from device list and one unrecognized device was displayed.
post edited by szlovak - 2020/05/31 05:05:41