Datasheet

UM10398 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved.
User manual Rev. 12.3 — 10 June 2014 437 of 547
NXP Semiconductors
UM10398
Chapter 26: LPC111x/LPC11Cxx Flash programming firmware
See Section 26.5.4 for limitations on the write-to-flash process.
26.6.8 Go (C_CAN ISP)
Write the start address into [0x5070, 0]. Then trigger the “start application” command by
writing the value 0x1 to [0x1F51, 1].
26.6.9 Erase sectors (C_CAN ISP)
Write a 16-bit value to [0x5030, 0] with the start sector number in the lower eight bits and
the end sector number in the upper eight bits.
26.6.10 Blank check sectors (C_CAN ISP)
Write a 16-bit value to [0x5040, 1] with the start sector number in the lower eight bits and
the end sector number in the upper eight bits.
If the SECTOR_NOT_BLANK abort code is returned, the entry [0x5040, 2] contains the
offset of the first non-blank location.
26.6.11 Read PartID (C_CAN ISP)
Read [0x1018, 2]. See Table 387.
26.6.12 Read boot code version (C_CAN ISP)
Read [0x1018, 3]
26.6.13 Read serial number (C_CAN ISP)
Read [0x5100, 1 to 4]
26.6.14 Compare (C_CAN ISP)
Write the parameters into entry [0x5060, 1 to 3]. The write of the number of bytes
into[0x5060, 3] starts the comparison.
If the COMPARE_ERROR abort code is returned, the entry [0x5060, 4] can be read to get
the offset of the first mismatch.
26.6.15 C_CAN ISP SDO abort codes
The OD entries that trigger an action return an appropriate SDO abort code when the
action returned an error. The abort code is 0x0F00 0000 plus the value of the
corresponding ISP return code in the lowest byte. Table 394
shoes the list of abort codes.
In addition, the regular CANopen SDO abort codes for invalid access to OD entries are
also supported.