This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Error: __vector_table not found when dowloading

Using STM32F103ZE and IAR Embedded Workbench IDE 5.4 using assembler (no C).

The program assembles and links with no errors.
When selecting "download and debug" option the following errors occur:

Warning: __vector_table symbol not found.
E-entry value: 0x08000000 does not match reset vector value: 0x5c24f64e
Initial SP-main value: 0xba00f8df uncertain.
Warning - stack pointer is set up to incorrect alignment. Stack address: 0xba00f8df

I am using the standard "generic_cortex.icf" which contains:
"define symbol __ICFEDIT_intvec_start__ = 0x00000000"
which I have tried changing to "define...=0x20000000" but this does not fix the error.

Program contains at the top:
SECTION CSTACK:DATA:NOROOT(3)
SECTION .intvec:CODE_NOROOT(2) PUBLIC __vector_table PUBLIC __iar_program_start PUBLIC __vector_table_0x1c DATA
__vector_table
DCD sfe(CSTACK)
DCD __iar_program_start
DCD NMI_handler
etc.

I would greatly appreciate assistance with this. I have combed through all the reference manuals and trawled the internet to no avail. Thank you

Parents Reply Children
No data