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 1922 matches
CCS Forum Index
Author Message
  Topic: Command line for ICD interface - factory programming
newguy

Replies: 30
Views: 17964

PostForum: General CCS C Discussion   Posted: Mon Jan 13, 2025 4:15 pm   Subject: Command line for ICD interface - factory programming
Want to echo what jeremiah has said: not many people here use the CLI. I can tell you that about a decade ago a colleague of mine did wade through the CLI of the Load-n-Go when he implemented support ...
  Topic: I2C scanner code not working on PIC18F4550
newguy

Replies: 45
Views: 19431

PostForum: General CCS C Discussion   Posted: Tue Dec 24, 2024 10:24 am   Subject: I2C scanner code not working on PIC18F4550
Base address of an I2C chip cannot be odd so I suspect that the address you have is the 7 bit address. Bit shift that left one (x2) for an 8 bit address of 0x56.
  Topic: Happy Christmas everyone and Happy New Year
newguy

Replies: 5
Views: 2991

PostForum: General CCS C Discussion   Posted: Tue Dec 24, 2024 10:22 am   Subject: Happy Christmas everyone and Happy New Year
Back at you sir. Thank you for tirelessly helping everyone here.
  Topic: Bootloader with two apps flashing pattern
newguy

Replies: 5
Views: 3729

PostForum: General CCS C Discussion   Posted: Fri Dec 13, 2024 10:30 am   Subject: Bootloader with two apps flashing pattern
I developed something similar quite some time ago. The PCBA had a dedicated memory which stored what you refer to as 'slots'. An OTA update would interact with the current running application, and it ...
  Topic: sd_mmc & PCD
newguy

Replies: 16
Views: 9250

PostForum: General CCS C Discussion   Posted: Thu Nov 28, 2024 2:03 pm   Subject: sd_mmc & PCD
Buy this: https://brushelectronics.com/software/fat-file-system-for-microchip-microcontrollers/

I have no affiliation with Brush Electronics; I am a customer. I can tell you that the driver works a ...
  Topic: Thoughts on terminal emulator for serial interface
newguy

Replies: 8
Views: 30955

PostForum: General CCS C Discussion   Posted: Sun Oct 06, 2024 10:26 am   Subject: Thoughts on terminal emulator for serial interface
I'm actually finishing up a VT100 user interface. I like RealTerm for the PC side.

I prefer a static screen as opposed to scrolling, but that's just me. VT100 command codes suit me fine.
  Topic: Best way to update Timer 2 to avoid unwelcome glitches
newguy

Replies: 8
Views: 5516

PostForum: General CCS C Discussion   Posted: Mon Sep 30, 2024 10:49 am   Subject: Best way to update Timer 2 to avoid unwelcome glitches
Then just load the period register (PR2) only.

#byte PR2 = getenv("SFR:PR2")

And inside your ISR, if appropriate,

PR2 = new_PR2_value;
  Topic: Best way to update Timer 2 to avoid unwelcome glitches
newguy

Replies: 8
Views: 5516

PostForum: General CCS C Discussion   Posted: Mon Sep 30, 2024 9:08 am   Subject: Best way to update Timer 2 to avoid unwelcome glitches
Enable the timer 2 interrupt. When a command to change settings is received, instead of changing the timer settings immediately, set a flag: new settings are available.

Inside the ISR, if that flag ...
  Topic: PIC24 IO state initialization built-in function issues?
newguy

Replies: 6
Views: 5154

PostForum: General CCS C Discussion   Posted: Tue Sep 24, 2024 2:06 pm   Subject: PIC24 IO state initialization built-in function issues?
Some thoughts. I tend not to embed bit manipulations inside other function calls with any compiler because of some painful memories from decades ago. That was the first thing that popped into my head: ...
  Topic: PIC18F14K50 - Port Pin B4 outputs High All the time.
newguy

Replies: 18
Views: 18394

PostForum: General CCS C Discussion   Posted: Mon Apr 29, 2024 9:46 am   Subject: PIC18F14K50 - Port Pin B4 outputs High All the time.
10K is a lot smaller than recommended. Minimum recommended is 22K...
10K was the recommended value back in the ICD2 days. These were able
to drive a lower resistor.
The help for the ICD-U80 recomme ...
  Topic: Interrupts are being disabled and I don't understand why.
newguy

Replies: 10
Views: 11195

PostForum: General CCS C Discussion   Posted: Wed Apr 24, 2024 9:35 am   Subject: Interrupts are being disabled and I don't understand why.
Do you have the watchdog enabled?
  Topic: Timing on a two speed program
newguy

Replies: 10
Views: 11181

PostForum: General CCS C Discussion   Posted: Mon Apr 22, 2024 12:57 pm   Subject: Timing on a two speed program
When high speed is invoked, implement some sort of timer ASAP. Clock source will be the 4MHz clock.

Simply use that timer to count.

When it's time to go back to sleep, calculate how many 31kHz t ...
  Topic: PIC24EP capacitive display suggestion?
newguy

Replies: 3
Views: 6027

PostForum: General CCS C Discussion   Posted: Thu Apr 04, 2024 12:42 pm   Subject: PIC24EP capacitive display suggestion?
Quite some time ago I cobbled together a 320 x 480 TFT display with capacitive touch screen overlay (qty 1000 cost was somewhere in the neighbourhood of $10) to an FTDI EVE touch screen controller and ...
  Topic: Header file losed
newguy

Replies: 6
Views: 8516

PostForum: General CCS C Discussion   Posted: Wed Mar 27, 2024 9:30 am   Subject: Header file losed
What is your compiler version?
  Topic: I2C slave no ACK bit help.
newguy

Replies: 10
Views: 13861

PostForum: General CCS C Discussion   Posted: Tue Mar 12, 2024 2:34 pm   Subject: I2C slave no ACK bit help.
Happens to us all. Glad you have it sorted.
 
Page 1 of 129 Goto page 1, 2, 3 ... 127, 128, 129  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group