Author |
Message |
Topic: Printf(), putc() behaviour regarding hanging processor |
darrepac
Replies: 8
Views: 12129
|
Forum: General CCS C Discussion Posted: Thu Feb 17, 2005 2:39 pm Subject: Printf(), putc() behaviour regarding hanging processor |
Ok thanks in fact I have done a mistake in my reading causing me troubles to understand...now it is far clearer |
Topic: Printf(), putc() behaviour regarding hanging processor |
darrepac
Replies: 8
Views: 12129
|
Forum: General CCS C Discussion Posted: Thu Feb 17, 2005 2:15 pm Subject: Printf(), putc() behaviour regarding hanging processor |
I have the impression that Interrupt are disabled during putc()...but I am not sure at all , does someone could confirm?
thanks! |
Topic: Printf(), putc() behaviour regarding hanging processor |
darrepac
Replies: 8
Views: 12129
|
Forum: General CCS C Discussion Posted: Thu Feb 17, 2005 7:26 am Subject: Printf(), putc() behaviour regarding hanging processor |
shame :-( |
Topic: Printf(), putc() behaviour regarding hanging processor |
darrepac
Replies: 8
Views: 12129
|
Forum: General CCS C Discussion Posted: Wed Feb 16, 2005 10:23 am Subject: Printf(), putc() behaviour regarding hanging processor |
Just agin to be sure, interruption are still working during a printf()? |
Topic: Printf(), putc() behaviour regarding hanging processor |
darrepac
Replies: 8
Views: 12129
|
Forum: General CCS C Discussion Posted: Wed Feb 16, 2005 8:29 am Subject: Printf(), putc() behaviour regarding hanging processor |
It was also my asumption and that's why I have done like this too...but I wanted to check, to be sure I am doing work for nothing |
Topic: Printf(), putc() behaviour regarding hanging processor |
darrepac
Replies: 8
Views: 12129
|
Forum: General CCS C Discussion Posted: Wed Feb 16, 2005 8:23 am Subject: Printf(), putc() behaviour regarding hanging processor |
Hi All,
I have a question since a long time... Does the PIC need to wait the transfert over RS232 during a printf(0 or putc() function? or is there somewhere a buffer to prevent that?
With example ... |
Topic: MPLAB Simulator usage with CCS |
darrepac
Replies: 8
Views: 11612
|
Forum: General CCS C Discussion Posted: Thu Feb 03, 2005 9:18 am Subject: MPLAB Simulator usage with CCS |
OK, I finally found the disassembly listing view which is far easier for me... |
Topic: MPLAB Simulator usage with CCS |
darrepac
Replies: 8
Views: 11612
|
Forum: General CCS C Discussion Posted: Thu Feb 03, 2005 8:25 am Subject: MPLAB Simulator usage with CCS |
Ok by doing the small test program and seeing that it works I have found from where the mistake come.. In fact it doesn't work if I put for example a breakpoint on the if statement but it works well o ... |
Topic: MPLAB Simulator usage with CCS |
darrepac
Replies: 8
Views: 11612
|
Forum: General CCS C Discussion Posted: Thu Feb 03, 2005 8:14 am Subject: MPLAB Simulator usage with CCS |
I am using CCS 3.181 and MPLAB 7.0... for a small program test I will try to do it... |
Topic: MPLAB Simulator usage with CCS |
darrepac
Replies: 8
Views: 11612
|
Forum: General CCS C Discussion Posted: Wed Feb 02, 2005 4:06 pm Subject: MPLAB Simulator usage with CCS |
Fine!
How are you using it? you are simulating with only the C code? not the corresponding assembler code?
Is there a trick to be able to put a breakpoint?
Thanks! |
Topic: MPLAB Simulator usage with CCS |
darrepac
Replies: 8
Views: 11612
|
Forum: General CCS C Discussion Posted: Wed Feb 02, 2005 3:23 pm Subject: MPLAB Simulator usage with CCS |
Nobody is using MPLAB Simulator with CCS?
If you have other simulator (free if possible) to recommend...I am open. |
Topic: MPLAB Simulator usage with CCS |
darrepac
Replies: 8
Views: 11612
|
Forum: General CCS C Discussion Posted: Tue Feb 01, 2005 2:51 pm Subject: MPLAB Simulator usage with CCS |
Hello,
Thanks to the forum I have succesfully integrated CCS uinto MPLA... Now I can compile. Now I want to use the MPLAB Simulator to test my program... I only see the C code of my program and eac ... |
Topic: Workaround for timer latency |
darrepac
Replies: 22
Views: 33301
|
Forum: General CCS C Discussion Posted: Thu Jan 20, 2005 2:42 pm Subject: Workaround for timer latency |
Ok Let's Go!
First of all, come back from work I have tested again my first original code (you always need a reference before to apply changes)....Oh! It is workign nicely with a good fixed time fo ... |
Topic: Workaround for timer latency |
darrepac
Replies: 22
Views: 33301
|
Forum: General CCS C Discussion Posted: Thu Jan 20, 2005 8:14 am Subject: Workaround for timer latency |
ok I will do this, and other tricks you told me, this evening....
Thanks, keep you in touch! |
Topic: Workaround for timer latency |
darrepac
Replies: 22
Views: 33301
|
Forum: General CCS C Discussion Posted: Thu Jan 20, 2005 8:02 am Subject: Workaround for timer latency |
Ok I understand that you want me to do somehow a frequency divider by 2...ok I can try and see the level 0 and 1 time in that case...
But for Maybe you counting rise and fall times in the 0 state? wh ... |
|