Hello,
Please tell me a few things about FlashStream communication.
I succeed in writing FlashStream file to our fuelgauge.
It work well in normal condition.
Next, I will build an error handling and reduce writing time if possible.
The Q1 and Q2 relate to the former and Q3 the letter.
Q1.
If compare command "C:" does not work well, what should I do?
Q2.
Assume that something unexpected has happened during Flashstream communication.
In this case, what steps should I take to ensure that I can rewrite it again?
Should I use "Execute Flash Code"?
;--------------------------------------------------------
;Execute Flash Code
;--------------------------------------------------------
W: 16 00 0F
W: 16 64 0F 00
X: 4000
Q3.
Is it possible to shorten the W command?
If an instruction is the following,
W: 16[device address] 00[command] 02[data0] 00[data1] ...... 0E[data63]
W: 16[device address] 64[command] 1A[data0] 37[data1]
is it possible to shoten the commands, like this?
W: 16[device address] 00[command] 02[data0] 00[data1] ...... 0E[data63] 1A[data64] 37[data65]