Author |
Message |
Topic: Program Counter CALL to nowhere in LST file |
jmb1539
Replies: 7
Views: 7224
|
Forum: General CCS C Discussion Posted: Fri Mar 29, 2013 2:46 pm Subject: Program Counter CALL to nowhere in LST file |
Thanks guys for the responses. I greatly appreciate it. |
Topic: Program Counter CALL to nowhere in LST file |
jmb1539
Replies: 7
Views: 7224
|
Forum: General CCS C Discussion Posted: Wed Mar 27, 2013 10:08 am Subject: Program Counter CALL to nowhere in LST file |
I removed the #nolist as you mentioned and that made visible all the missing code. You're right, it contains many branches and loops that would make it virtually impossible to get an accurate calcula ... |
Topic: Program Counter CALL to nowhere in LST file |
jmb1539
Replies: 7
Views: 7224
|
Forum: General CCS C Discussion Posted: Wed Mar 27, 2013 8:39 am Subject: Program Counter CALL to nowhere in LST file |
I'm attempting to calculate the code execution time for a serial data transfer on the HW UART of a PIC18F2620 with a 20MHz oscillator by adding up all the assembly instructions from the LST file for t ... |
Topic: Measure Duty Cycle of 22kHz PWM |
jmb1539
Replies: 1
Views: 6994
|
Forum: General CCS C Discussion Posted: Sat Apr 30, 2011 9:56 am Subject: Measure Duty Cycle of 22kHz PWM |
I am attempting to cature the "on-time" pulse width of a 22kHz PWM signal. The duty cycles are between 5% and 25% so i would need an RE interrupt and then 2.27usec later have a FE interrupt ... |
Topic: PIC18F2620 CCP Double Edge Triggering |
jmb1539
Replies: 2
Views: 3938
|
Forum: General CCS C Discussion Posted: Thu Jun 10, 2010 8:46 am Subject: PIC18F2620 CCP Double Edge Triggering |
My frequency input is in the range of 3-50Hz. It was a bit unstable, so I passed it through a schmit trigger to square off the signal. This really cleaned it up, but I was still getting a trigger on ... |
Topic: PIC18F2620 CCP Double Edge Triggering |
jmb1539
Replies: 2
Views: 3938
|
Forum: General CCS C Discussion Posted: Tue Jun 08, 2010 11:41 am Subject: PIC18F2620 CCP Double Edge Triggering |
I'm using a PIC18F2620 to measure a frequency of an incoming signal consisting of a 5V - 0V square wave. My CCP1 is setup for capture mode falling edge detection. While running, I'm getting an occas ... |
Topic: MACH X Not pulling PGD signal low |
jmb1539
Replies: 0
Views: 21452
|
Forum: CCS ICD / Mach X / Load-n-Go Posted: Tue May 11, 2010 10:21 am Subject: MACH X Not pulling PGD signal low |
I'm attempting to use the ICD connection from the MachX to a PIC18F2620 and each time I try to connect, I get a DEVICE ID error. I've went through the diagnostic troubleshooting provided with CCSLoad ... |
Topic: PIC18F2620 locking up with serial data |
jmb1539
Replies: 5
Views: 6629
|
Forum: General CCS C Discussion Posted: Wed Mar 31, 2010 1:20 pm Subject: PIC18F2620 locking up with serial data |
Just FYI for anyone following this thread, the problem I encountered was do to the strcpy function that was called in the serial ISR. My incoming data wasn't null terminated so this function would ju ... |
Topic: PIC18F2620 locking up with serial data |
jmb1539
Replies: 5
Views: 6629
|
Forum: General CCS C Discussion Posted: Tue Mar 30, 2010 12:31 pm Subject: PIC18F2620 locking up with serial data |
It looks like I have the B5 silicon revision. I've looked through the errata for this silicon and all others and I'm not coming across a solution. For issues concerning the USART, I see modules for ... |
Topic: PIC18F2620 locking up with serial data |
jmb1539
Replies: 5
Views: 6629
|
Forum: General CCS C Discussion Posted: Mon Mar 29, 2010 3:23 pm Subject: PIC18F2620 locking up with serial data |
I'm using the Mach X ICD and if I'm reading it correctly, I get the following:
Device PIC18F2620
Status Good
Device ID 0C80
Revision 07 --> I believe this is my silicon version ... |
Topic: PIC18F2620 locking up with serial data |
jmb1539
Replies: 5
Views: 6629
|
Forum: General CCS C Discussion Posted: Mon Mar 29, 2010 10:26 am Subject: PIC18F2620 locking up with serial data |
I have a PIC project running on a PIC18F2620 that receives one serial data stream with two distinct data messages (received once a second). The two data messages are parsed and repackaged to a single ... |
|