--- Quote Start ---
originally posted by sirga@Nov 24 2005, 10:24 AM
i've implemented a simple system with sopc builder consisting of cpu, onchip memory, jtag_uart and some pios. with this system i can't run simple code like template:# include <stdio.h>
int main(){
printf("hello from nios ii!\n");
return 0;}
i've set syslib properties-program memory to onchip memory and stds to jtag_uart. i've tried also small c library but still it doesn't work.
if you guess some reason, please give me some tips.
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=11138)
--- quote end ---
--- Quote End ---
Look at the Reducing Code Footprint section in Chapter 4 of the Nios II Software Developer's Handbook. You should be able to get the example above below 4k