Author |
Message |
Topic: Could not detect target chip |
joshkeys
Replies: 6
Views: 34888
|
Forum: CCS ICD / Mach X / Load-n-Go Posted: Tue Jul 31, 2007 7:05 am Subject: Could not detect target chip |
The reason CCS does not have a "fix" for this is because it is most likely a hardware problem. Hook up an oscilloscope to your ICSP data and clock lines and also your Master clear and ensure ... |
Topic: Could not detect target chip |
joshkeys
Replies: 6
Views: 34888
|
Forum: CCS ICD / Mach X / Load-n-Go Posted: Tue Apr 17, 2007 10:40 am Subject: Could not detect target chip |
I never did find a solution. i had to buy another ICD programmer.. sorry.. Someday if I have time I will probably troubleshoot the old programmer some more. If you ever find out feel free to tell me.
... |
Topic: PIC with 4 external interrupts |
joshkeys
Replies: 4
Views: 5556
|
Forum: General CCS C Discussion Posted: Fri Feb 16, 2007 11:25 am Subject: PIC with 4 external interrupts |
Thanks also newguy, the only problem with that is the extra overhead involved, and the system i am using this on is a critical system that needs immediate response, so determining which pin went may a ... |
Topic: PIC with 4 external interrupts |
joshkeys
Replies: 4
Views: 5556
|
Forum: General CCS C Discussion Posted: Fri Feb 16, 2007 11:22 am Subject: PIC with 4 external interrupts |
Perfect! I did not feel like multiplexing the interrupts or using the portB interrupt on change as these are critical time constraining interrupts and real estate and extra hardware are an issue.
T ... |
Topic: PIC with 4 external interrupts |
joshkeys
Replies: 4
Views: 5556
|
Forum: General CCS C Discussion Posted: Fri Feb 16, 2007 10:00 am Subject: PIC with 4 external interrupts |
Hello,
Just a quick question. i am curious if there is any PIC's with at least 4 external interrupts.. I saw an old datasheet of the PIC 18F4431 with 4 ineterrupts..but when i go on the microchip s ... |
Topic: Enabling interrupts during a delay_ms() or while() loop |
joshkeys
Replies: 15
Views: 27378
|
Forum: General CCS C Discussion Posted: Sun Jan 21, 2007 10:52 pm Subject: Problem solved |
I enabled the interrupts in the function that the main program called and it worked fine.. My program has a while(1) loop that waits for a variable to be set from the ISR, which always worked, it was ... |
Topic: Enabling interrupts during a delay_ms() or while() loop |
joshkeys
Replies: 15
Views: 27378
|
Forum: General CCS C Discussion Posted: Sun Jan 21, 2007 5:18 pm Subject: Enabling interrupts during a delay_ms() or while() loop |
Yah, I read that thread earlier and tried that with no luck. It still waited until my delay_ms() was comlplete.. I exaggerated the time and made it 10 seconds, and it did not go to the interrupt until ... |
Topic: Enabling interrupts during a delay_ms() or while() loop |
joshkeys
Replies: 15
Views: 27378
|
Forum: General CCS C Discussion Posted: Sun Jan 21, 2007 3:38 pm Subject: Enabling interrupts during a delay_ms() or while() loop |
Fair enough. That should work for this case.. but for the sake of being more flexible, do you know of anyway to use the delay_ms() command and still have interrupts active? Also, what is a list of com ... |
Topic: Enabling interrupts during a delay_ms() or while() loop |
joshkeys
Replies: 15
Views: 27378
|
Forum: General CCS C Discussion Posted: Sun Jan 21, 2007 1:33 pm Subject: Enabling interrupts during a delay_ms() or while() loop |
Hi all,
Compiler: 3.239
PIC: 18F4320
I am implementing code in which I have external interrupts on int0 and int1. These interrupts are a on/off button and a reset button on my project. The prob ... |
Topic: Freezing on Powerup, MCLR reset fixes problem |
joshkeys
Replies: 3
Views: 5833
|
Forum: General CCS C Discussion Posted: Sun Jan 21, 2007 1:25 pm Subject: Thanks! |
I believe the problem was with portB not configured as input on startup causing a multitude of interrupts on startup. And I believe the interrupts have a stack? Either way it seems to work great now! ... |
Topic: Freezing on Powerup, MCLR reset fixes problem |
joshkeys
Replies: 3
Views: 5833
|
Forum: General CCS C Discussion Posted: Sat Jan 20, 2007 9:10 pm Subject: Freezing on Powerup, MCLR reset fixes problem |
Hi all,
I am having a problem where when I turn on the power to my project, it freezes immediatley. I am using 2 external interrupts, and it appears to enter one of the external interrupts and free ... |
Topic: Unwanted Automated ASM code |
joshkeys
Replies: 6
Views: 6980
|
Forum: General CCS C Discussion Posted: Fri Dec 15, 2006 2:49 pm Subject: Sorry |
drh, i apologize, I guess I did not read the whole thing, well i am sure i did, but i guess as soon as i read the #asm and #endasm In my mind I had already formed an answer.. .. I apologize, I ... |
Topic: Unwanted Automated ASM code |
joshkeys
Replies: 6
Views: 6980
|
Forum: General CCS C Discussion Posted: Thu Dec 14, 2006 4:48 pm Subject: Unwanted Automated ASM code |
As usual, thanks PCM Programmer. Worked 100%. Now no more unexpected timing issues! Thanks!
Josh |
Topic: Unwanted Automated ASM code |
joshkeys
Replies: 6
Views: 6980
|
Forum: General CCS C Discussion Posted: Thu Dec 14, 2006 1:48 pm Subject: Unwanted Automated ASM code |
yes, I use #asm and #endasm. It still decides to add a line when it feels like to make sure the proper bank has been set.
Josh |
Topic: Understanding ASM Interrupt setup |
joshkeys
Replies: 4
Views: 11655
|
Forum: General CCS C Discussion Posted: Thu Dec 14, 2006 1:01 pm Subject: Thanks |
Thanks PCM Programmer, excellent resource.
Josh |
|