共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 跳转至页
回复
有奖活动 | |
---|---|
分享开发笔记,赚取电动螺丝刀(便携轻巧与无刷电机两款可选) | |
看《关键跃升》,聊聊工作心法、动力、能力、沟通与协作,从五个方面深入交流你的工作心得 | |
【有奖活动】分享技术经验,兑换京东卡 | |
话不多说,快进群! | |
我要给自己挣一部逻辑分析仪 | |
用知识换取送给亲朋的礼物,做个浪漫的开发者 | |
请大声喊出:我要开发板! | |
【有奖活动】EEPW网站征稿正在进行时,欢迎踊跃投稿啦 |
打赏帖 | |
---|---|
Buck电路工作在CCM模式下电感电流的计算公式是什么?被打赏5分 | |
buck电路工作原理被打赏5分 | |
基于MSPM0L1306的MODBUS-RTU协议通讯实验被打赏100分 | |
我想要一部加热台+多合一调试工具被打赏18分 | |
每周了解几个硬件知识+485硬件知识分享被打赏10分 | |
【换取手持数字示波器】树莓派PICO调试器官方固件本地化部署实践被打赏24分 | |
【换取手持数字示波器】分享一个KEIL无法识别CMSIS-DAP调试器的解决办法被打赏20分 | |
【换取手持数字示波器】分享一个自制的ArduinoNano扩展板底板被打赏23分 | |
【换取手持示波器】树莓派PICOW网页烟花被打赏18分 | |
【换取手持示波器】树莓派PICO逻辑分析仪被打赏16分 |