2013-01-28 08:28 PM
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 #__vector_table-stm32f103ze2013-01-28 09:25 PM
So you've been fighting this problem for 18 months?
I think this SECTION .intvec:CODE_NOROOT(2) should be this SECTION .intvec:CODE:NOROOT(2)2013-01-28 10:41 PM
Hi Clive, sorry I typo'd. I do have : and not _. No haven't been fighting it for 18 months. Had to leave it and do a heap of other things and have just come back to it. thanks for your reply.
do you have any other suggestions?2013-01-29 04:03 AM
Zip up a free standing project that illustrates the failure mode and attach here, or email to sourcer32@gmail.com
2013-01-29 03:50 PM
Hi Clive, have emailed to you. Many thanks.
2014-08-04 10:21 AM
a bit late but I ran into that same issue and spent a couple hours on it...
I got the same cryptic error message when trying to load/debug an fully compiled image using IAR 7.20. It turned out that my project was not configured to include debug information. All I had to do was check the ''include debug information in output'' under Options -> Linker -> OutputHope it helps someone else.