Open Vinschni opened 5 years ago
Initializing the UART once and using it constantly, ensuring the RX buffer never overflows allows stable usage. With usage of UART.deinit()
and reinitialization if needed I do not see stable results.
it seems caused by the convert(uint8_t to uint32_t), maybe the address of tx_buff not 4Bytes align
Hello together, writing data to SD is not robust with MaixPy neither with commit 4cca70fdb8191bda9959f631db1a12170b556a68 nor with commit beae8648307f27a693be3ebc9f2e169f7f09627d (i tried both).
After a certain amount of data the SPI driver fails reproducably. Use case is continuous logging to SD card, every 1000ms up to 200 bytes are logged to a file.
Result is a crash:
I used
riscv64-unknown-elf-objdump -lSD maixpy.elf > output.S
to get the line information where the crash occurs.I just figured out what crashes, but do not know why or what the cause is.
Any ideas?
Best wishes!