Hi,
this change addresses problem reported in issue #148
Code submitted earlier with PR #144 introduced a bug in sending the READ_STATUS command. This command was incorrectly sent as a 2-byte packet instead of 16-byte packet.
The error is corrected here.
Thanks. Looks good to me. I did a quick test writing flash on the integrated ST-Link/V2 of the STM8AF board from the STM8A-Discovery kit, and it looks fine.
Hi, this change addresses problem reported in issue #148 Code submitted earlier with PR #144 introduced a bug in sending the READ_STATUS command. This command was incorrectly sent as a 2-byte packet instead of 16-byte packet. The error is corrected here.