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.

L138: Questions on flash writer

Hi,

I am using LogicPD eXperimenter Kit. From the link, there are 2 ways to flash images into the SPI flash, ie serial flasher and spi flash writer.

http://processors.wiki.ti.com/index.php/GSG:_OMAP-L138_DVEVM_Additional_Procedures

We will have custom hardware eventually which will have NOR flash connected to EMIFA.

Questions:

(1) Is there a serial flasher for NOR flash as well ? It is not mentioned in the link, just wnat to confirm that.

(2) The nor flash writer provided, is it meant only to be used for EVM ? Or it can be used with the custom design with different NOR flash ?

DaVinci-PSP-SDK-03.20.00.14/src/utils/nor-flash-writer-03.20.00.14 

(3) If it is not meant to support all the different flash parts, I believe I can base on this code to make modification according to the custome design. Would like to understand from TI, what are the details that I should pay attention when doing this modification ?

rgds,

kc Wong

  • Hi,

    I have followed the steps described in this link, and try to rebuild the spi flash writer for OAMP L138.

    http://processors.wiki.ti.com/index.php/GSG:_Building_Software_Components_for_OMAP-L1/AM1x#Rebuilding_the_SPI_Flash_writer

    But, I have the below build error, not sure what does that mean. I have looked into the folder, libc.a is there...

    rgds,

    kc Wong

     

     **** Build of configuration SPI1 for project spiflash_writer ****

    C:\Program Files\Texas Instruments\ccsv4\utils\gmake\gmake -k all
    'Building target: /ccsv4/Debug/spiflash-writer.out'
    'Invoking: Linker'
    "C:/Program Files/Texas Instruments/ccsv4/tools/compiler/tms470/bin/cl470" -mv5e -g --define="_DEBUG" --define="CONFIG_USE_SPI1" --diag_warning=225 -me --abi=ti_arm9_abi --obj_directory="/ccsv4/Debug" -z -m"/ccsv4/Debug/spiflash-writer.map" --warn_sections -i"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/tms470/lib" -i"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/tms470/include" -i"C:/Documents and Settings/kiunwong/My Documents/workspace1/spi-flash-writer-03.20.00.14/ccsv4" -i"/ccsv4" --reread_libs --rom_model -o "/ccsv4/Debug/spiflash-writer.out" 
    <Linking>
    warning: cannot resolve archive C:/Program Files/Texas
       Instruments/ccsv4/tools/compiler/tms470/lib/libc.a to a compatible library,
       as no input files have been encountered
    fatal error: no input files

    >> Compilation failure
    C:\Program Files\Texas Instruments\ccsv4\utils\gmake\gmake: *** [/ccsv4/Debug/spiflash-writer.out] Error 1
    C:\Program Files\Texas Instruments\ccsv4\utils\gmake\gmake: Target `all' not remade because of errors.
    Build complete for project spiflash_writer