Part Number: DLPDLCR2000EVM
I am trying to read the SPI flash data using the DLPC2607 flash controller and following the steps as discribed in DLP2607 software developer guide.
Flash Read Command Sequence • I 2C write to configuration registers: “flash start address (address 0x79)”, flash ADDR BYTES (address: 0x74), “flash opcode (address 0x78)”, “flash dummy bytes (address 0x75)”, “flash read data byte quantity (address 0x77)”, “flash write data byte quantity (address 0x76)” • I 2C write to “flash mode control (address 0x08)” to select to select flash read mode (data = 3) and give control of configuration space to the flash interface • I 2C read of the flash read data register (address 0x07) (I2C read returns contents of 32 bits flash data per address) • Repeat I 2C reads until the pre-defined byte count is reached. If more I 2C reads were performed than defined in the DMA length, then the last data is repeated • I 2C poll of main status register (address 0x03) to check if the flash transactions is complete – No other configuration access shall be performed via I 2C until the DMA completes, or it aborts • I 2C write to “flash mode control (address 0x08)” to place the flash controller back in idle mode (data = 0)
below is the python code i have written for this
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Azad:
In reply to Philippe Dollo:
Sorry for the late response,
What i want to accomplish is i want to read the contents of the SPI flash(W25) , i can do so(play around) with a MCU ,but to do so i wanted to take a back up of the data using the procedure defined in the software guide as i want to be safe in case of data coruuption.
The purpose of reading the flash contents is read and understand the batch files and also the splash images,by decoding the byte data.
In reply to Husnain Khan:
Thanks Philippe Dollo.
Where can i see and accept your friend request ,
And I will get back to you sometime later , actually i have somewhat dismembered the EVM, removed the SPI flash from the board and trying to read it through MCU, i am having a few issues with the 1.8V flash as i have to use level shifter and read from my 3.3V/5V MCU.
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. 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.