457878 发表于 2020-12-24 10:12

为什么下载后调试,不能打断点呢?

本帖最后由 457878 于 2020-12-24 10:26 编辑



评估板:(AT-START-F421V1.1)   , 下载时有3个警告(原版工程也有这个警告):
**********************************************************3个警告:start
....
Thu Dec 24, 2020 09:59:27: The downloaded program doesn't seem to match the expected memory layout of the target system:
Thu Dec 24, 2020 09:59:27: Some SFRs are placed outside known memory areas, or in memory areas designated as read-only or as RAM:
Thu Dec 24, 2020 09:59:27:   GPIOA_MODER @ 0x48000000, 32 bits
Thu Dec 24, 2020 09:59:27:   GPIOA_OTYPER @ 0x48000004, 32 bits
Thu Dec 24, 2020 09:59:27:   GPIOA_ODRVR @ 0x48000008, 32 bits
Thu Dec 24, 2020 09:59:27:   GPIOA_PUPDR @ 0x4800000C, 32 bits
Thu Dec 24, 2020 09:59:27:   GPIOA_IPTDT @ 0x48000010, 32 bits
Thu Dec 24, 2020 09:59:27:   and more...
Thu Dec 24, 2020 09:59:27: Memory is specified as follows:
....
**********************************************************3个警告:end



457878 发表于 2020-12-24 10:50

程序问题,timer初始化顺序竟然会影响断点...

muyichuan2012 发表于 2020-12-24 15:22

很可能是结构体成员没有初始化完。at32哪个工程有编译警告呢?

457878 发表于 2020-12-25 16:22

muyichuan2012 发表于 2020-12-24 15:22
很可能是结构体成员没有初始化完。at32哪个工程有编译警告呢?

不是编译警告,是下载警告,IAR下载警告:
Artery AT32 MCU Pack_20201130\BSP\AT32F4xx_StdPeriph_Lib_V1.2.8\Project\AT_START_F421\Templates\IAR_v8.2

版本是 IAR for ARM V8.32.1
页: [1]
查看完整版本: 为什么下载后调试,不能打断点呢?