Comment by Jeremy on usb protocol: my device is not see any next packet after...
A rather delayed comment, I'm afraid - but I seem to remember from my own attempts at this type of work (on a different device) that I had to save the assigned address and only write it to the hardware...
View ArticleComment by Jeremy on When to use std::expected instead of exceptions
So in fact what you're suggesting is to adopt 2 strategies from the outset.
View ArticleVSCode won't run batch file any more
I've been using VSCode on Windows for some years to debug Cortex-M microcontroller systems, using the cortex-debug extension and Arm's builds of the gcc development tools (including...
View ArticleAnswer by Jeremy for Embedding constant at specific memory location
Assuming the bootloader and main app are both under your control, you could have the bootloader jump to the application entry point with a pointer to the version information (and any other information...
View ArticleComment by Jeremy on MCU SysTick infinite loop
You're not following the initialisation order described in developer.arm.com/documentation/dui0662/b/… . Perhaps you've finally hit a low-probability condition that this sequence avoids?
View ArticleComment by Jeremy on SAM3x8e I2C slave holds SDA low following transmission...
Could this be somehow related to clock stretching? More specifically, the master not correctly reacting to the slave's attempt to do clock stretching? I once had weird problems a bit like this using...
View Article