I sent C1 command to the “ALFLAT 2 @ FW 2.0.0” module.
But, even if I waits for 2 minutes, there is no response at some times when a reply “!00” isn’t returning.
An access lamp of the USB memory goes off, so writing in should end. And this moment the USB memory was removed,"!00" is returning.
Without operating a USB memory, can’t it be settled?
Thank you for your reply.
I’ll try picking up the V command before the C 1 command.
Not always responce !00, sometimes can not get back nothing.
Do you mean sometime it is OK, sometime not?
Yes. Sometime is get !00, but sometime are not.
I tried the new command set, the V command before the C 1.
ALFLAT came to reply !00
Was it necessary to wait for 5 seconds after C 1?
I’ll repeat the steps of times of the writing USB flash, and make sure of stability.
Thank you.
…Try to writing in was continued, when exceeding 120 times to data write, a reply of initialization has disappeared. It’s seen as the same pattern.
After the send the command, the current state has begun to receive reaction from 10 msec.
Initialization command and other commands are also need sleep time?
Format, get free size…
Typically, those commands require delay. It hard to say how much exactly, because depends on your media. But closing a handle should not take 5 seconds, at least I haven’t seen any case like that.
There is data ready pin, you can check that pin.
Please try this:
Send close command
Instead of wait for 5 seconds to get !00, wait for 1 second then disconnect your media, don’t care about !00
Format, get free size…
I have decided to take sleep time for 2 seconds to these commands.
Another command is set as ALFLAT2 modules to 0.5 seconds, and get move stably.
My problem was settled by sleep time above-mentioned.
I’m thankful for advice for a solution. Thank you.