Programing NXP LPC via USB as a flash disk (USB ISP MSC)

Yes please, but that must be a separate issue in that platform. There’s the code

Does it work that way with the checksum added? I see you’re creating a fixed firmware_FLASH.bin there (which will not be what’s used during the “Upload” procedure, there it will use firmware.bin – you might want to try and modify / fix the existing .bin file)