
We are using the Aardvark I2C/SPI Host Adapter with Flash Center Software to program the Macronix SPI Flash chip, which fails during the verification process.
We tried the same process with different chips and had the same results. We also tried various bit rate speeds, but the verification process still failed.
Here are the parameters of the XML code that we are using:
Macronix SPI flash 24000 3 1 256 4*1024 1400 60000 true 0x0b 0x9f 0x20 0xc7 MX25U8035F Macronix MX25U8035F 8 Megabyte SPI Flash 50000 8*1024*1024 1000000 \xc2\x25\x34 0x03 2 80*1000 false 0x05 0x01 false 0x06 0x52 0xc7 64*1024 1000000 5400000 0x01 80000 0 0 0 0x3b 2 3 0x06 2 0x6b 4 3 0x06 4
We are also using the Level Shifter Board to shift 3.3V from the Aardvark adapter to 1.8V for the target device.
Why does programming fail during the verification stage? Are there any changes we need to make to our code or setup?
Response from Technical Support:Thank you for your questions! We have recommendations for your XML script and troubleshooting suggestions if additional work is needed to resolve your issue.
Your XML parameters show that writeTime was set for 1400. In many cases, programming issues are resolved by changing the <writeTime> parameter in your XML file to a higher rate, such as 5000, 10000 or even greater as shown below:
<writeTime>10000 </writeTime>
Verification failures can occur when the data read back after programming does not match the data to be programmed, or if the data was not written at all. Such issues could occur due to write permission issues, global lock, sector protection, or any other security feature.
Our recommendation is to use a Beagle I2C/SPI Protocol Analyzer to troubleshoot the issue. Place the Beagle I2C/SPI analyzer in your setup, and log the required information using Data Center Software. This will enable you to monitor the flow of data on the bus in real time, as well as apply diagnostics with the logged data. For more information, watch our video that demonstrates how quickly you can set up the Beagle I2C/SPI analyzer to evaluate a system:
We hope this answers your questions. Additional resources that you may find helpful include the following:
If you want more information, feel free to contact us with your questions, or request a demo that applies to your application.