Hello,
I have created a simple DSP program, "hello world" message is not output.
Someone please tell me.
-----Development Environment-----
Code Composer Studio v5.2.1.00018
JTAG: SpectrumDigital XDS510USB Emulator
Board: UDWORKS DM8168DVR RDK
Platform: SYS/BIOS
----------------------------------------------
1.Create a new project.
2.Compile project.(template hello)
----- source code --------------------------------------------------------------
#include <stdio.h>
#include <xdc/std.h>
#include <xdc/runtime/System.h>
#include <ti/sysbios/BIOS.h>
/*
* ======== main ========
*/
Void main()
{
System_printf("hello world\n");
/*
* normal BIOS programs, would call BIOS_start() to enable interrupts
* and start the scheduler and kick BIOS into gear. But, this program
* is a simple sanity test and calls BIOS_exit() instead.
*/
BIOS_exit(0); /* terminates program and dumps SysMin output */
}
----- source code --------------------------------------------------------------
----- console ------------------------------------------------------------------
**** Build of configuration Debug for project hello ****
C:\ti\ccsv5\utils\bin\gmake -k all
'Building file: ../hello.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000_7.3.4/bin/cl6x" -mv6740 -g --define=dm8168 --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.3.4/include" --display_error_number --diag_warning=225 --abi=coffabi --preproc_with_compile --preproc_dependency="hello.pp" --cmd_file="./configPkg/compiler.opt" "../hello.c"
'Finished building: ../hello.c'
' '
'Building target: hello.out'
'Invoking: C6000 Linker'
"C:/ti/ccsv5/tools/compiler/c6000_7.3.4/bin/cl6x" -mv6740 -g --define=dm8168 --display_error_number --diag_warning=225 --abi=coffabi -z -m"hello.map" --stack_size=0x800 --heap_size=0x800 --define=DSP_CORE=1 --warn_sections --display_error_number -i"C:/ti/ccsv5/tools/compiler/c6000_7.3.4/lib" -i"C:/ti/ccsv5/tools/compiler/c6000_7.3.4/include" --reread_libs --rom_model -o "hello.out" -l"./configPkg/linker.cmd" "./hello.obj" -l"libc.a"
<Linking>
'Finished building target: hello.out'
' '
**** Build Finished ****
----- console ------------------------------------------------------------------
3.Select *.ccxml
[TargetConfigurations]
Selected DM8168.ccxml (XDS510USB+DM8168 based)
Launch selected Configration.
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
--------------------
6.Menu options Scripts -> TI816X CPU BRINGUPS, and select c674x
7.C674X_0 connect-target
8.Run-Load Program
Load program hello.out
Suspended->Running changes
"Hello world" but does not appear in the console.
Why?
Regards,
Hideki Yamada