![]() |
MPLAB SIM debugger Questions
Last year, I was able to run the MPLAB SIM debugger, which is a nice tool BTY. Kind of makes me feel like I am using Visual Basic in a sort of way...geez..I wish this stuff was PLCs (programmable logic controllers)
Anyway...When I run MPLAB SIM debugger on the code released 1-12-2005 I get some errors because it's looking for the serial information it's not finding because I am not connected to the camera or controller. Has anyone figured out an easy way to debug your code with MPLAB SIM without getting all those UART errors? Code:
UART-W0006: Receive file has no data or failed to attach when UART receive mode Enabled. |
Re: MPLAB SIM debugger Questions
I use the conditional compilation check for _SIMULATOR to bypass the USART communications.
There is also a register stimulus feature that can be used to emulate PIC h/w functions like the USART, but I haven't used it in a year. I also don't know how MPLAB has changed in regards. |
Re: MPLAB SIM debugger Questions
Oh yeah...that's what I forgot. I need to add that in the MACRO def in Projects.
I gave that shot and it's working somewhat. Seems to be stuck in a loop. I'll keep looking at it now that I am past the UART errors. |
| All times are GMT -5. The time now is 02:49. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi