OpenEdv-开源电子网

 找回密码
 立即注册
正点原子全套STM32/Linux/FPGA开发资料,上千讲STM32视频教程免费下载...
查看: 5118|回复: 8

建立F429cube工程编译不过去,请大家帮帮忙

[复制链接]

58

主题

288

帖子

1

精华

高级会员

Rank: 4

积分
814
金钱
814
注册时间
2012-3-29
在线时间
81 小时
发表于 2017-2-7 10:47:35 | 显示全部楼层 |阅读模式
10金钱
      按照原子的HAL教程,一步一步的建工程,最后没编译过去,出现了这样的错误,我看坛子上有个网友也遇到了这样的问题,说是把魔术棒C/C++中的两个选项不勾选,我按照他说的做了,还是没编译过去,请各位高手指导一下这是什么原因呢

*** Using Compiler 'V5.06 update 3 (build 300)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Build target 'Target 1'
linking...
..\OBJ\Success.axf: Error: L6266E: RWPI Section anon$$obj.o(PDT$$ptr) cannot be assigned to non-PI Exec region RW_IRAM1.
..\OBJ\Success.axf: Error: L6266E: RWPI Section system_stm32f4xx.o(.data) cannot be assigned to non-PI Exec region RW_IRAM1.
..\OBJ\Success.axf: Error: L6266E: RWPI Section stm32f4xx_hal.o(.data) cannot be assigned to non-PI Exec region RW_IRAM1.
..\OBJ\Success.axf: Error: L6266E: RWPI Section stm32f4xx_hal_timebase_tim_template.o(.bss) cannot be assigned to non-PI Exec region RW_IRAM1.
..\OBJ\Success.axf: Error: L6266E: RWPI Section libspace.o(.bss) cannot be assigned to non-PI Exec region RW_IRAM1.
..\OBJ\Success.axf: Error: L6241E: startup_stm32f429xx.o(RESET) cannot use the address of 'RWPI (R9 used as SB)' function NMI_Handler as the image contains 'USESV6 (R9 used as V6)' functions.
..\OBJ\Success.axf: Error: L6241E: startup_stm32f429xx.o(RESET) cannot use the address of 'RWPI (R9 used as SB)' function HardFault_Handler as the image contains 'USESV6 (R9 used as V6)' functions.
..\OBJ\Success.axf: Error: L6241E: startup_stm32f429xx.o(RESET) cannot use the address of 'RWPI (R9 used as SB)' function MemManage_Handler as the image contains 'USESV6 (R9 used as V6)' functions.
..\OBJ\Success.axf: Error: L6241E: startup_stm32f429xx.o(RESET) cannot use the address of 'RWPI (R9 used as SB)' function BusFault_Handler as the image contains 'USESV6 (R9 used as V6)' functions.
..\OBJ\Success.axf: Error: L6241E: startup_stm32f429xx.o(RESET) cannot use the address of 'RWPI (R9 used as SB)' function UsageFault_Handler as the image contains 'USESV6 (R9 used as V6)' functions.
..\OBJ\Success.axf: Error: L6241E: startup_stm32f429xx.o(RESET) cannot use the address of 'RWPI (R9 used as SB)' function SVC_Handler as the image contains 'USESV6 (R9 used as V6)' functions.
..\OBJ\Success.axf: Error: L6241E: startup_stm32f429xx.o(RESET) cannot use the address of 'RWPI (R9 used as SB)' function DebugMon_Handler as the image contains 'USESV6 (R9 used as V6)' functions.
..\OBJ\Success.axf: Error: L6241E: startup_stm32f429xx.o(RESET) cannot use the address of 'RWPI (R9 used as SB)' function PendSV_Handler as the image contains 'USESV6 (R9 used as V6)' functions.
..\OBJ\Success.axf: Error: L6241E: startup_stm32f429xx.o(RESET) cannot use the address of 'RWPI (R9 used as SB)' function SysTick_Handler as the image contains 'USESV6 (R9 used as V6)' functions.
..\OBJ\Success.axf: Error: L6241E: startup_stm32f429xx.o(RESET) cannot use the address of 'RWPI (R9 used as SB)' function TIM6_DAC_IRQHandler as the image contains 'USESV6 (R9 used as V6)' functions.
..\OBJ\Success.axf: Error: L6241E: startup_stm32f429xx.o(.text) cannot use the address of 'RWPI (R9 used as SB)' function SystemInit as the image contains 'USESV6 (R9 used as V6)' functions.
..\OBJ\Success.axf: Error: L6241E: startup_stm32f429xx.o(.text) cannot use the address of 'RWPI (R9 used as SB)' function __main as the image contains 'USESV6 (R9 used as V6)' functions.
..\OBJ\Success.axf: Error: L6241E: stm32f4xx_hal_tim.o(.text) cannot use the address of 'RWPI (R9 used as SB)' function TIM_DMAPeriodElapsedCplt as the image contains 'USESV6 (R9 used as V6)' functions.
..\OBJ\Success.axf: Error: L6241E: stm32f4xx_hal_tim.o(.text) cannot use the address of 'RWPI (R9 used as SB)' function TIM_DMAError as the image contains 'USESV6 (R9 used as V6)' functions.
..\OBJ\Success.axf: Error: L6241E: stm32f4xx_hal_tim.o(.text) cannot use the address of 'RWPI (R9 used as SB)' function TIM_DMAPeriodElapsedCplt as the image contains 'USESV6 (R9 used as V6)' functions.
..\OBJ\Success.axf: Error: L6241E: stm32f4xx_hal_tim.o(.text) cannot use the address of 'RWPI (R9 used as SB)' function TIM_DMAError as the image contains 'USESV6 (R9 used as V6)' functions.
..\OBJ\Success.axf: Error: L6241E: stm32f4xx_hal_tim.o(.text) cannot use the address of 'RWPI (R9 used as SB)' function TIM_DMADelayPulseCplt as the image contains 'USESV6 (R9 used as V6)' functions.
..\OBJ\Success.axf: Error: L6241E: stm32f4xx_hal_tim.o(.text) cannot use the address of 'RWPI (R9 used as SB)' function TIMEx_DMACommutationCplt as the image contains 'USESV6 (R9 used as V6)' functions.
..\OBJ\Success.axf: Error: L6241E: stm32f4xx_hal_tim.o(.text) cannot use the address of 'RWPI (R9 used as SB)' function TIM_DMATriggerCplt as the image contains 'USESV6 (R9 used as V6)' functions.
..\OBJ\Success.axf: Error: L6241E: stm32f4xx_hal_tim.o(.text) cannot use the address of 'RWPI (R9 used as SB)' function TIM_DMACaptureCplt as the image contains 'USESV6 (R9 used as V6)' functions.
..\OBJ\Success.axf: Error: L6241E: stm32f4xx_hal_tim_ex.o(.text) cannot use the address of 'RWPI (R9 used as SB)' function TIM_DMACaptureCplt as the image contains 'USESV6 (R9 used as V6)' functions.
..\OBJ\Success.axf: Error: L6241E: stm32f4xx_hal_tim_ex.o(.text) cannot use the address of 'RWPI (R9 used as SB)' function TIM_DMAError as the image contains 'USESV6 (R9 used as V6)' functions.
..\OBJ\Success.axf: Error: L6241E: stm32f4xx_hal_tim_ex.o(.text) cannot use the address of 'RWPI (R9 used as SB)' function TIM_DMADelayPulseCplt as the image contains 'USESV6 (R9 used as V6)' functions.
..\OBJ\Success.axf: Error: L6241E: stm32f4xx_hal_tim_ex.o(.text) cannot use the address of 'RWPI (R9 used as SB)' function TIM_DMADelayPulseCplt as the image contains 'USESV6 (R9 used as V6)' functions.
..\OBJ\Success.axf: Error: L6241E: stm32f4xx_hal_tim_ex.o(.text) cannot use the address of 'RWPI (R9 used as SB)' function TIM_DMAError as the image contains 'USESV6 (R9 used as V6)' functions.
..\OBJ\Success.axf: Error: L6241E: stm32f4xx_hal_tim_ex.o(.text) cannot use the address of 'RWPI (R9 used as SB)' function TIM_DMAError as the image contains 'USESV6 (R9 used as V6)' functions.
Finished: 0 information, 0 warning and 31 error messages.
"..\OBJ\Success.axf" - 31 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed:  00:00:01

正点原子逻辑分析仪DL16劲爆上市
回复

使用道具 举报

530

主题

11万

帖子

34

精华

管理员

Rank: 12Rank: 12Rank: 12

积分
165540
金钱
165540
注册时间
2010-12-1
在线时间
2117 小时
发表于 2017-2-7 11:42:19 | 显示全部楼层
回复

使用道具 举报

58

主题

288

帖子

1

精华

高级会员

Rank: 4

积分
814
金钱
814
注册时间
2012-3-29
在线时间
81 小时
 楼主| 发表于 2017-2-7 13:07:49 | 显示全部楼层

我买的F429的板子在路上了,2.8寸的MCU的屏也可以用吧
回复

使用道具 举报

2

主题

8

帖子

0

精华

初级会员

Rank: 2

积分
89
金钱
89
注册时间
2016-12-20
在线时间
8 小时
发表于 2017-2-9 00:02:52 | 显示全部楼层
我想问问各位STM32F429的32K晶振波形是否有毛刺?发现这款芯片的可能会有些问题,有的话一起解决
回复

使用道具 举报

58

主题

288

帖子

1

精华

高级会员

Rank: 4

积分
814
金钱
814
注册时间
2012-3-29
在线时间
81 小时
 楼主| 发表于 2017-2-10 09:28:17 | 显示全部楼层
yjw069 发表于 2017-2-9 00:02
我想问问各位STM32F429的32K晶振波形是否有毛刺?发现这款芯片的可能会有些问题,有的话一起解决

我的板子刚到,原来还没用过。25M的晶振有毛刺吗?
回复

使用道具 举报

2

主题

8

帖子

0

精华

初级会员

Rank: 2

积分
89
金钱
89
注册时间
2016-12-20
在线时间
8 小时
发表于 2017-2-13 21:45:13 | 显示全部楼层
业未央 发表于 2017-2-10 09:28
我的板子刚到,原来还没用过。25M的晶振有毛刺吗?

没有,只有32K的才有;手上有板子的话帮忙看看
回复

使用道具 举报

23

主题

69

帖子

0

精华

新手上路

积分
26
金钱
26
注册时间
2017-1-5
在线时间
50 小时
发表于 2017-2-14 09:20:50 | 显示全部楼层
怎么都是来亮板子的, 没遇到过   C99可以打开 确定include路径正确 拷贝来的要重新设置   还有库
题主的问题没遇见过
回复

使用道具 举报

58

主题

288

帖子

1

精华

高级会员

Rank: 4

积分
814
金钱
814
注册时间
2012-3-29
在线时间
81 小时
 楼主| 发表于 2017-2-14 09:39:20 | 显示全部楼层
为我的心 发表于 2017-2-14 09:20
怎么都是来亮板子的, 没遇到过   C99可以打开 确定include路径正确 拷贝来的要重新设置   还有库
题主的 ...

我换了个版本的HAL库,按照教程做了一遍编译没问题了
回复

使用道具 举报

58

主题

288

帖子

1

精华

高级会员

Rank: 4

积分
814
金钱
814
注册时间
2012-3-29
在线时间
81 小时
 楼主| 发表于 2017-2-14 09:39:28 | 显示全部楼层
yjw069 发表于 2017-2-13 21:45
没有,只有32K的才有;手上有板子的话帮忙看看

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则



关闭

原子哥极力推荐上一条 /2 下一条

正点原子公众号

QQ|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )

GMT+8, 2025-6-20 07:17

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

快速回复 返回顶部 返回列表