Altera_Forum
Honored Contributor
20 years agoEPCS processing - help please
I have a system where epcs save HW+SW so my nios is working fine (programm stars - no problem)
but i can't get access to epcs - because alt_avalon_spi_comman hangs during processing I use HAL Give me please working example for it or correct my code. I don't understand what i do wrong. switch(getchar()) { case 's': case 'S': fram(); break; case 'e' : case 'E': printf("n\reading status of epcs"); printf("n\nstatus: %x",epcs_read_status_register(EPCS_CONTROLLER_BASE)); default: continue; }