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.

Erase SPI flash from CCS

Hi,

I'm working on an OMAP L138 based design. I made some changes to uboot to counteract some issues seen with ESD on the board and in the process now have a board that will not boot uboot.  When I try to write a new version of uboot using loadti and SPIwriter the process fails with the error below:

$ ./flash_uboot.sh

***** DSS Generic Loader *****

START: 19:40:56 GMT-0700 (PDT)

Configuring Debug Server for specified target...
Done
TARGET: Spectrum Digital XDS510USB Emulator_0
Connecting to target...
ARM9_0: Output: Memory Map Cleared.

ARM9_0: Output: ---------------------------------------------

ARM9_0: Output: Memory Map Setup Complete.

ARM9_0: Output: ---------------------------------------------

SEVERE: ARM9_0: GEL: Error while executing OnTargetConnect(): execution state prevented access at (*((unsigned int *) (0x01C10000+0x128))&(0x1<<PD)) [DLB_BLACKFOREST_ARM.gel:987] at PSC0_LPSC_enable(0, 0) [DLB_BLACKFOREST_ARM.gel:553] at PSC_All_On_Full_EVM() [DLB_BLACKFOREST_ARM.gel:251] at OnTargetConnect() .

Resetting target...
Error code #0, could reset target!
Aborting!

What options do I have to erase the SPI flash connected to the OMAP? Is there a way to erase the flash using CCS?

For more details on the change made to uboot, please refer the case linked below;

http://goo.gl/mNLnnW

Thanks,

Dinesh