Page 1 of 1

About the Flash memory support in SUB-20

Posted: Wed Aug 18, 2010 2:53 am
by vaughn
Hi Sir:
Could the SUB-20 support the Flash memory functions(write,read,...)?
I am going to use the SPI Flash memory(M25P32V6G) with SUB-20 for a design test.
BR
Vaughn

Re: About the Flash memory support in SUB-20

Posted: Wed Aug 18, 2010 4:57 am
by xol
Yes, why not?
You can do it using SPI interface.

Re: About the Flash memory support in SUB-20

Posted: Wed Aug 18, 2010 8:59 am
by vaughn
Hi Sir:
Thanks for your reply.
I use the SPI tab of SUB-20 tool v1.6.9 to write the Flash(25p32V) with 8 bytes data.
But the Read back data are not the same after reading data several times.
If I do not change the writing data, the read back data is always the same,right?
My connecting cables are under 15 cm of the length .
Could you advise what I should check with in detail ?
How to verify the data written into the the Flash(25p32V) with SUB-20 tool v1.6.9?
Your immediate reply is highly appreciated.
Regards
Vaughn

Re: About the Flash memory support in SUB-20

Posted: Tue Oct 05, 2010 12:39 am
by Bocdan
I think the best thing to do is to write your own software using the SUB-20 SPI API. The tool does not really permit the full control of the flash. BTW, when using flash, you can only write 0s over 1s to write new data in a memory cell, you must perform a flash erase before and put the data back to 0xFF.

Re: About the Flash memory support in SUB-20

Posted: Wed Oct 06, 2010 4:45 am
by xol
HI,
SPI Tab is an evaluation of SPI related functions. It is not intended to burn flash like regular programmer.
There is another approach to the programmer in SUB-20 Tool:
viewtopic.php?f=2&t=103&start=0&hilit=programmer
I'm not sure it supports SPI flash currently but you can ask for it.