Author |
Message |
Topic: Debug Flash rom addresses. |
John_Rio
Replies: 2
Views: 21502
|
Forum: CCS ICD / Mach X / Load-n-Go Posted: Sun Mar 26, 2006 1:51 pm Subject: Debug Flash rom addresses. |
Thats is why i am asking.
I remember using this function in Microchips ICD, but i can't find it in CCS. |
Topic: Debug Flash rom addresses. |
John_Rio
Replies: 2
Views: 21502
|
Forum: CCS ICD / Mach X / Load-n-Go Posted: Sat Mar 25, 2006 10:50 pm Subject: Debug Flash rom addresses. |
Hi.
I have made a program that by the ORG statement stores downloaded data (via serial port) in the Flash ROM area (for use in a PLC like system)
With my debugger i can't see the actual ROM area (M ... |
Topic: Decoder for B&O remote control. |
John_Rio
Replies: 4
Views: 43291
|
Forum: Code Library Posted: Tue Mar 01, 2005 1:56 pm Subject: Done the edit. |
Hi,
Sorry about the mistake.
I didnt know posts could be edited after posting.
I can though not find a way to delete my correction post !!
John |
Topic: Decoder for B&O remote control. |
John_Rio
Replies: 4
Views: 43291
|
Forum: Code Library Posted: Fri Feb 25, 2005 2:42 pm Subject: UPS. A small code mistake. |
The code in Check_Start _Stop is wrong.
It has to be:
IF (time[1]<5250 || time[1]>10500) {fejl=1;Break;}
IF (time[2]<5250 || time[2] ... |
Topic: Decoder for B&O remote control. |
John_Rio
Replies: 4
Views: 43291
|
Forum: Code Library Posted: Fri Feb 25, 2005 2:10 pm Subject: Decoder for B&O remote control. |
I was looking a long time for something like this, but ended up doing it by myself.
I anybody wants it, here it is.
The input B0 is connected to a infrared link receiver (B&O product) that giv ... |
Topic: Change of pin function if ICD disabled |
John_Rio
Replies: 3
Views: 6630
|
Forum: General CCS C Discussion Posted: Thu Feb 24, 2005 12:58 pm Subject: Thanks. |
That did it.
I was not aware of that.
Once again thanks. |
Topic: Change of pin function if ICD disabled |
John_Rio
Replies: 3
Views: 6630
|
Forum: General CCS C Discussion Posted: Thu Feb 24, 2005 12:12 pm Subject: Change of pin function if ICD disabled |
Hi.
I have a strange little problem.
I have the folloving code in my timer interrupt routine.
IF(milsec++ == 100){decisec++; milsec=0;output_toggle(PIN_B5);}
This works fine when the statement ... |
Topic: ICD-U40 Problem "Could not start target" |
John_Rio
Replies: 3
Views: 38790
|
Forum: CCS ICD / Mach X / Load-n-Go Posted: Sat Jan 29, 2005 2:40 pm Subject: LED's |
It was the led's.
Now it's running fine.
Thanks for the help.
John |
Topic: ICD-U40 Problem "Could not start target" |
John_Rio
Replies: 3
Views: 38790
|
Forum: CCS ICD / Mach X / Load-n-Go Posted: Fri Jan 28, 2005 8:35 pm Subject: ICD-U40 Problem "Could not start target" |
Hi.
I have made my own board with a 18F252 chip.
When i try to download / debug the target, i get the following message:
"could not start target: The target was not halted after reset. Check osc. a ... |
Topic: How to read output. |
John_Rio
Replies: 4
Views: 7570
|
Forum: General CCS C Discussion Posted: Sat Jan 22, 2005 3:22 pm Subject: How to read output. |
Thanks a lot.
That did it.
#bit powerbit=0xF81.4
if (powerbit) Outbuffer[5]='0'; else Outbuffer[5]='1';
I'am using 18F452 so i had to change the register address.
Thanks a lot.[/list] |
Topic: How to read output. |
John_Rio
Replies: 4
Views: 7570
|
Forum: General CCS C Discussion Posted: Sat Jan 22, 2005 2:30 pm Subject: How to read output. |
I already tried the one you mentione here if (input(pin_b4) ....
The problem is that this sets the pin as an input.
I am looking for a way to read the actual output.
John |
Topic: How to read output. |
John_Rio
Replies: 4
Views: 7570
|
Forum: General CCS C Discussion Posted: Sat Jan 22, 2005 1:58 pm Subject: How to read output. |
Hi,
I'am new in using the C & CCS compiler.
I have made a program the sets or clears outputs on the pic.
how can i read the actual state on a pin.
i tried:
if (pin_b4) do_what_ever; else do_s ... |
|