The OpenSSD firmware GreedyFTL-2.7.1.d problem

Post Reply
shengwenLiang
Posts: 39
Joined: Thu Jul 06, 2017 12:57 pm

The OpenSSD firmware GreedyFTL-2.7.1.d problem

Post by shengwenLiang » Tue May 15, 2018 2:00 pm

Hi,
Recently, I run the firmware GreedyFTL-2.7.1.d on 2Ch8Way project and find when code run to

Press 'X' to re-make the bad block table.

and the program stops and always display this line. and this problem does not always appear. when I test 10 times, maybe occur 9 times. so this problem disturbs me.
So could you tell how to solve this problem?
Thanks

KibinPark
Posts: 40
Joined: Thu Mar 30, 2017 9:25 am

Re: The OpenSSD firmware GreedyFTL-2.7.1.d problem

Post by KibinPark » Tue May 15, 2018 2:34 pm

You can remove that message at line 108, page_map.c.

Remove below codes.
xil_printf("Press 'X' to re-make the bad block table.\r\n");
if (inbyte() == 'X')
{
for (i = 0; i < BLOCK_NUM_PER_DIE; ++i)
for (j = 0; j < DIE_NUM; ++j)
PushToSubReqQueue(j % CHANNEL_NUM, j / CHANNEL_NUM, V2FCommand_BlockErase, i*PAGE_NUM_PER_BLOCK, NONE, NONE);

EmptyLowLevelQ(SUB_REQ_QUEUE);
xil_printf("Done.\r\n");
}

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests