Memory Stick Datalogger WRF command
Bronson
Posts: 44
Hi,
How do you send 23 characters (including CR+LF, original message is 21 char) to Flashdisk using WRF command?
This is my current code, is it right?
SEROUT TX\CTS, Baud, ["WRF ", $00, $00, $00, $17, CR, "123456789012345678901", CR, LF]
I am asking this because sometimes my BS2 project hangs when sending WRF command (It hangs once or twice every 30-100 tests).
Regards,
Bronson
How do you send 23 characters (including CR+LF, original message is 21 char) to Flashdisk using WRF command?
This is my current code, is it right?
SEROUT TX\CTS, Baud, ["WRF ", $00, $00, $00, $17, CR, "123456789012345678901", CR, LF]
I am asking this because sometimes my BS2 project hangs when sending WRF command (It hangs once or twice every 30-100 tests).
Regards,
Bronson
Comments
You are right! The culprit is not the WRF code. It was something else causing the problem. Thanks for your input.
Bronson