LPC 822 ISP Write to RAM echoes correctly, but OK response never received!

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

LPC 822 ISP Write to RAM echoes correctly, but OK response never received!

跳至解决方案
1,956 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by schoeler on Mon Apr 11 17:39:15 MST 2016
According to 25.6.1.4 of LPC82X_UM10800, after a command with an acceptable address, length, and count is received, the LPC will respond with CMD_SUCCESS ("0").  At this point, the host then sends a length amount of bytes, and the LPC should respond with "OK<CR><LF>".

There have been some instances of the OK<CR><LF> not occuring, but no confirmation from NXP (for example, https://www.lpcware.com/content/forum/error-isp-lpc812-lost-characters-when-sending-bytes-too-fast-l... comment 14).  This is not listed in the Errata sheet Rev 1.1. 

Has anyone else seen this issue?

Even though there is no return code, a READ from the same location returns all the values I have sent.  So I know the data is in RAM, but there just seems to be no return code, contrary to what is stated in the manual.

Thanks.

标签 (1)
0 项奖励
回复
1 解答
1,551 次查看
andreasschnitze
Contributor II

Same here on a LPC15xx.

work around:

I verify the complete download with the ‘Read CRC checksum’ which is described in UM10736.

This could also be done with fractions on the ram address or related flash address after ‘Copy RAM to flash’.

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,552 次查看
andreasschnitze
Contributor II

Same here on a LPC15xx.

work around:

I verify the complete download with the ‘Read CRC checksum’ which is described in UM10736.

This could also be done with fractions on the ram address or related flash address after ‘Copy RAM to flash’.

0 项奖励
回复
1,551 次查看
lpcware
NXP Employee
NXP Employee
bump
0 项奖励
回复