Forum Discussion
Altera_Forum
Honored Contributor
16 years agoHello,
Maybe it's the problem of alt_main(), unlike main(), some driver initialization should be added manually. # include "sys/alt_sys_init.h" in alt_main(): alt_sys_init(); alt_io_redirect (ALT_STDOUT, ALT_STDIN, ALT_STDERR); I haven't checked myself it yet. but you could try using main() instead if you have enough RAM Yue