Forum Discussion
Altera_Forum
Honored Contributor
22 years agodifference between main() and alt_main() ?
My customer NIOS2 config is : cyclone 1C20, SDRAM, EPCS4. And SDRAM memory base is locked at 0x0. Reset address and Exception address is set to SDRAM. When I debug hello_led.c in my board, progr...
Altera_Forum
Honored Contributor
22 years agoActually write you're incorrect, alt_main is a pre-main entry point for those who wish to initialise their system themselves. If you look at Page 4-28 of the Nios II Software Developer's Handbook this is coverred in detail.