We built our first prototype based on LPC54S018M but we can't erase / program the flash. Is flash optional ? i.e. Does NXP release this part flashless?
When we inspect the flash memory via debugger (KEIL) it yields all 0. We ran a program from RAM to retrieve the flash part's JEDEC ID and we get all 0 (instead of manufacturer ID 0xEF / device ID 0x4016).
Does the ISP pins dictate the boot ROM to configure the flash in anyways that would cause this problems ? We wired the pins to boot directly from internal flash: ISP0/ISP1 high, and ISP2 low.
the MCU part ID is : LPC54S018J4 / MET180 / P61G43.00 04 / ESD18501B
Solved! Go to Solution.
The LPC54018 is flashless only (no option), and NXPs normal naming convention Is for the ‘S’ parts to be the same, but with some additional security features. So, I would say with 99% certainty the it is flashless.
This is very confusing because my NXP dev board (LPC54S018M-EVK) has a similar ID (below) and the MCU is equipped w/ 4M internal flash. J2/J4 distinguishes between the flash size (from datasheet).
LPC54S018J4 / MET180 / P61G43.00 04 / ESD18501B
Ok, I have looked at the data sheet for the J parts. They have on-chip Quad SPI flash, so you are correct. This is a multi wafer chip where the flash is added int the package.
I guess this means you are going to have to enable the correct pins to select the to boot mode. As it says in the data sheet, See the Boot Process chapter in UM11060 for more detail.
sorry for the confusion