Part Number: TDA3
I am following section 3.6 of VisionSDK_UserGuide_TDA3xx.pdf for QSPI_SD boot.
version of vision sdk is VISION_SDK_02_11_00_00.
I am using 15x15 TI TDA3xx EVM.
SW2 & SW3 Switch setting 10011000 10000001, SW8001 switch setting 0100 0001.
After performing steps 1, 2 & 3 from section 3.6.3 i get following output
QSPI Flash writer application
Enter Device type to use
1 - 1 bit read from flash
2 - 4 bit (Quad) read from flash
$ > 2
MID - 1
DID - 18
Enter 0 for Erase-Only (without flashing any image)
Note : File size should be less than 33554432 Bytes.
Enter the file path to flash: C:\VISION_SDK_02_11_00_00\vision_sdk\build\scripts\qspi_sd_tda3xx-evm\sbl_qspi_sd
Enter the Offset in bytes (HEX): 0x00
0 -> Erase Only Required Region
1 -> Erase Whole Flash
2 -> Skip Erase
Enter Erase Option:
0 -> fread using code (RTS Library)
1 -> load raw using CCS (Scripting console)
Enter Load Option:
Reading 85048 bytes from file...
Read 16384 bytes [19%] from file...
Read 32768 bytes [38%] from file...
Read 49152 bytes [57%] from file...
Read 65536 bytes [77%] from file...
Read 81920 bytes [96%] from file...
Read 85048 bytes [100%] from file. Done!!
QSPI whole chip erase in progress
QSPI Erase completed
QSPI file write started
file size to write: 85048 Bytes
I followed following thread but it is not answered
In reply to Mariya Petkova:
Can you pause the CPU and check where the execution is stuck?
The source for the flash writer exe is in starterware
and it it links with a qspi lib present at location
If it is stuck in waiting for flash status check the value returned from QSPI_FlashStatus and let us know.
In reply to Prasad Konnur:
In reply to Rahul Sharma71:
You can use the locate source from the CCS file editor window to browse to the file location in your pc.use the install path instead of C:\VISION_SDK_02_11_00_00
This happens when the binary is built from some other location and loaded from some other location (Ex in cases of pre built binaries)
qspi_flash_writer is an application which uses the qspilib.Locate the qspi_flash.c file from qspilib\qspi_flash location only and see where the code is stuck
Not sure why ccs is trying to take file from different folder.
For time being I copied qspi_flash.c, qspi_flash.h,qspi_cmd_init.c and qspi_cmd_init.h at the location where it is looking for these files. After that when I pause it stops at QSPI_executeCMD(). Please find attached screen shot for the same. Also that function is showing some error regarding cannot load from non primitive location.
What is the value returned from function QSPI_flashStatus()?
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.