hi cat,
thanks for pointing out it is a stack problem. initially I thought I have enough 8K RAM to store all the info.
I am using MC9S12NE64 in my embedded web project ( ANSW2836SW open TCPIP stack) and I created the array[500] in the function to store the info from browser. it works.
I started a new project file to test the keypad code and later I will copy the firmware to the original embedded web project file.
I had search through the data sheet of MC9S12NE64 and read the app note AN1064 (title: using the M68HC11 stack) but I still can't find how to solve this problem.
1. how to create an array with the size of array[500]?
2.how to find out the size of the stack
3. where is the address of stack?
4. any app note or documents that I can read further?
Message Edited by Wind on 2006-07-18 07:19 PM