Author |
Message |
Topic: Some minor I2C problems |
Predator_MF
Replies: 2
Views: 5763
|
Forum: General CCS C Discussion Posted: Sun Jul 31, 2005 5:54 am Subject: Some minor I2C problems |
I hope it is just a typing error...
Yes, Ttelmah, actually it is.I didn't have the code in front of me when I posted it...sorry about that Let me explain some details...
struct
{byt ... |
Topic: Some minor I2C problems |
Predator_MF
Replies: 2
Views: 5763
|
Forum: General CCS C Discussion Posted: Sat Jul 30, 2005 5:01 am Subject: Some minor I2C problems |
I have the following code that makes my life shorter:
void Send_NVM_packet()
{int8 i,chksum,tmp;
chksum = 0;
i2c_start();
i2c_write(0xA0);
i2c_write ... |
Topic: A simple question about strings in CCS! |
Predator_MF
Replies: 5
Views: 9476
|
Forum: General CCS C Discussion Posted: Wed Jun 15, 2005 2:13 am Subject: A simple question about strings in CCS! |
@ckielstra, thanks alot. I know what about PIC architecture and so on. I told erlier that I've written many programs working with PIC12, PIC16 and PIC18 written with CCS. My question is more than simp ... |
Topic: A simple question about strings in CCS! |
Predator_MF
Replies: 5
Views: 9476
|
Forum: General CCS C Discussion Posted: Tue Jun 14, 2005 5:29 pm Subject: A simple question about strings in CCS! |
I'm using CCS since an year and more...anyways, I've tryed many times to run a simple code like this:
char* Hello()
{return "Hello"}
...
priintf("%S",He ... |
Topic: Got the "Out of ROM.." while writing interrupt |
Predator_MF
Replies: 5
Views: 7069
|
Forum: General CCS C Discussion Posted: Sat May 28, 2005 10:42 am Subject: Got the "Out of ROM.." while writing interrupt |
I forgot to login, this post above is mine |
Topic: Got the "Out of ROM.." while writing interrupt |
Predator_MF
Replies: 5
Views: 7069
|
Forum: General CCS C Discussion Posted: Thu May 26, 2005 3:31 am Subject: Got the "Out of ROM.." while writing interrupt |
Hi.
My problem is when I write smt into INT_RB interrupt, I get "Out of ROM" message. When I try to write Scan_Keys() function, I get the error, when I try to write anything else (like printf("bla ... |
Topic: PIC18F452 Bootloader-How to PLACE "#USE RS232" in |
Predator_MF
Replies: 8
Views: 12341
|
Forum: General CCS C Discussion Posted: Sat Mar 26, 2005 7:01 am Subject: PIC18F452 Bootloader-How to PLACE "#USE RS232" in |
a loader function what update the program under main program control..
This is exactly what I'm trying to do! Thanks alot... |
Topic: PIC18F452 Bootloader-How to PLACE "#USE RS232" in |
Predator_MF
Replies: 8
Views: 12341
|
Forum: General CCS C Discussion Posted: Sat Mar 26, 2005 5:51 am Subject: PIC18F452 Bootloader-How to PLACE "#USE RS232" in |
How hard this could be!!! However I try, the #USE RS232 code is always placed at some location that compilator have chosen. I've tryed a stand-alone code with #build (RESET = 0x7AFF) and the #USE RS23 ... |
Topic: PIC18F452 Bootloader-How to PLACE "#USE RS232" in |
Predator_MF
Replies: 8
Views: 12341
|
Forum: General CCS C Discussion Posted: Sat Mar 26, 2005 4:00 am Subject: PIC18F452 Bootloader-How to PLACE "#USE RS232" in |
As I understand #build shows the compilator where RESET and INTERRUPT vectors are placed. How exactly this would help me?
#use rs232(baud=500000,parity=N,xmit=PIN_C6,rcv=PIN_C7,bits=8,enable=PI ... |
Topic: crystal oscillator |
Predator_MF
Replies: 1
Views: 5107
|
Forum: General CCS C Discussion Posted: Sat Mar 26, 2005 3:17 am Subject: crystal oscillator |
I think your problem is in the crystals. Try buying them from another place...here in Bulgaria you'll find the same problem |
Topic: PIC18F452 Bootloader-How to PLACE "#USE RS232" in |
Predator_MF
Replies: 8
Views: 12341
|
Forum: General CCS C Discussion Posted: Sat Mar 26, 2005 3:13 am Subject: PIC18F452 Bootloader-How to PLACE "#USE RS232" in |
Hi everybody
So, this is my HUGE problem:
I've imlemented bootloader into my PIC. It's working fine until reaching the 10 lines generated by "#use RS232...". As these 10 lines are place ... |
|