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.

i have some problem in mcsdk image process with 66670

hi: i am new about ms320c6670 and i have some question about the deno which is provide dy ti company.here is my steps below:

Multicore Software Development Kit Image Processing Demonstration User's Guide

Build Instructions for IPC based demo application

  • Open CCS->Import Existing... tab and import project from <MCSDK INSTALL DIR>\demos\image_processing\ipc.
  • It should import two projects image_processing_evmc66##l_master and image_processing_evmc66##l_slave.
  • Right click on each project->Properties to open up the properties window.
  • Goto CCS Build->RTSC and check if in other repository have link to <MCSDK INSTALL DIR> (the actual directory).
  • If IMGLIB C66x is unchecked, please select 3.0.1.0 to check it.
  • The RTSC platform should have demos.image_processing.evmc66##l.platform.
  • The project should build fine

Run Instructions for IPC based demo application

  • Connect the board to a Ethernet hub or PC using Ethernet cable.
  • The demo runs in Static IP mode if User Switch 1 (SW9, position 2) is OFF else if it is ON then it runs in DHCP mode. See the Hardware Setup section for the location of User Switch 1.  
  • If it is configured in static IP mode, the board will come up with IP address 192.168.2.100, GW IP address 192.168.2.101 and subnet mask 255.255.254.0
  • If it is configures in DHCP mode, it would send out DHCP request to get the IP address from a DHCP server in the network.
  • There are two images to be loaded to master (core 0) and other cores. The core 0 to be loaded with <MCSDK INSTALL DIR>\demos\image_processing\ipc\evmc66##l\master\Debug\image_processing_evmc66##l_master.out image and other cores (referred as slave cores) to be loaded with <MCSDK INSTALL DIR>\demos\image_processing\ipc\evmc66##l\slave\Debug\image_processing_evmc66##l_slave.out image.
  • Connect the debugger and power on the board.
  • In CCS window, launch the target configuration file for the board.
  • It should open debug perspective and open debug window with all the cores.
  • Connect to all the cores and load image_processing_evmc66##l_master.out to core 0 and image_processing_evmc66##l_slave.out to all other cores.
  • Run all the cores, in the CIO console window, the board should print IP address information (for eg: Network Added: If-1:192.168.2.100)
  • Open a web browser in the PC connected to the HUB or the board.
  • Enter the IP address of the board, it should open up the image processing demo web page.
  • Please follow the instructions in the web page to run the demo.
  • Note that, sample BMP images are provided in <MCSDK INSTALL DIR>\demos\image_processing\images

Booting the application image using IBL

Booting from Ethernet (TFTP boot)

Change IBL configuration: The IBL configuration parameters are provided in a GEL file <MCSDK INSTALL DIR>\tools\boot_loader\ibl\src\make\bin\i2cConfig.gel. All the changes needs to be done in the function setConfig_c66##_main() of the gel file.

  • The IBL configuration file sets PC IP address 192.168.2.101, mask 255.255.255.0 and board IP address as 192.168.2.100 by default. If these address needs to be changed, open the GEL file, change ethBoot.ethInfo parameters in function setConfig_c66##_main()
  • Make sure the ethBoot.bootFormat is set to ibl_BOOT_FORMAT_BBLOB
  • Set the ethBoot.blob.branchAddress to 0x9e001040 (or 0x80001040 if you are using BIOS MCSDK v 2.0.4 or prior).
  • Note that the application name defaults to app.out

Write IBL configuration:

  • Connect the board using JTAG, power on the board, open CCS, load the target and connect to core 0. Select Tools->GEL Files and in the GEL Files window right click and load GEL. Then select and load <MCSDK INSTALL DIR>\tools\boot_loader\ibl\src\make\bin\i2cConfig.gel.
  • Load I2C writer <MCSDK INSTALL DIR>\tools\boot_loader\ibl\src\make\bin\i2cparam_0x51_c66##_le_0x500.out to Core 0 and run. It will ask to run the GEL in console window. Run the GEL script from Scripts->EVM c66##->setConfig_c66##_main.
  • Open the CCS console window and hit enter to complete the I2C write.

Booting the image:

  • Disconnect the CCS from board, power off the board.
  • Connect ethernet from board to switch/hub/PC and UART cables from board to PC.
  • Make sure your PC have the IP address specified above.
  • Set the board dip switches to boot from ethernet (TFTP boot) as specified in the hardware setup table (TMDXEVM6678L TMDXEVM6670L)
  • Copy the demo image <MCSDK INSTALL DIR>\demos\image_processing\utils\mad\evmc66##l\images\mcip-c66##-le.bin to tftp directory and change its name to app.out
  • Start a tftp server and point it to the tftp directory
  • Power on the board. The image will be downloaded using TFTP to the board and the serial port console should print messages from the demo. This will also print the configured IP address of the board
  • Use the IP address to open the demo page in a browser and run the demo

after those steps i cannot open the browser with 192.168.2.100\.i think i have boot the deme into the evm because the console showed that the I2C write has completed sucessful form the ccsv5.but i still can not find the result.there is anothere problem ,before i opened the ccs i had made the board dip swithed to TFTP boot.then i coulde still load the demo to evm and open the browser sucessfully.this is strange to me.and who can tell me how to use a tftp server.thank you very much.

  • Hi Yueling, If I understood correctly you can run the demo using precompiled .out images, you can also can build/run the master/slave .out images but you cannot boot/run the demo image through FTP.. If I am right below some things that you can check.

    - Please check /change MCSDK INSTALL DIR>\tools\boot_loader\ibl\src\make\bin\i2cConfig.gel. Set the ethBoot.blob.branchAddress to 0x9e001040 (or 0x80001040 if you are using BIOS MCSDK v 2.0.4 or prior).

    In my case I am using mcsdk_2_00_05_17 so I have to modified the i2cConfig.gel to :

    ibl.bootModes[2].u.ethBoot.blob.startAddress = 0x9e000000; /* Load start address */

    ibl.bootModes[2].u.ethBoot.blob.sizeBytes = 0x20000000;

    ibl.bootModes[2].u.ethBoot.blob.branchAddress = 0x9e001040; /* Branch address after loading */

    - Check you have correctly set the EVM dip switches to IBL TFTP boot:

    http://processors.wiki.ti.com/index.php/TMDXEVM6678L_EVM_Hardware_Setup#Boot_Mode_Dip_Switch_Settings

    - Check that the TFTP server is actually receiving a request from the board. For example I am using TFTPd32 and in log viewer tab, every time that I power up the board I get:

    Connection received from 192.168.2.100 on port 1234 [10/10 16:28:12.781]
    Read request for file <app.out>. Mode octet [10/10 16:28:12.781]
    Using local port 3289 [10/10 16:28:12.781]
    <app.out>: sent 8779 blks, 4494336 bytes in 2 s. 0 blk resent [10/10 16:28:14.265]

    - Ping the board from your computer. You can open a command line in your pc and ping the EVM IP address (ping 192.168.2.100 -t). When the ping shows reply then you can open the web browser for the same IP and run the demo

    Thank you,

    Paula

  • hi Paula

    thank you very much for answering my question.i have made it sucessfully and got more knowleges with 6670.