Stable Release v2.0.0 #2133
esden
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We are happy to announce the v2.0.0 release of Black Magic Debug. This is the first major release of the v2 series.
Here are some of the highlights:
For more details please refer to the ChangeLog down below.
If you have any questions/suggestions regarding this release we welcome your feedback on our
server or in our project discussions.
How to update
Follow the instructions found on our website for update instructions.
ChangeLog v2.0.0
Core Changes
vCont
andqAttached
GDB packets [dragonmux]monitor heapinfo
[koendv]DEBUG_*_IS_NOOP
macros to allow better logic to be built around debug output [dragonmux]DEBUG_*()
calls with bad format strings [xobs]qCRC
packet handling [ALTracer]sscanf()
in the firmware to reduce code size and improve speed [OmniTechnoMancer]vFlashWrite
GDB command handling [OmniTechnoMancer]sprintf()
over tosnprintf()
for improved safety and code size [ALTracer]vasprintf()
was ignored in the GDB packet handling, leading to crashes and badness [ALTracer]SYS_ELAPSED
andSYS_TICKFREQ
calls [ALTracer]target_list_free()
caused by improper exception handling within the function [dragonmux]NULL
pointer dereference in the target voltage handling and made the implementations consistent [ALTracer]monitor help
output [Misaka0x2730]tc_printf()
usage [HrMitrev]vFlashDone
handler when run with no target selected [ALTracer]CONFIG_<thing>
for consistency [dragonmux]TOPT_NON_HALTING_MEM_IO
) to replace the previous heuristic that was broken [dragonmux]hexify()
call in the remote protocol implementation [xobs]tdi_low_reset
monitor command when run before any JTAG scans have yet been done [dragonmux]string.h
in the GDB packet handler [xobs]vCont
-based single stepping due to soome missing capabiltiy advertising in response tovCont?
packets [dragonmux]Build System Changes
pre-commit
hook setup forclang-format
[amyspark]pre-commit
under Windows [perigoso]libusb
andHIDAPI
to address some issues, particularly on M3 devices [dragonmux]libftdi1
BMDA dependency [dragonmux]bmputil-cli
(bmputil
v1.0.0) [dragonmux]Script/Utility Changes
clang-tidy
configuration which rendered it invalid [OmniTechnoMancer]swolisten
utility to properly walk the descriptors for the endpoint to use [ALTracer]Project CI Changes
pre-commit
check for accidental assignment to correct handling of char literals [perigoso]make
's-j
option in CI for a speed boost [ALTracer]ARM (ADIv5 and ADIv6) Changes
seq_in_parity
for consistency [dragonmux]adi_config_ap()
, reducing code complexity [HrMitrev]cortexar_mem_write()
same ascortexar_mem_read()
[marysaka]RISC-V Debug Changes
tinfo
register read quirk to handle odd targets [dragonmux]ebreak
's when the target's running [mean00]mscratch
CSR [ALTracer]misa
register to form the CPU ISA string [perigoso]Target Changes
DEBUG_*_IS_NOOP
macros [ALTracer]DEBUG_TARGET()
invocations [xobs]Targets Added
Host Platform Changes
Added
Common
OVER8
for more available baud rates on platforms that support it [ALTracer]NO_LIBOPENCM3
[xobs]DEBUG_*()
-enabled builds, saving ~1.2kiB of Flash [tlyu]STM32
DFU_DETACH
requests explicitly in the bootloader [ALTracer]Black Magic Probe (aka “Native”) host
hwversion
for a speed and Flash usage improvement [dragonmux]ctxLink host
DEBUG_*()
is enabled [sidprice]DEBUG_*()
being enabled [sidprice]ST-Link v2/v2.1 host
SWIM_AS_UART
build option and the nRST pin mapping [positron96]ST-Link v3 host
compare-sections
(qCRC
) not working on this platform [ALTracer]DEBUG_*()
output when enabled on this platform [ALTracer]Black Pill v2 host (now blackpill-f401cc, blackpill-f401ce and blackpill-f411ce, aka “The Black Pill hosts”)
SHIELD
macro for defining if you are using your Black Pill with an expansion (shield) board [lenvm]swlink
-like alternative pinout (alt pinout 2) [ALTracer]on_carrier_board
build option [sidprice]Black Magic Debug App (aka “PC Host”)
DAP_SWD_SEQUENCE
command [dragonmux]monitor version
output was put and what it contained to help with bug reporting [dragonmux]Contributors to v2.0.0
We have had 43 individuals contribute 1724 commits since the v1.10.2 release.
Contributor (Contributions)
dragonmux (1021)
ALTracer (223)
Sid Price (141)
perigoso (115)
OmniTechnoMancer (34)
Sean Cross (26)
Amy (21)
Aria Burrell (14)
Mary Guillemard (12)
Michal Demin (10)
mean00 (9)
Dmitry Rezvanov (9)
ArcaneNibble (9)
Taylor Yu (8)
Piotr Esden-Tempski (7)
Aki Van Ness (7)
lenvm (6)
Hristo Mitrev (6)
elagil (6)
Matthew Via (4)
Koen De Vleeschauwer (4)
Vegard Storheil Eriksen (3)
hardesk (3)
Vedran (2)
Sage Myers (2)
Maciej Kuliński (2)
iysheng (2)
Francois Berder (2)
Étienne Machabée (2)
wucke13 (1)
RoboSchmied (1)
Rob Newberry (1)
Paul Melnikov (1)
nqbit (1)
Niko Boehm (1)
Markus Weissbacher (1)
Mark H.Spatz (1)
Lars Sundström (1)
Lars Smit (1)
LAK132 (1)
Georg Brandl (1)
Dániel Buga (1)
9names (1)
Sponsors
This project is sponsored in parts by:
This discussion was created from the release Stable Release v2.0.0.
Beta Was this translation helpful? Give feedback.
All reactions