bouffalolab / bouffalo_sdk

BouffaloSDK is the IOT and MCU software development kit provided by the Bouffalo Lab Team, supports all the series of Bouffalo chips. Also it is the combination of bl_mcu_sdk and bl_iot_sdk
Apache License 2.0
362 stars 128 forks source link

Improve SD card r/w test #169

Closed harbaum closed 8 months ago

harbaum commented 1 year ago

The fat/sd example created a text file with some 0 bytes. This PR fixes that and the test file now is completely ASCII.

Furthermore the example now erases the RW_Buffer before receiving a new chunk for verification by filling it with $55 bytes. Unfortunately the example now fails on the BL616 since some $55 bytes are not overwirtten. This indicates that the transfers are incomplete.

harbaum commented 1 year ago

This PR exposes https://github.com/bouffalolab/bouffalo_sdk/issues/170