Running microC/OS-II from onchip memory
I have a Quartus 10.1 SOPC design with a nios2 running out of on chip memory. The nios2's reset vector points to the onchip memory with offset 0x0. The exception vector points to a separate onchip memory. I have a software project based on the simple_socket_server template that runs if I download the image over jtag. I would like to be able to assemble a sof with a .hex file that contains my image for the onchip memory that will run by simply programming the sof. I can build a simple HAL layer hello_world app that works this way. I just create the hex file run update memory initial file from quartus and reassembly the sof. When I program this sof over jtag the software runs without any problems. When I do the same thing with the simple_socket_server app it does not run. Does anybody have any ideas on why the simple HAL app runs but the more complicated MicroC/OS-II based simple_socket_server app does not?