2017-12-06 07:07 AM
I have follow sequence in my linker script:
.test :
{ . = ALIGN(4); LONG ( _estack ) ; LONG ( Reset_Handler + 1 ); . = ALIGN(4); } >FLASH (=0x8000000 )Reset_Handler: /* 0x8001xxx */
ldr r0, =_estack /* Breakpoint */ mov sp, r0 /* set stack pointer */I don't come to that breakpoint instead some debugger errors with 0xffffffff
Is the reset described somewhere? Isn't a resetvector and stackpointer enough
to jump to
Reset_Handler are other vectors checked on reset?
Also my eclipse ac6 st-link debugger seems to have some problems with
multiple flash sections, while all compiling is fine I get error messages
can't write to flash address 0x8000000 I don't get with one flash section only
2017-12-06 07:34 AM
The ARM Technical Reference Manuals (TRM) for the core?
Review what you're actually writing to memory.
Make sure BOOT0 is pulled low.
Are you sure ResetHandler isn't already ODD?
If you load an EVEN address is will immediately Hard Fault, so have a vector for that if you want to catch it.