Author |
Message |
Topic: Program code now and eeprom later |
Fro_Guy
Replies: 5
Views: 11899
|
Forum: General CCS C Discussion Posted: Tue Sep 26, 2006 9:32 am Subject: Program code now and eeprom later |
Hi
I dont know if this is what you are asking but i had a problem where i had to change the eeprom whenever i have had to write a new PIC. What i did was write a program to change the eeprom to th ... |
Topic: interrupts causes chip to freeze after intput() command |
Fro_Guy
Replies: 8
Views: 9488
|
Forum: General CCS C Discussion Posted: Mon Jul 10, 2006 2:47 pm Subject: interrupts causes chip to freeze after intput() command |
You said it may be the serial, did you put the the errors into yout #use rs232 statement?
ie.
#use rs232(errors,baud=56000,parity=N,ENABLE=PIN_C5,xmit=PIN_C6,rcv=PIN_C7,bits=8)
If there is an e ... |
Topic: Serial comm's over USB, how do I send commands over hyperter |
Fro_Guy
Replies: 12
Views: 15600
|
Forum: General CCS C Discussion Posted: Mon Jul 10, 2006 2:29 pm Subject: Serial comm's over USB, how do I send commands over hyperter |
Sounds like proplbems with hyper terminal, try to open the port with brays terminal and make sure all the port setting are set correctly
http://bray.velenje.cx/avr/terminal/
If that dosent work i wo ... |
Topic: Merging hex files |
Fro_Guy
Replies: 2
Views: 5121
|
Forum: General CCS C Discussion Posted: Fri Jun 23, 2006 11:49 am Subject: Merging hex files |
You are being kind of vauge, and i dont know what you are really trying to do. How are you programming there, are you putting a bootloader on the PIC's and using the built in functions? you have to ... |
Topic: milliseconds counter |
Fro_Guy
Replies: 7
Views: 9054
|
Forum: General CCS C Discussion Posted: Sat Jun 17, 2006 11:23 am Subject: milliseconds counter |
Well what i would do is have the intrupt and have a counter to 10 in it, and when it dose get to 10 then set a flag it indicate it is done and reset the counter. Have you main loop on your program lo ... |
Topic: milliseconds counter |
Fro_Guy
Replies: 7
Views: 9054
|
Forum: General CCS C Discussion Posted: Sat Jun 17, 2006 9:51 am Subject: milliseconds counter |
What are you doing in your intrupts? If there is alot going on when you overflow your timer then that can cause an issue. Also what other intrups are you using? Also what clock spped are you using o ... |
Topic: Context saving with #int global |
Fro_Guy
Replies: 2
Views: 6362
|
Forum: General CCS C Discussion Posted: Fri Jun 16, 2006 6:38 am Subject: Context saving with #int global |
Thanks for the help!!!
Fro Guy |
Topic: Context saving with #int global |
Fro_Guy
Replies: 2
Views: 6362
|
Forum: General CCS C Discussion Posted: Thu Jun 15, 2006 2:25 pm Subject: Context saving with #int global |
I am working on my own intrupt handler for a PIC16F877, and it seems like i am having problems with the context saving. I can get the interupts to work fine if say for the serial, timers and ect. if ... |
Topic: Storing number problem |
Fro_Guy
Replies: 6
Views: 10742
|
Forum: General CCS C Discussion Posted: Tue May 30, 2006 9:57 am Subject: Storing number problem |
Make you varable a int32. long is 16 bit in the compiler, so your overflowing your varrable
Cheers |
Topic: LCD 1 Large line in 2 lines |
Fro_Guy
Replies: 4
Views: 5856
|
Forum: General CCS C Discussion Posted: Fri May 19, 2006 2:52 pm Subject: LCD 1 Large line in 2 lines |
You could but looking at the LCD's i have there are gaps between the writeable area. You could make your own charcters by writing to the charcter ram, and say write a block of 4 of them to make your ... |
Topic: CCS TAKES LONG BLANK BLOCK OF MEMORY |
Fro_Guy
Replies: 10
Views: 14202
|
Forum: General CCS C Discussion Posted: Wed May 03, 2006 1:55 pm Subject: CCS TAKES LONG BLANK BLOCK OF MEMORY |
Keep you main function in 1 bank and small. Take your code that you do have, and make subroutines out of them to make the main function small. In your code when u have a block of fyunctions, take ea ... |
Topic: problem with data types |
Fro_Guy
Replies: 1
Views: 3704
|
Forum: General CCS C Discussion Posted: Wed Apr 26, 2006 9:56 am Subject: problem with data types |
try using %U |
|