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.

C6678 client example via spi boot and making bin file

Hi 

I want boot client project via SPI on 6678 evaluation board.

At first I want making bin file from "client.out". So I rename "client.out" to "simple.out" and use "spiboot.bat" as following text:

spiboot.bat:

hex6x simple.rmd
pause
bconvert64x -le simple.btbl simple.btbl.bcv64x
pause
b2i2c simple.btbl.bcv64x simple.btbl.bcv64x.i2c
pause
b2ccs simple.btbl.bcv64x.i2c simple.btbl.bcv64x.i2c.ccs
pause
romparse my_boot.map
pause
ccs2bin -swap i2crom.ccs spirom_le.swap.bin
pause

simple.rmd:

simple.out
-a
-boot
-e _c_int00

ROMS
{
ROM1: org = 0x0c000000, length = 0x100000, memwidth = 32, romwidth = 32
files = { simple.btbl }
}

 

My first question is :

When I run "b2i2c simple.btbl.bcv64x simple.btbl.bcv64x.i2c", I face with the following error


 

My second question is:

Can I use this bin file for booting SPI directly without using "eeprom51.bin" or not?

  • Hi Patrick,

    I hope you are referring NDK client(client.out) example, please confirm.
    PATH: ~\ti\mcsdk_2_0x_0x_0x\examples\ndk\client

    The above example is based on DDR. You may need update the client example source to have the DDR init and then convert the image to bootable image using the .bat file. Basically, whatever initialization done by C6678 gel to be done by client example.

    Thank you.
  • Hi Raja

    Thanks for your reply. I used that client project in mcsdk\example directory but I changed that for ignoring DDR and used MSMCSRAM memory instead so I don't need Initialize DDR for boot. 

  • Hi

    Can everybody help me to fix my problem? I can't make bin file from "client.out" yet. I changed client project and don't use DDR in my project but when I use "b2i2c.exe" in directory "mcsdk_2_01_02_06\tools\boot_loader\ibl\src\util\btoccs" i face with this error:"Max input array size exceed"

    Should I change "b2i2c.c" for ignoring this error? If yes, What change I must do?

    Thank you.