Release Candidate V2.0.0-rc1 #2045
Replies: 2 comments 7 replies
-
Hey everyone. I have added the BMDA builds to the release files. So you can test that too without having to build it yourself. I hope this helps testing things. In case you are new to what BMDA is. BMDA is the Black Magic Debug build that runs as a command line application on your computer. Similar to how OpenOCD works. It provides a network port for the use with GDB and uses the Black Magic Probe hardware only to execute it's commands. To test BMDA you don't have to update the firmware on your Black Magic Probe. This allows you to test the new code without changing your working environment. Cheers, |
Beta Was this translation helpful? Give feedback.
-
I gave it a try, but 2.0.0-rc1 does not detect my target anymore: v2.0.0-rc1:
v10.0.2:
Using a genuine BMP v2.3 |
Beta Was this translation helpful? Give feedback.
-
We are happy to announce the first v2.0.0 release candidate 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.
Release artifact notes
With this release we are now officially releasing the Black Magic Debug Application (aka. BMDA) binaries for Linux, MacOS and Windows. You can find them as
blackmagic-[OS NAME]-[VERSION].zip
files attached to the release.In this release we are officially beyond the flash capacity of the native hardware MCU flash memory. This means we are splitting the firmware up into 4 versions, each firmware supports a subset of targets and architectures. You can find the firmware binaries as
blackmagic-[FIRMWARE TYPE]-[VERSION].(elf|bin|hex)
. Here is the legend of supported targets in each firmware type:native
-> Common targets:native-uncommon
-> Uncommon targets:native-st-clones
-> ST + ST Clone targets:native-riscv
-> RISC-V targets (including hybrids):ChangeLog V2.0.0-rc1
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]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]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]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
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]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-rc1
We have had 38 individuals contribute 1593 commits since the v1.10.2 release.
Contributor (Contributions)
dragonmux (971)
ALTracer (201)
Sid Price (118)
perigoso (102)
OmniTechnoMancer (34)
Sean Cross (25)
Amy (21)
Aria Burrell (12)
Mary Guillemard (10)
Dmitry Rezvanov (9)
ArcaneNibble (9)
Taylor Yu (8)
mean00 (8)
Aki Van Ness (7)
Piotr Esden-Tempski (6)
Hristo Mitrev (6)
elagil (6)
Matthew Via (4)
lenvm (4)
Koen De Vleeschauwer (4)
Michal Demin (3)
hardesk (3)
Vegard Storheil Eriksen (2)
Vedran (2)
Sage Myers (2)
Maciej Kuliński (2)
iysheng (2)
Francois Berder (2)
wucke13 (1)
RoboSchmied (1)
Rob Newberry (1)
Paul Melnikov (1)
nqbit (1)
Niko Boehm (1)
Markus Weissbacher (1)
Lars Sundström (1)
Lars Smit (1)
LAK132 (1)
Sponsors
This project is sponsored in parts by:
Beta Was this translation helpful? Give feedback.
All reactions