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.

SM28VLT32-HT SPI flash on OMAP-l137

Other Parts Discussed in Thread: OMAP-L137, SM28VLT32-HT

Hi Ti.

Thanks for your help until now, it has been a troublesome development period but now is the OMAP L137EVM running and I can program the on board Winbond flash with the default setting in the OMAP-L137_flashAndBootUtils_2_40 tools, and the EVM boots from SPI flash, so far so good.

In the final application wee need HT performance and have selected the SM28VLT32-HT as boot SPI flash. I can see that the command set are different and I must change the tool and the BOOT sw to run this SM28VLT32-HT command set, also the SM28V... require a SPI speed at 10-12MHZ this must also be added to the tool.

OK I found that it might be the best way to use the emulator XDS560VT STM to program the flash and took the link to the SPIWriter_DSP and added as new project to CCS5.4, I don't know if this ever have been compiled because is comes up with a huge numbers of errors.

This is just a small cut in the list:

"C:/ti/OMAP-L137_FlashAndBootUtils_2_40/OMAP-L137/Common/include/device.h", line 1070: error #760: variable "__FAR__" is not a type name
"C:/ti/OMAP-L137_FlashAndBootUtils_2_40/OMAP-L137/Common/include/device.h", line 1070: error #102: "DEVICE_BusWidth" has already been declared in the current scope
"C:/ti/OMAP-L137_FlashAndBootUtils_2_40/OMAP-L137/Common/include/device.h", line 1070: error #66: expected a ";"
"C:/ti/OMAP-L137_FlashAndBootUtils_2_40/OMAP-L137/Common/include/device.h", line 1071: error #760: variable "__FAR__" is not a type name
"C:/ti/OMAP-L137_FlashAndBootUtils_2_40/OMAP-L137/Common/include/device.h", line 1071: error #102: "DEVICE_ChipRevIDType" has already been declared in the current scope
"C:/ti/OMAP-L137_FlashAndBootUtils_2_40/OMAP-L137/Common/include/device.h", line 1071: error #66: expected a ";"
"C:/ti/OMAP-L137_FlashAndBootUtils_2_40/OMAP-L137/Common/include/device.h", line 1073: warning #262-D: explicit type is missing ("int" assumed)
"C:/ti/OMAP-L137_FlashAndBootUtils_2_40/OMAP-L137/Common/include/device.h", line 1073: error #66: expected a ";"
"C:/ti/OMAP-L137_FlashAndBootUtils_2_40/OMAP-L137/Common/include/device.h", line 1074: warning #262-D: explicit type is missing ("int" assumed)
"C:/ti/OMAP-L137_FlashAndBootUtils_2_40/OMAP-L137/Common/include/device.h", line 1074: error #66: expected a ";"
"C:/ti/OMAP-L137_FlashAndBootUtils_2_40/OMAP-L137/Common/include/device.h", line 1075: error #760: variable "__FAR__" is not a type name
"C:/ti/OMAP-L137_FlashAndBootUtils_2_40/OMAP-L137/Common/include/device.h", line 1075: error #66: expected a ";"
"C:\ti\OMAP-L137_FlashAndBootUtils_2_40\Common\drivers\include\spi.h", line 100: error #760: variable "Uint32" is not a type name
"C:\ti\OMAP-L137_FlashAndBootUtils_2_40\Common\drivers\include\spi.h", line 101: error #760: variable "Uint32" is not a type name
"C:\ti\OMAP-L137_FlashAndBootUtils_2_40\Common\drivers\include\spi.h", line 113: error #760: variable "__FAR__" is not a type name
"C:\ti\OMAP-L137_FlashAndBootUtils_2_40\Common\drivers\include\spi.h", line 113: error #102: "SPI_ConfigHandle" has already been declared in the current scope

Maybe I am on a wrong track on this. I have used the Import from CCS3.3 to get it into CCS5.4.

Is this the right tool to use for programming the SPI flash on our target board using JTAG??

There is also another option for programming and that is UARt1, is this a better way to go?

In all the stuff I have tried to find what and where to change the BOOT loader to run this different type of SPI Flash but didn't find any reference to the command and speed .

Is there a description for the OMAP-l137-ht on how to change the BOOT loader to fit another flash type?

is there already a on the shelf kit for the SM28VLT32-HT?

I have noticed that there is a huge pile of documentation for the DSP stuf and there is many different types that almost have the same name but differs on different points, is there a way into this that is more bullet proof  then just searching, I am missing some directory where all the OMAP-l137-HT stuff is placed so I don't have to consern if this fits or not. I have search for different things but don't always find the right document, and when I ask on the forum I get some link that just fits right in. Maybe the langue makes a differens in the search creteria but I find it fustrating that I cant find the right stuff.

Thanks Claus.

  • Hi Claus,

    Could you please share the PSP version that you are working?

    We will get back to you shortly with the required information.

    I hope you will find many good answers here and in the TI.com documents and in the TI Wiki Pages (for processor issues). Be sure to search those for helpful information and to browse for the questions others may have asked on similar topics(e2e.ti.com).

  • Hi Claus,

    I don`t think that flash part is supported by the boot on OMAPL137. The SPI flash memory to boot OMAPL devices must be 24 bit addressable (memory under consideration is 21 bit addressing) and the read instruction must be 0x03 for the SPI flash which also doesn`t seem to be the case.

    The restrictions are mentioned in the boot loader application notes for OMAPL137

    Thanks and Regards,

    Rahul