Dear Iva,
thanks for the reply but i didn't solve the problem. I use the processor
expert for my system with the MSD sdk 1.3.0 library so the code is
different from the code in the sample. I dont understand this point:
-in USB_MSC_DEVICE_WRITE_REQUEST what i have to do?
-in USB_DEV_EVENT_DATA_RECEIVED i have only to write the data, that
i do with the function disk_read(0, lba_data_ptr->buff_ptr, sector, 1);
i have only the buffer extern byte buff[512] where i put the data to
write or read. The code is attached.
Thanks
Daniele
*
Il 25/01/2016 21:13, ivadorazinova ha scritto:
>
NXP Community
<http://jiveon.jivesoftware.com/mpss/c/9AA/PDcDAA/t.1u4/iDNfafmCQweXKSdHxVkhcg/h0/eqhG5v9o4WV1pCmWaB03cUjBPgRj-2F3GoJUaXSZ409bSk7biXppOJQp1dqtdr-2FhoAX2U1vqcC2pV4zamTmO-2B2Aw-3D-3D>
>
Problem SDK, USB MSD and SDCard
risposta da Iva Dorazinova
<http://jiveon.jivesoftware.com/mpss/c/9AA/PDcDAA/t.1u4/iDNfafmCQweXKSdHxVkhcg/h1/eqhG5v9o4WV1pCmWaB03cUjBPgRj-2F3GoJUaXSZ409bTV2H6l88qkV2k9D4HQo1uUWCFUeozZRGYbPu5sDFrZDsGKUic9H-2BaheNxdnhWEhJU-3D>
su /Kinetis Software Development Kit/ - Visualizza la discussione
completa
<http://jiveon.jivesoftware.com/mpss/c/9AA/PDcDAA/t.1u4/iDNfafmCQweXKSdHxVkhcg/h2/eqhG5v9o4WV1pCmWaB03cUjBPgRj-2F3GoJUaXSZ409bRer5oLYyMIYvTEB-2B6t8hyHDZ7c791s-2B23Zws1cqk2xt3owyPujiTwd2USKMbne2cY-3D>
>