Show newer

@amiloradovsky@functional.cafe Yep thanks I might try GDB and OpenOCD later ... Trouble is that BL602 can only be flashed over UART, not JTAG ... Right now I'm reading the HAL code and I think I know what went wrong 🙂

Let's hunt for MEPC (Machine Exception Program Counter) 0x2300 8fe2 in the Disassembly ... Yep my buggy code crashed in the I2C Interrupt Handler 🤔

github.com/lupyuen/bl_iot_sdk/

Show thread

@lopeztel Thanks for the encouragement ... Really appreciate it! 🙂

@lupyuen but I've always wanted to look at the upper layers such as HAL, which is way I enjoy your posts. Keep it up!🙂

@lupyuen recently I had to implement exception code 11 (M-mode ECALL) for a Risc-V software model. Modeling these things is no easy task

@lupyuen Thanks for this one.

"Let’s talk evil. And by evil, I mean money."

Open source licensing for supervillains

Show older
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.