Altera_Forum
Honored Contributor
16 years agoproblems rebuilding the supplied EPCS boot loader controller code
HI All,
I have a problems rebuilding the supplied EPCS boot loader controller code I have a simple project that currently boots an image from EPCS, I wish to edit the boot loader source to support multi image boot. So, firstly before i do any edits I thought I'd make sure i could build and boot the supplied EPCS boot loader code from source, this is where im having the problem. My setup: cyclone III EP3C40 (custom board) Quartus Ver 90 EPCS controller at Address 0x800 in the niosII shell i go to the folder: c:\altera\90\nios2eds\components\altera_nios2\boot_loader_sources and do the following: [NiosII EDS]$ make CODE_BASE=0x000000 EPCS_REGS_BASE=0x800 clean all [NiosII EDS]$ elf2hex --base=0 --end=0x1ff --width=32 obj/boot_loader_epcs_sii_siii_ciii.elf epcs_flash_controller_0_boot_rom.hex I then copy this hex file to my project folder (overwriting the existing) and rebuild the project in Quartus. Then go to the Nios IDE, clean and build my existing working project, then using the Flash programmer tool reprogram my EPCS, but on cycling the power the board no longer boots... Any advice anyone can give on this would be greatly appreciated. How have other people rebuilt this code ? Thanks in advance Jed