All times are UTC - 5 hours [ DST ]

Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: ONFI nand controller interface with nand flash
PostPosted: June 16th, 2024, 0:36 

Joined: June 16th, 2024, 0:30
Posts: 1
Location: South Korea

I am doing ONFI 4.x interface with NAND flash onfi 2.2 compliant. The ONFI controller was downloaded from opencore website.

I made onfi 4.x comatiable with my target nand device. However, when I write 5 bytes (80h) into target device it does not end writing and continues....
I tried to edit file but I think its not allowed to make changes.

Can't we make changes in the file even if it's downloaded to my local directory in viavdo. it seems nand_master.vhd is connected to somewhere in the onfi website.

When I send a request to write (80h) it sends all the block, page bytes (8192) on the bus and it never ends. Technically, it should issue 10h after the 5 bytes of data_in write.

-- this loop don't make controller stop wrting

elsif(substate = MS_WRITE_DATA3)then

if(byte_count < data_bytes_per_page + oob_bytes_per_page)then

substate <= MS_WRITE_DATA1;


substate <= MS_SUBMIT_COMMAND1;

end if;


state <= M_WAIT;

-- It should do like this

elsif(substate = MS_SUBMIT_COMMAND1)then

cle_data_in <= x"0010";


state <= M_WAIT;

substate <= MS_WAIT;

Anybody know how to solve this issue so write operation should stop after writing 5 bytes and issue10h.

Capture.JPG [ 116.31 KiB | Viewed 48 times ]
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours [ DST ]

Who is online

Users browsing this forum: No registered users and 10 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group