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 9075 matches
CCS Forum Index
Author Message
  Topic: PIC18F14k22 and fuses
temtronic

Replies: 1
Views: 23

PostForum: General CCS C Discussion   Posted: Sat Nov 16, 2024 3:46 pm   Subject: PIC18F14k22 and fuses
re: Any other protection

Not really 'protection' but if you sand off the PIC's model number and date code it'll slow down someone from reading what you have.......1st they have to figure out WHAT t ...
  Topic: Multiple USB CDC interfaces in one PIC24
temtronic

Replies: 10
Views: 1068

PostForum: General CCS C Discussion   Posted: Fri Nov 08, 2024 9:04 am   Subject: Multiple USB CDC interfaces in one PIC24
I've always thought of USB as an interface between TWO devices( say PC and mouse) and wonder just how much code is required to have a PC correctly communicate with two mouses ( mice ) on the same USB ...
  Topic: PIC24: What can make spi_xfer() hang?
temtronic

Replies: 14
Views: 15218

PostForum: General CCS C Discussion   Posted: Wed Nov 06, 2024 6:19 pm   Subject: PIC24: What can make spi_xfer() hang?
Are you 100% sure it's the code controlling the Spansion xxx part that 'locks up the PIC' ??
Have you bypassed all access to it to confirm it IS the source of the 'lock up' ??
If not,add code like ...
  Topic: Several questions about the modbus.c driver
temtronic

Replies: 4
Views: 639

PostForum: General CCS C Discussion   Posted: Tue Nov 05, 2024 5:33 pm   Subject: Several questions about the modbus.c driver
Well according to one source, the 'start' and 'end' time needs to be 3.5T or greater.
I'll assume the 'start' is 10x longer to allow for hardware to stabilize before the actual frame of data is sent ...
  Topic: Several questions about the modbus.c driver
temtronic

Replies: 4
Views: 639

PostForum: General CCS C Discussion   Posted: Tue Nov 05, 2024 6:05 am   Subject: Several questions about the modbus.c driver
'timing' is all based upon the actual clock used so to get the best most accurate 'timings', you need to use quality crystal and 2 caps. For the ultimate timing, use an external canned oscillator tha ...
  Topic: Embedding ID in IRQ ROM area
temtronic

Replies: 9
Views: 1363

PostForum: General CCS C Discussion   Posted: Fri Nov 01, 2024 6:09 pm   Subject: Embedding ID in IRQ ROM area
OK, I'm curious..... why the need to embed at the beginning ?
  Topic: Switch from PCI16F1938 to PIC16F18857 not working
temtronic

Replies: 12
Views: 1752

PostForum: General CCS C Discussion   Posted: Tue Oct 29, 2024 4:20 pm   Subject: Switch from PCI16F1938 to PIC16F18857 not working
Great, now you know why the dinosaur likes 'super simple'. You've proved it's NOT a 'clock' issue, that the hardware attached to the PIC works and the compiler is 'happy' with your code......

Since ...
  Topic: Switch from PCI16F1938 to PIC16F18857 not working
temtronic

Replies: 12
Views: 1752

PostForum: General CCS C Discussion   Posted: Tue Oct 29, 2024 12:31 pm   Subject: Switch from PCI16F1938 to PIC16F18857 not working
by simple 1Hz LED program
I mean,something like this....


main()
do
output_toggle(LED);
delay_ms(500);
while(true)

...
it should flash the LED at 1Hz rate, forever.

I 'think' both you ...
  Topic: Embedding ID in IRQ ROM area
temtronic

Replies: 9
Views: 1363

PostForum: General CCS C Discussion   Posted: Tue Oct 29, 2024 12:18 pm   Subject: Embedding ID in IRQ ROM area
From the PIC18F46K22 datasheet, way in the back, of course, but I remembered where...

24.6 ID Locations
Eight memory locations (200000h-200007h) are
designated as ID locations, where the user can ...
  Topic: Switch from PCI16F1938 to PIC16F18857 not working
temtronic

Replies: 12
Views: 1752

PostForum: General CCS C Discussion   Posted: Mon Oct 28, 2024 3:56 pm   Subject: Switch from PCI16F1938 to PIC16F18857 not working
hmm, ceramic resonator is not the same as a crystal with 2 caps. That may be your problem. You'll need to read the mfr spec for how to get it working with the PIC.

Just cut SIMPLE code ,like the 1H ...
  Topic: Switch from PCI16F1938 to PIC16F18857 not working
temtronic

Replies: 12
Views: 1752

PostForum: General CCS C Discussion   Posted: Mon Oct 28, 2024 6:02 am   Subject: Switch from PCI16F1938 to PIC16F18857 not working
my 'gut' is telling me the new PIC's clock(4MHz) may not be running so it's using the 'secondary' RC clock( low speed)

You should cut a '1Hz LED' program and confirm the new PIC is operational.

...
  Topic: PIC24EP512 - Grabbing serial characters in a loop
temtronic

Replies: 5
Views: 1014

PostForum: General CCS C Discussion   Posted: Sun Oct 27, 2024 6:37 pm   Subject: PIC24EP512 - Grabbing serial characters in a loop
re: Compiler: 5.026 (very very old)

I guess that's why I'm a 'dinosaur'.....My first PCM was 2.534

Thanks for making an old guy ,feel even older Sad
Jay
  Topic: problem UART pic18f6723
temtronic

Replies: 9
Views: 1479

PostForum: General CCS C Discussion   Posted: Mon Oct 21, 2024 3:36 pm   Subject: problem UART pic18f6723
As a followup comment...
It'd be nice to have separate LEDs for status.
That way you know WHICH serial port has sent the commands.....
  Topic: Disabling interrupts when writing to data EEPROM
temtronic

Replies: 2
Views: 722

PostForum: General CCS C Discussion   Posted: Sun Oct 20, 2024 5:43 am   Subject: Disabling interrupts when writing to data EEPROM
yes......
You have to remember PICs, like 99.44% of all micros can only do ONE operation at a time...ask it to do too much and oopsy....
Some (most ? ) EEPROMs have a faster method, usually a 'block ...
  Topic: problem UART pic18f6723
temtronic

Replies: 9
Views: 1479

PostForum: General CCS C Discussion   Posted: Fri Oct 18, 2024 5:13 pm   Subject: problem UART pic18f6723
hmm, you've got me confused....
Maybe I'm reading it wrong ??

data from the 2nd UART gets stored in the buf array while data from 1st UART gets stored in the buf2 array.

I'd like to see better ...
 
Page 1 of 605 Goto page 1, 2, 3 ... 603, 604, 605  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group