Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12746 Discussions

Problems porting FlashProgrammer

Altera_Forum
Honored Contributor II
1,414 Views

I tried following the instructions on how to port the flash programmer to our custom board. Our board design works to the point where I can download and run a NIOS program that reads and writes the flash. I ran the mk_target_board and assigned the same pins. Everything compiles fine. I then opened my design and selected my new target board in SOPC builder and rebuilt our SOPC/Quartus project for the target board. Again, everything works but when I try to burn my program into flash the programmer hangs and spits out "error synchronizing ...". 

 

I have no idea what to try next. Can someone explain: 

 

1) What happens after downloading the flash programmer SOF file? I tried downloading it directly with the programmer and that works but of course then it just sits there. 

 

2) What's the significance of recompiling my design with the target board selected? Both my design and the ported flash programmer design seem to be complete standalone designs with pin assignments and everything. What happens when I select one or the other target board in SOPC builder? 

 

3) What other tools are available to debug what happens during the execution of the flash programmer? I see the console output but it doesn't really explain what it's doing. 

 

Thanks, 

Andrew
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
452 Views

if a PLL is needed and you havn't defined if , this problem may appear

0 Kudos
Reply