Hi,
I managed to run a SYS/BIOS Hello example on C674x DSP in DM8168. Having got an EVM8168 board, I download the GEL file from this site:
http://support.spectrumdigital.com/boards/evm816x/revg
Then, I search the wiki and find a post which seems plausible:
http://processors.wiki.ti.com/index.php/Connecting_to_DSP_on_C6A8168,_DM8168,_DM8148
By following this wiki, I tried to build an SYS/BIOS Hello Example via CCSv5.3 in Ubuntu 10.04 LTS.
1.Create a new project.
2.Compile project.(template hello)
3. Set the Target Configuration File (*.ccxml)
[TargetConfigurations]
Selected tools: XDS100v2 + DM8168
Launch selected Configration by right clicking the file and selecting "launch" item.
4.CortexA8 connect-target
5.Load GEL file
Load evm8168x.gel (spectrumdigital)
----- console ------
CortexA8: Output: PRCM for C674x is in Progress, Please wait.....
CortexA8: Output: C674x L2 RAM Accesses are PASSED
CortexA8: Output: User Can Connect to C674x
--------------------
7.C674X_0 connect-target
8.Run-Load Program
Load program hello.out
I thought there would be a "hello world!" info in the console window just like what was happening in the videoclip. (http://software-dl.ti.com/trainingTTO/trainingTTO_public_sw/bios_1day_videos/LAB_2A_Intro_to_CCS/LAB_2A_Intro_to_CCS.mp4) However, once the program was loaded, it never halted at the entry of the main. Instead, the program never stoped and printed nothing to the console. Anyway, it seems that the program ran into a dead loop!
I don't know how to slove this problem. As far as I know, the debug session would be pause automatically when the *.out is loaded into the DSP successfully. It allows debugger to start the program manually by cliking the "resume" button. By the contrast, I never got such a chance to push the button. Even if I set some break points in the main, the program runs as well.
How can I solve this problem? Could you give me a hand? Shall I find some link file which indicates the memmap of the system?
I am sincerely looking forward to your reply.
Naroah
Aug/06/2013
The Debug session runs automatically and never stops. Besides, there is no "Hello World" printed in the console.