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 68 matches
CCS Forum Index
Author Message
  Topic: Embedding ID in IRQ ROM area
prwatCCS

Replies: 9
Views: 1374

PostForum: General CCS C Discussion   Posted: Thu Nov 07, 2024 2:18 am   Subject: Embedding ID in IRQ ROM area
The reason for wanting to embed a code in the beginning of the binary filewas so that the file can be accepted/rejected early in a transfer process when transmitted over a low bandwidth link.
  Topic: Embedding ID in IRQ ROM area
prwatCCS

Replies: 9
Views: 1374

PostForum: General CCS C Discussion   Posted: Tue Oct 29, 2024 1:04 pm   Subject: Embedding ID in IRQ ROM area
I know about the ID location features, but I specifically want a form of ID that is embedded within the first few bytes of the binary/hex file.
  Topic: Embedding ID in IRQ ROM area
prwatCCS

Replies: 9
Views: 1374

PostForum: General CCS C Discussion   Posted: Tue Oct 29, 2024 9:07 am   Subject: Embedding ID in IRQ ROM area
Most 18Fxxx PICS I have used have the reset vector at 0x0000 in ROM, and the IRQ vectors table at 0x0008 and 0x0018

My question is - can I embedded Data at 0x0006 and 0x0007 without
upsetting any ...
  Topic: 16f628A RS232 problem
prwatCCS

Replies: 6
Views: 8330

PostForum: General CCS C Discussion   Posted: Tue Oct 12, 2010 3:02 pm   Subject: 16f628A RS232 problem
Apologies if this seems a bit off-topic.

I notice in your Timer1 and Timer2 interrupt code you call delay_us(), and by the looks of your arguments, may be expecting delays of over 1ms.

Given tha ...
  Topic: i2c force_hw won't work
prwatCCS

Replies: 13
Views: 14394

PostForum: General CCS C Discussion   Posted: Tue Oct 12, 2010 10:55 am   Subject: i2c force_hw won't work
My basic problem with the 18F25K22 part is now resolved - see the new thread I started. Turns out it related to port C pins defaulting to analog inputs and this not being set correctly by the complier ...
  Topic: 18F25K22 and I2C
prwatCCS

Replies: 2
Views: 5153

PostForum: General CCS C Discussion   Posted: Tue Oct 12, 2010 10:47 am   Subject: 18F25K22 and I2C
I am pleased to report that I can now answer my own question!

YES.

The gotcha is as follows : On the 18F25K223 part, many of the port A, B and C inputs default to being ANALOG, not digital. See ...
  Topic: 18F25K22 and I2C
prwatCCS

Replies: 2
Views: 5153

PostForum: General CCS C Discussion   Posted: Tue Oct 12, 2010 9:04 am   Subject: 18F25K22 and I2C
Has anyone successfully used the I2C functions on the 18F25K22 ?

I am using compiler v4.112, and my simple test code works when compiled for an 18F252, but not when compiled for the 18F25K22.

I ...
  Topic: i2c force_hw won't work
prwatCCS

Replies: 13
Views: 14394

PostForum: General CCS C Discussion   Posted: Tue Oct 12, 2010 8:25 am   Subject: i2c force_hw won't work
Hi

Have you got anywhere with this? As I posted earlier, I have a very similar issue with a PIC18F25K22 part (compiler version 4.112), although I have not yet tried taking out the FORCE_HW in #use ...
  Topic: i2c force_hw won't work
prwatCCS

Replies: 13
Views: 14394

PostForum: General CCS C Discussion   Posted: Sat Oct 09, 2010 5:44 am   Subject: i2c force_hw won't work
Have you configured the two port pins as INPUTS? This may not be intuitive, but I seem to recall it is mentioned as a requirement in some of the POC data sheets.

Can you post the code generated by ...
  Topic: PIC18F25K22
prwatCCS

Replies: 2
Views: 7498

PostForum: General CCS C Discussion   Posted: Thu Oct 07, 2010 5:25 am   Subject: 18F25K22
Hi Joerg

I have found the problem.

If you use setup_oscillator(OSC_64MHZ | OSC_INTRC) the compiler initialises OSCCON to 0x72

This does not allow the PLL to be seen as the clock source, even ...
  Topic: PIC18F25K22
prwatCCS

Replies: 2
Views: 7498

PostForum: General CCS C Discussion   Posted: Wed Oct 06, 2010 5:16 pm   Subject: PIC18F25K22
Has anyone experience of using the CCS compiler (I have 4.112) with the PIC 18F25K22 ?

I have a simple led flash program running user timer0 to generate a 10mS RTC, but cannot get my head around th ...
  Topic: Mach-X Upgrade to Load-Go failed ?
prwatCCS

Replies: 17
Views: 124777

PostForum: CCS ICD / Mach X / Load-n-Go   Posted: Thu Nov 06, 2008 8:55 am   Subject: Mach-X Upgrade to Load-Go failed ?
Thanks

I had also emailed ccs support with details of the problems encountered, so let's hope that between the two of us we get some resolution.
  Topic: Mach-X Upgrade to Load-Go failed ?
prwatCCS

Replies: 17
Views: 124777

PostForum: CCS ICD / Mach X / Load-n-Go   Posted: Thu Nov 06, 2008 7:24 am   Subject: Mach-X Upgrade to Load-Go failed ?
When I switch to Diagnostics/Check for SW updates I get a green tik, and ??? and a pop-up that says '?.??' is not a valid floating point value along side a red cross and one button to click on that is ...
  Topic: Mach-X Upgrade to Load-Go failed ?
prwatCCS

Replies: 17
Views: 124777

PostForum: CCS ICD / Mach X / Load-n-Go   Posted: Thu Nov 06, 2008 6:51 am   Subject: Mach-X Upgrade to Load-Go failed ?
I have a similar problem.

I bought a Machx some years ago, but have only just now needed to use it, so I attempted to find the latest code from CCS. I too found that all mention of machx.exe had di ...
  Topic: Write_eeprom()
prwatCCS

Replies: 1
Views: 3834

PostForum: General CCS C Discussion   Posted: Thu Sep 18, 2008 10:22 am   Subject: Write_eeprom()
I am using PCWH 3.249 and PCWHD 4.073.

PIC 18F252

At background in my code I call write_eeprom(), but as it masks interrupts for the entire time it takes to write data to the internal eeprom, I ...
 
Page 1 of 5 Goto page 1, 2, 3, 4, 5  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group