Re: Simulating C code in a PIC in Linux
N0WIQ <[email protected]> Tue, 02 Feb 2010 04:51:40 -0700
| Newsgroups | gmane.comp.hardware.microcontrollers.gnupic |
|---|---|
| Message-ID | <[email protected]> |
Hello Jason, Thank you for posting the articles for programming PIC with Linux. I am retired but programming PICs is something I look forward to. To date the only micro-controller I have programmed is a BASIC Stamp and I found it too slow for what I want to do (a 3 phase motor controller). On 02/01/2010 04:21 PM, Jason Hsu, Linux user wrote: > What is the alternative to using GPSIM and SDCC to simulate C code on a PIC in Linux? I'm not getting anywhere with the GPSIM/SDCC combo and need to find an alternative. > > Here's the situation: > > I'm trying to simulate C code in a PIC using Linux. In antiX M8.2, I installed GPSIM and SDCC from the repository and set out to complete Micah Carrick's exercise at http://www.micahcarrick.com/04-25-2005/pic-c-programming-linux.html . > > In the previous exercise simulating Assembly code for a PIC, I was able to see the arrow pointing to the code. > > But for this exercise simulating C code for a PIC, I'm NOT seeing the arrow pointing to the code even though the breadboard window shows what I expect to see. I can't debug any code if I can't see exactly what part of the code is being executed. > > This means that GPSIM and SDCC are useless to me. This is a case where being 95% correct is just as bad as being 0% correct. Either I get this issue straightened out, or I find an alternative. > > -- Kerry N0WIQ My web site URL is: http://mywebpages.comcast.net/n0wiq