jingfei195887 commented on PR #16642:
URL: https://github.com/apache/nuttx/pull/16642#issuecomment-3070169091

   > > > @michallenc I've reviewed your code and haven't found any obvious 
errors for now. Are you available or free at the moment? Maybe we could conduct 
an online debugging session together. Alternatively, I'd suggest adding print 
statements to the underlying driver, such as the driver interface corresponding 
to MTD_WRITE. I noticed that the write volume in your function is quite small, 
probably less than a page size. In that case, I think BCH might cache this data 
and only write it during the close(fd) process. I've got hold of an Infineon 
hardware here. Let me test how the same program as yours behaves on it.
   > > 
   > > 
   > > Hi, sorry for late response. I am currently out off office and 
unexpectadly there is almost no internet signal... so I won't be able to look 
at this properly until Wednesday. But I think @xiaoxiang781216 point is 
correct, the issue will be in path somewhere. Previously FTL function was used 
to init and register the path, but now it is not called.
   > 
   > @michallenc please apply #16722 too which could fix the problem you 
encounter.
   
   @michallenc @michallenc @TimJTi I've tested that #16722 works well in 
combination with this patch. I used apps/examples/mtdpart for testing in a 
simulation environment, and the test case executed successfully. Additionally, 
I ported @michallenc's test cases, which also worked properly when the write 
size was smaller than the page size. @TimJTi Perhaps you could give it a try in 
your test environment.
   
   
   @xiaoxiang781216 @cederom @acassis The documentation has also been updated. 
Please help to point out any inappropriate parts for correction.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to