A customer has written a custom programming algorithm for their Flash device. They are receiving an error from SDFLASH. The following is their description:
I am attempting to program flash memory connected to the external interface (XINTF) of a TMS320C28346 DSP. I am using the C2834x algorithm obtained from http://emulators.spectrumdigital.com/utilities/sdflash/, and have written custom driver code to interface with my specific flash memory. I have also verified that the driver code is able to read, program, and erase the flash memory (by using Code Composer Studio to exercise various parts of the code). I am using SDFlash version 1.64.00, and an XDS510LC USB JTAG emulator. SDFlash is able to connect to the emulator and reset the DSP correctly. When I try to erase or program the flash memory using SDFlash, I receive the following error message: MSG: Sdtsrv.dll interface version 2 MSG: Loaded driver sdgo28xusb.dvr MSG: DSP reset succeeded MSG: Loading flash image file ERR: Failed to initialize the algorithm. ERR: Erase flash failed. WARNING: THE CONTENTS OF THE SECURITY PASSWORD LOCATIONS IN THE FLASH MAY NOT BE IN THE EXPECTED STATE. FOR FURTHER DEBUG PLEASE CHECK THE README FILE INCLUDED IN THE LATEST PROGRAMMING ALGORITHM RELEASE (JULY 2004 AND LATER) SPECIFIC TO YOUR DEVICE. ERR: OTIS error, Error = -1041 I have not been able to find any documentation showing what this error message (OTIS error -1041) means. Can you please provide information about this error, and any suggestions on how to fix it? Spectrum Digital's response (from Danny Corey): The SDFlash can verify the emulator and target connection and even appears to load the algorithm to the CPU. The failure is the attempt to run the algorithm. The algorithms are built and supported by Texas Instruments. You may refer to any PDFs included with the algorithms for input, but ultimately TI will provide support with the algorithms as provided or modifications to the software. TI suggests contacting them through the E2E Forum at www.ti.com.
Search for answers, Ask a question, click Resolved when complete, Help others, Learn more.
If a post answers your question, please mark it with the "verify answer" button.
Other useful links:
C2000 Getting Started C2000 Flash Common Issues/FAQs Emulation FAQ
In reply to Manoj Santha Mohan:
It is very common for SDFLASH to be used to program external Flash. This is what the customer is trying to do, and why they had to write a custom programming algorithm.
Can you help with the SDFLASH error message? Can you tell us what to look for in the code or what SDFLASH is complaining about?
In reply to RandyP:
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.