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 21 matches
CCS Forum Index
Author Message
  Topic: QEI Compile issue - Undefined identifier
123bally

Replies: 5
Views: 13971

PostForum: General CCS C Discussion   Posted: Wed Nov 19, 2014 5:02 am   Subject: QEI Compile issue- SOLVED
Hi PCM

I followed your instructions and the compiler complained about the device not being recognised, so I reinstalled the compiler as you suggested. It then compiled fine.

I also needed to run ...
  Topic: QEI Compile issue - Undefined identifier
123bally

Replies: 5
Views: 13971

PostForum: General CCS C Discussion   Posted: Tue Nov 18, 2014 7:46 am   Subject: QEI Compile issue - Undefined identifier
Thanks for replies,

Have changed the filename and simplified code as requested:

Output:

Executing: "C:\Program Files (x86)\PICC\Ccsc.exe" +FH "ETVelocityMode.c" #__DEBUG=1 ...
  Topic: QEI Compile issue - Undefined identifier
123bally

Replies: 5
Views: 13971

PostForum: General CCS C Discussion   Posted: Mon Nov 17, 2014 7:41 am   Subject: QEI Compile issue - Undefined identifier
I have a new PC and since trying to compile existing projects I get output errors with undefined identifiers in ref only to QEI Functions. For example:

Executing: "C:\Program Files (x86)\PICC\ ...
  Topic: Serial port problems using Visual Basic
123bally

Replies: 14
Views: 20747

PostForum: General CCS C Discussion   Posted: Wed Jun 19, 2013 7:36 am   Subject: Serial port problems using Visual Basic
Update:

Thanks to GpsMikey: I changed out the xt for a 19.2MHz and the problem is solved. Tested on 3 PCB's and 3 PC's all good!!! I think I owe you a beer!

Ttelmah, I appreciate your sugestion ...
  Topic: Serial port problems using Visual Basic
123bally

Replies: 14
Views: 20747

PostForum: General CCS C Discussion   Posted: Tue Jun 18, 2013 12:50 pm   Subject: Serial port problems using Visual Basic
Hi Ttelmah

Yes CPU is running at 20MHZ, I appreciate your comments, however the time taken to process the ATOL is not an issue in this particular application as the PC is waiting to hear from the P ...
  Topic: Serial port problems using Visual Basic
123bally

Replies: 14
Views: 20747

PostForum: General CCS C Discussion   Posted: Tue Jun 18, 2013 10:06 am   Subject: Serial port problems using Visual Basic
HI

Yes Hardware UART being used (Pins C6 and C7). I am using a MAX 3232 chip to interface.

Receive routines are based around calling GetC and GetS functions:


c=getc(); //Get C ...
  Topic: Serial port problems using Visual Basic
123bally

Replies: 14
Views: 20747

PostForum: General CCS C Discussion   Posted: Tue Jun 18, 2013 1:48 am   Subject: Serial port problems using Visual Basic
Hello all

Thanks for continued support. I got pretty excited about the DTR enable parameter but unfortunately it didn't help. So I have written a couple of bits of software to try to break the prob ...
  Topic: Serial port problems using Visual Basic
123bally

Replies: 14
Views: 20747

PostForum: General CCS C Discussion   Posted: Mon Jun 17, 2013 2:13 am   Subject: Serial port problems using Visual Basic
Thanks for the replies guys....

What you are saying makes sense, and having tested it on another win7 machine I found it doesn't work on that one. The VB app has hardware flow turned off, but god k ...
  Topic: Serial port problems using Visual Basic
123bally

Replies: 14
Views: 20747

PostForum: General CCS C Discussion   Posted: Fri Jun 14, 2013 10:23 am   Subject: Serial port problems using Visual Basic
Appreciate the forum is not for VB.net support but someone may be able to throw some light on this issue.

I have a PIC18f4431 programmed using ccs to receive a series of parameters over rs232. It l ...
  Topic: MCP4921 SPI D-A issues - Please help
123bally

Replies: 15
Views: 20797

PostForum: General CCS C Discussion   Posted: Thu May 09, 2013 1:05 pm   Subject: Solved!!!
How ironic that the mistake in the schematic should lead me to the actual fault. The incorrect connection to +5V got me thinking, what if Vout was grounded?? No it couldn't be .... right??........ Wro ...
  Topic: MCP4921 SPI D-A issues - Please help
123bally

Replies: 15
Views: 20797

PostForum: General CCS C Discussion   Posted: Thu May 09, 2013 12:33 pm   Subject: MCP4921 SPI D-A issues - Please help
PCM you spotted it before I could update the picture, that was an error in the schematic only. Hardware was OK. I have changed the link to a correct version schematic. Showing V ref to +5V

Well spo ...
  Topic: MCP4921 SPI D-A issues - Please help
123bally

Replies: 15
Views: 20797

PostForum: General CCS C Discussion   Posted: Thu May 09, 2013 11:51 am   Subject: MCP4921 SPI D-A issues - Please help
HI Asmboy, just to confirm:

CS signal and clock showing cs high to low before and low to high after clocking 2 x 8 bit cycles

http://s20.postimg.org/b1q5n5tcd/CS_Clock_SPI.jpg


Cheers Andy
  Topic: MCP4921 SPI D-A issues - Please help
123bally

Replies: 15
Views: 20797

PostForum: General CCS C Discussion   Posted: Thu May 09, 2013 11:41 am   Subject: MCP4921 SPI D-A issues - Please help
Here's the picture / Circuit...

Circuit: http://s20.postimg.org/q9aql9akt/Circuit.jpg

Scope of bits 15-8 showing command bits 0x30 (0011 0000)http://s20.postimg.org/k6tx3a7d9/20130509_163939_Sma ...
  Topic: MCP4921 SPI D-A issues - Please help
123bally

Replies: 15
Views: 20797

PostForum: General CCS C Discussion   Posted: Thu May 09, 2013 10:05 am   Subject: MCP4921 SPI D-A issues - Please help
Looking in more detail now and still finding nothing wrong. What is going on??

So I have hooked up a dig scope and checked signals. CS is being pulled low before and after spi write- so happy on th ...
  Topic: MCP4921 SPI D-A issues - Please help
123bally

Replies: 15
Views: 20797

PostForum: General CCS C Discussion   Posted: Thu May 09, 2013 8:28 am   Subject: MCP4921 SPI D-A issues - Please help
Hi

Thanks for the reply, Yes I spotted the mistake on the if statement just after posting.

Now changed to if (INC>=4095) - So now I ensure that I dont corrupt my command instruction - but s ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group