Hi, I'm new to embOS and I've been trying to build the example for an M16C processor in the IAR EW. I have not changed the example code at all yet and it is going to OS_ERROR with the stack error code when I try to run. Now, I'm not downloading to a board, I'm just trying to use the simulator with this at first. In the build window I see the following messages immediately after OS_InitKern() is executed:
Wed Jul 21 13:47:17 2010: The stack 'CSTACK' is filled to 100% (256 bytes used out of 256). The warning threshold is set to 90.%
Wed Jul 21 13:47:17 2010: The stack 'ISTACK' is filled to 100% (128 bytes used out of 128 ). The warning threshold is set to 90.%
I've tried setting the values in the lnkM16C.xcl linker file, and I've also tried adjusting the Stack Size and Interrupt stack size in Project->Options->General Options-> Stack/Heap. They are set right now at 256 and 128. I've tried changing those to 512 with the same results.
Wed Jul 21 13:47:17 2010: The stack 'CSTACK' is filled to 100% (256 bytes used out of 256). The warning threshold is set to 90.%
Wed Jul 21 13:47:17 2010: The stack 'ISTACK' is filled to 100% (128 bytes used out of 128 ). The warning threshold is set to 90.%
I've tried setting the values in the lnkM16C.xcl linker file, and I've also tried adjusting the Stack Size and Interrupt stack size in Project->Options->General Options-> Stack/Heap. They are set right now at 256 and 128. I've tried changing those to 512 with the same results.