Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Thread Tools Display Modes
Old 20th May 2008, 08:39 PM   (permalink)
Default

I've been trying to get into debugging with pickit2, and since it's my first program, and first time using mplab and pickit2 I can't get the debugger to jump over the delays, and inputs. I also tried to program some inputs, to test the logic, but haven't been able to do that yet. I'm building the prototype as well, and need to look up some pull downs, and ups for a dip switch connected to the chip.

Last edited by RobertD; 20th May 2008 at 08:40 PM.
RobertD is offline   Reply With Quote
Old 20th May 2008, 08:55 PM   (permalink)
Default

"ST7 Assembler" check this out for support...
RobertD is offline   Reply With Quote
Old 20th May 2008, 09:02 PM   (permalink)
Default

Quote:
Originally Posted by RobertD View Post
I've been trying to get into debugging with pickit2, and since it's my first program, and first time using mplab and pickit2 I can't get the debugger to jump over the delays, and inputs. I also tried to program some inputs, to test the logic, but haven't been able to do that yet. I'm building the prototype as well, and need to look up some pull downs, and ups for a dip switch connected to the chip.
Well you don't have to single step through a delay. Just set a breakpoint at the end of the loop.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is offline   Reply With Quote
Old 21st May 2008, 01:18 AM   (permalink)
Default

OK, I put the delay behind ; so the debugger would jump over it, also through all the inputs, so the DB would jump over it, and I did find a bug....

Now I have to change the dipswitch set up....
RobertD is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
Question about Inchworm+ Quan Micro Controllers 54 28th October 2007 12:20 AM
Help with problem programming 16F628A ukatv Micro Controllers 8 25th September 2007 08:23 PM
asm attachments eng1 Feedback/Comments 6 14th September 2007 03:01 PM
16F628A USART in sync mode kenmac Micro Controllers 22 14th April 2006 03:34 AM
16f628a programming only got 16f628 support will it work? lompa Micro Controllers 6 18th December 2004 05:51 PM



All times are GMT. The time now is 09:05 AM.


Electronic Circuits  |  Electronics Wiki
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.