搜索
bottom↓
回复: 16

RT-THREAD lpc1768 的移植和下载问题?

[复制链接]

出0入0汤圆

发表于 2010-9-12 19:15:23 | 显示全部楼层 |阅读模式
你好,我从网站下在0.3版本。MDK 编译, 项目是D:\rtos\rtthread-0.3.0\bsp\lpc1766 下的项目文件。 采用UV4 打开。 编译OK,
MUC : LPC1768 ,另外 J-LINK 下载器。
下载时提示错误:
Software-Breakpoints: 2048
Watchpoints:          4
JTAG speed: 2000 kHz
---
* JLink Info: TotalIRLen = 4, IRPrint = 0x01
* JLink Info: Found Cortex-M3 r2p0, Little endian.
* JLink Info: TPIU fitted.
* JLink Info: ETM fitted.
* JLink Info:   FPUnit: 6 code (BP) slots and 2 literal slots
No Algorithm found for: 00000000H - 0000948BH
Erase skipped!
请问如何解决?

出0入0汤圆

 楼主| 发表于 2010-9-12 20:21:24 | 显示全部楼层
咋的回复和顶贴的咋这么少?都到被窝去啦?

出0入0汤圆

发表于 2010-9-12 20:35:35 | 显示全部楼层
project --> options --> utilities --> setting --> add programming Algorithm

RT-THREAD lpc1768 的移植和下载问题?  ==>  lpc1768下载出错,请大家帮忙看看.

出0入0汤圆

发表于 2010-9-12 21:50:39 | 显示全部楼层
下载的问题请自行解决

出0入0汤圆

 楼主| 发表于 2010-9-12 23:36:41 | 显示全部楼层
关键不是硬件的问题,我自己写的程序,下载完全正常。就是下载这个程序时提示 错误?
Build target 'RT-Thread LPC1700'
compiling board.c...
compiling startup.c...
compiling uart.c...
compiling application.c...
compiling core_cm3.c...
compiling system_LPC17xx.c...
compiling clock.c...
compiling device.c...
compiling idle.c...
compiling ipc.c...
compiling irq.c...
compiling kservice.c...
compiling mem.c...
compiling mempool.c...
compiling object.c...
compiling scheduler.c...
compiling slab.c...
compiling thread.c...
compiling timer.c...
compiling cpu.c...
compiling fault.c...
compiling interrupt.c...
compiling stack.c...
assembling context_rvds.S...
assembling fault_rvds.S...
assembling start_rvds.S...
compiling cmd.c...
compiling finsh_compiler.c...
compiling finsh_error.c...
compiling finsh_heap.c...
compiling finsh_init.c...
compiling finsh_node.c...
compiling finsh_ops.c...
compiling finsh_parser.c...
compiling finsh_token.c...
compiling finsh_var.c...
compiling finsh_vm.c...
compiling shell.c...
compiling symbol.c...
linking...
Program Size: Code=34566 RO-data=3290 RW-data=460 ZI-data=5428  
".\obj\lpc17rt-thread.axf" - 0 Error(s), 0 Warning(s).
Load "D:\\rtos\\rtthread-0.3.0\\bsp\\lpc1766\\obj\\lpc17rt-thread.AXF"

JLink info:
-----------
DLL: V4.11i, compiled Jan 28 2010 19:55:25
Firmware: J-Link ARM V8 compiled Dec  1 2009 11:42:48
Hardware: V8.00
S/N : 68000019
Feature(s) : RDI, FlashDL, FlashBP, JFlash, GDBFull
---
* JLink Info: TotalIRLen = 4, IRPrint = 0x01
* JLink Info: Found Cortex-M3 r2p0, Little endian.
* JLink Info: TPIU fitted.
* JLink Info: ETM fitted.
* JLink Info:   FPUnit: 6 code (BP) slots and 2 literal slots
* JLink Info: TotalIRLen = 4, IRPrint = 0x01
* JLink Info: Found Cortex-M3 r2p0, Little endian.
* JLink Info: TPIU fitted.
* JLink Info: ETM fitted.
* JLink Info:   FPUnit: 6 code (BP) slots and 2 literal slots

Target info:
------------
Device: LPC1768
VTarget = 3.073V
State of Pins:
TCK: 1, TDI: 0, TDO: 1, TMS: 0, TRES: 1, TRST: 1
* JLink Info: TotalIRLen = 4, IRPrint = 0x01
* JLink Info: Found Cortex-M3 r2p0, Little endian.
* JLink Info: TPIU fitted.
* JLink Info: ETM fitted.
* JLink Info:   FPUnit: 6 code (BP) slots and 2 literal slots
Hardware-Breakpoints: 6
Software-Breakpoints: 2048
Watchpoints:          4
JTAG speed: 2000 kHz
---
* JLink Info: TotalIRLen = 4, IRPrint = 0x01
* JLink Info: Found Cortex-M3 r2p0, Little endian.
* JLink Info: TPIU fitted.
* JLink Info: ETM fitted.
* JLink Info:   FPUnit: 6 code (BP) slots and 2 literal slots
No Algorithm found for: 00000000H - 0000948BH
Erase skipped!

出0入0汤圆

 楼主| 发表于 2010-9-12 23:38:06 | 显示全部楼层
回复【4楼】taurus2010  
-----------------------------------------------------------------------
正常的下载提示如下:

Build target 'LandTiger_GPIO'
linking...
Program Size: Code=1292 RO-data=228 RW-data=8 ZI-data=608  
FromELF: creating hex file...
".\Obj\LandTiger_GPIO.axf" - 0 Error(s), 0 Warning(s).
Load "D:\\TPMSMULTITOOL\\路虎开发板光盘\\实验例程\\GPIO\\Obj\\LandTiger_GPIO.AXF"

JLink info:
-----------
DLL: V4.11i, compiled Jan 28 2010 19:55:25
Firmware: J-Link ARM V8 compiled Dec  1 2009 11:42:48
Hardware: V8.00
S/N : 68000019
Feature(s) : RDI, FlashDL, FlashBP, JFlash, GDBFull
---
* JLink Info: TotalIRLen = 4, IRPrint = 0x01
* JLink Info: Found Cortex-M3 r2p0, Little endian.
* JLink Info: TPIU fitted.
* JLink Info: ETM fitted.
* JLink Info:   FPUnit: 6 code (BP) slots and 2 literal slots
* JLink Info: TotalIRLen = 4, IRPrint = 0x01
* JLink Info: Found Cortex-M3 r2p0, Little endian.
* JLink Info: TPIU fitted.
* JLink Info: ETM fitted.
* JLink Info:   FPUnit: 6 code (BP) slots and 2 literal slots

Target info:
------------
Device: LPC1768
VTarget = 3.067V
State of Pins:
TCK: 1, TDI: 0, TDO: 1, TMS: 0, TRES: 1, TRST: 1
* JLink Info: TotalIRLen = 4, IRPrint = 0x01
* JLink Info: Found Cortex-M3 r2p0, Little endian.
* JLink Info: TPIU fitted.
* JLink Info: ETM fitted.
* JLink Info:   FPUnit: 6 code (BP) slots and 2 literal slots
Hardware-Breakpoints: 6
Software-Breakpoints: 2048
Watchpoints:          4
JTAG speed: 100 kHz
---
* JLink Info: TotalIRLen = 4, IRPrint = 0x01
* JLink Info: Found Cortex-M3 r2p0, Little endian.
* JLink Info: TPIU fitted.
* JLink Info: ETM fitted.
* JLink Info:   FPUnit: 6 code (BP) slots and 2 literal slots
Erase Done.
Programming Done.
Verify OK.
* JLink Info: TotalIRLen = 4, IRPrint = 0x01
* JLink Info: Found Cortex-M3 r2p0, Little endian.
* JLink Info: TPIU fitted.
* JLink Info: ETM fitted.
* JLink Info:   FPUnit: 6 code (BP) slots and 2 literal slots
**JLink Warning: CPU did not halt after bootloader.
Application running ...

出0入0汤圆

发表于 2010-9-12 23:44:53 | 显示全部楼层

出0入0汤圆

发表于 2010-9-12 23:44:58 | 显示全部楼层
下载按照自己已有的工程设置进行调整就可以了,总不可能默认的下载方式是JLink,而你用的是ULink,而你非要默认的工程设置能够用你的ULink进行下载吧。

工程设置是最基本的设置,且与OS无关。

出0入0汤圆

 楼主| 发表于 2010-9-12 23:46:46 | 显示全部楼层
谢谢 2楼的朋友! 已解决!

project --> options --> utilities --> setting --> add programming Algorithm

出0入0汤圆

发表于 2010-9-14 15:40:11 | 显示全部楼层
.......

出0入98汤圆

发表于 2011-3-12 16:01:27 | 显示全部楼层
谢谢6楼的方法,解决!

出0入0汤圆

发表于 2011-3-16 20:34:14 | 显示全部楼层
学习学习,回复【8楼】taurus2010
谢谢 2楼的朋友! 已解决!
project --> options --> utilities --> setting --> add programming algorithm  

-----------------------------------------------------------------------

楼主,能不能将你的1766 模板发一个上来,学习,学习。
我正在用周立功的开发板,上面只有UCOS的例子。

出0入0汤圆

发表于 2011-3-16 20:48:01 | 显示全部楼层
回复【11楼】sunhaiben  
-----------------------------------------------------------------------
http://bbs.zlgmcu.com/dispbbs.asp?boardid=46&Id=16739
麻烦下载来放这里!

出0入0汤圆

发表于 2011-3-19 16:10:31 | 显示全部楼层
回复【12楼】aozima
回复【11楼】sunhaiben   
-----------------------------------------------------------------------
http://bbs.zlgmcu.com/dispbbs.asp?boardid=46&id=16739
麻烦下载来放这里!
-----------------------------------------------------------------------

下载不下来,
提示:

您查找的数据暂不存在!
请仔细阅读论坛帮助文件,确保您有相应的操作权限。

出0入0汤圆

发表于 2011-3-19 16:23:16 | 显示全部楼层
点击此处下载 ourdev_623832AWKKG3.rar(文件大小:1.01M) (原文件名:pack_rt-thread_for_zlg_m3_1700.rar)

出0入0汤圆

发表于 2011-3-21 13:58:14 | 显示全部楼层
回复【14楼】aozima
-----------------------------------------------------------------------

谢谢。

出0入0汤圆

发表于 2011-7-25 11:45:29 | 显示全部楼层
回复【楼主位】taurus2010
-----------------------------------------------------------------------

mark
回帖提示: 反政府言论将被立即封锁ID 在按“提交”前,请自问一下:我这样表达会给举报吗,会给自己惹麻烦吗? 另外:尽量不要使用Mark、顶等没有意义的回复。不得大量使用大字体和彩色字。【本论坛不允许直接上传手机拍摄图片,浪费大家下载带宽和论坛服务器空间,请压缩后(图片小于1兆)才上传。压缩方法可以在微信里面发给自己(不要勾选“原图),然后下载,就能得到压缩后的图片】。另外,手机版只能上传图片,要上传附件需要切换到电脑版(不需要使用电脑,手机上切换到电脑版就行,页面底部)。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|Archiver|amobbs.com 阿莫电子技术论坛 ( 粤ICP备2022115958号, 版权所有:东莞阿莫电子贸易商行 创办于2004年 (公安交互式论坛备案:44190002001997 ) )

GMT+8, 2024-4-29 10:48

© Since 2004 www.amobbs.com, 原www.ourdev.cn, 原www.ouravr.com

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