Difference between revisions of "Lpc"

From Wiki at Neela Nurseries
Jump to: navigation, search
(Begin local notes page for NXP LPC family MCUs.)
 
m (Add SoC device tree search results.)
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
  
 
Overview
 
Overview
========
 
  
 
Local notes page for NXP LPC family MCUs.
 
Local notes page for NXP LPC family MCUs.
  
== On-chip flash related ==
+
== [[#top|^]] 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:
 
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:
Line 15: Line 14:
 
*  https://github.com/zephyrproject-rtos/zephyr/issues/24429
 
*  https://github.com/zephyrproject-rtos/zephyr/issues/24429
  
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` . . .
+
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:
 +
 
 +
<pre>
 +
/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 {
 +
</pre>

Latest revision as of 20:56, 19 February 2025

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 {