共2条
1/1 1 跳转至页
HJtag 请问HJtag能调试多少K的程序代码?
问
我HJtag在IAR环境下调试周工的CPU为LPC2210的开发板,程序在几K的情况下都很好用,觉得速度很快很好用。但今天写好的程序达到70多K时,用HJtag调试速度就很慢,下载也要2~3秒(用外部RAM)。调试时走单步更是很慢,基本上是1~2秒才走一步,而且执行完这步后单步显示的高亮条要等一会才显示或干脆就不显示,断点也是有时能显示有时不能显示(程序执行到断点那里还是会停下的)。请问这是我IAR设置不对还是其它什么问题?
另外在下载程序是有时也会下载失败,但在下载一个简单的(小程序)程序后再下载这个大程序就能正常调试,反正就是下载大程序失败后只需下载一次小程序,大程序就能正常卸载和调试好几次。这是为什么?
下载出错时的错误信息如下:
Sat Sep 09 10:02:35 2006: Couldn't open macro file: E:\LJL\Source_code\demo\LPC22xx_XRAM.mac
Sat Sep 09 10:02:35 2006: Sign on message from RDI driver:
H-JTAG Debug Interface for ARM In-Circuit Emulation.
Sat Sep 09 10:02:45 2006: 208038 bytes downloaded and verified (19.32 Kbytes/sec)
Sat Sep 09 10:02:45 2006: Warning: Target inconsistency detected in Memory range 0x80000108-0x80001103
Sat Sep 09 10:02:45 2006: Warning: Target inconsistency detected in Memory range 0x80001104-0x80001E6F
Sat Sep 09 10:02:45 2006: Warning: Target inconsistency detected in Memory range 0x800139E8-0x800139EF
Sat Sep 09 10:02:45 2006: Warning: Target inconsistency detected in Memory range 0x80001E70-0x80002407
Sat Sep 09 10:02:45 2006: Warning: Target inconsistency detected in Memory range 0x800139F0-0x80013A0F
Sat Sep 09 10:02:45 2006: Warning: Target inconsistency detected in Memory range 0x80002408-0x80003403
Sat Sep 09 10:02:45 2006: Warning: Target inconsistency detected in Memory range 0x800135C0-0x8001369D
Sat Sep 09 10:02:45 2006: Warning: Target inconsistency detected in
................. 这里省略的一些错误信息
Memory range 0x80014C50-0x80014C57
Sat Sep 09 10:02:45 2006: Warning: Target inconsistency detected in Memory range 0x800136A0-0x800136A9
Sat Sep 09 10:02:45 2006: Warning: Target inconsistency detected in Memory range 0x80014C58-0x80014CA7
Sat Sep 09 10:02:45 2006: Warning: Target inconsistency detected in Memory range 0x800136AC-0x800137CB
Sat Sep 09 10:02:45 2006: Warning: Target inconsistency detected in Memory range 0x800000B8-0x80000107
Sat Sep 09 10:02:45 2006: Warning: Target inconsistency detected in Memory range 0x800137CC-0x80013977
Sat Sep 09 10:02:45 2006: There were warnings during download, see Log Window
Sat Sep 09 10:02:47 2006: Loaded debugee: E:\LJL\Source_code\demo\Debug\Exe\e-wings-demo.d79
Sat Sep 09 10:02:47 2006: Target reset
Sat Sep 09 10:02:47 2006: WinRDI Set break at address 0x80012ADC failed
[RDI Error: 148] No more breakpoints left for this type of memory (RAM/ROM)
Sat Sep 09 10:02:47 2006: WinRDI Set break at address 0x80011CA8 failed
[RDI Error: 148] No more breakpoints left for this type of memory (RAM/ROM)
答 1: reH-JTAG没有设置任何限制。估计是你的设置问题,或者是程序问题。 答 2: retwentyone:
用HJtag调试越大的程序,在运行单步时是不是就越慢?我检查过大、小2个程序在IAR里的设置是一样的,但有时下载大程序时就会这样。不知道大家用HJtag调试过多大的程序,能说说吗? 答 3: reThe speed has nothing to do with the size of your code.
1. Please CANcel the verify option in IAR.
2. Please make sure that your code is download to correct memory area.
答 4: 我用EASYJTAG也碰到了类似情况 答 5: 我用H-JTAG调试也有过这样的情况大的程序在调试的时候会慢一些.但也不至于你说的那么慢
大的程序在速度上确实有一点影响,在单步调试的时候可以明显的感觉出来! 答 6: reAre you using IAR? or other debuggers? thx
另外在下载程序是有时也会下载失败,但在下载一个简单的(小程序)程序后再下载这个大程序就能正常调试,反正就是下载大程序失败后只需下载一次小程序,大程序就能正常卸载和调试好几次。这是为什么?
下载出错时的错误信息如下:
Sat Sep 09 10:02:35 2006: Couldn't open macro file: E:\LJL\Source_code\demo\LPC22xx_XRAM.mac
Sat Sep 09 10:02:35 2006: Sign on message from RDI driver:
H-JTAG Debug Interface for ARM In-Circuit Emulation.
Sat Sep 09 10:02:45 2006: 208038 bytes downloaded and verified (19.32 Kbytes/sec)
Sat Sep 09 10:02:45 2006: Warning: Target inconsistency detected in Memory range 0x80000108-0x80001103
Sat Sep 09 10:02:45 2006: Warning: Target inconsistency detected in Memory range 0x80001104-0x80001E6F
Sat Sep 09 10:02:45 2006: Warning: Target inconsistency detected in Memory range 0x800139E8-0x800139EF
Sat Sep 09 10:02:45 2006: Warning: Target inconsistency detected in Memory range 0x80001E70-0x80002407
Sat Sep 09 10:02:45 2006: Warning: Target inconsistency detected in Memory range 0x800139F0-0x80013A0F
Sat Sep 09 10:02:45 2006: Warning: Target inconsistency detected in Memory range 0x80002408-0x80003403
Sat Sep 09 10:02:45 2006: Warning: Target inconsistency detected in Memory range 0x800135C0-0x8001369D
Sat Sep 09 10:02:45 2006: Warning: Target inconsistency detected in
................. 这里省略的一些错误信息
Memory range 0x80014C50-0x80014C57
Sat Sep 09 10:02:45 2006: Warning: Target inconsistency detected in Memory range 0x800136A0-0x800136A9
Sat Sep 09 10:02:45 2006: Warning: Target inconsistency detected in Memory range 0x80014C58-0x80014CA7
Sat Sep 09 10:02:45 2006: Warning: Target inconsistency detected in Memory range 0x800136AC-0x800137CB
Sat Sep 09 10:02:45 2006: Warning: Target inconsistency detected in Memory range 0x800000B8-0x80000107
Sat Sep 09 10:02:45 2006: Warning: Target inconsistency detected in Memory range 0x800137CC-0x80013977
Sat Sep 09 10:02:45 2006: There were warnings during download, see Log Window
Sat Sep 09 10:02:47 2006: Loaded debugee: E:\LJL\Source_code\demo\Debug\Exe\e-wings-demo.d79
Sat Sep 09 10:02:47 2006: Target reset
Sat Sep 09 10:02:47 2006: WinRDI Set break at address 0x80012ADC failed
[RDI Error: 148] No more breakpoints left for this type of memory (RAM/ROM)
Sat Sep 09 10:02:47 2006: WinRDI Set break at address 0x80011CA8 failed
[RDI Error: 148] No more breakpoints left for this type of memory (RAM/ROM)
答 1: reH-JTAG没有设置任何限制。估计是你的设置问题,或者是程序问题。 答 2: retwentyone:
用HJtag调试越大的程序,在运行单步时是不是就越慢?我检查过大、小2个程序在IAR里的设置是一样的,但有时下载大程序时就会这样。不知道大家用HJtag调试过多大的程序,能说说吗? 答 3: reThe speed has nothing to do with the size of your code.
1. Please CANcel the verify option in IAR.
2. Please make sure that your code is download to correct memory area.
答 4: 我用EASYJTAG也碰到了类似情况 答 5: 我用H-JTAG调试也有过这样的情况大的程序在调试的时候会慢一些.但也不至于你说的那么慢
大的程序在速度上确实有一点影响,在单步调试的时候可以明显的感觉出来! 答 6: reAre you using IAR? or other debuggers? thx
共2条
1/1 1 跳转至页
回复
有奖活动 | |
---|---|
【有奖活动】分享技术经验,兑换京东卡 | |
话不多说,快进群! | |
请大声喊出:我要开发板! | |
【有奖活动】EEPW网站征稿正在进行时,欢迎踊跃投稿啦 | |
奖!发布技术笔记,技术评测贴换取您心仪的礼品 | |
打赏了!打赏了!打赏了! |
打赏帖 | |
---|---|
与电子爱好者谈读图四被打赏50分 | |
与电子爱好者谈读图二被打赏50分 | |
【FRDM-MCXN947评测】Core1适配运行FreeRtos被打赏50分 | |
【FRDM-MCXN947评测】双核调试被打赏50分 | |
【CPKCORRA8D1B评测】---移植CoreMark被打赏50分 | |
【CPKCORRA8D1B评测】---打开硬件定时器被打赏50分 | |
【FRDM-MCXA156评测】4、CAN loopback模式测试被打赏50分 | |
【CPKcorRA8D1评测】--搭建初始环境被打赏50分 | |
【FRDM-MCXA156评测】3、使用FlexIO模拟UART被打赏50分 | |
【FRDM-MCXA156评测】2、rt-thread MCXA156 BSP制作被打赏50分 |