I’m making data logger and the data are saved in usb via alfat oem board. But, after about 126 or 127 data, when the program tried to initialize USB on port 0, ALFAT return !11, and then the program retried and always !11.
is it problem that I always initialize USB that has been already initialized before?
if this is problem, why there’s no problem for 126 or 127 data (126 or 127 initialize)?
0x11 means can not initialize that usb. If you are sure 5V is connected correctly then 99,9% reason causes this problem is the usb is not standard. Try to format or a different one.
Are you using ALFAT OEM or ALFAT USB board? If ALFAT OEM, the usb port 0 is the bottom one.