Access to uninitialized SRAM considering the ROM bootloader on LPC55S69 & LPC54114.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Access to uninitialized SRAM considering the ROM bootloader on LPC55S69 & LPC54114.

Jump to solution
1,377 Views
Mathias_
Contributor I

Hi,

We need access to 4 KiB unitialized SRAM on the LPC55S69 & LPC54114 MCUs.

Both of these have an integrated ROM bootloader which uses some of the SRAM.

The LPC5411x User Manual explains:

4.3.2 Memory map after any reset

The boot ROM is located in the memory region starting from the address 0x0300 0000.
The boot loader is designed to run from this memory area, but both the ISP and IAP
software use parts of the on-chip RAM. The RAM usage is described later in
Section 4.3.7.

However Section 4.3.7 does not give a clue as to what part of the SRAM is being used by the ROM bootloader.

Is there any information available on which part(s) of the SRAM (memory map) is truly uninitialized (not touched by the ROM bootloader)?

Best regards,

Mathias

0 Kudos
Reply
1 Solution
1,369 Views
jay_heng
NXP Employee
NXP Employee

For LPC55S69:

Below regions are reserved for bootloader use when the bootloader is running. The heap and the BSS, RW section need to be reserved for the ROM API use before calling the ROM APIs in user application (IAP scenario).

55S69.PNG

For LPC54114:

Flash programming commands use the top 32 bytes of on-chip SRAM0. This corresponds to addresses 0x2000 FFE0 through 0x2000 FFFF. The maximum stack usage in the user allocated stack space is 128 bytes and grows downwards.

View solution in original post

0 Kudos
Reply
1 Reply
1,370 Views
jay_heng
NXP Employee
NXP Employee

For LPC55S69:

Below regions are reserved for bootloader use when the bootloader is running. The heap and the BSS, RW section need to be reserved for the ROM API use before calling the ROM APIs in user application (IAP scenario).

55S69.PNG

For LPC54114:

Flash programming commands use the top 32 bytes of on-chip SRAM0. This corresponds to addresses 0x2000 FFE0 through 0x2000 FFFF. The maximum stack usage in the user allocated stack space is 128 bytes and grows downwards.

0 Kudos
Reply