- 易迪拓培训,专注于微波、射频、天线设计工程师的培养
JLINK + ADS debugger 中 load image 错误,请工程师出手
录入:edatop.com 点击:
CPU是 LPC2119,仿真器是 JLINK V8
下面是JLINK 的 LOG:
T0874 000:804 JLINKARM_Reset()
T0874 001:158 JLINKARM_ReadMemHW(0xE01FC000, 0x0004 Bytes, ...) - Data: 00 00 00 00
T0874 001:160 JLINKARM_ReadMemHW(0xE01FC004, 0x0004 Bytes, ...) - Data: 07 00 00 00
T0874 001:162 JLINKARM_WriteMemHW(0xE01FC000, 0x0004 Bytes, ...) - Data: 00 00 00 00
T0874 001:165 JLINKARM_WriteMemHW(0xE01FC004, 0x0004 Bytes, ...) - Data: 07 00 00 00
T0874 001:167 JLINKARM_WriteMemHW(0xE01FC000, 0x0004 Bytes, ...) - Data: 02 00 00 00
T0874 001:169 JLINKARM_ReadMemHW(0x40000000, 0x0004 Bytes, ...) - Data: 5A B6 0C 48
T0874 001:171 JLINKARM_WriteMemHW(0x40000000, 0x0004 Bytes, ...) - Data: 0B 00 0D 00
T0874 001:174 JLINKARM_ReadMemHW(0x40000000, 0x0004 Bytes, ...) - Data: 0B 00 0D 00
T0874 001:176 JLINKARM_ReadMemHW(0xE01FC040, 0x0004 Bytes, ...) - Data: 00 00 00 00
T0874 001:178 JLINKARM_WriteMemHW(0xE01FC040, 0x0004 Bytes, ...) - Data: 01 00 00 00
T0874 001:180 JLINKARM_ReadMemHW(0x00000000, 0x0004 Bytes, ...) - Data: C4 00 57 03
T0874 001:182 JLINKARM_WriteMemHW(0x40000000, 0x0004 Bytes, ...) - Data: 3B FF A8 FC
T0874 001:184 JLINKARM_ReadMemHW(0x00000000, 0x0004 Bytes, ...) - Data: C4 00 57 03
T0874 001:186 JLINKARM_WriteMemHW(0xE01FC040, 0x0004 Bytes, ...) - Data: 02 00 00 00
T0874 001:189 JLINKARM_ReadMemHW(0x00000000, 0x0004 Bytes, ...) - Data: 3B FF A8 FC
T0874 001:191 JLINKARM_WriteMemHW(0x40000000, 0x0004 Bytes, ...) - Data: 5A B6 0C 48
T0874 001:193 JLINKARM_WriteMemHW(0xE01FC040, 0x0004 Bytes, ...) - Data: 00 00 00 00
T0874 001:195 JLINKARM_WriteMemHW(0xE01FC000, 0x0004 Bytes, ...) - Data: 00 00 00 00
T0874 001:197 JLINKARM_WriteMemHW(0xE01FC004, 0x0004 Bytes, ...) - Data: 03 00 00 00
T0874 001:200 JLINKARM_WriteMemHW(0xE01FC000, 0x0004 Bytes, ...) - Data: 00 00 00 00
T0874 019:103 JLINKARM_WriteMem(0x00000000, 0x05D4 Bytes, ...) - Data: 18 F0 9F E5 18 F0 9F E5 ...
T0874 019:227 JLINKARM_ReadMem (0x00000314, 0x0004 Bytes, ...) - Data: 00 00 00 00
T0874 019:231 JLINKARM_ReadMem (0x00000178, 0x0004 Bytes, ...) - Data: 00 00 00 00
T0874 019:236 JLINKARM_ReadMem (0x00000234, 0x0004 Bytes, ...) - Data: 00 00 00 00
T0874 019:240 JLINKARM_ReadMem (0x0000030C, 0x0004 Bytes, ...) - Data: 00 00 00 00
T0874 019:240 JLINKARM_ReadMem (0x000001AC, 0x0004 Bytes, ...) - Data: 00 00 00 00
T0874 019:245 JLINKARM_ReadMem (0x00000000, 0x0004 Bytes, ...) - Data: 34 40 9F E5
T0874 019:249 JLINKARM_ReadMem (0x0000003C, 0x0004 Bytes, ...) - Data: 00 C0 1F E0
红色字体标示的,在FLASH区域 0x00000000 写入的是 18 F0 9F E5 ,但读的是 34 40 9F E5。这是为什么?
下面是JLINK 的 LOG:
T0874 000:804 JLINKARM_Reset()
T0874 001:158 JLINKARM_ReadMemHW(0xE01FC000, 0x0004 Bytes, ...) - Data: 00 00 00 00
T0874 001:160 JLINKARM_ReadMemHW(0xE01FC004, 0x0004 Bytes, ...) - Data: 07 00 00 00
T0874 001:162 JLINKARM_WriteMemHW(0xE01FC000, 0x0004 Bytes, ...) - Data: 00 00 00 00
T0874 001:165 JLINKARM_WriteMemHW(0xE01FC004, 0x0004 Bytes, ...) - Data: 07 00 00 00
T0874 001:167 JLINKARM_WriteMemHW(0xE01FC000, 0x0004 Bytes, ...) - Data: 02 00 00 00
T0874 001:169 JLINKARM_ReadMemHW(0x40000000, 0x0004 Bytes, ...) - Data: 5A B6 0C 48
T0874 001:171 JLINKARM_WriteMemHW(0x40000000, 0x0004 Bytes, ...) - Data: 0B 00 0D 00
T0874 001:174 JLINKARM_ReadMemHW(0x40000000, 0x0004 Bytes, ...) - Data: 0B 00 0D 00
T0874 001:176 JLINKARM_ReadMemHW(0xE01FC040, 0x0004 Bytes, ...) - Data: 00 00 00 00
T0874 001:178 JLINKARM_WriteMemHW(0xE01FC040, 0x0004 Bytes, ...) - Data: 01 00 00 00
T0874 001:180 JLINKARM_ReadMemHW(0x00000000, 0x0004 Bytes, ...) - Data: C4 00 57 03
T0874 001:182 JLINKARM_WriteMemHW(0x40000000, 0x0004 Bytes, ...) - Data: 3B FF A8 FC
T0874 001:184 JLINKARM_ReadMemHW(0x00000000, 0x0004 Bytes, ...) - Data: C4 00 57 03
T0874 001:186 JLINKARM_WriteMemHW(0xE01FC040, 0x0004 Bytes, ...) - Data: 02 00 00 00
T0874 001:189 JLINKARM_ReadMemHW(0x00000000, 0x0004 Bytes, ...) - Data: 3B FF A8 FC
T0874 001:191 JLINKARM_WriteMemHW(0x40000000, 0x0004 Bytes, ...) - Data: 5A B6 0C 48
T0874 001:193 JLINKARM_WriteMemHW(0xE01FC040, 0x0004 Bytes, ...) - Data: 00 00 00 00
T0874 001:195 JLINKARM_WriteMemHW(0xE01FC000, 0x0004 Bytes, ...) - Data: 00 00 00 00
T0874 001:197 JLINKARM_WriteMemHW(0xE01FC004, 0x0004 Bytes, ...) - Data: 03 00 00 00
T0874 001:200 JLINKARM_WriteMemHW(0xE01FC000, 0x0004 Bytes, ...) - Data: 00 00 00 00
T0874 019:103 JLINKARM_WriteMem(0x00000000, 0x05D4 Bytes, ...) - Data: 18 F0 9F E5 18 F0 9F E5 ...
T0874 019:227 JLINKARM_ReadMem (0x00000314, 0x0004 Bytes, ...) - Data: 00 00 00 00
T0874 019:231 JLINKARM_ReadMem (0x00000178, 0x0004 Bytes, ...) - Data: 00 00 00 00
T0874 019:236 JLINKARM_ReadMem (0x00000234, 0x0004 Bytes, ...) - Data: 00 00 00 00
T0874 019:240 JLINKARM_ReadMem (0x0000030C, 0x0004 Bytes, ...) - Data: 00 00 00 00
T0874 019:240 JLINKARM_ReadMem (0x000001AC, 0x0004 Bytes, ...) - Data: 00 00 00 00
T0874 019:245 JLINKARM_ReadMem (0x00000000, 0x0004 Bytes, ...) - Data: 34 40 9F E5
T0874 019:249 JLINKARM_ReadMem (0x0000003C, 0x0004 Bytes, ...) - Data: 00 C0 1F E0
红色字体标示的,在FLASH区域 0x00000000 写入的是 18 F0 9F E5 ,但读的是 34 40 9F E5。这是为什么?
使用JLINKARM_WriteMemHW并未立即写入到flash中 需要一段时间 读取的是缓存
申明:网友回复良莠不齐,仅供参考。如需专业帮助,请学习易迪拓培训专家讲授的ADS视频培训课程。
上一篇:SI-listADS调用IBIS模型-DDR2数据信号仿真实例
下一篇: ADS中ibis输入模型die上的波形显示
ADS培训课程推荐详情>>
国内最全面、最专业的Agilent ADS培训课程,可以帮助您从零开始,全面系统学习ADS设计应用【More..】
- Agilent ADS教学培训课程套装
- 两周学会ADS2011、ADS2013视频教程
- ADS2012、ADS2013射频电路设计详解
- ADS高低阻抗线微带滤波器设计培训教程
- ADS混频器仿真分析实例视频培训课程
- ADS Momentum电磁仿真设计视频课程
- ADS射频电路与通信系统设计高级培训
- ADS Layout和电磁仿真设计培训视频
- ADS Workspace and Simulators Training Course
- ADS Circuit Simulation Training Course
- ADS Layout and EM Simulation Training Course
- Agilent ADS 内部原版培训教材合集