CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 97 matches
CCS Forum Index
Author Message
  Topic: PIC18F PPS on CCP2 not working [SOLVED]
kda406

Replies: 9
Views: 28379

PostForum: General CCS C Discussion   Posted: Wed May 18, 2022 9:33 am   Subject: PIC18F PPS on CCP2 not working [SOLVED]
CCS 5.107 will not let me assign CCP4 & CCP5 to port G. It seems they built from the same datasheet I used, which (now incorrectly) says only CCP1 and CCP2 can be assigned to port G for this devi ...
  Topic: PIC18F PPS on CCP2 not working [SOLVED]
kda406

Replies: 9
Views: 28379

PostForum: General CCS C Discussion   Posted: Wed May 18, 2022 6:47 am   Subject: PIC18F PPS on CCP2 not working [SOLVED]
You missed the most important part when quoting.... and also do the other jobs it is tasked with.I'm so happy you were able to read a 7kHz signal. However, this product is servicing 3 networks, a use ...
  Topic: PIC18F PPS on CCP2 not working [SOLVED]
kda406

Replies: 9
Views: 28379

PostForum: General CCS C Discussion   Posted: Tue May 17, 2022 2:26 pm   Subject: PIC18F PPS on CCP2 not working [SOLVED]
Yes, I checked the receive signal on the pin itself, at the top, ensuring the signal is making it into the chip. I made sure the signal is not received while testing (closing the gap on an unsoldered ...
  Topic: PIC18F PPS on CCP2 not working [SOLVED]
kda406

Replies: 9
Views: 28379

PostForum: General CCS C Discussion   Posted: Tue May 17, 2022 12:23 pm   Subject: PIC18F PPS on CCP2 not working [SOLVED]
I am seeking help determining if the PPS not working is a problem with my code, the compiler, or the Microchip silicon.

I'm currently compiling with 5.107 on PIC18F67K40 processors. I have tested ...
  Topic: MPLAB X CCS compiler version.
kda406

Replies: 7
Views: 25205

PostForum: General CCS C Discussion   Posted: Tue May 17, 2022 12:00 pm   Subject: MPLAB X CCS compiler version.
Thanks for the response

How do you add the compiler inside the IDE? If CCS have a link that will do.

Dave

Tools -> Options -> Embedded -> Build Tools
Add button
Browse to the direc ...
  Topic: 18F6722 possible math issue from compiler v5.074 to 5.105
kda406

Replies: 22
Views: 69996

PostForum: General CCS C Discussion   Posted: Fri Jan 28, 2022 9:00 am   Subject: 18F6722 possible math issue from compiler v5.074 to 5.105
GOOD NEWS

I was hoping one of you guys could just tell me... Wink

This morning I'm working on a project with just a few compile units. No math to simplify like the OP for this thread, but ...
  Topic: 18F6722 possible math issue from compiler v5.074 to 5.105
kda406

Replies: 22
Views: 69996

PostForum: General CCS C Discussion   Posted: Fri Jan 28, 2022 7:28 am   Subject: 18F6722 possible math issue from compiler v5.074 to 5.105
Especially considering the recent "improvements", I agree, it should be zero unless set otherwise. Good idea.

Every one of my projects includes the same header file as the first element. ...
  Topic: 18F6722 possible math issue from compiler v5.074 to 5.105
kda406

Replies: 22
Views: 69996

PostForum: General CCS C Discussion   Posted: Thu Jan 27, 2022 2:06 pm   Subject: 18F6722 possible math issue from compiler v5.074 to 5.105
I cannot believe I ran into this thread today.

I have been having to simplify single, complex math statements down to 2-3-4 lines since around 5.09x, Ttelmah. Statements that have worked for years ...
  Topic: Interrupt on change - Pic18f27k40
kda406

Replies: 6
Views: 24533

PostForum: General CCS C Discussion   Posted: Tue Jan 18, 2022 12:04 pm   Subject: Interrupt on change - Pic18f27k40
That's unfortunate. Thank you for the clarification.

For those who find this thread in the future: This is how the K40 processors actually work. There is one interrupt for change, with flag bits ...
  Topic: Interrupt on change - Pic18f27k40
kda406

Replies: 6
Views: 24533

PostForum: General CCS C Discussion   Posted: Tue Jan 18, 2022 11:09 am   Subject: Interrupt on change - Pic18f27k40
I could use some elaboration on this topic.

I have the same question as I'm adding a new protocol requiring IOC on B3 on three projects which are using PIC18F26K40 (same as above), 45K40, and 67K40 ...
  Topic: rom #org & multiple compilation unit woes
kda406

Replies: 10
Views: 30847

PostForum: General CCS C Discussion   Posted: Fri Sep 03, 2021 7:53 am   Subject: rom #org & multiple compilation unit woes
That's a great concept, Jeremiah. I'm going to give this a try. This is exactly the kind of suggestion I was hoping to get from this great forum.

Many thanks,
Kyle
  Topic: rom #org & multiple compilation unit woes
kda406

Replies: 10
Views: 30847

PostForum: General CCS C Discussion   Posted: Thu Sep 02, 2021 1:21 pm   Subject: rom #org & multiple compilation unit woes
it's lightning fast compared to how we erased PICs, back in the good old days.... 15 minutes under the UV bulb.....ah, coffee break times !!!
Jay
"Back in the day," I had two PIC16C54s and ...
  Topic: rom #org & multiple compilation unit woes
kda406

Replies: 10
Views: 30847

PostForum: General CCS C Discussion   Posted: Thu Sep 02, 2021 1:16 pm   Subject: rom #org & multiple compilation unit woes
Why do you use rom?

I use const for some things, but it is buggy on large programs. Once the compiled program exceeds 20~30KB the const arrays start having problems.

I just grabbed a small test ...
  Topic: rom #org & multiple compilation unit woes
kda406

Replies: 10
Views: 30847

PostForum: General CCS C Discussion   Posted: Thu Sep 02, 2021 9:28 am   Subject: rom #org & multiple compilation unit woes
Can we assume you have reported this to CCS?I have not. This has been a problem for decades; surely CCS knows about it. I am seeking suggestions of how other users work around this problem.

Thank ...
  Topic: rom #org & multiple compilation unit woes
kda406

Replies: 10
Views: 30847

PostForum: General CCS C Discussion   Posted: Wed Sep 01, 2021 12:48 pm   Subject: rom #org & multiple compilation unit woes
I am looking for advice or a trick to help #org work better with rom stored data when multiple compilation units are in play. Without assistance, CCS overlaps the ROM tables.

Today I'm working wit ...
 
Page 1 of 7 Goto page 1, 2, 3, 4, 5, 6, 7  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group