Forum Discussion
Altera_Forum
Honored Contributor
11 years agoNow we have discovered another thing which could could cause the troubles.
The .flash file which is corresponding to the NIOS .elf file contains some headers inside. The first 4Bytes of the content describes the length of data which are stored and the following 4Bytes contains the address where should be the data copied. Please tell me if this is not true. After this 8B header there is data contents and it contiunes with next header and so on. On the DE0 - working, the first flash header contains some length and the address of SDRAM (where should be data copied) BUT On the custom board with Cyc IV which is not booting correctly - the first flash header contains lenght but the adress is 0x0000 0000 (but the SDRAM has some another address). We thing that the bootloader is OK, but it copies the section to the faulty address. Now the question is, what we have to change to get correct .flash file. Is the problem in the elf2flash or? We are using the Flash Programmer GUI to generate flash files.