Memory problems with KDS 3.0 and K64

cancel
Showing results for 
Search instead for 
Did you mean: 

Memory problems with KDS 3.0 and K64

250 Views
Contributor II

Hi, I’m using Kinetis studio 3.0. which I think is wonderful IDE. However I have problem that I hope somebody could help me. In my project I have several arrays and the pretty big, between 1K to 8K of unint8_t and uint16_t. Some of them are local and some are global. Also I have global data for the ISR. I’m developing in a bareboard proyect and I’m using an MK64 with a 1Mb of flash and 256 Kb of RAM. My problem is the next:

I have a global variable called rxUART that contains information for the UART and a FIFO. Also I have an array like this uint16_t pointers [2048]. Everything works ok until I clean the content of pointers, when I do this the values in rxUART goes to zero. It seems like stack stack overflow, however both are global data. The same project works well in code warrior 10.6, so I think I need to configure the memory map for the K64 in the KDS 3.0. Some body can tell how can I do this? I want to use all the memory resource (256K) without heap.

Regards

Labels (1)
0 Kudos
2 Replies

56 Views
Contributor I

Hi Mike,

Should be nice if you could explain how you fixed the issue.

0 Kudos

56 Views
Contributor II

I just resolved the problem

0 Kudos