This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Cypress AN2131 DevKit and Keil Compiler/Debugger

Hello,

I've been trying to understand how to configure the memory on my Cypress AN2131 EZ_USB Development Kit, using the Keil Debugger interface, and I am struggling to get it to work. I find that Malloc will not work when called from my C code. I intend to try to use the small model, with all my data variables in the first 6.8k of internal memory space, and with up to 64k of external program memory.

Also I hope to use a lot of pointers to access two-dimensional linked lists held within AN2131 Internal memory, and I am finding that fairly simple lines of C code result in 20 or more hex bytes. Is this as to be expected, or is there a compiler option which I am missing.

I'd be grateful for any help,

Andrew Murray

0