Author |
Message |
Topic: Bootloader |
Heath
Replies: 1
Views: 2921
|
Forum: General CCS C Discussion Posted: Wed Apr 22, 2009 9:41 am Subject: Bootloader |
Is it possible for a bootloader to change all configuration bits? |
Topic: How to convert two hex values into a 16 bit representation. |
Heath
Replies: 6
Views: 7002
|
Forum: General CCS C Discussion Posted: Fri Apr 17, 2009 7:22 am Subject: How to convert two hex values into a 16 bit representation. |
I believe you would have to cast the y to a in16 before you shifted it; perhaps the same for the multiplication. |
Topic: #use RS232 question. |
Heath
Replies: 2
Views: 3764
|
Forum: General CCS C Discussion Posted: Thu Apr 16, 2009 7:34 am Subject: #use RS232 question. |
No, I'm not checking the parity. I am however doing a checksum. (There is a checksum embedded in the message.)
I'm using 4.064.
Thanks for the help! |
Topic: #use RS232 question. |
Heath
Replies: 2
Views: 3764
|
Forum: General CCS C Discussion Posted: Wed Apr 15, 2009 1:45 pm Subject: #use RS232 question. |
Hi guys,
I'm using this for my program to talk with devices using 9 bit communication.
#use rs232(STREAM=DV, baud=9600, xmit=PIN_G1, rcv=PIN_G2, PARITY=N, ENABLE=PIN_G0, BITS=9, LONG_DATA ... |
Topic: RealICE with CCS |
Heath
Replies: 4
Views: 5766
|
Forum: General CCS C Discussion Posted: Thu Apr 09, 2009 12:07 pm Subject: RealICE with CCS |
I programmed with the RealICE then verified it with another ICSP programmer that I have and it didn't check out.
Andrew, did you do anything special to make it work for you? |
Topic: RealICE with CCS |
Heath
Replies: 4
Views: 5766
|
Forum: General CCS C Discussion Posted: Thu Apr 09, 2009 10:46 am Subject: RealICE with CCS |
You don't have any problems programming; problems like I've described? |
Topic: RealICE with CCS |
Heath
Replies: 4
Views: 5766
|
Forum: General CCS C Discussion Posted: Thu Apr 09, 2009 10:41 am Subject: RealICE with CCS |
Hello,
Does anyone use the RealICE as a programmer after building with CCS?
I can 'successfully' program and verify the device. I say 'successfully' because once it is done the controller doesn' ... |
Topic: how to run #int_ext with tiny bootloader |
Heath
Replies: 5
Views: 6098
|
Forum: General CCS C Discussion Posted: Thu Apr 02, 2009 8:34 am Subject: how to run #int_ext with tiny bootloader |
Post a simple program that illustrates your problem please. |
Topic: 'union' question + CCS Compiler |
Heath
Replies: 3
Views: 7634
|
Forum: General CCS C Discussion Posted: Fri Mar 13, 2009 12:09 pm Subject: 'union' question + CCS Compiler |
As a quick answer, look up the #bit directive. Maybe that something like what you're looking for.
I think what you suggest is possible but your code doesn't look right to me. I haven't tested it th ... |
Topic: mcv.zip where are you? |
Heath
Replies: 6
Views: 5847
|
Forum: General CCS C Discussion Posted: Thu Mar 12, 2009 9:40 am Subject: mcv.zip where are you? |
I don't think that is allowed. Contact CCS support for the file.
[email protected] |
Topic: reading table,...pls help? |
Heath
Replies: 3
Views: 3415
|
Forum: General CCS C Discussion Posted: Mon Mar 09, 2009 9:29 am Subject: reading table,...pls help? |
Please give a small example of you reading this table. We can't help if we can't see how you're doing it.
For a quicker resolution, I suggest that you post a small, but full program for us to test. ... |
Topic: timer |
Heath
Replies: 1
Views: 2439
|
Forum: General CCS C Discussion Posted: Mon Mar 09, 2009 9:27 am Subject: timer |
The T2 options that you listed are defines that are specific to Timer 2 when you use the CCS timer setup functions.
For an explanation, look here:
http://www.ccsinfo.com/forum/viewtopic.php? ... |
Topic: #fuses Statement Failed in Mplab 8.15a with CCS compiler |
Heath
Replies: 4
Views: 4847
|
Forum: General CCS C Discussion Posted: Tue Dec 16, 2008 9:02 am Subject: #fuses Statement Failed in Mplab 8.15a with CCS compiler |
And what about the #use delay(clock=20000000, RESTART_WDT) statement? |
Topic: Can a pic be used as an RTC while sleeping? |
Heath
Replies: 15
Views: 21891
|
Forum: General CCS C Discussion Posted: Mon Jul 28, 2008 4:18 pm Subject: Can a pic be used as an RTC while sleeping? |
I believe on some of the PIC24s the RTCC (timer0) stays active. You could use that as a RTC. Check the documentation for your PIC. it will tell you what is active. |
Topic: Using a pointer to a pointer |
Heath
Replies: 6
Views: 8513
|
Forum: General CCS C Discussion Posted: Thu Jun 05, 2008 9:36 am Subject: Using a pointer to a pointer |
I just actually finished building a gateway device. I declared an array of my max amount.
The pic I am using has two euarts so I put one on the MODBUS side and the other on the controller side. I h ... |
|