Jason Kotzin
40ea78d57b
Merge commit '48d232807ee6096bfa839d91b1708252db0e1a59' into sam-update
2022-08-01 18:59:50 -07:00
Jason Kotzin
eab16ef39f
Merge commit '0f2f1d74a2446275ee31ed582f1f4d98dff24d61' into sam-update
2022-08-01 18:57:07 -07:00
Jason Kotzin
da701aff6d
Merge commit '455e0a74d2a77f2ae1f0acf53b778e41b890523e' into sam-update
2022-08-01 18:56:50 -07:00
Jason Kotzin
aece87bf3e
Merge commit 'cfaa5ea9633fb8719da9455f6c04908810395abe' into sam-update
2022-08-01 18:54:48 -07:00
Jason Kotzin
2931169dd1
Merge commit '0c659f49cd03c7154bfb92c621df523aa8540f72' into sam-update
2022-08-01 18:52:34 -07:00
Jason Kotzin
95655b838e
Merge commit '231d42d58172a2169d99c6e618192ac0d514d3b9' into sam-update
2022-08-01 18:50:19 -07:00
Jason Kotzin
1846795844
Merge commit '19e58a7205e2dfe849b5ac42e470ff489e4ab10d' into sam-update
2022-08-01 18:36:22 -07:00
Jason Kotzin
76c2f5e39c
Merge commit 'eb46994bc95ba308f8eb96d42366abbdae7c5ab7' into sam-update
2022-08-01 18:35:43 -07:00
Jason Kotzin
51f2b79437
Merge commit '1ee1f441d581b6473526a4870f4c3aa201a18af6' into sam-update
2022-08-01 18:34:34 -07:00
Jason Kotzin
02eafe9883
Merge commit 'c7bc51d1919bce00c341b2b2e1e617adcf189be9' into sam-update
2022-08-01 18:33:40 -07:00
Jason Kotzin
05a42576c2
Merge commit 'a4bb2c6e3ea8404641325638a040e3295b7afe30' into sam-update
2022-08-01 18:33:13 -07:00
Jason Kotzin
39949eefe2
Merge commit 'fd467269eb82783c09a69763c46df4de2d494ef4' into sam-update
2022-08-01 18:32:42 -07:00
Jason Kotzin
d7afc92b5f
Merge commit '539d9e14ec553c77b2c3387b4719d8f07401d6a7' into sam-update
2022-08-01 18:32:18 -07:00
Jason Kotzin
44b5eed7ca
Merge commit '261be9864c8ce77c857a996784ac65ed3203b03a' into sam-update
2022-08-01 18:31:34 -07:00
Jason Kotzin
4346fb2405
Merge commit '98a4f8e31872d3f72e47aba8b01a167503144c1e' into sam-update
2022-08-01 18:31:06 -07:00
Jason Kotzin
9c95dfb712
adding adiv5 support
2022-08-01 17:45:49 -07:00
Jason Kotzin
f99fe59ce8
updating libopencm3 with samd i2c support
2022-08-01 17:45:30 -07:00
Thiadmer Riemersma
35687018eb
Escape '*' in responses of the Remote Serial Protocol, to avoid that it is interpreted as the start of an RLE sequence
2021-08-31 15:44:17 +02:00
Jason Kotzin
a6f9701368
Adding schematic, use adobe, has a 3D step built in
v1.6.3
2021-08-15 22:22:09 -07:00
Jason Kotzin
237d6b89f6
Updating Readme
2021-08-15 22:18:41 -07:00
Jason Kotzin
2b89a07dae
samd: adding bootprotect and unlock commands
2021-08-15 21:50:54 -07:00
Uwe Bonnes
863a41daac
adiv5_swdp: Initialize initial_dp with the definition
2021-08-15 16:43:29 +02:00
Uwe Bonnes
49122b50b6
hosted: Make HOSTED_BMP_ONLY the default.
...
Hopefully more people will use it when reporting errors!
2021-08-15 16:43:29 +02:00
Uwe Bonnes
2fcd4a878a
ftdi_bmp.h: Fix error when compiling with HOSTED_BMP_ONLY=1
2021-08-15 16:43:29 +02:00
Uwe Bonnes
6308506276
jtag: Make jtag_devs argument to jtag_handler.
2021-08-15 16:43:29 +02:00
Uwe Bonnes
6dff2a9f31
target: target_error_check now defaults to not indicate error.
...
Remove unneeded nop_function from efm32
2021-08-15 16:43:29 +02:00
Uwe Bonnes
f7670fcd44
ftdi_bmp: Add verbosity for libftdi_jtagtap_tdi_tdo_seq()
2021-08-15 16:43:29 +02:00
Uwe Bonnes
3df692ecb2
adiv5_swdp_scan: If SWD scan fails, try a JTAG scan.
2021-08-15 16:43:29 +02:00
Uwe Bonnes
5c8e277663
hosted/dap: Fix tdi_tdo_seq.
2021-08-15 16:43:29 +02:00
Uwe Bonnes
2d4a503135
jtag_scan: Rework chain detection
...
Fixme: stlinkv2/hosted probably does only handle STM devices. Check if
jtag_devs.c really needed.
2021-08-15 16:43:29 +02:00
Uwe Bonnes
e1a1865de9
remote/jtagtap_tdi_tdo_seq: Split up large transactions.
...
FIXME: One remote transaction still can only do up to 64 ticks, leaving
room for speed enhancement with larger transactions.
Firmware assumes (1LL << 65) == 0LL !
2021-08-15 16:43:29 +02:00
Uwe Bonnes
8084a75634
cl_utils: Allow Hardware reset from the command line
2021-08-15 16:43:29 +02:00
Uwe Bonnes
36836d0746
ftdi_bmp: Fix setting bits and FTDIJTAG srst.
2021-08-15 16:43:29 +02:00
Uwe Bonnes
cfdf55855e
ftdi_bmp: Export and use reset functions.
2021-08-15 16:43:29 +02:00
Uwe Bonnes
1845d71f00
jtag_scan: Deliver full idcode to the handler.
2021-08-15 16:43:29 +02:00
Uwe Bonnes
0d78331149
remote/jtag_tdi_tdo_seq: Fix wrong bitmask calculation.
2021-08-15 16:43:29 +02:00
Thiadmer Riemersma
c7bc4b6a5d
Bug fix in Flash erase function for LPC MCUs.
2021-08-13 16:18:53 +02:00
aam335
5eb43a1ddb
platforms: stm32f4x1 blackpillv2 as variant of f4discovery
...
Compile as make PROBE_HOST=f4discovery BLACKPILL=1
2021-08-13 16:18:05 +02:00
Thiadmer Riemersma
be534a9c5e
Turn error LED off after successful attach to target (error LED blinks on 'target lost').
2021-08-13 16:10:37 +02:00
Thiadmer Riemersma
72bd825a60
Add support for NXP LPC11xx XL series, add 'readuid' command for some MCUs of the LPC11xx series where it was missing; add comments mapping Device IDs to part descriptions.
2021-07-31 16:08:34 +02:00
Uwe Bonnes
6d6a67b44b
timeout: Make sure we wait at least the period requested ( #900 , #902 )
...
Fixes bug introduced with last commit( Recover from bad AP access)
Let STM32 timers run at 100 Hz against 10 Hz before.
Programming STM32F103 failed random (#900 ) with 20 ms timeout requested
against the 100 ms timeout granularity provided up to now.
STM32 Firmware only ticked at 10 hertz, so the sequence "low_access",
"set timeout", "send out 8 bit command", "read 3 bit result" when
reading "wait" and timer increment tick happening during that sequence
will already hits the timeout even so only mininal time has elapsed
and not the requested timeout.
2021-07-27 10:59:03 +02:00
Uwe Bonnes
0c63903071
adiv5: Recover from bad AP access.
...
E.g. AP1 on a STM32WLE5 points to a ROM table, but access to the ROM table
via AP1 hangs forever.
- Substantial reduce timeout when wait for a response. Valid access should
succeed fast.
- Abort AP access to free DP for other accesses
- Don't throw exception, only set dp->fault
- React on higher level
2021-07-15 15:06:54 +02:00
Uwe Bonnes
b887a8d355
stm32: Portability changes
...
Allow to compile on STM32F0 platform too.
2021-07-15 15:06:54 +02:00
UweBonnes
41719c5559
Merge pull request #897 from UweBonnes/fixes
...
bmp_libusb: Check only for cmsis_dap if no cable has been found yet.
2021-06-18 12:13:19 +02:00
Uwe Bonnes
3cfd8226ba
bmp_libusb: Check only for cmsis_dap if no cable has been found yet.
2021-06-18 11:44:50 +02:00
UweBonnes
a0dbb2a787
Merge pull request #896 from RadinnAB/for-upstream
...
Add nRF51 erase UICR command and fix some warnings
2021-06-07 17:43:56 +02:00
fabalthazar
ea4b232996
Fix de83dbb: duplicate BMP_MODE_FLASH_VERIFY -> BMP_MODE_FLASH_WRITE_VERIFY
2021-06-07 17:29:41 +02:00
Björn Mellström
5ea01030e2
Add nRF51 command for (only) erasing the UICR registers
...
Original implementation by: Benjamin Vedder <benjamin@vedder.se>
2021-06-07 13:50:36 +02:00
Björn Mellström
d987a8dd8c
Add define to allow platform override of debug printf function
2021-06-04 06:58:29 +02:00
Björn Mellström
4b8c4990dc
Fix warning about unused variable in adiv5.c
...
This happens if the platform has debugging support but debugging
is not enabled.
2021-06-03 12:56:41 +02:00