我按照ti官方提供的
MCSDK Image Processing Demonstration Guide文件对开发板进行图像处理立例程的烧写,最后的结果没有显示出来,网页打不开,但是在ccs的console窗口里面显示 the I2C write has completed,我想显示这个的意思就是烧写成功了。最开始的程序下载是成功的,因为在网页上有图像处理的界面,而且加载了图片之后也能进行处理,但是断电后进行烧写就不能打开网页,请问这是为什么?以下是我的操作步骤
MCSDK Image Processing Demonstration
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
另外我想问问开关sw3 4 5 6 的设置在初始的时候我就设置成了TFTP boot形式,然而下载还是成功了,这个是为什么。最后的打开tftp服务器是怎么使用的,我不是很清楚,请哪位大师帮我解答下,非常感谢!
Thomas Yang1:
你好
有点不明白你的问题:
“但是断电后进行烧写就不能打开网页,请问这是为什么?”
请问断电后进行烧写是什么意思?
如果是初始将拨码开关SW3456设置成TFTP BOOT的形式,则通过TFTP会将image download到板子上进行显示
在你的PC上安装一个TFTP 服务器软件,比如Cisco TFTP Server,在其中设置好作为tftp server传输的文件目录
配置好PC的IP,在PC和连接上网线,DSP设置为TFTP boot方式,即可进行TFTP传输
yueling zhu:
回复 Thomas Yang1:
你好
谢谢你的回复,关于这个多核的烧写我已经成功的显示出了结果,后来发现时参数的设置问题,可是我还是有点不懂的地方,就是开关的设置问题,如果初始时将开关设置为no boot模式时我还是可以下载进去,请问这是为什么,no boot是通过什么下载嘞?