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.

Flashing a custom C6748 board

Other Parts Discussed in Thread: OMAP-L138

Hi,

We have recently developed our own custom board, based upon the  C6748. Our previous software development was performed on the Zoom Development Kit from LogicPD, under CCS 5.2.

I'm currently trying to flash a simple application to our NOR flash, using the Serial Boot and Flash Loading Utility for OMAP-L138 (http://processors.wiki.ti.com/index.php/Serial_Boot_and_Flash_Loading_Utility_for_OMAP-L138). We are using Micron PC28F256P30TFE (32Mbytes) flash on our board and I can confirm that we are able to read and write to the flash. However, I'm unable to flash the device with the NOR_writer CCS app that was provided by TI.

On the console in CCS 5.2, NOR_writer has the following output:

[C674X_0] Starting C6748 NORWriter.
[C674X_0] CFI Query...passed.
[C674X_0] NOR Initialization:
[C674X_0]     Command Set: Intel
[C674X_0]     Manufacturer: INTEL
[C674X_0]     Size: 0x20 MB
[C674X_0] Enter the binary AIS application file name (enter 'none' to skip):
tc4-lp_test_app_nor.bin
[C674X_0]     INFO: File read complete.
[C674X_0] Erasing the NOR Flash
[C674X_0] Erased through 0x60020000
[C674X_0] Erased through 0x60040000
[C674X_0] Erased through 0x60060000
[C674X_0] Erase Completed
[C674X_0] Writing the NOR Flash
[C674X_0]
[C674X_0] Buffered write failed. Trying normal write
[C674X_0]
[C674X_0] Normal write also failed
[C674X_0] NOR Write Failed...Aborting!
[C674X_0]     ERROR: Writing NOR failed.
[C674X_0]     NOR flashing failed!

I've stepped through the code and the error occurs at this piece of code:

    // Verify program was successful
    if ( LOCAL_flashIsSetSome(hNorInfo, hNorInfo->flashBase, 0, BIT4) )
    {
      retval = E_FAIL;
    }

which is located in Intel_BufferWrite() function in nor.c. I am aware that you should change the device configuration for the specific board, i.e. the PLLs, but I have done this for our specific board, but I still get the same error. The same flashing app worked perfectly with the Zoom Development Kit and from the respective datasheets of the flash chips, I can't see any major obvious differences. I would expect the Intel command set to work on both flash devices.

Am I missing something here? Can someone please assist?

Regards

  Reinier