Uwe Bonnes
29cdba0d70
SWO: Some explanations and a test program.
7 years ago
Uwe Bonnes
fc25a3339a
traceswoasync: Implement async swo for stm32.
Use for stlink.
Uses dma with large buffer.
Pull up swo to provide idle level on unconnected swo pin.
7 years ago
Uwe Bonnes
93bc3a155a
traceswo: Provide command option for async swo.
7 years ago
Uwe Bonnes
3e3e450408
cdcacm.c: Use less buffer for the usb_uart buffers and reallocate.
With 128 bytes for both usb_uart buffers, traceswo gives errors!
Keep the size for the receive buffer and diminisch the transmit buffer,
as there is no flow control to the device.
Probably related to https://github.com/libopencm3/libopencm3/issues/477
7 years ago
Gareth McMullin
cfaa5ea963
Merge branch 'korken89-master'
7 years ago
Gareth McMullin
76bfb4929d
Use lowercase register names.
7 years ago
Gareth McMullin
90f7bdcd09
Merge branch 'konsgn-master'
7 years ago
Gareth McMullin
a3f855ce5c
Merge branch 'master' of https://github.com/konsgn/blackmagic into konsgn-master
7 years ago
Christopher Woodall
31965a5bbc
Added support for k64 ( #301 )
7 years ago
Akila Ravihansa Perera
471ce2547c
Added LPC17xx support ( #317 )
7 years ago
Mark Rages
a41d8cb97a
Another nRF52 device id. ( #315 )
7 years ago
Gareth McMullin
0c659f49cd
Merge pull request #322 from jrwhite/master
hexprog.hex fails due to divide-by-zero
7 years ago
Emil Fresk
1ee6d4503e
Update to split 'special' into its sane parts (update from @mubes )
7 years ago
jrwhite
0ddd8b55d7
divide-by-zero fix
7 years ago
Konsgn
04fbabb299
mkl27 support
7 years ago
konsgn
1fe870b8df
added MKL27<128kB support
7 years ago
Gareth McMullin
a9219c3616
Merge pull request #314 from adamheinrich/usbuart-ignore-noise
platforms/stm32: Ignore noise errors on USBUART
7 years ago
Adam Heinrich
f5cac4c78d
platforms/stm32: Ignore noise errors on USBUART
7 years ago
Gareth McMullin
dd055b675e
Merge pull request #313 from UweBonnes/stm32f3_ccm
stm32f1.c: Add missing fall through statement needed by GCC7.
7 years ago
Uwe Bonnes
922f857de7
stm32f1.c: Add missing fall through statement needed by GCC7.
7 years ago
Gareth McMullin
a3484e3d3b
Merge pull request #311 from UweBonnes/f3_ccm
stm32f1.c: Export CCM RAM of F303.
7 years ago
Uwe Bonnes
1f3c235205
src/target/stm32f1.c: Add CCM Ram of STM32F303 devices.
7 years ago
Gareth McMullin
568655063f
Merge pull request #300 from gsmcmullin/m7-cache
Cache support for Cortex-M7
7 years ago
Gareth McMullin
c53a12bfd1
cortexm: Better cache support for Cortex-M7
- On probe, read CTR for cache presence and minimum line length
- Make D-Cache clean a function
- Clean before memory reads
- Clean and invalidate before memory writes
- Flush all I-Cache before resume
7 years ago
Nick Downing
0e5b3ab00e
Make Cortex M driver write DCCIMVAC (Data cache clean and invalidate by address to the PoC=Point of Coherency) prior to reading or writing each 32 bytes of RAM
7 years ago
Gareth McMullin
9a5b31c37b
Fix fallthrough warnings on gcc 7
7 years ago
Gareth McMullin
231d42d581
Merge pull request #297 from UweBonnes/write_size
target: Fix calculation of erase size.
7 years ago
Uwe Bonnes
120a2d9378
target: Fix calculation of erase size.
7 years ago
Gareth McMullin
5950d8f56c
Merge pull request #293 from UweBonnes/write_size
target: Fix wrong size calculation for write.
7 years ago
Gareth McMullin
ed8366813d
Merge pull request #294 from UweBonnes/stm32_mem
stm32_mem: Really wait 5 seconds for DFU device to appear.
7 years ago
Uwe Bonnes
dc29e45606
stm32_mem: Really wait 5 seconds for DFU device to appear.
7 years ago
Uwe Bonnes
a7815fff3d
target.c: No need to split write while still in same flash block.
7 years ago
Uwe Bonnes
25610e5ec5
target: Fix unconsistant use of tmplen.
7 years ago
Gareth McMullin
72c86f939e
Merge pull request #296 from gsmcmullin/libftdi_tdi_tdo_fix
libftdi: Fix tdi_tdo_seq result unpacking
7 years ago
Gareth McMullin
f27f3bad5c
libftdi: Fix tdi_tdo_seq result unpacking
7 years ago
Gareth McMullin
2db42ba8e5
Merge pull request #287 from gsmcmullin/update_libopencm3
Update libopencm3
7 years ago
Gareth McMullin
19e58a7205
Merge pull request #284 from UweBonnes/stm32_mem
stm32_mem.py: Print longer strings and small formatting changes.
7 years ago
Uwe Bonnes
2b2b6d8f31
stm32_mem.py: Allow to set start address.
7 years ago
Uwe Bonnes
7cc9ee9d7a
stm32_mem.py: Verify after write when bootloader supports upload
This should help people using STM32F103C8 above 64 k.
7 years ago
Uwe Bonnes
613208c939
stm32_mem: Allow to switch from dfu to application without flashing.
7 years ago
Uwe Bonnes
c41dfaef9a
stm32_mem.py: Run automatically after switching to DFU mode.
7 years ago
Uwe Bonnes
4f3f4cb898
stm32_mem.py: Deny to work with the STM DFU bootloader
To support the STM DFU bootloader, the interface descriptor needs to be
evaluated. Erase may only be called once per sector.
7 years ago
Uwe Bonnes
4c6f735452
stm32_mem.py: Handle multiple devices.
7 years ago
Gareth McMullin
eb7547111a
Merge pull request #285 from UweBonnes/f4_rework
F4 rework
7 years ago
Uwe Bonnes
0aa47113f3
stm32f4: Fix F4 dual bank OPTCR1 to option byte mapping.
7 years ago
Uwe Bonnes
c4d3712b39
stm32f4.c: Rework flash structure recognition.
Dual bank devices do not have sectors (8)12..15 !
Dual banks devices need to MER1 set for mass erase.
F72x has different FLASHSIZE_BASE
7 years ago
Gareth McMullin
0ed66547d5
Fix libopencm3 breakage
7 years ago
Gareth McMullin
f345cd24dc
Update libopencm3 pointer
7 years ago
Gareth McMullin
ad71db05b9
Merge pull request #283 from UweBonnes/rdi
Make ENABLE_DEBUG infrastucture available and use for st- and swlink
7 years ago
Uwe Bonnes
4966168802
s[t|w]link: Implement ENABLE_DEBUG.
7 years ago