ISP-IAP API Read Memory ISP

Reads the plain binary code of the data stream, followed by the CMD_SUCCESS return code.

Table 1. ISP-IAP API UART ISP Read Memory command
Command R
Input Start Address: Address from where data bytes are to be read. This address should be a word boundary.

Number of Bytes: Number of bytes to be read. Count should be a multiple of 4.

Return Code CMD_SUCCESS followed by <actual data (plain binary)> |

ADDR_ERROR (Address not on word boundary) |

ADDR_NOT_MAPPED |

COUNT_ERROR (Byte count is not a multiple of 4) |

PARAM_ERROR |

CODE_READ_PROTECTION_ENABLED

Description This command is used to read data from RAM or flash memory. This command is blocked when code read protection is enabled.
Example "R 268435456 4<CR><LF>" reads 4 bytes of data from address 0x1000 0000.

-->