AnsweredAssumed Answered

big problem with memory

Question asked by huy.truong on Mar 6, 2014
Latest reply on Mar 6, 2014 by Clive One
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, I initialize 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!

Outcomes