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 in booing with SPI flash with L138 EVM with som C6748

Hi,

 

I am using EVM from logic PD with som C6748 on it.Trying to boot from SPI flash but unable to that.

I triedthe following option.

method 1.

opened LED programme  given by logic PD removed commented code #define NO_GEL 1 and compiled code.using .out created from this converted to .bin file using AIS gen tool.i have not checked any option in that ,just used SPI1 option.(No pll or PSC assuming that it is initiated through EVM_init() function).after creating .bin file i used SPI flash writer which was already available and put this file in spi flash.after that i have reset the board changed boot mode to SPI and switched on the board.There is no out put.

 

i have made the following code changes in SPI writer files.

in davinci_spi.c added     /* SPI1 */
    SYS_PINMUX5 =  0x11111111; as per the other blogs.

in stmicro.c commented the following portion of the code since it was not allowing to write because of error

ID mismatch

/* if (i == ARRAY_SIZE(stmicro_spi_flash_table)) {
  printf("SF: Unsupported STMicro ID %02x\n", id[1]);
  return NULL;
 }*/

after writing is completed i am getting th efollowing error

Read verification completed..files did not match @256.

 

pls let me know where i am going wrong.i have all possible option without any success.pls let me know where i am missing.it is very critical.

 

Thanks

shilpa