cancel
Showing results for 
Search instead for 
Did you mean: 

How to find start address of NOR/SRAM/PSRAM bank ?

ranran
Senior II

Hello,

I have created with stm32cubeMX full configuration for my project.

I have 3 memories:

  1. nor flash
  2. SRAM
  3. FPGA

I also find the following information in my cubemx project:

Chip Select:NE1
  Memory type:NOR Flash
  Address:24 bits
  Data:16 bits
  Wait:Asynchronous
 
NOR Flash/PSRAM/SRAM/ROM/LCD 2
  Chip Select:NE3
  Memory type:SRAM
  Address:20 bits
  Data:16 bits
 
NOR Flash/PSRAM/SRAM/ROM/LCD 3
  Chip Select:NE2
  Memory type:PSRAM
  Address:24 bits
  Data:16 bits
  Clock:Burst Read Write
  Address valid: Set

But After generating code, I can't find start address of the memories.

According to RM:

0x6C000000 -0x6FFFFFFF FMC NOR/PSRAM/SRAM 4 Bank1 (or remap of FMC SDRAM Bank1)
 
0x68000000 -0x6BFFFFFF FMC NOR/PSRAM/SRAM 3 Bank1 (or remap of FMC SDRAM Bank1)
 
0x64000000 -0x67FFFFFF FMC NOR/PSRAM/SRAM 2 Bank1 (or remap of FMC SDRAM Bank1)
 
0x60000000 -0x63FFFFFF FMC NOR/PSRAM/SRAM 1 Bank1 (or remap of FMC SDRAM Bank1)

But why in columns above it shows "BANK1" ? (and not bank2, bank3) ?

So, which address correspond to BANK2 and BANK3 ?

Attached the project test.ico (using 4.27 cubemx)

https://drive.google.com/file/d/1n-OvGtiwXAdurKw2XfC-ZL8ysACitrhq/view?usp=sharing

Thank you,

ran

0 REPLIES 0