Author |
Message |
Topic: Problem putting PIC24 to sleep() |
ronewart
Replies: 9
Views: 16616
|
Forum: General CCS C Discussion Posted: Tue Oct 20, 2015 6:13 am Subject: Problem putting PIC24 to sleep() |
PCM_Programmer -- thanks for pointing the way. I read your post yesterday, but did not have time to try. I went to bed thinking about your KISS program, and woke up in the middle of the night thinki ... |
Topic: Problem putting PIC24 to sleep() |
ronewart
Replies: 9
Views: 16616
|
Forum: General CCS C Discussion Posted: Mon Oct 19, 2015 12:25 pm Subject: Problem putting PIC24 to sleep() |
"NODEBUG" fuse --> whole fuse .lst shown below.
Also found #fuses NODEBUG in CCS's FAQ section which I added to the header file. It did not make any difference in the .hex checksum, ... |
Topic: Problem putting PIC24 to sleep() |
ronewart
Replies: 9
Views: 16616
|
Forum: General CCS C Discussion Posted: Mon Oct 19, 2015 11:08 am Subject: Problem putting PIC24 to sleep() |
Thanks Ttelmah & PCM Programmer!
Am using the CCS PCD compiler to generate .hex file. Am using MPLAB, to "Import Hex (Prebuilt) Project" which interfaces to PM3 programmer. I do ... |
Topic: Problem putting PIC24 to sleep() |
ronewart
Replies: 9
Views: 16616
|
Forum: General CCS C Discussion Posted: Mon Oct 19, 2015 5:17 am Subject: Problem putting PIC24 to sleep() |
Thanks for the reply PCM Programmer --
I don't have a debugger, but may have selected fuses improperly.
Fuses are shown below.
I did not know whether #FUSE DS_SW should or should not be ... |
Topic: Problem putting PIC24 to sleep() |
ronewart
Replies: 9
Views: 16616
|
Forum: General CCS C Discussion Posted: Sun Oct 18, 2015 9:42 am Subject: Problem putting PIC24 to sleep() |
Am trying to put PIC24FJ128GC006 to sleep. The test code below keeps running (i.e. through "test loop"). It seems like it is either not going to sleep, or it is waking up immediately from ... |
Topic: Problem using INT_RDA2 with PIC18F66K80 |
ronewart
Replies: 5
Views: 9338
|
Forum: General CCS C Discussion Posted: Tue Apr 22, 2014 5:19 am Subject: Problem using INT_RDA2 with PIC18F66K80 |
John,
Your first comment fixed my INT_RDA2 problem, and it started to work. I removed the "xmit=PIN_E7,rcv=PIN_E6" from the #use rs232 statement. It is now:
#use delay(internal=1 ... |
Topic: Problem using INT_RDA2 with PIC18F66K80 |
ronewart
Replies: 5
Views: 9338
|
Forum: General CCS C Discussion Posted: Fri Apr 18, 2014 5:52 pm Subject: Problem using INT_RDA2 with PIC18F66K80 |
John,
Thanks for you suggestion. I will try deleting the Pin numbers in the #use_rs232 directive. I am using the PIC chip's defined RX and TX pins, which worked fine for UART1. That same syntax ... |
Topic: Problem using INT_RDA2 with PIC18F66K80 |
ronewart
Replies: 5
Views: 9338
|
Forum: General CCS C Discussion Posted: Fri Apr 18, 2014 2:06 pm Subject: Problem using INT_RDA2 with PIC18F66K80 |
Having problems getting the EUSART2 interrupt to work on PIC18F66K80. Am trying to communicate between two PIC18F66K80s using EUSART2. Am using a very simple query protocol between the two PIC chips ... |
|