Forum Discussion
ASeif
New Contributor
6 years agoIn-place boot on memory
Hi, I am using NIOS II with configuring it to execute in-place (not boot copier). I have a off-chip memory of 128Mb which the program is located there. Previously I use a off-chip memory of 16Mb. ...
Ahmed_H_Intel1
Frequent Contributor
6 years agoThanks for the shared screen-shots. Can you please share with us the linker script settings? this is the most important setting to define if you are going to use the boot copier or not.
In Eclipse write-click the BSP project the go to NIOS II>>BSP_editor>>select the Linker Script tab
- set the .text item in the Linker Section Name to the QSPI flash in the Linker Region Name. Set the rest of the items in the Linker Section Name list to the Altera On-chip Memory (OCRAM)
- Enable the following settings in Settings.Advanced.hal.linker: • allow_code_at_reset • enable_alt_load • enable_alt_load_copy_rodata • enable_alt_load_copy_rwdata • enable_alt_load_copy_ exceptions.
Regards,
- ASeif6 years ago
New Contributor
Thanks for sharing you opinion.
The things you mentioned was OK, and I have set the right settings for 16Mb memory. That's why it works on 16Mb one, and also in this memory before changing memory size in setting.
As I said, when I download 16Mb memory's JIC file to this memory, it works! But when I change memory size in platform designer, it doesn't work.
I attach some BST editor's screenshots.