Forum Discussion
Altera_Forum
Honored Contributor
19 years agorugbybloke,
Thank you for your reply. I just read <<Nios II Software Developer’s Handbook>>,and set the preproccess options according to concerned chapter of the handbook.but it still failed. maybe,the code i wrote needs large region.i set the on chip memory size to 8K in sopc builder,and set the sytem library according to the Reduce the code footprint chapter of the handbook,then builid the project, Succeeded!.the info in console is :(hello_world_0.elf) 6292 Bytes program size (code + initialized data). herein, i have a another problem. in the code i wrote for my customed NiosII system,the printf function was called to write some character to the STDOUT,but once the program run,i don't get the character i want,i just get the info:terminate the program in NiosII IDE or Ctrl-C. Could you tell me why and how i get i want in the console? Thanks! http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/blink.gif