a port output error by stack overflow - VxWorks
This is a discussion on a port output error by stack overflow - VxWorks ; hi A problem by stack overflow just came to me.I created a user task for process an exception.But the stack for the task is too small.The first size i set is 1024 bytes.But the real needed size is about 1800 ...
| | LinkBack | Tools |
|
#1
| |||
| |||
| A problem by stack overflow just came to me.I created a user task for process an exception.But the stack for the task is too small.The first size i set is 1024 bytes.But the real needed size is about 1800 bytes. Of course the stack overflow occurred.But an interesting problem appeared.When the system suspended,a GPIO port(pc15) has been set high level. If I added some debug code in the project(the stack size remained 1024 bytes ) and download.The stack overflow remained the same,but the pc15 output level became low(I expected)! Why this happened? I'm using vxworks and the processor is powerpc. regards, Su_sword |
« Previous Thread
|
Next Thread »
| Tools | |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| a port output error by stack overflow | Su_sword | VxWorks | 0 | 05-21-2009 10:22 AM |
| [PATCH] i386: Execute stack overflow warning on interrupt stack v2 | unix | Kernel | 1 | 07-18-2008 02:50 PM |
| [PATCH] i386: Execute stack overflow warning on interrupt stack | unix | Kernel | 12 | 05-05-2008 01:50 PM |
| DB2 stack overflow error. | unix | Websphere | 0 | 10-08-2007 04:50 PM |
| tDebugTask stack overflow - change the default stack size | unix | VxWorks | 3 | 10-02-2007 09:18 AM |
All times are GMT. The time now is 10:47 AM.
