Hi,
I have found that there have a sample test code of SPI which called "Tux_SPI", but it is a DLL(DYNLINK) project to WinCE, how can I run the test driver of AM3517 SPI to access the SPI Flash? Assume use SPI1... Thanks!
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.
Hi,
I have found that there have a sample test code of SPI which called "Tux_SPI", but it is a DLL(DYNLINK) project to WinCE, how can I run the test driver of AM3517 SPI to access the SPI Flash? Assume use SPI1... Thanks!
Peter,
Please refer to FAQ on tux_spi at following location for information about usage and location of source code. Hope this helps.
http://processors.wiki.ti.com/index.php?title=WinCE-TIBSP_FAQ&action=submit#Q:_SPI_Test:_How_do_I_use_the_tux_spi_dll_provided_with_the_BSP.3F
regards,
Aparna
Hi Aparna,
Thank you for your suggestion, but when I run the command "tux -o -d tux_spi -x 1 -c"-p 1 -s 2 -t 10 -w 10 -b 10" " as the FAQ mentioned it return the error dialog box: "Cannot find 'tux'(or one of its components). Make sure the path and filename are correct and that all the required libraries are available." what's the problem with it? Thanks!
Peter,
You will need to ftp tux.exe, kato.dll, tooltalk.dll (if this is wince6) apart from tux_spi to the \windows folder of the target before running the test. You can find the support files from the platform builder installation (such as C:\Program Files\Microsoft Platform Builder).
I will update the FAQ section with the support files required to run the test.
regards,
Aparna