--- Quote Start ---
originally posted by wombat@Dec 8 2004, 06:00 AM
mir,
the .flash file should be a standard .srec file, and looks like one to me. see the boot-loader sources in components/altera_nios2/sdk/src/boot_loader_sources, particularly the comments in the .s file. --- Quote End ---
Hi wombat,
thanks for your interest in my issue. Meanwhile I agree with you that .flash files are SREC files. My problem arose from comparing the .flash file produced by GUI flash programmer and the patterns I've got when reading the EPCS content in the running application.
Reading EPCS results in several 0xFFs followed by 0x56. A dump of the EPCS .flash file showed 0x6A as the first non FF byte. The miracle is: reading EPCS data shows content in reverse bit order:
0x56 = %01010110
0x6A = %01101010
((reading is done by 'alt_read_flash()')
regards
Mike