TI E2E Community
Digital Signal Processors (DSP)
C6000 Multicore DSP
Keystone Multicore Forum (C66, 66A, AM5)
Start application from Flash
Hello everybody !
I'm beginner in TI DSP programming. I have .out file and I need start this application on TMX320C6678 each time when the board is turned on. I read sprugy5a, but this matter is not clear for me yet.
Could anyone give me instructions how to do this ?
See the utilities for this in the MCSDK under the tools\writer directory. There are examples and docs on how to overwrite the examples provided in Flash on the EVM with your own .out.
Be sure to check out the Embedded Processors Wiki at http://processors.wiki.ti.com. You'll find additional information on a variety of TI Technology Related Topics ranging from Hardware to Software to Tools and more.
Please Create New Threads for New Issues, and even for similar issues that have already been reported. Do not reply to a thread that has already been answered and say "I'm having the same problem". You will get a faster response if you create a new issue that is not already marked answered.
Don't forget to verify answers to
your forum questions by using the green
Did you read the CCS
Forum Guidelines & FAQ? If not,
PLEASE read it. If you haven't read it in awhile, please read it again
to see if any updates were made.
Having CCSv4.x problems? Check out the CCSv4
Reporting a problem? Please try to include the relevant details requested in the Forum Usage Guidelines
there are examples in the MCSDK for NAND and NOR Flash boot via I2C:
NAND boot over I2C example:A simple Hello World example demonstrating NAND boot over I2C.Steps to build the example:1. Import the i2cnandboot CCS project from tools\boot_loader\examples\i2c\nand\evmc66xxl directory. (in CCSv5, Project->Import Existing CCS/CCE Eclipse Projects)2. Clean the i2cnandboot project and re-build the project, after build is completed, i2cnandboot_evm66xxl.out and i2cnandboot_evm66xxl.map will be generated under tools\boot_loader\examples\i2c\nand\evmc66xxl\bin directory.Steps to run i2cnandboot in CCSv5:1. Be sure to set the boot mode dip switch to no boot/EMIF16 boot mode on the EVM.2. Load the program tools\boot_loader\examples\i2c\nand\evmc66xxl\bin\i2cnandboot_evm66xxl.out to CCS.3. Connect the 3-pin RS-232 cable from the EVM to the serial port of the PC, and start Hyper Terminal.4. Create a new connection with the Baud rate set to 115200 bps, Data bits 8, Parity none, Stop bits 1 and Flow control none. Be sure the COM port # is set correctly.5. Run the program in CCS, i2cnandboot will send the hello world booting info to both the CCS console and the Hyper Terminal.Steps to program i2cnandboot to NAND:1. Be sure IBL is programmed to I2C EEPROM bus address 0x51, if IBL is not programmed, refer to tools\boot_loader\ibl\doc\README.txt on how to program the IBL to EEPROM. 2. By default, IBL will boot a BBLOB image (Linux kernel) from NAND, to run this example, we need to change the NAND boot image format to ELF: a. In setConfig_c66xx_main() of tools\boot_loader\ibl\src\make\bin\i2cConfig.gel, replace ibl.bootModes.u.nandBoot.bootFormat = ibl_BOOT_FORMAT_BBLOB; with ibl.bootModes.u.nandBoot.bootFormat = ibl_BOOT_FORMAT_ELF; b. Re-program the boot configuration table, refer to tools\boot_loader\ibl\doc\README.txt on how to program the boot configuration table to EEPROM. 3. Copy tools\boot_loader\examples\i2c\nand\evmc66xxl\bin\i2cnandboot_evm66xxl.out to tools\writer\nand\evmc66xxl\bin, rename it to app.bin and refer to tools\writer\nand\docs\README.txt on how to program the app.bin to NAND flash.4. Once the programming is completed successfully, set the boot dip switches to I2C master mode, bus address 0x51 and boot parameter index to be 2.5. After POR, IBL will boot the hello world image from NAND. Please refer to C6678L/C6670L EVM boot mode dip switch settings:http://processors.wiki.ti.com/index.php/TMDXEVM6678L_EVM_Hardware_Setup#Boot_Mode_Dip_Switch_Settingshttp://processors.wiki.ti.com/index.php/TMDXEVM6670L_EVM_Hardware_Setup#Boot_Mode_Dip_Switch_Settingsand User's Guide for more details:http://processors.wiki.ti.com/index.php/BIOS_MCSDK_2.0_User_Guide
one and zero
Please click the Verify Answer button on this post if it answers your question.
You can also follow me on Twitter: http://twitter.com/oneandzeroTI
Do you want to read interesting multicore articles? Check out our Multicore Mix
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.