bloombloombloom / Bloom

A debug interface for AVR-based embedded systems development on GNU/Linux.
https://bloom.oscillate.io/
Other
65 stars 4 forks source link

Implement device driver for Xplained Mini & Nano evaluation boards #12

Closed navnavnav closed 2 years ago

navnavnav commented 2 years ago

The Xplained Mini & Nano evaluation boards have an on-board debugger which appears to be EDBG-based.

Will be testing with:

navnavnav commented 2 years ago

Development for this is complete. There was an issue with masked memory read commands, where the Xplained Mini was returning incorrect memory data in certain instances. For now, I've disabled masked memory read commands on the device by performing the masking in the driver and then issuing standard memory read commands.

These changes will be shipped in the next feature release (v0.5.0). Will close this ticket upon release.

navnavnav commented 2 years ago

Given that the Xplained Mini and Nano use the same ob-board debugger, I'm going to include support for the Nano in this ticket.

navnavnav commented 2 years ago

Interestingly, the Xplained Nano doesn't have the same issue with masked memory reads. But I'm going to disable them here also, as I fear the issue may be present in the other versions of the firmware. The safest option is to avoid the masked memory reads for mEDBG devices.

Have created a driver for the Xplained Nano. The implementation is pretty much identical to the Xplained Mini, but I prefer to have them as separate device drivers for now.

navnavnav commented 2 years ago

Version 0.5.0 has just been published. See website (https://bloom.oscillate.io) to download latest version and see config docs to select the new debug tool https://bloom.oscillate.io/docs/configuration#debug-tool-target-config.