Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20641 Discussions

MAX10 Bootloader

EEren
Novice
836 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
547 Views

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

 

Thank you ,

 

Regards,

Sree

0 Kudos
EEren
Novice
547 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.

0 Kudos
SreekumarR_G_Intel
547 Views

ah sure..thank you for the update .

 

Regards,

Sree

0 Kudos
Reply