Hi everyone,
Attached is my project, which was based on the OpenMP Hello World example for the TMDSEVM6678L. For the moment, I don't want to use the OpenMP features, I just want to transfer/receive file from a local ftp server that I set up locally on my PC. The address is at ftp://192.168.2.101 and I set my PC IP: 192.168.2.101 and the board's: 192.168.2.100, the static IP. I'm using the ethernet cable supplied to connect the board and my PC.
Inside the ftp address, I've generated a single datain.bin file as attached.
I've added the following lines to configure the NDK:
var NdkTransport = xdc.loadPackage('ti.transport.ndk');
var Global = xdc.useModule('ti.ndk.config.Global');
Global.enableCodeGeneration = false;
that I extracted from NDK example on Hello World sample program.
When I run the code and load it into core0, the NtTftpRecv returned -3 value. When referring to the spru524h and the tftpif.h, this has been defined as TFTPERROR_RESOURCES - memory allocation error during transfer.
Can someone point me out on how to transfer the file to the board's memory? My target memory is the DDR3 SDRAM because my datain.bin can be very large as large as 500 x 500 x 200 array of integer.
Many thanks.
Rizuan