Forum Discussion
Altera_Forum
Honored Contributor
16 years agoNIOS II do not run
Hi together, I have a problem. I´m debugging a NIOS II project and it is working. I saved the .sof and .elf file in a 16MB-flash. Then I go on the projectname->debug as->NIOS II Hardware. In the...
Altera_Forum
Honored Contributor
16 years agoHi Agdepus,
thanks fpr your reply.Here is my code:# include "sys/alt_stdio.h"# include <system.h># include "altera_avalon_pio_regs.h"# include "alt_types.h"# include "string.h"# include "math.h"
int main () {
while(1){
IOWR_ALTERA_AVALON_PIO_DATA(LED_BASE, 1);
}
return 0;
}
I have still some libs included I need for later use. Is this a problem? The reset_vector in the SOPC-system I have set but what is the BSD-Editor?I only know the BSP-Editor. Where can I find the BSD-Editor and where can I set stdout to NULL? Is ist a special problem, when I allocate as followed: add_section_mapping .text cfi_flash_0 add_section_mapping .rodata cfi_flash_0 add_section_mapping .exceptions onchip_memory2_0 add_section_mapping .rwdata onchip_memory2_0 add_section_mapping .bss onchip_memory2_0 ??? It would be nice to get help! Thanks again! Steffen