Forum Discussion
Altera_Forum
Honored Contributor
12 years agoDS-5 debug problem!
I use the ds-5 to debug ucosii on terasic DE-1 SOC. I want to control the FPGA PIO and I add the altera API to do this. But when I debug the program, commands window shows that “Target Message: ...
Altera_Forum
Honored Contributor
12 years agoYour region of memory "0x00100000" at first is good ("Loaded section .text: S:0x00100000 ~ S:0x0010E297 (size 0xE298)" is successful), and after "+start" bad image ("Entry point S:0x0010B298") is damage all.
If you make image ucosii.axf with "Entry point S:0x00100000" or "Entry point S:0x00100040", then running will be ideal. If running was even from 0x0010B298 ("Running from entry point"), Preloader don't know about this. Use Disassembler window to stepping in asm-mode, load your bad "D:\my_experiment\hwlib\Micrium\Software\EvalBoards\Altera\Cyclone-V-Dev-Kit\GNU\Ex-1\ucosii.axf" with "loadfile" command after runned to main() Altera-s HWLIB example, as I describe long ago. If my words is incomprehensible, ask greater ! You must see start of normal application with "B" on begin and your ucosii.axf with function codes at start. Method will be in tuning linker scripts, I don't know there. Or ask UCOS site, may there is solutions.