W25M161AVEIT - Support

Here you can ask technical questions about REVELPROG-IS and device/memory programming.
Post Reply
JuergenB
Posts: 5
Joined: Fri Jul 08, 2022 5:43 pm

W25M161AVEIT - Support

Post by JuergenB »

Hi,
is there any option to read/write a W25M161AVEIT ?

This is a stacked serial flash chip with 3V 16M-bit Serial NOR Flash Memory & 3V 1G-bit Serial NAND Flash Memory

For my understanding, the ID# 00h is per default a normal W25Q16JV chip.
i tried to read this one today, but all i got was 2MB of Zero´s...

https://www.winbond.com/resource-files/ ... 0final.pdf

Can you help me?
ArT
Posts: 1602
Joined: Wed Mar 25, 2015 8:54 am
Location: Warsaw, Poland
Has thanked: 61 times
Been thanked: 171 times

Re: W25M161AVEIT - Support

Post by ArT »

This chip is not supported yet (I'm adding it to TODO list on your request) but generaly winbond stacked devices are supported since v1.8.5, for example W25M512JV and larger you have in database [DIE0] and [DIE1]. For each such device below prescript with selecting DIE is executed before any operation.

Code: Select all

//W25M512JV Die0 Select
#SCRIPT HEADER;
SCRIPT:v1.8.5;

#HARDWARE SETTINGS;
HW:SPI,3.0V,SLOW;

#OPERATION;
SW:0,0,0,0,5,5,10,0,100,500;
INSTR:C2,00; 

#LeaveVppEnabled

Code: Select all

//W25M512JV Die1 Select
#SCRIPT HEADER;
SCRIPT:v1.8.5;

#HARDWARE SETTINGS;
HW:SPI,3.0V,SLOW;

#OPERATION;
SW:0,0,0,0,5,5,10,0,100,500;
INSTR:C2,01; 

#LeaveVppEnabled
You can execute above script before operating on the memory and it will work.
Please note that last operation is #LeaveVppEnabled
It means that voltage will be NOT disconnected after script execution so please be careful when you are operating on such device after script executed because you will have still voltage on outputs.

When you select DIE0 you can operate as standard W25Q16JV
When you select DIE1 you can operate as standard W25N01GV
JuergenB
Posts: 5
Joined: Fri Jul 08, 2022 5:43 pm

Re: W25M161AVEIT - Support

Post by JuergenB »

Thanks for your help.

Today i used v1.9.0 with your scipt...

After selecting the DIE0 it was easy to read the W25Q16JV (and fast :D )
I managed to change the uBoot environment and write the binary back. ;)


Thanks

Jürgen
Post Reply