This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS V5.0 Output Not getting Executed in DM816x/AM3894 EVM Board

Other Parts Discussed in Thread: AM3894

Hi

 

I am using CCS5.0 in Windows 7 to build some applications in DM816X/AM3894 EVM Module(Spectrum Digital). I have taken sample uart loop code from DM816x/AM3894 Eval Board package. Built with CCS and output file has been converted as binary file. I have programmed the binary file on the NAND. Added GP header in the binary file; Relocation address i have given as 0x40400000. After programming i have made boot settings to NAND mode.  i suppose to get output on the UART2. But I am not getting any output.

 

Additional info:

i have programmed the uboot.noxip.bin (Nand boot file which is supplied along with EVM Board SD Card) into nand and tried to boot from nand. It is executing. But I don’t want load the uboot.  Without using u-boot i want to run direct application with minimum required drivers. in case of this uart i have taken only uart drivers and compiled in ccs in windows environment.  The UART sample taken from the Spectrum Digital site: http://support.spectrumdigital.com/boards/evm816x/reve/

I have loaded this binary file into RAM directly at 0x40400000 through TFTP. Using go command from uboot. i tried to execute this binary file then also no output

I have added evm816x.gel file, located at evm816x/gel/ folder and initialized the DDR by calling OnTargetConnect( ) function. After doing this

  • TI8168_EVM#tftp 0x40300000 uart_loopback.bin

Using DaVinci EMAC device TFTP from server 192.168.1.15; our IP address is

192.168.1.11 Filename 'uart_loopback.bin'. Load address: 0x40300000

Loading: T ###########

done

Bytes transferred = 55880 (da48 hex)

TI8168_EVM#go 0x40400000

## Starting application at 0x40400000 ...

## Application terminated, rc = 0x0

I got the error message like above

I tried to load into DDR also but same result

I built hellowold example in ubuntu linux as per ti-ezsdk_dm816x-evm_5_05_02_00/docs/DM816x_EZ_Software_Developers_Guide.pdf and it is working. I have complied same hello world example in code sourcery in windows environment. And the output has been copied into SD Card. I tried to run from EVM Module Linux. This is also working

  1. I need guidance to run the standalone application in DM816X EVM through CCS. I dont have any emulator hence i could not debug and check. I am trying through TFTP only
  2. If any other proven example code available please share
  3. I have studied in forum that UBOOT can be compiled in CCS. But when i import the uboot source code CCS not importing and its not showing Cross GCC in the tool chain list. Other tool chain if i select and press finish no response

 

Please guide further to resolve this

 

Thanks and Regards

Sankar