Altera_Forum
Honored Contributor
20 years agoHow to load program to SSRAM
Hello !
I have a custom NIOS II system with STRATIX II and SSRAM. I am doing this steps for load and start my system: ( All program sections placed in SSRAM) 1. Nios2 compilator create *.elf 2. I convert *.elf to *.bin with "nios2-elf-objcopy.exe 1.elf -O binary --set-start 0 1.bin" 3. I init SSRAM with my *.bin 4. I reset NIOS. In this case working only simple program ( printing constant string to LCD for example). System crash when i writing C-code with variables. How must I load *.elf to SSRAM correctly? Thanks. Sorry for my English