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 42 matches
CCS Forum Index
Author Message
  Topic: Unable to deactivate CTS
bdeb

Replies: 9
Views: 5324

PostForum: General CCS C Discussion   Posted: Thu Jun 27, 2024 12:10 pm   Subject: Unable to deactivate CTS
Update.

The nice guys at CCS came back today with news that this was caused by a MSB from 16-bit multiply that was placed in U1CON2 by mistake.

Compiler fix is on the priority list.


Thank y ...
  Topic: Unable to deactivate CTS
bdeb

Replies: 9
Views: 5324

PostForum: General CCS C Discussion   Posted: Thu Jun 13, 2024 3:32 am   Subject: Unable to deactivate CTS
Update:

Just tried to set PB7 as analog input.
This makes it work, but feels like a risky hack for production..

Will notify CCS.
  Topic: Unable to deactivate CTS
bdeb

Replies: 9
Views: 5324

PostForum: General CCS C Discussion   Posted: Wed Jun 12, 2024 5:16 am   Subject: Unable to deactivate CTS
Update:

Tried v 5.117 but still not working.
Sent mail to CCS support.

Keep you posted!

/Björn
  Topic: Unable to deactivate CTS
bdeb

Replies: 9
Views: 5324

PostForum: General CCS C Discussion   Posted: Tue Jun 11, 2024 6:52 am   Subject: Unable to deactivate CTS
Thank's again!

Will update and post back with results!

I know I'm "bleeding edge" - but just love the new units....
Just the pin_select saved 2 extra board layers.


All the best: ...
  Topic: Unable to deactivate CTS
bdeb

Replies: 9
Views: 5324

PostForum: General CCS C Discussion   Posted: Tue Jun 11, 2024 5:13 am   Subject: Unable to deactivate CTS
Thank you Ttelmah,

Already tried that, does not help.

Probably because #use rs232 "happens" in header file, and does not care if handshake is turned off later in code.

Thank's anywa ...
  Topic: Unable to deactivate CTS
bdeb

Replies: 9
Views: 5324

PostForum: General CCS C Discussion   Posted: Tue Jun 11, 2024 2:31 am   Subject: Unable to deactivate CTS
uP=18F16Q41, CCS=5.115, IDE=MPLAB 6.0, OS=Win10

Dear gurus, once again I'm stuck...

The problem is that CTS for UART1 (default PB7) is *working* though it should be off!

Using no buffers in # ...
  Topic: Facts about ccsbootloader.exe
bdeb

Replies: 2
Views: 4356

PostForum: General CCS C Discussion   Posted: Sat Dec 16, 2023 8:10 am   Subject: Facts about ccsbootloader.exe
Thank you Ttelmah, the NOPROMPT will come in handy for me.

All the best:

/Björn
  Topic: Facts about ccsbootloader.exe
bdeb

Replies: 2
Views: 4356

PostForum: General CCS C Discussion   Posted: Fri Dec 15, 2023 7:43 am   Subject: Facts about ccsbootloader.exe
Compiler: 5.115
uP: 18F16Q41
IDE: MPLAB-X 6.0

First a big "thank you" to all gurus who share their knowledge here!
Read a gazillion posts about bootloading and now have it working like ...
  Topic: 18F16Q41 IOC error
bdeb

Replies: 3
Views: 10095

PostForum: General CCS C Discussion   Posted: Mon Mar 27, 2023 7:16 am   Subject: 18F16Q41 IOC error
Dear Ttelmah, thank you for your kind words!

I'll better report this directly to CCS, right?


All the best:

/BdeB
  Topic: 18F16Q41 IOC error
bdeb

Replies: 3
Views: 10095

PostForum: General CCS C Discussion   Posted: Sun Mar 26, 2023 9:36 am   Subject: 18F16Q41 IOC error
uP=18F16Q41, CCS=5.115 + 5.107, IDE=MPLAB 6.0, OS=Win10

Dear code gods,
For once I may be offering a solved problem! Laughing


After *several* nights tracking nasty problems with interrrupt-fro ...
  Topic: strlen() on ROM strings
bdeb

Replies: 4
Views: 17093

PostForum: General CCS C Discussion   Posted: Sun Mar 20, 2022 11:43 am   Subject: strlen() on ROM strings
Thank you Ttelmah - just made me a little wiser!

Smile

/Björn
  Topic: strlen() on ROM strings
bdeb

Replies: 4
Views: 17093

PostForum: General CCS C Discussion   Posted: Sun Mar 20, 2022 6:19 am   Subject: strlen() on ROM strings
Thank you hmmpic,

I use a variant of your second example, but with strcpy().

BTW Congrats to Kevin being back in F1! Very Happy
  Topic: strlen() on ROM strings
bdeb

Replies: 4
Views: 17093

PostForum: General CCS C Discussion   Posted: Sat Mar 19, 2022 2:14 pm   Subject: strlen() on ROM strings
CCS 5.107
MPLAB-X 5.50
18F16Q41

Sorry for stupid question, not a problem that an extra strcpy() can't fix, but I'd like to know why...

NOTES:
PASS_STRINGS=IN_RAM is defined
I have "u8&q ...
  Topic: 18F16Q41 HW I2C trouble
bdeb

Replies: 14
Views: 37112

PostForum: General CCS C Discussion   Posted: Thu Mar 17, 2022 4:04 pm   Subject: 18F16Q41 HW I2C trouble
Thank you all for good advice - will make use of them.



All the best:

/Björn
  Topic: 18F16Q41 HW I2C trouble
bdeb

Replies: 14
Views: 37112

PostForum: General CCS C Discussion   Posted: Thu Mar 17, 2022 12:07 pm   Subject: 18F16Q41 HW I2C trouble
My feet are bullet-ridden..


What is safe and correct way for me to set TRIS for normal I/O pins on same port as any PPS peripheral?
Moving TRIS before any #use statement?

Did you find the inf ...
 
Page 1 of 3 Goto page 1, 2, 3  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group