Okay, now I'm trying to work through that chapter.
I have a Quartus project and SOPC Builder system file, and the epcs_controller module in my system (blank refdes).
mk_target_board dies with Undefined subroutine &europa_utils::find_component_dir called at
q2installdir\kits\nios2/bin/
create-board.pl line 509. Workaround: specify software directory created by IDE with undocumented switch --src=software.
Looking through my nios2/bin/* and nios2/bin/europa/* directories I find no definition of find_component_dir.
Of course, now that I override src, I get a new error:
(SEVERE) Error copying: "software/system/firmware_ROM.hex" to: "
q2projectdir/
boardname/system/firmware_ROM.hex" and the board directory contains a "system" directory and nothing more.
So, I need to have my software built before I can define my board?
BTW, my install is Quartus II 3.0 + Quartus II 4.0 + Nios I 3.2 + Nios II 1.0. I've been doing all this work under Quartus II 4.0. Supposedly, they don't interfere with each other...?
Anyway, the IDE is refusing to build a near-empty main (I've got calls to enable the heartbeat and watchdog timers, and check/reset them in a main loop, all via registers, no timer HAL API usage) as anything less than 8K of code (I've got about 2K of ROM and 128 bytes RAM available on this EP1C3) so I'm off to figure that out...
Since I'm operating entirely out of internal memory, and the "onchip memory" ROM and RAM devices say they'll initialize from ROM.hex and RAM.hex, respectively, maybe I don't need the epcs_controller (and its always-on bootloader memory) and I could use an old ASMI instead?
I'm surrounded by lostness right now. Guess I'm going to have to read the whole software manual this weekend...