The user manual says this:
| Return Code | CMD_SUCCESS followed by four 32-bit words of a unique serial number in ASCII format. The word sent at the lowest address is sent first |
But the code in the LPC5411x package is this:
/* Read the unique ID */
uint32_t Chip_IAP_ReadUID(void)
{
uint32_t command[5], result[4];
command[0] = IAP_READ_UID_CMD;
iap_entry(command, result);
return result[1];
}
I'm not sure is that's just buggy code that just keeps floating around, but it clearly won't work. Digging around in the forums I see that this exist in several LPCOpen packages.