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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

ソリューションへジャンプ
1,371件の閲覧回数
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 件の賞賛
返信
1 解決策
1,363件の閲覧回数
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 件の賞賛
返信
1 返信
1,364件の閲覧回数
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 件の賞賛
返信