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.

Problem with flashing ICE AM3359

Hey,

I want to flash my spi, so I connect my target an load the GEL file. It runs succesful. After this I wanted to flash the bootloader out to the ICE and get this:

Can't find a source file at "F:/TESTING/flash-writers/spi-flash-writer/src/main.c" 
Locate the file or edit the source lookup path to include its location.

I cant locate this file, even I have no partion F:/ on my computer. Do you know sth about this?

I`m using Windows 7, 64bit and CCS 5.1.1.00031
  • Hi,

    SPI flashing tool source code is not included in current sdk release.  The .out file can be loaded to target and run. Please ignore the "Can't locate the source" warning and go ahead. The only restriction is that you wont be able to do single stepping through the code.

    Regards,

    Shahid

  • I´m not able to select a .bin- file. The SPI_Flashing_Tool.out does not run. When I have loaded it an do a restart, the error occurs. 

  • Please try the below given steps..

    1. Connect CCS with Cortex A8 target.
    2. Do a hardware reset ( Run->Reset->CPU Reset(HW) )
    3. Load the GEL file  and execute 'AM335x_EVM_Initialization' function.
    4. Load SPI_Flashing_Tool.out  ( Run->Load->Load Program )
    5. Suspend the program ( Run->Suspend )
    6. Restart the program ( Run->Restart )
    7. Resume the program ( Run->Resume )

    Once the above steps are completed, you would see prints from program on your CCS console ( View->Console ). You will be asked to enter the file name.

    If you are unable to execute the flasher tool even after following the above given procedure, please let us know.

  • Ok, I had to do a restart after the controller was suspended.

    Thanks.