Author |
Message |
Topic: Sbus2 library |
garyatpt
Replies: 5
Views: 16125
|
Forum: General CCS C Discussion Posted: Mon Oct 08, 2018 10:02 pm Subject: Sbus2 library |
Hi,
Maybe PIC18(L)FxxK42 is a good choice.
The UART module includes the following capabilities:
*Programmable 1, 1.5, and 2 Stop bits
*Programmable data polarity
*.... |
Topic: PIC18F27K42 function pointer issue |
garyatpt
Replies: 9
Views: 20245
|
Forum: General CCS C Discussion Posted: Thu Oct 04, 2018 9:29 am Subject: PIC18F27K42 function pointer issue |
Yes, I have contacted CCS about this issue today morning.
Thanks! |
Topic: PIC18F27K42 function pointer issue |
garyatpt
Replies: 9
Views: 20245
|
Forum: General CCS C Discussion Posted: Thu Oct 04, 2018 3:00 am Subject: PIC18F27K42 function pointer issue |
ok!
thank you very much! |
Topic: PIC18F27K42 function pointer issue |
garyatpt
Replies: 9
Views: 20245
|
Forum: General CCS C Discussion Posted: Tue Oct 02, 2018 8:57 pm Subject: PIC18F27K42 function pointer issue |
Listing attached.
It's the same as yours.
I can see that 'dummy' is at 001C, but the process never enters here.
When the return value 'handle_dummy' is actually used, the process will never enter ... |
Topic: [Bug] CCS 5.081 Interrupt-Vector-Table Bug for PIC18F27K42 |
garyatpt
Replies: 2
Views: 10381
|
Forum: General CCS C Discussion Posted: Tue Oct 02, 2018 8:36 pm Subject: [Bug] CCS 5.081 Interrupt-Vector-Table Bug for PIC18F27K42 |
Thanks for the help. |
Topic: PIC18F27K42 function pointer issue |
garyatpt
Replies: 9
Views: 20245
|
Forum: General CCS C Discussion Posted: Tue Oct 02, 2018 3:00 am Subject: PIC18F27K42 function pointer issue |
I am sure!
The function pointer can not work when Optimization Level set to 9. (+Y=9)
1. ccs5.081
2. mplabx ide v4.2
3. simulator or RealICE |
Topic: [Bug] CCS 5.081 Interrupt-Vector-Table Bug for PIC18F27K42 |
garyatpt
Replies: 2
Views: 10381
|
Forum: General CCS C Discussion Posted: Tue Oct 02, 2018 12:28 am Subject: [Bug] CCS 5.081 Interrupt-Vector-Table Bug for PIC18F27K42 |
Dear all,
step1: Disabled interrupt vector table (IVT) using (//#device vector_ints)
-->When input 'uart2_cmd' from UART2 RX interrupts, everything work fine.
step2: Enabled interrupt v ... |
Topic: PIC18F27K42 function pointer issue |
garyatpt
Replies: 9
Views: 20245
|
Forum: General CCS C Discussion Posted: Mon Oct 01, 2018 9:58 pm Subject: PIC18F27K42 function pointer issue |
Dear All,
1. The function pointer can not work when Optimization Level set to 9. (+Y=9)
2. The function pointer can work when Optimization Level set to 0.
(+Y=0)
//======================= ... |
|