Forum Discussion

EEren's avatar
EEren
Icon for Occasional Contributor rankOccasional Contributor
6 years ago

MAX10 Bootloader

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

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?

3 Replies

  • SreekumarR_G_Intel's avatar
    SreekumarR_G_Intel
    Icon for Frequent Contributor rankFrequent Contributor

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

    Thank you ,

    Regards,

    Sree

    • EEren's avatar
      EEren
      Icon for Occasional Contributor rankOccasional Contributor

      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.