I have been working with the LPCXpresso845MAX board and discovered an issue interfacing to the IAP ROM routines. Following the User manual UM11029 Rev 1.6 in section 5.6 the sentence in opening paragraph says 'The user can reuse the command table for result by passing the same pointer in registers r0 and r1.'. When doing this I was continuing to get INVALID_COMMAND returned.
But if I do not use the same buffers for input and output then the command succeed. Reading through these forums this appears to be similar to an issue reported on the LPC824.
So my question becomes is this a User manual documentation issue or a boot ROM issue and will be fixed in a furture variant of the micro-controller?