[QUOTE=Darrel Taylor;80452]Apparently, I missed the CONFIG2L.
I always miss that one, weird ...
I made this _CONFIG change in the code. Compiles/assembles OK and appears to program the 18F4550 OK.Code:__CONFIG _CONFIG2L, _PWRT_ON_2L & _BOR_OFF_2L & _VREGEN_ON_2L
Tried both your HIDmonitor and Steve's VB6 routine after programming and power/resetting the 18F4550 . Although I hear a low "click" and see the USB icon appear in my WINDOWS tray when the USB cable is connected from the PC, I don't see any indication of the connection on the HIDmonitor or on Steve's VB6. And the USB icon disappears out of the tray about 10 secs after the next keyboard key or mouse button is pressed with no audible "click". Nor do I hear another "click" or see any visual indication of disconnect when USB cable is disconnected. Nor is there any indication of any communications on either the HIDmonitor or the VB6 window.And try the HIDmonitor program from the .zip
When I said it works with Steve's original program, well it will, but it's not set up to send/receive the same analog values and switches/LED's. With HIDmonitor you should see when it connects and what data it's sending.
Do you have any suggestions how I might monitor what is happening in the code while running so I can debug? I don't have a usable ICD.




Bookmarks