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.

Occuring error when burn the image to SPI FLASH?

Other Parts Discussed in Thread: AM1808
According to the document,
http://processors.wiki.ti.com/index.php/GSG:_OMAP-L138_DVEVM_Additional_Procedures#Flashing_images_to_SPI_Flash

 CCS console display these below: 
=================================================
Starting OMAP-L138 SPIWriter.
Will you be writing a UBL image? (Y or y)
y
Enter the binary AIS UBL file name (enter 'none' to skip):
C:\Users\No16\Desktop\AM1808_spi\ubl_AM1808_SPI_MEM.bin
ERROR: File too big.. Closing program.
Starting OMAP-L138 SPIWriter.
Will you be writing a UBL image? (Y or y)
y
Enter the binary AIS UBL file name (enter 'none' to skip):
C:\Users\No16\Desktop\AM1808_spi\ubl_AM1808_SPI_MEM.bin
ERROR: File too big.. Closing program.
===================================================
what's promble?
  • Hello,

    If you have CCS, you can step through the code and see what the issue is. Please download the source code of the writer here: https://sourceforge.net/projects/dvflashutils/files/OMAP-L138/v2.35/.

    After looking at the source code myself, I believe the file you are trying to flash might indeed be bigger than the max supported size. Please let me know the value of

    "fileSize" and "hSpiMemInfo->hMemParams->memorySize" in "LOCAL_GetAndWriteFileData()" in "spiwriter.c"

    regards,

    Paul

  • Thank for you reply!

    I'm not modify those file. I use the prebuilt-images from the "DaVinci-PSP-SDK-03.21.00.04" source.

    when the CCS console prompt:

    "Enter the binary AIS UBL file name (enter 'none' to skip):",
    the next ,I input path.
    the format is right???  

    My device is AM1808 eXperimenter Kit. 

  • Yes. Make sure the path is complete/correct though.

    I would still suggest your get the source package do some simple debugging while flashing..

  • Hi~ ,Paul.Yin!

              CCSv4 can't use the code of " DaVici-PSP-SDK-03.21.00.04",is it?

              I import the UBL_SPI_MEM project from "03.21.00.04",the studio prompt "Managed Make Project File Error".

     

              Should  I earse the flash befor writer the UBL images?  Is necessary? if not ,the ccs will prompt that   "ERROR: File too big.. Closing program."

              After I use the example from the AM1808_BSL , I burn the images that is successful. Are these related?

              Thanks again you reply my theme.