Uwe Bonnes
4ede113ca7
hydrabus: Disable DFU file generation untit somebody fixes dfu-convert.py
...
This allows "make all_platforms" to succeed on python3 only systems.
2020-06-05 16:23:28 +02:00
Uwe Bonnes
dc3fd2eb06
Classify debug messages
...
Firmware BMP with ENABLE_DEBUG=1 will print WARN and INFO as before.
PC-Hosted BMPwill alway print to stderr. Warn is printed unconditional,
INFO, GDB, TARGET, DONGLE and WIRE will print if their appropriate bit in
cl_debuglevel is set via the -v verbose command line argument.
INFO will go to stdout with -t or -l.
2020-06-05 14:59:30 +02:00
Uwe Bonnes
da45281696
GetTargetVoltage: Print info about voltage only when info is relevant.
2020-06-05 14:59:30 +02:00
Koen De Vleeschauwer
541861e978
traceswo decoding
2020-05-16 15:04:35 +02:00
Alexey 'Alexxy' Shvetsov
805464db23
Fix redefinition of io function
...
Now it should work fine with any gcc version. Old one produces error
like in #657
Signed-off-by: Alexey 'Alexxy' Shvetsov <alexxyum@gmail.com>
2020-05-10 10:58:03 +02:00
Uwe Bonnes
afbde05cd3
Linker: Recent libopencm3 linker already sets the stack.
...
Thanks to Sid Price for noticing #520 .
2019-09-23 22:48:21 +02:00
Brennan Ashton
443ced62d4
Target latest libopencm3
...
Required fixes:
* use usbd_request_return_codes -- commit 54b117c5a5767df8dc114612dfd8e8cb88b72c6b
* drop deprecated timer_reset() -- commit 034dbf20ff8c54dcbee5238390b37a0d35180f44
* drop 48 & 120 MHz configs -- commit a9dde2832eb8039b9e0d21a50b9b991ddbfc4e2d
* ld scripts: drop duplication of standard sections -- commit 9a05dcb6c0aef712052d337457838f6041ffd57a
2019-08-14 00:57:15 -07:00
Benjamin Vernoux
771d81a5f0
Fix link for windows_dfu_util
2018-10-03 15:20:09 -07:00
Uwe Bonnes
59e03dea27
Keep TMS floating until scanning.
...
NRF5x shares nRST with SWDIO and otherwise does not run until scan is done.
2018-06-26 19:50:14 +02:00
Gareth McMullin
0ed66547d5
Fix libopencm3 breakage
2017-09-25 11:17:03 +13:00
Uwe Bonnes
b09a522f37
STM32F103: Use flash size from device for DFU string.
...
Complements #204 .
STLinkV2-1 has F103CB on board! F103C8 on older Stlinks can use upper flash
with hopefully acceptable error rate.
For F103C8 devices, user has to give the force option to dfu-utils.
2017-05-07 13:19:37 +02:00
Gareth McMullin
8b4342394f
Overhaul of timeouts so they may be nested.
2016-06-28 14:35:43 +12:00
Gareth McMullin
cd1d72257f
Cleanup of SRST handling.
...
- Remove connect_assert_srst global.
- Attach functions always release reset.
- Platforms provide a method to poll the reset pin.
- Reset on scan is all internal to command.c
- Reset is released on a failed scan. Fixes #111
2016-04-19 13:12:16 -07:00
bvernoux
2e3778e772
Cleanup and Fix code for HydraBus
2016-04-18 00:48:06 +02:00
Gareth McMullin
49390fee2a
Fix Windows DFU instructions in the Hydrabus readme.
2015-03-04 20:22:19 -08:00
Benjamin Vernoux
9f0c29d329
Add support for HydraBus (tested with SWD with STM32F405 and SWD+JTAG with LPC4330 M0/M4)
2015-03-04 20:22:00 -08:00