Hello,
I'm getting an error in uVision where I get a pop-up that says "Out of Memory" than uVision freezes.
I have a project and I can compile and download to my target without any problems. The error occur when I begin to debug.
uVision says "Loading Object code" in the status bar and it slowly moves up to 100% than the error occurs.
However, if I change the scatter-loading file to have more of the code in internal flash I don't get this error.
Does anyone have any idea why this error would occur? How is my scatter-loading affecting the debugger's Loading Object code?
Thanks.
Marc
Hi,
can you please send your code example (to reproduce the problem) and your Keil µVision Version details to the Keil support?
BR, /th.
I have had this problem too yesterday. I was trying to adapt the scatterfile to my needs. Somehow the uvision was reacting strange after debugging started. I saw that it had consumed something like 1.7 GByte ! It was not possible to close the uvision although some menu items were still accessible.
I changed the scatter file and gone was the problem.
What version ok uVision or MDK?
I use the following version on a Win7 pc:
IDE-Version: µVision V4.21.0.0
Tool Version Numbers: Toolchain: MDK-ARM Basic (256K) Version: 4.21 Toolchain Path: BIN40\ C Compiler: Armcc.Exe V4.1.0.713 Assembler: Armasm.Exe V4.1.0.713 Linker/Locator: ArmLink.Exe V4.1.0.713 Librarian: ArmAr.Exe V4.1.0.713 Hex Converter: FromElf.Exe V4.1.0.713 CPU DLL: SARMCM3.DLL V4.21 Dialog DLL: DARMSTM.DLL V1.62 Target DLL: BIN\ULP2CM3.DLL V2.58 Dialog DLL: TARMSTM.DLL V1.60