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 7 matches
CCS Forum Index
Author Message
  Topic: VDrive2 via UART
paolope

Replies: 7
Views: 16774

PostForum: General CCS C Discussion   Posted: Mon Feb 20, 2012 4:09 am   Subject: VDrive2 via UART
I became crazy with this unit (VNC2), but then I discovered:

1) no puts()! because adds 0x0a and this damn unit accepts the command, interprests a second one and answers Bad command (or uses 0x0a a ...
  Topic: software rs232
paolope

Replies: 7
Views: 9076

PostForum: General CCS C Discussion   Posted: Fri Feb 17, 2012 2:21 am   Subject: software rs232
Unfortunately I had the "nice" idea to migrate from a 18f2523 to a 18f26k80 on an existing PCB, with "just a couple of wires".
So, as usual, I got extra sw and extra hassle.
pa ...
  Topic: 18f26k80 oscillator
paolope

Replies: 4
Views: 6499

PostForum: General CCS C Discussion   Posted: Thu Feb 16, 2012 10:43 am   Subject: 18f26k80 oscillator
Mr Murphy states that 'things left alone go from bad to worse'...
in effect NOIESO crashes the debugger-ICDU64 which is then not able to control the PIC, so nothing new happens
  Topic: 18f26k80 oscillator
paolope

Replies: 4
Views: 6499

PostForum: General CCS C Discussion   Posted: Thu Feb 16, 2012 8:40 am   Subject: 18f26k80 oscillator
Here is adc.h:

#include <18f26k80.h>
#device icd=true
#device *=16
#device adc=16
#FUSES SOSC_DIG,HSM,PUT// PC0 PC1 I/O,MEDIUM PWR OSC
#use delay(crystal=6.144M)

nothing else
  Topic: software rs232
paolope

Replies: 7
Views: 9076

PostForum: General CCS C Discussion   Posted: Thu Feb 16, 2012 3:46 am   Subject: software rs232
hello,

I chose pic18f26k80 for its 2xUART, but the second shares the pins with ICDU64 so I think to use a sw rs232.
The question is
running it at say 9600, is it interruptable?
paolo
  Topic: 18f26k80 oscillator
paolope

Replies: 4
Views: 6499

PostForum: General CCS C Discussion   Posted: Thu Feb 16, 2012 3:42 am   Subject: 18f26k80 oscillator
hello,
whatever I do, the chip runs at about 7.97Mhz (internal RC)

I tried with #use delay (crystal=6.144M)
I tried with #fuses HSM or even HSH.


Any idea?
I feel very stupid and frustrated. ...
  Topic: Avionic SW
paolope

Replies: 1
Views: 2510

PostForum: General CCS C Discussion   Posted: Fri May 29, 2009 6:49 am   Subject: Avionic SW
Hello!

I was asked to design an avionic display (general aviation) for values such as cabin temperature.

Is there any chance to use successfully a PIC with CCS C? has anybody done that?

Paolo
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group