AnsweredAssumed Answered

MASS Storage DATA flow

Question asked by gerh.jo on Jan 24, 2016
Latest reply on Jan 24, 2016 by gerh.jo

Dear Community,

while experimenting with CLIVES SDcard to USB example [1] I checked the dataflow inside the function: int8_t STORAGE_Read to understand what data are necessary to make a mass storage device (e.g. from a paper tape reader). However my investigation stopped since I cannot figure out how e.g. an ASCII text- file is read – I just see that the first symbol is read while the notepad (WIN7) shows the entire content.

SD_Read Addr: 00000288 //dec

Len:  1

Content:   99     c             63           b01100011

It is true – the first symbol inside the text file is really a “c” however where are the remaining symbols ? (By the way I also didn’t observed inside the dataflow how the directory data was transferred)

I would be very happy if someone could point me where the remaining data are transferred.

 

 

[1] (https://my.st.com/public/STe2ecommunities/mcu/Lists/STM32Discovery/Flat.aspx?RootFolder=https%3a%2f%2fmy%2est%2ecom%2fpublic%2fSTe2ecommunities%2fmcu%2fLists%2fSTM32Discovery%2fSTM32F4-Discovery%20USB%20Mass%20storage&FolderCTID=0x01200200770978C69A1141439FE559EB459D75800084C20D8867EAD444A5987D47BE638E0F&currentviews=9633)

Outcomes