I read through the documents that stated that the microlib doesn't support the Flash File System. I am curious if there's a work around for this. In the project, if I don't select the microlib checkbox, the code doesn't run correctly with RTX. I want to use the RTX OS but it seems like without the microlib, it doesn't jump to main when I started to debug. Any suggestions?
Thanks, Tom
Also, I found that it was not jumping to main because the startup file didn't specify an initial size for the heap. That was probably the main reason that it was not jumping to main.
The standard runtime library prints errors on _ttywrch() function. You can catch the errors if you install a buffer into this function and store characters there. If you have done that, you would see the printed message "Out of heap memory". This error would be printed from premain code.