Forum Discussion
Altera_Forum
Honored Contributor
14 years agoSuperloop BeMicro
Using Quartus and NIOS II EDS 11.0 (both).
Downloaded Nichestack superloop for BeMicro from link 1 to come later On Alterawiki page link 2 to come later Unpacked the files (with Bash) and made a build, however when I try to debug by stepping over first function. I used the import selection from the file menu to create the project in an empty work space. TRIPLE_SPEED_ETHERNET_INIT ( TSE_MAC, tse_mac); The code effectively crashes (jumps back to first bracket in main and corrupts memory). I looked in Qsys and the the high res timer was set to 1us (???). Seemed fast so I set that to 1ms. I ran the hardware on a Hello World application and that worked fine (although I rebuilt the BSP from the .sopc file). Whatever I try the debugger crashes. Anyone any success? Any ideas?9 Replies
- Altera_Forum
Honored Contributor
Has anyone got the code from the source files working for the BeMicroSDK superloop?
Not the binary image (which works) but actually built the files from within the NIOS Eclipse IDE? - Altera_Forum
Honored Contributor
I just stick in a loop prior to the ethernet initialisation and it worked so the processor will run code and read and write memory. Hmmm
- Altera_Forum
Honored Contributor
I had to turn them off using the -O0 switch however no difference.
- Altera_Forum
Honored Contributor
No, compiler optimizations in Eclipse
- Altera_Forum
Honored Contributor
Which optimizations are those?
Timing-driven compilation under fitter settings? - Altera_Forum
Honored Contributor
Did You turn off the optimization?
- Altera_Forum
Honored Contributor
.... have 5 posts before I can add links
- Altera_Forum
Honored Contributor
I have to........