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

malloc trouble

Hi,
I am working with a hardware/firmware combination that have worked together previously, however I have just installed keil on a new computer. When I compile the firmware and program the AT91SAM7SE256 it will not run. I have commented out code and reduced the firmware to a flashing led (after hardware initiation) and found that as soon as a malloc function is included in the code, it breaks. It will still compile and program but the led will no longer flash, the debugger gives me no useful information.It seems that stdlib is being linked correctly as I can use other functions from it without an issue. Has anyone got any ideas of what could be going on?

P.S. I am new to keil development environment

Thanks for your help

0