Altera_Forum
Honored Contributor
16 years agoCant flash flash memory(user space)
I use a Stratix III Board. I can flash the FPGA design without any problems. But I cant flash the flash memory at the user space with my CPU-Code.
Its very strange. I flashed the user space succesfully while I used an other(similar/older)fpga configuration many times. Then I changed the FPGA design(From 8 CPUs @ Flash & DDR2-Rams) to 8 CPUs with On-Chip-Memory+1 CPU at the flash and Ram. Now I cant flash the program code for the cpu to the user space any more. I work with NIOS2 Command Shell due to I have to trick a bit arround. I add 32MB(2000000hex) to the base address at the .sh-File(I generate this with the flash tool) so the flashwriter knows, that it has enogh memory(thx altera for not fixing that knowen bug :( ). Then I run the script in the console and I got this error: Programm failed at offset 17000000. The base address of my flash memory is at 1000000hex. My reset vector is at 37000000(Tried it before with 35000000). What the hell is going on? Can somebody please help me? :) PS: The attach zip-File consists the .sh flash-file. I allready added the 2000000hex there(instead of 10000000)