JLINK + ADS debugger 中 load image 错误,请大侠出手!

2019-07-16 09:32发布

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

红 {MOD}字体标示的,在FLASH区域 0x00000000 写入的是 18 F0 9F E5 ,但读的是 34 40 9F E5。这是为什么?
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
该问题目前已经被作者或者管理员关闭, 无法添加新回复
1条回答
z00
1楼-- · 2019-07-16 14:11
使用JLINKARM_WriteMemHW并未立即写入到flash中 需要一段时间 读取的是缓存

一周热门 更多>