hi
i am working an embedded project with keil mdk-arm compiler.
i am trying to access to external memory as heap,but after download my programe in my micro(my micro is lpc1788) it crash(without start main function) in startup.c file.
now any one can explain to me how can configure keil to use my external memory as heap.
thanks
aria
hi thanks for your response my problem was resolved,simply by add this line in scatter file :
startup_LPC177x_8x.o (STACK)
(strartup_LPC17x_8x is name of my startup.s file)
now my scatter file is below :
; ************************************************************* ; *** Scatter-Loading Description File generated by uVision *** ; ************************************************************* LR_IROM1 0x00000000 0x00080000 { ; load region size_region ER_IROM1 0x00000000 0x00080000 { ; load address = execution address *.o (RESET, +First) *(InRoot$$Sections) .ANY (+RO) } RW_IRAM1 0x10000000 0x00010000 { ; RW data startup_LPC177x_8x.o (STACK) .ANY (+RW +ZI) } }
again thanks