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

Microlib removing issue

Hi everyone,

I'm developing a project with lpc2478.
Trying to access usb with fopen() it's always return error (even if i init, explore and format the usb correctly); searching around I read that using microlib will get some problem in stack and heap size, in particular with functions that works with file pointer (http://www.keil.com/support/man/docs/armlib/armlib_bajdadjh.htm).
Removing the flag on Use Microlib option (in Option-> Target) the application doesn't work anymore (in debug the code can't reach the main() ).
I read this post http://www.keil.com/support/docs/3340.htm to understand how microlib works on stacks and heap, but when I remove the asm code line from lpc2400.s file, after compiling I get this error:(on assembling LPC2400.s) A1100E: Structure stack underflow.

Any advice to how remove the Microlib option in some other way or how can I solve this issue?

Thanks in advance.