About the Flash memory support in SUB-20

All about Sub-20 Multi Interface USB Adapter USB to I2C, SPI, GPIO, RS232, RS485, Ir, LCD

Moderator: serg

Post Reply
vaughn
Posts: 6
Joined: Thu Aug 12, 2010 1:22 am

About the Flash memory support in SUB-20

Post 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

xol
Site Admin
Posts: 241
Joined: Sat Aug 29, 2009 8:04 am

Re: About the Flash memory support in SUB-20

Post by xol »

Yes, why not?
You can do it using SPI interface.

vaughn
Posts: 6
Joined: Thu Aug 12, 2010 1:22 am

Re: About the Flash memory support in SUB-20

Post 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

Bocdan
Posts: 18
Joined: Sat Aug 21, 2010 5:31 am

Re: About the Flash memory support in SUB-20

Post 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.

xol
Site Admin
Posts: 241
Joined: Sat Aug 29, 2009 8:04 am

Re: About the Flash memory support in SUB-20

Post 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.

Post Reply