Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > sci.electronics.design > #381141
| From | Martin Brown <|||newspam|||@nezumi.demon.co.uk> |
|---|---|
| Newsgroups | sci.electronics.design |
| Subject | Re: table CALL does not work |
| Date | 2015-10-12 09:10 +0100 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <mvfptm$901$1@speranza.aioe.org> (permalink) |
| References | <TGURx.175753$WK.81663@fx10.iad> <pan.2015.10.09.22.32.36.258000@nowhere.invalid> <oa3Sx.3124$CV7.2368@fx30.iad> <mvajso$ai9$1@speranza.aioe.org> <mvc3td$lcb$1@dont-email.me> |
On 10/10/2015 23:38, P E Schoen wrote: > "Martin Brown" wrote in message news:mvajso$ai9$1@speranza.aioe.org... > >> For heavens sake! *Single step* the failing code in a PIC *emulator* >> and watch exactly what happens at the critical point. Get the basic >> version I posted working first and then modify it to use pages!!!! > >> Crash and burn with obfuscated code is no way to run a circus. > >> You could probably get away with a toy hobby board that just supplied >> power to the device and a LED to flash PICAXE or whatever. You have >> already wasted several multiples of the tools cost in your time. > > The Microchip software simulator works very well for simple stuff like > this and it's included free in the MPLAB IDE. The MPLABX simulator is a > bit trickier to use but still works very well. You can set up watches > for variables, and inspect and modify the contents of RAM, and single > step or run to cursor or use breakpoints. There is a stopwatch which is > useful for timing loops (but you must be sure to set the clock frequency > properly). You can even use external register injection files to > simulate ADC inputs, and manual stimulus to simulate pushbuttons. > > A hardware emulator or debugger is rarely needed. Last time I was playing with PICs it was a DOS based emulator but quite capable although newer ships were not supported. But jump tables for function value lookup definitely worked fine I used them extensively. -- Regards, Martin Brown
Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
OT: table CALL does not work Robert Baer <robertbaer@localnet.com> - 2015-10-09 12:36 -0700
Re: OT: table CALL does not work "P E Schoen" <paul@pstech-inc.com> - 2015-10-09 18:00 -0400
Re: OT: table CALL does not work Robert Baer <robertbaer@localnet.com> - 2015-10-10 00:19 -0700
Re: OT: table CALL does not work Nobody <nobody@nowhere.invalid> - 2015-10-09 23:32 +0100
Re: OT: table CALL does not work Robert Baer <robertbaer@localnet.com> - 2015-10-10 00:32 -0700
Re: OT: table CALL does not work Martin Brown <|||newspam|||@nezumi.demon.co.uk> - 2015-10-10 09:56 +0100
Re: table CALL does not work "P E Schoen" <paul@pstech-inc.com> - 2015-10-10 18:38 -0400
Re: table CALL does not work Martin Brown <|||newspam|||@nezumi.demon.co.uk> - 2015-10-12 09:10 +0100
Re: OT: table CALL does not work Nobody <nobody@nowhere.invalid> - 2015-10-11 22:50 +0100
Re: OT: table CALL does not work Robert Baer <robertbaer@localnet.com> - 2015-10-11 23:23 -0700
Re: OT: table CALL does not work Martin Riddle <martin_ridd@verizon.net> - 2015-10-11 00:27 -0400
Re: OT: table CALL does not work Martin Riddle <martin_ridd@verizon.net> - 2015-10-11 00:33 -0400
Re: OT: table CALL does not work Robert Baer <robertbaer@localnet.com> - 2015-10-11 13:37 -0700
Re: OT: table CALL does not work Martin Riddle <martin_ridd@verizon.net> - 2015-10-11 20:54 -0400
Re: OT: table CALL does not work Robert Baer <robertbaer@localnet.com> - 2015-10-11 13:35 -0700
Re: OT: table CALL does not work bitrex <bitrex@de.lete.earthlink.net> - 2015-10-11 16:44 -0400
Re: OT: table CALL does not work Martin Brown <|||newspam|||@nezumi.demon.co.uk> - 2015-10-12 18:12 +0100
csiph-web