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 22 matches
CCS Forum Index
Author Message
  Topic: Compiler Error: Function used but not defined
adamp524

Replies: 4
Views: 14726

PostForum: General CCS C Discussion   Posted: Fri Oct 28, 2011 10:44 am   Subject: Compiler Error: Function used but not defined
Ah, I understand!

Importing the source files using #include seems to work fine!

Thanks
  Topic: Compiler Error: Function used but not defined
adamp524

Replies: 4
Views: 14726

PostForum: General CCS C Discussion   Posted: Thu Oct 27, 2011 2:43 pm   Subject: Compiler Error: Function used but not defined
Ok thanks.
Although I thought it was bad practice to include .c files. Should all includes not just be header files?

Thanks,

Adam
  Topic: Compiler Error: Function used but not defined
adamp524

Replies: 4
Views: 14726

PostForum: General CCS C Discussion   Posted: Thu Oct 27, 2011 8:16 am   Subject: Compiler Error: Function used but not defined
Hi,
I'm writing code using the CCS compiler and want to use multiple files for the project but I'm getting the error:
Error 112 ...... Function used but not defined: ...read_heading SCR=531

Here ...
  Topic: Interrupt driven serial
adamp524

Replies: 6
Views: 10031

PostForum: General CCS C Discussion   Posted: Tue Aug 10, 2010 7:18 am   Subject: Interrupt driven serial
Thanks everyone for your replies - sadly I'm still having problems with the serial!

ckielstra - I changed my serial buffer code from an 'if' to an 'else if' for the End of line found code - no cha ...
  Topic: Interrupt driven serial
adamp524

Replies: 6
Views: 10031

PostForum: General CCS C Discussion   Posted: Mon Aug 09, 2010 7:37 am   Subject: Interrupt driven serial
Thanks PCM Programmer

I tried changing the SERIAL_BUFFER_NEXT check to '>=' but this doesn't solve my problem - the WDT still catches the program somewhere and resets the PIC.

The reason for ...
  Topic: Interrupt driven serial
adamp524

Replies: 6
Views: 10031

PostForum: General CCS C Discussion   Posted: Thu Jul 29, 2010 9:42 am   Subject: Interrupt driven serial
Hardware: PIC18F4585 with its internal oscillator at 8Mhz.

I'm writing a program to read an XML message from the serial port (PIC hardware UART). The message start and end positions are denoted by ...
  Topic: Parse Clock and Data from Cardswipe
adamp524

Replies: 3
Views: 4970

PostForum: General CCS C Discussion   Posted: Wed Jul 28, 2010 2:39 am   Subject: Parse Clock and Data from Cardswipe
Thanks for the post, I've looked at the mcr.c file and it works well for my cardswipe BUT I need it to work without using the card present signal. Any ideas on how I could achieve this?

Thanks
  Topic: Parse Clock and Data from Cardswipe
adamp524

Replies: 3
Views: 4970

PostForum: General CCS C Discussion   Posted: Tue Jul 27, 2010 10:02 am   Subject: Parse Clock and Data from Cardswipe
I'm using a magnetic cardswipe reader which is read using two signals: clock and data. (The cards swiped are encoded in ABA Track 2 format). The clock pin is connected to an interrupt pin on the PIC a ...
  Topic: Flexible LCD Driver with Powertip PC2004-A 20x4 LCD
adamp524

Replies: 14
Views: 21169

PostForum: General CCS C Discussion   Posted: Mon Jun 07, 2010 12:13 pm   Subject: Flexible LCD Driver with Powertip PC2004-A 20x4 LCD
Ok,

I've tried that, still no change, the LCD still remains blank
  Topic: Flexible LCD Driver with Powertip PC2004-A 20x4 LCD
adamp524

Replies: 14
Views: 21169

PostForum: General CCS C Discussion   Posted: Mon Jun 07, 2010 11:22 am   Subject: Flexible LCD Driver with Powertip PC2004-A 20x4 LCD
Hi

I've already removed jumper J6 connected to the LEDs.

I'm not actually using an ICD programmer, I'm programming straight through ICSP port with a meLabs EPIC programmer http://store.melabs.co ...
  Topic: Triggering serial bootloader
adamp524

Replies: 6
Views: 11275

PostForum: General CCS C Discussion   Posted: Mon Jun 07, 2010 2:48 am   Subject: Triggering serial bootloader
Ok, I've changed the hex values of the #org statements in line with what the compiler suggests. The code now compiles but when I load an image onto the PIC through the bootloader, it does not boot aft ...
  Topic: Flexible LCD Driver with Powertip PC2004-A 20x4 LCD
adamp524

Replies: 14
Views: 21169

PostForum: General CCS C Discussion   Posted: Mon Jun 07, 2010 2:28 am   Subject: Flexible LCD Driver with Powertip PC2004-A 20x4 LCD
Hi PCM programmer, thanks for getting back to me quickly.

I have the original PicDem2-Plus board.

I've tried both LCDs (the one I could get working with the flex driver and the new Powertip PC2 ...
  Topic: Flexible LCD Driver with Powertip PC2004-A 20x4 LCD
adamp524

Replies: 14
Views: 21169

PostForum: General CCS C Discussion   Posted: Fri Jun 04, 2010 7:23 am   Subject: Update!
Update: I've bought a new Powertip PC2004 A LCD to compare with the original one I had, but I cant get it to work either. I bought it just as a precautionary measure on the chance that the original LC ...
  Topic: Triggering serial bootloader
adamp524

Replies: 6
Views: 11275

PostForum: General CCS C Discussion   Posted: Fri Jun 04, 2010 3:38 am   Subject: Triggering serial bootloader
Ok, well I now have this code for the main function:
// This defines space available for main() -Keep this code small so that it compiles
// then use Ex_Bootload.c to load application
#if d ...
  Topic: Triggering serial bootloader
adamp524

Replies: 6
Views: 11275

PostForum: General CCS C Discussion   Posted: Thu Jun 03, 2010 9:22 am   Subject: Triggering serial bootloader
Ok, well I tried modifying the CCS bootloader to add in a serial buffer but the code does not compile and gives an 'Invalid ORG range' error
#include "main.h"
#include "main_bootloade ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group