Forum Discussion
Altera_Forum
Honored Contributor
12 years ago --- Quote Start --- Now to figure out why the boot loader gets the size wrong... --- Quote End --- I've never used the NIOS tools, but they're gcc based, so they should work something like the ones in this doc: http://www.ovro.caltech.edu/~dwh/ucos/project_ar1803.pdf I'd recommend starting with the linker scripts. Find out the variable names for the starts and ends of sections, then using the debugger, go find those sections. You can 'seed' the linker script with dummy sections and fill those dummy sections with a fixed value. That'll help confirm that the bootloader is working correctly. I assume you're using a bootloader written by someone else (Altera perhaps), so there's no telling whether you're the first to use a particular feature, and find a particular bug. Cheers, Dave