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 32 matches
CCS Forum Index
Author Message
  Topic: help for improper use of a function in ccs
icesynth

Replies: 5
Views: 13952

PostForum: General CCS C Discussion   Posted: Wed May 11, 2011 11:52 pm   Subject: help for improper use of a function in ccs
Agreed, this error is usually caused by a curly bracket missing in the previous function.
  Topic: RESTART_TRAP_CONFLICT on PIC33FJ256GP710
icesynth

Replies: 2
Views: 7124

PostForum: General CCS C Discussion   Posted: Wed May 11, 2011 3:18 pm   Subject: RESTART_TRAP_CONFLICT on PIC33FJ256GP710
Because of a compiler directive oversight, the #int_rda2 was never being called and the default interrupt handler was being called instead.

Compiler Version 4.120
  Topic: RESTART_TRAP_CONFLICT on PIC33FJ256GP710
icesynth

Replies: 2
Views: 7124

PostForum: General CCS C Discussion   Posted: Wed May 11, 2011 11:53 am   Subject: RESTART_TRAP_CONFLICT on PIC33FJ256GP710
I am using a PIC33FJ256GP710 device and when it is sent a character on the serial port (UART2) the device will reset during the reset cause as RESTART_TRAP_CONFLICT.

The UART is set up as a stream: ...
  Topic: Cannot write SPI2CON1 Register...
icesynth

Replies: 3
Views: 4839

PostForum: General CCS C Discussion   Posted: Tue Feb 09, 2010 12:18 am   Subject: Solved
Thanks for the tip, it turns out that the SPI module must be disabled before the mode is changed.
  Topic: Cannot write SPI2CON1 Register...
icesynth

Replies: 3
Views: 4839

PostForum: General CCS C Discussion   Posted: Tue Feb 09, 2010 12:05 am   Subject: Cannot write SPI2CON1 Register...
Updated the code and the result to show the value before writing....
  Topic: Cannot write SPI2CON1 Register...
icesynth

Replies: 3
Views: 4839

PostForum: General CCS C Discussion   Posted: Mon Feb 08, 2010 11:03 pm   Subject: Cannot write SPI2CON1 Register...
I am trying to write the SPI2CON1 register, and it is not accepting the value written to it:


#fuses XT, PR_PLL, NOCOE, NOWRTB, NOPUT, NOWRTSS, NOPROTECT, NORSS, NOWDT, NOWINDIS

#FUSES NOWRT ...
  Topic: SPI_H_TO_L idling low?
icesynth

Replies: 7
Views: 10696

PostForum: General CCS C Discussion   Posted: Sat Feb 06, 2010 12:08 pm   Subject: SPI_H_TO_L idling low?
Found a workaround,

It seems that as long as I do not call spi_setup() or spi_setup2() anywhere in the code then it works fine with manually setting the bits and enabling the hardware. The spi_read ...
  Topic: How to show a int16 in four 7segment display
icesynth

Replies: 2
Views: 3201

PostForum: General CCS C Discussion   Posted: Thu Feb 04, 2010 11:29 am   Subject: How to show a int16 in four 7segment display

int8 i8_digit1, i8_digit2, i8_digit3, i8_digit4;
int16 i16_sourcenumber = 0xABCD;

i8_digit1 = (int8)( i16_sourcenumber & 0x000F );
i8_digit2 = (int8) ...
  Topic: SPI_H_TO_L idling low?
icesynth

Replies: 7
Views: 10696

PostForum: General CCS C Discussion   Posted: Sat Jan 30, 2010 12:39 am   Subject: SPI_H_TO_L idling low?
Hmm... Still no go even when configuring the registers directly. Weird thing is that it is working if changed to SPI1, but does not seem to have an effect on SPI2 no matter what configuration bits are ...
  Topic: production gang programming
icesynth

Replies: 5
Views: 6810

PostForum: General CCS C Discussion   Posted: Fri Jan 29, 2010 11:15 am   Subject: production gang programming
Have you considered getting Microchip to load in a boot loader?

Then you can use USB / Serial to program the units on the production line, and if your application changes, it's easy to just start p ...
  Topic: SPI_H_TO_L idling low?
icesynth

Replies: 7
Views: 10696

PostForum: General CCS C Discussion   Posted: Fri Jan 29, 2010 9:15 am   Subject: SPI_H_TO_L idling low?
Thanks!

I'll give it a try here and let you know what happens.
  Topic: SPI_H_TO_L idling low?
icesynth

Replies: 7
Views: 10696

PostForum: General CCS C Discussion   Posted: Fri Jan 29, 2010 1:22 am   Subject: SPI_H_TO_L idling low?
I am having an issue with the idle clock level during the SPI setup, code used to initialize and send a character is below. When initialized, the idle clock level stays low.


//******************* ...
  Topic: What happen with this code?
icesynth

Replies: 12
Views: 9389

PostForum: General CCS C Discussion   Posted: Tue Jan 26, 2010 9:28 am   Subject: What happen with this code?
I see that the pic is continually resetting

And a reason for you saying WHY you think it is continually resetting would be helpful as well...

ie: "I see that the pic is continually resettin ...
  Topic: keypad scanning in 1 sec.. how??? -help pls-
icesynth

Replies: 3
Views: 3867

PostForum: General CCS C Discussion   Posted: Mon Jan 25, 2010 11:09 am   Subject: keypad scanning in 1 sec.. how??? -help pls-
Think I know what you mean... You can use the Timer to generate an interrupt every second and then call your scanning routine from the interrupt.

See the CCS example files for the timer code exampl ...
  Topic: What happen with this code?
icesynth

Replies: 12
Views: 9389

PostForum: General CCS C Discussion   Posted: Sun Jan 24, 2010 7:23 pm   Subject: What happen with this code?
With respect to:


ON(LEDR);
Delay_ms(1000);
OFF(LEDR);


Does the LED change state at powerup?

If you meter the pins to the PIC, can you see the signal changing?
...
 
Page 1 of 3 Goto page 1, 2, 3  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group