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.

I2C EEPROM boot loading for 6678 custom board

Hi

 I built a program and want to load this project to eeprom for boot on my custom board. In my custom board, I don't have any ddr3. Hence i have some problem:

1. What programs i must use for boot loading? (I know bin2ccs program is for building .dat file, what is boot loader,post and writer program for?)

2. What is boot loading steps?

3. Can i use 0x0C000000 address except ddr3 address(0x80000000) in writer program?

Actually i used writer eeprom program for I2C boot loading such as ...\tools\writer\eeprom\docs\README.txt steps and this project programmed successfully but when i reset power of the board, i don't see any change. I do not know what is my problem?

  • Hi Armin,

    1 &2 )

    # The POST and IBL can be directly loaded to I2C for booting. Please flash and check whether the MCSDK pre-built binaries are working on the custom board or not.

    # Have you checked your program by loading through emulator on "No Boot" mode? Is it working as expected?

    # Please refer post scripts to convert .out to .bin for flashing. (PATH: ..:\ti\mcsdk_2_0x_0x_0x\tools\post\evmc6678l\bin)

    3) I did not understand your query however writer program uses internal memory to program the I2C.

    Thank you.
  • Hi Raja

    Thanks for your answer. Actually i have a 6678 custom board and i want to set up boot loader. I do not consider ddr3 external memory for my board. I build a simple program which sending data with the GPIO pins. I want to load this project to eeprom till when i power up my board, this project will be run. To do this, I used mcsdk_2_0x_0x_0x\tools\writer\eeprom project and sent my .dat file to the eeprom. Due to lack of DDR3, i had to use other free memory and i used memory address (0x0C000000) except ddr3 address(0x80000000). For running this project first i set the dip switches to no boot (off,on,on,on_on,on,on,on_on,on,on,on_on,on,on,on). After running, i see the "EEPROM programming completed successfully" message and turn off the board and turn it on again but i do not see anything and i don't know why.

    Also in my custom board's hardware i used LTM4628 for power sequence and a virtex6 FPGA for reset sequence and do not used "BOOT_COMPLETED"pin. is this pin necessary for booting?

  • After EEPROM programming the successfully, please re-start board with I2C boot mode tor run the programmed application.

    Thank you.

  • Hi

    I re-started the board with I2C boot mode but any thing happens. My program not loading with setting dip switches
  • Please provide below information.
    What is the I2C slave address used in your custom board? What is your switch settings?

    Thank you.
  • Hello Armin,

    Also in my custom board's hardware i used LTM4628 for power sequence and a virtex6 FPGA for reset sequence and do not used "BOOT_COMPLETED"pin. is this pin necessary for booting?

    The BOOTCOMPLETE pin is an output pin to indicate the completion of the ROM booting process. This pin is connected to FPGA in our EVM and i am not very sure what function it serves internal to the FPGA. I believe this is not mandatory to use this pin for booting. However i will check and update you shortly.

    Regards,
    Senthil

  • Hello Armin,

    I confirmed that BOOTCOMPLETE pin is an indication that the ROM bootloader has completed the booting process. Specifically it is the AND of all the bits in the boot complete register. Once the ROM bootloader has marked all the bits in the boot complete register high, the BOOTCOMPLETE pin will go high.

    In our EVM, the FPGA samples the BOOTCOMPLETE output. The result is available in the FPGA register for reading by the SOC using the SPI interface. In addition it is passed through the FPGA as the MMC_BOOTCOMPLETE. This is an input to the MSP430 MMC controller which is part of the AMC standard.

    Regards,
    Senthil