共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 跳转至页
回复
我要赚赏金打赏帖 |
|
|---|---|
| 基于ArduinoUNO开发板的AT24C02读写测试被打赏¥16元 | |
| TCS3472S传感器及其色彩检测被打赏¥19元 | |
| 【S32DS】S32K3 RTD7.0.1 HSE 组件配置报错问题解决被打赏¥27元 | |
| 【S32K3XX】MCME 启动 CORE1被打赏¥23元 | |
| AG32VH407下温度大气压传感器及其检测被打赏¥20元 | |
| AG32VH407下光照强度传感器BH1750及其检测被打赏¥22元 | |
| AT32VH407下使用温湿度传感器DHT22进行检测被打赏¥20元 | |
| DIY一个婴儿澡盆温度计被打赏¥34元 | |
| 【FreeRtos】FreeRtos+MPU region 配置规则被打赏¥23元 | |
| 【分享开发笔记,赚取电动螺丝刀】三分钟快速上手驱动墨水屏(ArduinoIDE)被打赏¥28元 | |
我要赚赏金
