Lpc

From Wiki at Neela Nurseries
Jump to: navigation, search

NXP LPC microcontroller


Overview

Local notes page for NXP LPC family MCUs.

^ On-chip flash related

On-chip flash in at least one LPC part gives an error when reads attempted on erased but not written areas of flash. Github Zephyr RTOS issue from 2020:

Question, is NXP's proprietary flash firmware driver for on-chip / MCU flash needed for applications which run on LPC but don't use on-chip flash other than for program text? Questions go to Kconfig symbol SOC_FLASH_MCUX and seeming associated device tree node `/soc/peripheral@50000000/flash-controller@34000`. A search of Zephyr 3.7.0 source tree shows:

/zephyr$ lgrep flash-controller@34000
dts/arm/nxp/nxp_lpc55S0x_common.dtsi:78:	iap: flash-controller@34000 {
dts/arm/nxp/nxp_lpc55S6x.dtsi:21:			iap: flash-controller@34000 {
dts/arm/nxp/nxp_lpc55S1x_common.dtsi:85:	iap: flash-controller@34000 {
dts/arm/nxp/nxp_lpc55S2x.dtsi:21:			iap: flash-controller@34000 {
dts/arm/nxp/nxp_lpc55S3x_common.dtsi:83:	iap: flash-controller@34000 {
dts/arm/nxp/nxp_lpc55S2x_common.dtsi:98:	iap: flash-controller@34000 {
dts/arm/nxp/nxp_lpc55S6x_common.dtsi:123:	iap: flash-controller@34000 {