Forum Discussion
Altera_Forum
Honored Contributor
21 years agoRun as hardware
Hi, Now I want to write the bootloader by myself for my NiosII System. Can anybody tell me how to finish it in detail? And can you explain what action will be taken by NiosII IDE j...
Altera_Forum
Honored Contributor
21 years agoThe usual effect of "Run as Hardware" is that the debugger sets the contents of memory locations specified in the .ELF file to match the ELF file, then it starts the processor at the entry point specified in the ELF file.
This is pretty much what the bootloader does too - it sets up the memory so that it matches the ELF file and then jumps to the ELF entry point. It will probably be easier for you to use the Altera bootloader rather than writing your own - what's missing / wrong in the Altera one?