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.

Spi Flash

Hi, 

I try to write some datas in spi flash (on C5535 target).

I use the spiflash_test delivered, this works well. 

When I want to change the datas written in flash (that means changing the *pdata buffer), it doesn't work anymore. This causes failure on each page adressed).

After that ,those pages can't be erased correctly.

Concretely, in spiflash_test.c I change the line:

 *pdata++ = ( Uint8 )(( i + j+ 2 ) & 0xFF ) 

by

 *pdata++ = ( Uint8 )(( i +  2 ) & 0xFF ) .

Is there some syntax to write in spiflash ? How is the format accepted ?

How can I erase failed pages ? I use EZDSP5535_SPIFLASH_erase function bu it doesn't  work

Thanks