Altera_Forum
Honored Contributor
11 years agoSIII hw + sftw EPCQ256 13.1
Hi,
I am attempting (several ways) to use hw/sftw on EPCQ256 with Stratix III as follows. o If I convert the SOF to a JIC and program the EPCQ256 with quartus programmer => then power up SIII configuration fails o If I convert the SOF to a JIC, but selecting "disable EPCS ID check", and program the EPCQ256 with quartus programmer => then power up configuration works every time o If I try to program the hardware configuration, and also the software, with the flash programmer GUI => then power up SIII configuration fails o Next I try the following steps o sof2flash o elf2flash o concatenate the sof and elf files together o use object copy to convert this flash file to hex o use quartus convert programming file to convert this hex file to a jic file (specifying "disable EPCS ID check") o program EPCQ256 with quartus => then power up SIII configuration fails o Next I try these steps o elf2flash o use object copy to convert this elf flash file to hex o use quartus convert programming file to convert sof file (first) and software hex file (second) to a jic file (specifying "disable EPCS ID check") o program EPCQ256 with quartus => then power up SIII configuration is successful => software does not start => I see in gdb that boot copier expects first 32 bytes of hdw image to be 0xff => I see that the last of these bytes is not 0xff => the boot copier tries to load the elf out of the sof image => when that this isnt going well it traps itself in an infinite loop So ... perhaps in quartus 13.1 the SIII boot copier relies on some specialized magic in sof2flash, but I dont know how to disable the EPCS ID check anywhere in the sof2elf command line, and perhaps that is the root issue. Another possibility is that QSYS generate has elected to provide the wrong version of the boot copier for my SIII/EPCQ256 situation (my EPCS is in a qsys subsystem)? Any suggestions? PS: design is fully constrained, and meets timing Thanks, Jeff