Author |
Message |
Topic: Unable to use 16F877's PIN B7 |
palyancodr
Replies: 4
Views: 7993
|
Forum: General CCS C Discussion Posted: Wed Jul 09, 2014 5:37 pm Subject: Unable to use 16F877's PIN B7 |
Thank you:) |
Topic: Unable to use 16F877's PIN B7 |
palyancodr
Replies: 4
Views: 7993
|
Forum: General CCS C Discussion Posted: Wed Jul 09, 2014 4:52 pm Subject: Unable to use 16F877's PIN B7 |
Thanks for informing, how can i exclude the pin b7? |
Topic: Unable to use 16F877's PIN B7 |
palyancodr
Replies: 4
Views: 7993
|
Forum: General CCS C Discussion Posted: Wed Jul 09, 2014 3:43 pm Subject: Unable to use 16F877's PIN B7 |
Hi,
I don't know why, i am unable to set high or low of 16F877's PIN B7. I think it's because i use port b for lcd. How can i use that pin. I am out of free pin:)
Here is the code:
#inc ... |
Topic: 16F877A getting stack overflow, why? *** Locked |
palyancodr
Replies: 26
Views: 35580
|
Forum: General CCS C Discussion Posted: Thu Feb 27, 2014 3:40 pm Subject: 16F877A getting stack overflow, why? *** Locked |
As ckielstra shows, we have a common problem here. He choose being destructive instead of constructive. It is so said that how Microchip guys differ from ATMEL guys. Have a look at their forums, they ... |
Topic: 16F877A getting stack overflow, why? *** Locked |
palyancodr
Replies: 26
Views: 35580
|
Forum: General CCS C Discussion Posted: Thu Feb 27, 2014 3:28 pm Subject: 16F877A getting stack overflow, why? *** Locked |
The original poster is working on some new product that he is trying to sell commercially, at least that is what I gather from the remark about his company's patent lawyers.
He is developing code on ... |
Topic: 16F877A getting stack overflow, why? *** Locked |
palyancodr
Replies: 26
Views: 35580
|
Forum: General CCS C Discussion Posted: Thu Feb 27, 2014 3:05 pm Subject: 16F877A getting stack overflow, why? *** Locked |
the first 10 lines of code will show the obvious problem and the easy solution
Do you need the first 10 line of code?
(beats shovelling snow at -15*C)
stay warm;) |
Topic: 16F877A getting stack overflow, why? *** Locked |
palyancodr
Replies: 26
Views: 35580
|
Forum: General CCS C Discussion Posted: Thu Feb 27, 2014 3:02 pm Subject: 16F877A getting stack overflow, why? *** Locked |
adding #device *=16 did not solved the problem.
Why do you think this can happen ladies and gentlemen? Do you think that 16f877 can't handle the calls? Since when i remove 4 line of printf funct ... |
Topic: 16F877A getting stack overflow, why? *** Locked |
palyancodr
Replies: 26
Views: 35580
|
Forum: General CCS C Discussion Posted: Thu Feb 27, 2014 2:27 pm Subject: 16F877A getting stack overflow, why? *** Locked |
So you want help on super secret and advanced 877A' code which you are clearly simulating in proteus, mean while we have to interprete what YOU interpret as the fault which is most likely proteus but ... |
Topic: 16F877A getting stack overflow, why? *** Locked |
palyancodr
Replies: 26
Views: 35580
|
Forum: General CCS C Discussion Posted: Thu Feb 27, 2014 11:37 am Subject: 16F877A getting stack overflow, why? *** Locked |
I use none of those.
We have patent lawyers that can deal after math. For know it is not a good idea to share the code online that's why. |
Topic: 16F877A getting stack overflow, why? *** Locked |
palyancodr
Replies: 26
Views: 35580
|
Forum: General CCS C Discussion Posted: Thu Feb 27, 2014 8:58 am Subject: 16F877A getting stack overflow, why? *** Locked |
Another strange fact, I am using 2x16 lcd. At that lcd i show some real time readings that i get from timer1 as timer. |
Topic: 16F877A getting stack overflow, why? *** Locked |
palyancodr
Replies: 26
Views: 35580
|
Forum: General CCS C Discussion Posted: Thu Feb 27, 2014 8:40 am Subject: 16F877A getting stack overflow, why? *** Locked |
I would like to share the code however it requires so many knowledge to understand and it will be inappropriate since we have competitors trying to copy what we do.
I would like to assist you with ... |
Topic: 16F877A getting stack overflow, why? *** Locked |
palyancodr
Replies: 26
Views: 35580
|
Forum: General CCS C Discussion Posted: Thu Feb 27, 2014 7:29 am Subject: 16F877A getting stack overflow, why? *** Locked |
As you should know had you read the datasheet carefully, this PIC, like most has a fixed hardware stack. You can't "manage" it. It simply "is".
That is what i know.
The quest ... |
Topic: 16F877A getting stack overflow, why? *** Locked |
palyancodr
Replies: 26
Views: 35580
|
Forum: General CCS C Discussion Posted: Thu Feb 27, 2014 12:11 am Subject: 16F877A getting stack overflow, why? *** Locked |
Hi newguy,
this is not a proteus question. The proteus only provides me the simulation results.
As you can see from the previous posts, i am getting stack overflow. I don't really know the reas ... |
Topic: 16F877A getting stack overflow, why? *** Locked |
palyancodr
Replies: 26
Views: 35580
|
Forum: General CCS C Discussion Posted: Wed Feb 26, 2014 11:25 pm Subject: 16F877A getting stack overflow, why? *** Locked |
my apologies, i did not see your questions at the end of your message. I am simulating my .hex at proteus so it is giving me this error. |
Topic: 16F877A getting stack overflow, why? *** Locked |
palyancodr
Replies: 26
Views: 35580
|
Forum: General CCS C Discussion Posted: Wed Feb 26, 2014 11:15 pm Subject: 16F877A getting stack overflow, why? *** Locked |
ok, so how to increase the stack location? |
|