原来的工程文件在IAR EWARM v4.42可以编译及仿真, 之后到了IAR EWARM v5.3就连编译也过不了.
把stm32f10x_vector.c里面的两个__program_start( )都改了就好了. link通过了,不过debug的时候出现
Wed Jul 01 01:47:40 2009: 8236 bytes downloaded (11.99 Kbytes/sec) Wed Jul 01 01:47:40 2009: Loaded debugee: C:ManleyEKBoardEKSTM32F (IAR EWARM v5)LCDDemo(lcd+led+buttom)LCDDemoprojectEWARM BOOT_FLASHExeLCDDemo.out Wed Jul 01 01:47:40 2009: <b>User error: Base address of vector table has incorrect alignment. Vector base addr = 0x00001940 </b> Wed Jul 01 01:47:49 2009: Target reset Wed Jul 01 01:47:49 2009: Failed to load debugee: C:ManleyEKBoardEKSTM32F (IAR EWARM v5)LCDDemo(lcd+led+buttom)LCDDemoprojectEWARM BOOT_FLASHExeLCDDemo.out
究竟是甚么一回事?? |