Forum Discussion
Altera_Forum
Honored Contributor
11 years agoYes, now, when i start from 0x0 address it works.
But i have new question. I possible to start reconfig from flash eprom from 0x00|10|00|00 = 1MB ? How ? I have code, which write to the flash from 1MB over (0x00100000-0x001FFFFF) and after this i try to start from address 1MB: ----------------------------------------------------------------------------- printf("Set boot address 0x100000.\n"); // i must shift the address 0x00100000 to the right 2 bits IOWR_ALTERA_AVALON_PIO_DATA(ENABLE_BUS_BASE,0x00040000); usleep(1000); printf("Write the boot address 0x100000.\n"); // address + param + write IOWR_ALTERA_AVALON_PIO_DATA(ENABLE_BUS_BASE,0x00040000|0x01000000|0x02000000); usleep(1000); printf("Start reconfiguration.\n"); IOWR_ALTERA_AVALON_PIO_DATA(ENABLE_BUS_BASE,0x80000000); ------------------------------------------------------------------------- but it start again from 0x0. Where could be error ? Or is there only one possibility and it is to start from 0x0 ? (in altremote_ug or an521 it looks, that it could be able, but exact description, how to make it, i didnt find.) Thank you for your answer. Jan In attachment i include the connected altremote_megafunction.