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 99 matches
CCS Forum Index
Author Message
  Topic: float operation not working on 16 bit parts
n-squared

Replies: 1
Views: 3482

PostForum: General CCS C Discussion   Posted: Mon Jun 03, 2013 1:06 am   Subject: float operation not working on 16 bit parts
Hi
I am trying to do simple float arithmetic on PIC24 parts.
Nothing seems to work right.

I am using PCD V4.140 (tried also V4.137).
MCU is PIC24FJ128GA106 (I also tried other parts).
MPLAB V8 ...
  Topic: PIC18F4550 USB CDC running creates an unknown device on PC
n-squared

Replies: 3
Views: 6401

PostForum: General CCS C Discussion   Posted: Wed Jan 16, 2013 12:27 pm   Subject: PIC18F4550 USB CDC running creates an unknown device on PC
Hi Ttelmah

Windows did not ask me for a driver.
How do I go about forcing the driver down its throat?

Best regards
Noam
  Topic: debug with dspic33EP
n-squared

Replies: 11
Views: 11694

PostForum: General CCS C Discussion   Posted: Wed Jan 16, 2013 10:20 am   Subject: debug with dspic33EP
Hi
I just posted a question which may also pertain to your problem.
I too noticed that the processor resets itself.
I entered View->Disassembly and single-stepped until I hit a POP instruction. ...
  Topic: dsPIC33EP256MU810 stack problem
n-squared

Replies: 0
Views: 2935

PostForum: General CCS C Discussion   Posted: Wed Jan 16, 2013 10:16 am   Subject: dsPIC33EP256MU810 stack problem
Hi
Did anyone succeed in using this part with CCS?
I hesitate to say it but I think I found a silicon bug in the POP instruction.
I single stepped the code in assembly and it looks like the POP ins ...
  Topic: PIC18F4550 USB CDC running creates an unknown device on PC
n-squared

Replies: 3
Views: 6401

PostForum: General CCS C Discussion   Posted: Wed Jan 16, 2013 10:12 am   Subject: PIC18F4550 USB CDC running creates an unknown device on PC
Hi
I have a PCB with a PIC18F4550 that works fine with the CCS HID demo.
When I try to use the CDC demo file (ex_usb_serial.c), I get an unknown device in Device Manager, under Other Devices called ...
  Topic: Porting SPI Eeprom Driver from Microchip
n-squared

Replies: 11
Views: 17704

PostForum: General CCS C Discussion   Posted: Wed Nov 14, 2012 3:11 am   Subject: Porting SPI Eeprom Driver from Microchip
Hi
Why don't you use #USE SPI with spi_xfer()?
This alleviates the need to deal with the registers.

BR
NN
  Topic: Porting SPI Eeprom Driver from Microchip
n-squared

Replies: 11
Views: 17704

PostForum: General CCS C Discussion   Posted: Tue Nov 13, 2012 11:27 pm   Subject: Porting SPI Eeprom Driver from Microchip
Hi
Which pins of the MCU are connected to the EEPROM's SS,SCK,DO and DI?
Are they the SPI hardware pins (except the SS which is a regular I/O pin)?
Do you actually "see" the data coming b ...
  Topic: Debugging 18F25K22
n-squared

Replies: 4
Views: 6927

PostForum: General CCS C Discussion   Posted: Tue Nov 13, 2012 11:17 pm   Subject: Debugging 18F25K22
Hi
Try adding the following to the header file:
#FUSES DEBUG

BR
NN
  Topic: #FUSES XINST?
n-squared

Replies: 7
Views: 13150

PostForum: General CCS C Discussion   Posted: Fri Oct 19, 2012 11:18 pm   Subject: #FUSES XINST?
From the PIC18F46J11 manual:
"
1.1.4 EXTENDED INSTRUCTION SET
The PIC18F46J11 family implements the optional
extension to the PIC18 instruction set, adding eight
new instructions and an Inde ...
  Topic: Hardware and Software Uart Problem
n-squared

Replies: 12
Views: 20950

PostForum: General CCS C Discussion   Posted: Fri Oct 19, 2012 12:45 pm   Subject: Hardware and Software Uart Problem
Hi
I wrote this code for PIC18F87J11 running at 32MHz, but it can be easily modified to run on almost any other device.
This code runs perfectly in a real product.
Notice that both external interr ...
  Topic: Multiple device connected by RS232
n-squared

Replies: 4
Views: 6079

PostForum: General CCS C Discussion   Posted: Wed Oct 10, 2012 10:00 am   Subject: Multiple device connected by RS232
I have implemented small networks using RS232 over the years.
What you do is connect TX of controller #1 to RX of controller #2, TX of #2 to RX of #3 .. TX of #n to RX of #1, so you have a ring topol ...
  Topic: USART problem on PIC18F67K22
n-squared

Replies: 5
Views: 9219

PostForum: General CCS C Discussion   Posted: Mon Oct 01, 2012 1:35 pm   Subject: USART problem on PIC18F67K22
You did not explain exactly the nature of the problem in output.
Try adding the following line after #device adc=8:


#device pass_strings=in_ram
  Topic: Timer can't run after reset. :confused:
n-squared

Replies: 21
Views: 21409

PostForum: General CCS C Discussion   Posted: Mon Oct 01, 2012 1:31 pm   Subject: Timer can't run after reset. :confused:

#int_timer0
void timer()
{
//do something
// you don't have to clear timer 0 as it already overflowed to zero.
}


#int_rb
void interrupt()
{
...
  Topic: Pickit2 for 18f67k22
n-squared

Replies: 7
Views: 13805

PostForum: General CCS C Discussion   Posted: Fri Apr 27, 2012 2:56 pm   Subject: Pickit2 for 18f67k22
Mikey,
you are right about the xx not applying to 14.
the 67 and 46 series, on the other hand, is not supported by PICkit2.
Personally, I prefer the the PICkit2 as it is much faster that the 3.

...
  Topic: Pickit2 for 18f67k22
n-squared

Replies: 7
Views: 13805

PostForum: General CCS C Discussion   Posted: Fri Apr 27, 2012 8:53 am   Subject: Pickit2 for 18f67k22
bolubeyi,
I am sorry but I don't understand the question.
You are using two compilers and PICkit3 and ???
BR
NN
 
Page 1 of 7 Goto page 1, 2, 3, 4, 5, 6, 7  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group