SRAM usage by the ROM bootloader

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

SRAM usage by the ROM bootloader

Jump to solution
406 Views
stefano-quantic
Contributor III

I'm using iMXRT1176.
I need to store some values in SRAM, and be able to retrieve them after a (non-power-cycle) reset.
I need to know which parts of SRAM could be touched by the ROM bootloader, so that I can allocate my variables at different addresses.
The reference manual (§10.5.1 "Internal ROM/RAM memory map") states that a portion of OCRAM1 is used: 0x20240000-0x2024FFFF
Is it correct that this is the only portion of SRAM that is modified by the bootloader?

Labels (1)
0 Kudos
1 Solution
340 Views
RaRo
NXP TechSupport
NXP TechSupport

Hello @stefano-quantic,

We apologize for the delay to get back to you.

As the i.MX RT1170 Processor Reference Manual. Section 10.5.1 Internal ROM/RAM memory map mentions: "The RAM space occupied by ROM cannot be used as part of the boot image. The entire OCRAM1 region can be used freely after the boot. The above OCRAM1 region must be reserved if the user application needs to call the HAB API/FlexSPI NOR API for image authentication."

The reference manual (§10.5.1 "Internal ROM/RAM memory map") states that a portion of OCRAM1 is used: 0x20240000-0x2024FFFF

Finally, we just like to point out that according the i.MX RT1170 Processor Reference Manual., OCRAM1 region is from 0x2024_0000 to 0x2024_BFFF.

Best regards, Raul.

View solution in original post

0 Kudos
1 Reply
341 Views
RaRo
NXP TechSupport
NXP TechSupport

Hello @stefano-quantic,

We apologize for the delay to get back to you.

As the i.MX RT1170 Processor Reference Manual. Section 10.5.1 Internal ROM/RAM memory map mentions: "The RAM space occupied by ROM cannot be used as part of the boot image. The entire OCRAM1 region can be used freely after the boot. The above OCRAM1 region must be reserved if the user application needs to call the HAB API/FlexSPI NOR API for image authentication."

The reference manual (§10.5.1 "Internal ROM/RAM memory map") states that a portion of OCRAM1 is used: 0x20240000-0x2024FFFF

Finally, we just like to point out that according the i.MX RT1170 Processor Reference Manual., OCRAM1 region is from 0x2024_0000 to 0x2024_BFFF.

Best regards, Raul.

0 Kudos