Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

A Strange Address

When I burn a hardware imge to my falsh, following info displays in the console:

..............................................................................# Programming flash with the FPGA configuration

$SOPC_KIT_NIOS2/bin/nios2-flash-programmer --input=standard.flash --sof=$SOPC_KIT_NIOS2/components/altera_nios_dev_board_cyclone_1c20/system/altera_nios_dev_board_cyclone_1c20.sof --base=0x00800000

..............................................................................

I have checked in the SOPC Builder, the address 0x00800000~0x00ffffff is not allocated to any device,

but in the info it says "--base=0x00800000".

Why?

http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/blink.gif

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    When the flash programmer is downloading an image to flash, it first puts it&#39;s own Nios core on the FPGA (in this case altera_nios_dev_board_cyclone_1c20.sof). The address listed with the --base parameter is the base address of the flash device within this core and has nothing to do with the base address in your own core.

    Dennis Scott

    Microtronix Datacom Ltd.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi, Dennis.

    Thanks for your help.

    In the example of standard, SOPC Builder assign the base addresses automatically,

    but why doesn&#39;t it asign the address of 0x00800000~0x0FFFFFF to a device?

    Does it have something to do with the base address (0x00800000) of CFI in the <altera_nios_dev_board_cyclone_1c20/system/altera_nios_dev_board_cyclone_1c20.sof>?