Forum Discussion
Altera_Forum
Honored Contributor
21 years agoRugbybloke,
I do as you said, it works fine. But I have question to ask you. <div class='quotetop'>QUOTE </div> --- Quote Start --- This file is in S-Record format if you decode the last line and the second line and calculate the difference that should tell you how much of your flash contains the code.[/b] --- Quote End --- I do now how to calculate, can you describe in detailed? Is The .sh file generated automatically? My Flash is 4MB, just from 0x0--0x3FFFFF. But in .sh file, <div class='quotetop'>QUOTE </div> --- Quote Start --- $SOPC_KIT_NIOS2/bin/elf2flash --flash=U20 --base=0x00000000 --end=0x200000[/b] --- Quote End --- It is only 2MB, I do not know how it come. Can you explain? Thank you.