Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
Announcements
Need Forum Guidance? Click here

Search our FPGA Knowledge Articles here.

MAX10 Bootloader

EEren
Beginner
522 Views

When I create Altera On-Chip Flash IP I get the following addresses

sector 3 - 0x10000 - 0x6FFFF

sector 4 - 0x70000 - 0xB7FFF

sector 5 - 0xB8000 - 0x15FFFF

qsys.png

But when I press Generate HDL - it generates

DEVICE_FAMILY                      => "MAX 10",

PART_NAME                          => "10M50DAF484C7G",

DEVICE_ID                          => "50",

 

SECTOR1_START_ADDR                 => 0,

SECTOR1_END_ADDR                   => 8191,

SECTOR2_START_ADDR                 => 8192,

SECTOR2_END_ADDR                   => 16383,

SECTOR3_START_ADDR                 => 16384,

SECTOR3_END_ADDR                   => 114687,

SECTOR4_START_ADDR                 => 114688,

 SECTOR4_END_ADDR                   => 188415,

 SECTOR5_START_ADDR                 => 188416,

 SECTOR5_END_ADDR                   => 360447,

 

What configuration is correct?

0 Kudos
3 Replies
SreekumarR_G_Intel
233 Views

I am not sure i follow your question , what you mean by what configuration is correct ?

 

Thank you ,

 

Regards,

Sree

EEren
Beginner
233 Views

I think I understood. This is in bytes - sector 3 - 0x10000 - 0x6FFFF. But the flash addresses allocated in 32-bit words, so dividing by 4 we get 16383 - 114687.

SreekumarR_G_Intel
233 Views

ah sure..thank you for the update .

 

Regards,

Sree

Reply