Quote:
Originally Posted by K.Porter
Whenever there is a printf statement in code the code violation light blinks slowly. It happens regardless of what variable types I'm printing, or even if its just text. Has anyone else had this problem?
This is on the 2006 controller using MPLAB + IFI Loader.
I have the proper serial port selected in IFI Loader, and Baud rate is 115200. Error occurs regardless of where the printf is.
|
If you're using my serial port code, a sure fire way to get the red-light-of-death when you send data is to not properly configure the interrupt service routine in user_routines_fast.c.
-Kevin