Question
big problem with memory
Posted on March 06, 2014 at 04:44
hello everyone
today I have problem with memory but I cannot solve I don't know it relate stack and heap or not. in startupcode file, Iinitialize
stack_size : 0x00013000 and heap_size : 0x00006000 because I read on this page http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0203g/Beiddiij.html when debug, it jump to HardFault_Handler() and display statement: cannot access memory. I record the value of stack pointer register (SP), program counter (PC), Link register (LR) ------START----- SP: 0x20019258 LR: 0x080002CB PC: 0x080067D0 -----BEFORE DIED------ SP: 0x20019218 LR: 0x80062F9 PC: 0x08006F92 -----DIED----- SP: 0x200191B0 LR: 0xFFFFFFE9 PC: 0x0800052A can anyone help me? thank in advance!