Content originally posted in LPCWare by bavarian on Mon Sep 29 05:22:15 MST 2014
The size of the flash banks is 0x80000. If you think about programming a loop you would maybe set the parameter running from 0 ... 0x7FFFF, but here you need to provide the pure size, and this is 0x80000.
Second problem: for me it's running fine in principle (see attached picture). Can you maybe see more details where it's going wrong in the "Program log" ?
If you generated the binary for the flash bank #A with Keil, then you have maybe already added the CRC checksum over the first words of the image. This is the indication for the bootloader that it is a valid executable code and it will start with it. If you didn't do it with Keil (or any other method in other tools), then you need to do it here with "Compute/Insert checksum in image before programming".
Regards,
NXP Support Team.