共2条
1/1 1 跳转至页
zlg,ucos,keil,uVision3 有人移植zlg的ucos模板到keil uVision3上成功吗?
问
所用的模板ARM Executable Image for UCOSII(for lpc2100)
转移到keil uVision3,编译通过,但create target 不成功。
提取部分错误如下:(列出3条)
lpcARMUcos_keil.axf: Error: L6248E: startup.o(vectors) in PI region 'ER_RO' CANnot have address type relocation to StackUsr in PI region 'ER_ZI'.
lpcARMUcos_keil.axf: Error: L6248E: irq.o(IRQ) in PI region 'ER_RO' CANnot have address type relocation to OSIntCtxSw in PI region 'ER_RO'.
lpcARMUcos_keil.axf: Error: L6238E: os_cpu_a.o(subr) contains invalid call from '~PRES8' function to 'REQ8' function SWI_Exception.
Target not created
另外,select ARM development tools选为use RealView Compiler的。
因keil调试比较强大、方便,故想转移。但没找到其如何设置的有关资料。
请大虾帮忙,怎么才能跑起来。谢谢!
如某大虾已经有成功的keil_ucos模板,麻烦给我一份好吗?将感激涕零呀。
E-MAIL:ARM2008@126.com
答 1: !不能用RealView Compiler,要用ADS的Compiler,在Keil下设置RealView的编译器为ADS的编译器! 答 2: re:select ARM development tools有3个项:
use RealView Compiler
use Keil CARM compiler
use GNU compiler
我选过use Keil CARM compiler,但编译到.s文件后,都会弹出一个错误对话框:AARM MACRO ASSEMBLER。
另外,对men_c.scf里面的空间分配,在keil上都不知道怎么设置了。。 答 3: 继续关注 答 4: re:没人玩过么? 答 5: 我觉得移植到Keil没意思~~~ 答 6: 死揪住uC/OS不放??变能吧 答 7: 呵呵!要是有人有UcOs for Keil的代码,也给小弟留一份 答 8: 直接在KEIL下就可以用UCOS呀!!!!RV汇编需要对齐,在汇编代码前加 PRESERVE8 就可以了 答 9: !我有移植好的,需要的留下E-mail,请注意我的Keil是3.01,使用的RealView编译器,低版本的没有试过! 答 10: 关注keil下的ucos使用给我一份,谢谢了,我正在想在Keil下用ucos。地址:yuhongtu@126.com 答 11: 给我一份正需要,地址hyg0755@163.com 答 12: retaurusq1@yeah.net,麻烦hexenzhou发一份过来,谢了! 答 13: re我用周功的工程在keil 2.5下不会出错.
可到了3.0就不行了...
麻烦hexenzhou 发一份到我邮箱: mini_uc@163.com
TKS
答 14: re我的编译后提示:(keil 中的rv编译的)
..\ARM\Os_cpu_c.c(142): warning: #1267-D: Implicit physical register R0 should be defined as a variable
linking...
.\GPIO_Led1_Data\DebugInFLASH\GPIO1_led1.axf: Warning: L6305W: Image does not have an entry point. (Not specified or not set due to multiple choices.)
.\GPIO_Led1_Data\DebugInFLASH\GPIO1_led1.axf: Error: L6238E: startup.o(vectors) contains invalid call from '~PRES8' function to 'REQ8' function FIQ_Exception.
.\GPIO_Led1_Data\DebugInFLASH\GPIO1_led1.axf: Error: L6238E: startup.o(vectors) contains invalid call from '~PRES8' function to 'REQ8' function TargetResetInit.
.\GPIO_Led1_Data\DebugInFLASH\GPIO1_led1.axf: Error: L6238E: irq.o(IRQ) contains invalid call from '~PRES8' function to 'REQ8' function IRQ_Exception.
.\GPIO_Led1_Data\DebugInFLASH\GPIO1_led1.axf: Error: L6238E: irq.o(IRQ) contains invalid call from '~PRES8' function to 'REQ8' function OSIntExit.
.\GPIO_Led1_Data\DebugInFLASH\GPIO1_led1.axf: Error: L6238E: irq.o(IRQ) contains invalid call from '~PRES8' function to 'REQ8' function Timer0_Exception.
.\GPIO_Led1_Data\DebugInFLASH\GPIO1_led1.axf: Error: L6238E: irq.o(IRQ) contains invalid call from '~PRES8' function to 'REQ8' function OSIntExit.
.\GPIO_Led1_Data\DebugInFLASH\GPIO1_led1.axf: Error: L6238E: os_cpu_a.o(subr) contains invalid call from '~PRES8' function to 'REQ8' function SWI_Exception.
.\GPIO_Led1_Data\DebugInFLASH\GPIO1_led1.axf: Error: L6238E: os_cpu_a.o(subr) contains invalid call from '~PRES8' function to 'REQ8' function OSTaskSwHook.
.\GPIO_Led1_Data\DebugInFLASH\GPIO1_led1.axf: Error: L6238E: os_cpu_a.o(subr) contains invalid call from '~PRES8' function to 'REQ8' function OSTaskSwHook. 答 15: !邮件已发送,请各位查收! 答 16: threadx 3.0 在Keil上移植好了,可是没地方上传 答 17: thanks.兄弟,我也正研究,来一份。
mike.zhong@126.com 答 18: to hexenzhou没收到哦,麻烦再发一次:)
E-MAIL:ARM2008@126.com 答 19: to hexenzhou兄弟请空投一份:
huminqzhli@126.com
转移到keil uVision3,编译通过,但create target 不成功。
提取部分错误如下:(列出3条)
lpcARMUcos_keil.axf: Error: L6248E: startup.o(vectors) in PI region 'ER_RO' CANnot have address type relocation to StackUsr in PI region 'ER_ZI'.
lpcARMUcos_keil.axf: Error: L6248E: irq.o(IRQ) in PI region 'ER_RO' CANnot have address type relocation to OSIntCtxSw in PI region 'ER_RO'.
lpcARMUcos_keil.axf: Error: L6238E: os_cpu_a.o(subr) contains invalid call from '~PRES8' function to 'REQ8' function SWI_Exception.
Target not created
另外,select ARM development tools选为use RealView Compiler的。
因keil调试比较强大、方便,故想转移。但没找到其如何设置的有关资料。
请大虾帮忙,怎么才能跑起来。谢谢!
如某大虾已经有成功的keil_ucos模板,麻烦给我一份好吗?将感激涕零呀。
E-MAIL:ARM2008@126.com
答 1: !不能用RealView Compiler,要用ADS的Compiler,在Keil下设置RealView的编译器为ADS的编译器! 答 2: re:select ARM development tools有3个项:
use RealView Compiler
use Keil CARM compiler
use GNU compiler
我选过use Keil CARM compiler,但编译到.s文件后,都会弹出一个错误对话框:AARM MACRO ASSEMBLER。
另外,对men_c.scf里面的空间分配,在keil上都不知道怎么设置了。。 答 3: 继续关注 答 4: re:没人玩过么? 答 5: 我觉得移植到Keil没意思~~~ 答 6: 死揪住uC/OS不放??变能吧 答 7: 呵呵!要是有人有UcOs for Keil的代码,也给小弟留一份 答 8: 直接在KEIL下就可以用UCOS呀!!!!RV汇编需要对齐,在汇编代码前加 PRESERVE8 就可以了 答 9: !我有移植好的,需要的留下E-mail,请注意我的Keil是3.01,使用的RealView编译器,低版本的没有试过! 答 10: 关注keil下的ucos使用给我一份,谢谢了,我正在想在Keil下用ucos。地址:yuhongtu@126.com 答 11: 给我一份正需要,地址hyg0755@163.com 答 12: retaurusq1@yeah.net,麻烦hexenzhou发一份过来,谢了! 答 13: re我用周功的工程在keil 2.5下不会出错.
可到了3.0就不行了...
麻烦hexenzhou 发一份到我邮箱: mini_uc@163.com
TKS
答 14: re我的编译后提示:(keil 中的rv编译的)
..\ARM\Os_cpu_c.c(142): warning: #1267-D: Implicit physical register R0 should be defined as a variable
linking...
.\GPIO_Led1_Data\DebugInFLASH\GPIO1_led1.axf: Warning: L6305W: Image does not have an entry point. (Not specified or not set due to multiple choices.)
.\GPIO_Led1_Data\DebugInFLASH\GPIO1_led1.axf: Error: L6238E: startup.o(vectors) contains invalid call from '~PRES8' function to 'REQ8' function FIQ_Exception.
.\GPIO_Led1_Data\DebugInFLASH\GPIO1_led1.axf: Error: L6238E: startup.o(vectors) contains invalid call from '~PRES8' function to 'REQ8' function TargetResetInit.
.\GPIO_Led1_Data\DebugInFLASH\GPIO1_led1.axf: Error: L6238E: irq.o(IRQ) contains invalid call from '~PRES8' function to 'REQ8' function IRQ_Exception.
.\GPIO_Led1_Data\DebugInFLASH\GPIO1_led1.axf: Error: L6238E: irq.o(IRQ) contains invalid call from '~PRES8' function to 'REQ8' function OSIntExit.
.\GPIO_Led1_Data\DebugInFLASH\GPIO1_led1.axf: Error: L6238E: irq.o(IRQ) contains invalid call from '~PRES8' function to 'REQ8' function Timer0_Exception.
.\GPIO_Led1_Data\DebugInFLASH\GPIO1_led1.axf: Error: L6238E: irq.o(IRQ) contains invalid call from '~PRES8' function to 'REQ8' function OSIntExit.
.\GPIO_Led1_Data\DebugInFLASH\GPIO1_led1.axf: Error: L6238E: os_cpu_a.o(subr) contains invalid call from '~PRES8' function to 'REQ8' function SWI_Exception.
.\GPIO_Led1_Data\DebugInFLASH\GPIO1_led1.axf: Error: L6238E: os_cpu_a.o(subr) contains invalid call from '~PRES8' function to 'REQ8' function OSTaskSwHook.
.\GPIO_Led1_Data\DebugInFLASH\GPIO1_led1.axf: Error: L6238E: os_cpu_a.o(subr) contains invalid call from '~PRES8' function to 'REQ8' function OSTaskSwHook. 答 15: !邮件已发送,请各位查收! 答 16: threadx 3.0 在Keil上移植好了,可是没地方上传 答 17: thanks.兄弟,我也正研究,来一份。
mike.zhong@126.com 答 18: to hexenzhou没收到哦,麻烦再发一次:)
E-MAIL:ARM2008@126.com 答 19: to hexenzhou兄弟请空投一份:
huminqzhli@126.com
共2条
1/1 1 跳转至页
回复
| 有奖活动 | |
|---|---|
| 硬核工程师专属补给计划——填盲盒 | |
| “我踩过的那些坑”主题活动——第002期 | |
| 【EEPW电子工程师创研计划】技术变现通道已开启~ | |
| 发原创文章 【每月瓜分千元赏金 凭实力攒钱买好礼~】 | |
| 【EEPW在线】E起听工程师的声音! | |
| 高校联络员开始招募啦!有惊喜!! | |
| 【工程师专属福利】每天30秒,积分轻松拿!EEPW宠粉打卡计划启动! | |
| 送您一块开发板,2025年“我要开发板活动”又开始了! | |
我要赚赏金打赏帖 |
|
|---|---|
| Chaos-nano:专为低资源单片机设计的轻量级协作式异步操作系统(ATMEGA328P轻量级操作系统)—— 详细介绍被打赏¥16元 | |
| FPGA配置被打赏¥10元 | |
| Chaos-nano协作式异步操作系统:赋能MicrochipAVR8位单片机的革新之路被打赏¥15元 | |
| 基于esp32开发时串口工具的注意点被打赏¥24元 | |
| 基于FireBeetle2ESP32-C5开发板的舵机控制被打赏¥20元 | |
| 【分享开发笔记,赚取电动螺丝刀】MAX78000开发板制作的电子相册被打赏¥32元 | |
| 基于FireBeetle2ESP32-C5开发板的超声波测距及显示被打赏¥21元 | |
| FireBeetle2ESP32-C5上RTC电子时钟的实现被打赏¥25元 | |
| 【分享开发笔记,赚取电动螺丝刀】MAX78000开发板读取SD卡被打赏¥23元 | |
| 【S32K3XX】Standby RAM 重启后数据异常问题调查被打赏¥38元 | |
我要赚赏金
