Visible to Intel only — GUID: lro1432912123801
Ixiasoft
2.1. Starting the Flash Programmer GUI
2.2. Specifying your Flash Programmer Settings
2.3. Working with Flash Programmer Settings Files
2.4. Setting the Hardware Connection
2.5. Checking System ID and System Timestamp
2.6. Generating Flash Files and Programming Flash Memory
2.7. Document Revision History for Using the Flash Programmer GUI
B.1. Overview
B.2. Start Button Grayed Out in the Flash Programmer GUI
B.3. 'No Nios® II Processors Available' Error
B.4. 'No CFI Table Found' Error
B.5. 'No EPCS Registers Found' Error
B.6. 'System Does Not Have Any Flash Memory' Error
B.7. 'Reading System ID at Address 0x<address>: FAIL' Error
B.8. 'Base Address Not Aligned on Size of Device' Error
B.9. Document Revision History for Troubleshooting
Visible to Intel only — GUID: lro1432912123801
Ixiasoft
3.3. elf2flash
The elf2flash utility takes an Executable and Linking Format File, and translates it to an S-record file suitable for programming into flash memory.
elf2flash also inserts a boot copier into the flash file, if needed. elf2flash inserts the boot copier code before the application code under the following conditions:
- The processor’s reset address falls within the address range of the flash memory being programmed.
- The executable code is linked to a memory location outside of the flash memory being programmed.
If elf2flash inserts a boot copier, it also translates the application executable and linking format file to a boot record for use by the boot copier. This boot record contains all of the application code, but is not executable. After reset, the boot copier reads the boot record from flash memory and copies the application code to the correct linked address, and then branches to the newly-copied application code.