Jason Kotzin
1612eacab2
Merge commit '5548d54626a658b65f1f963cd5af54ddaf93fbf7' into sam-update
...
# Conflicts:
# src/platforms/common/swdptap.c
2022-08-01 19:56:08 -07:00
Jason Kotzin
f1f59d3c1d
Merge commit '7e3fe352ad4aed89522d808d76dbe868a470412e' into sam-update
...
# Conflicts:
# src/platforms/common/swdptap.c
2022-08-01 19:54:44 -07:00
Jason Kotzin
a42fc8904d
Merge commit 'e54a826745ae298a4eb555f3d76dfcdd571211b9' into sam-update
...
# Conflicts:
# src/platforms/common/swdptap.c
2022-08-01 19:52:55 -07:00
Jason Kotzin
f62c9db5af
Merge commit 'd4d24c256c2c9a858ae6fc134ee34ba03cb65565' into sam-update
2022-08-01 19:21:49 -07:00
Jason Kotzin
1ba83f3283
Merge commit '17b817f37bca85c9b469470742ecdeedf02f7b3e' into sam-update
2022-08-01 19:21:27 -07:00
Jason Kotzin
c33a447210
Merge commit '9e365a58f77a9096b0203a5f012bb7bfb08fbc95' into sam-update
2022-08-01 19:21:10 -07:00
Jason Kotzin
81fafae68d
Merge commit '44fc24e0e747293fa05b62ed7439501553829b0b' into sam-update
2022-08-01 19:20:52 -07:00
Jason Kotzin
447bdc50a0
Merge commit '66e357d51762f3bf93b549a5626554b2f8de4379' into sam-update
...
# Conflicts:
# src/target/adiv5.c
2022-08-01 19:20:32 -07:00
Jason Kotzin
b91712214f
Merge commit '1799ea3b7102ac1e2a86d78cdbde0f5b809b0be1' into sam-update
2022-08-01 19:03:03 -07:00
Jason Kotzin
5574a14aee
Merge commit 'b7a59afc5920caf1e83cd470aee67f665d0e7197' into sam-update
2022-08-01 19:01:41 -07:00
Jason Kotzin
a82ab6a45d
Merge commit '80f003ff4b6edc9d0d2b98b4ca65d610d86efc74' into sam-update
2022-08-01 19:01:18 -07:00
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
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
05adcd9bf5
remote.c: Compile only relevant functions.
...
Do no compile firmware functions when compiling pc-hosted.
2020-06-05 14:59:30 +02:00
Uwe Bonnes
16967b4328
adiv5: Remove only local dp_idcode used from ADIv5_DP_t struct.
2020-06-05 14:59:30 +02:00
Uwe Bonnes
b8b34e7b1d
adiv5: remove cfg for AP structure, cfg is only used local.
2020-06-05 14:59:30 +02:00
Stoyan Shopov
34a13723d8
Decrease the control USB pipe size on f103 blackmagic probes to 8 bytes
...
Rationale:
In USB device mode, the f103 chip provides 512 bytes
of memory for USB traffic. In the 'master' branch
of the blackmagic probe, the control endpoint pipe size
is set to 64 bytes, effectively consuming a quarter
(1 'in' endpoint, 1 'out' endpoint == 2 endpoints,
2 /* endpoints */ x 64 /* bytes per endpoint */ == 128 bytes
out of 512 /* bytes of precious usb packet memory */).
The USB standard, for full speed devices, does allow
a control endpoint size of 8 bytes.
I am not too aware of all the details of the USB standard,
but the USB standard seems to allow fragmented transactions
on the control USB pipe (endpoint 0), which libopencm3
apparently supports:
libopencm3/lib/usb/usb_control.c:usb_control_send_chunk()
I am using this change (from 64, to 8 bytes)
on a windows 10 machine, on an stlink hardware
('PROBE_HOST=stlink'). It works on my machine.
This change can potentially provide other USB endpoints
in the blackmagic firmware with more memory
2020-06-05 13:58:08 +02:00
Dömötör Gulyás
69e330849d
fix flash map for STM32G431, as it is a special case different from the STM32G47x and STM32G48x chips
2020-06-05 13:41:18 +02:00
Thomas Bénéteau
f9f928e9d6
Add support for LPC8N04
2020-06-05 12:33:51 +02:00
Mark Rages
34c0d5a1c9
When timeout is 0, timeout_is_expired()
should return immediately.
2020-06-05 12:33:24 +02:00
Koen De Vleeschauwer
6eb1b09c1c
pc-hosted semihosting
2020-05-27 12:51:29 +02:00
Koen De Vleeschauwer
541861e978
traceswo decoding
2020-05-16 15:04:35 +02:00
Koen De Vleeschauwer
54ee00b0f6
set semihosting sys_clock time origin
2020-05-13 17:50:39 +02:00
Uwe Bonnes
499309f648
stm32f1: Tell user about STM32F10(3) clone.
2020-05-13 13:07:55 +02:00
Alexey Shvetsov
1a83bc6892
Rename variant_string in efm32 samd samx5x ( #659 )
...
* Rename variant_string
Files efm32 samd samx5x uses same function name that collides during
linking (checked with gcc10)
Signed-off-by: Alexey 'Alexxy' Shvetsov <alexxyum@gmail.com>
* Also make xxx_variant_string static
Signed-off-by: Alexey 'Alexxy' Shvetsov <alexxyum@gmail.com>
2020-05-12 17:47:04 +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
9b939f4a3a
stm32f4: Fix option byte handling ( #654 )
...
Option bytes are not accessible with level 1 protection, so
Use FLASH_OPTCR(x)
Fix crash with "mon opt write xxxx"
Handle option manipulation better when HW Watchdog fuse is set
Allow abbreviated "mon option x<yyy>" commands
2020-05-05 12:52:32 +02:00
Sid Price
923949d5dd
Fixed variable/function name clash building on Windows
2020-05-03 15:45:31 +02:00
Koen De Vleeschauwer
9f8c7be360
semihosting
2020-05-02 12:55:29 +02:00
Vegard Storheil Eriksen
d63e870e82
cdcacm: Fix UART interface OUT endpoint MPS in descriptor.
...
3e3e450 reduced the buffer size for the UART interface OUT endpoint to
32B, but left wMaxPacketSize at 64B. This effectively configures the
hardware to receive packets up to 32B in size while telling the host it
can send larger packets. On reception of a larger packet, the usb core
treats it as an error, drops the packet and replies with a STALL
handshake.
This commit fixes the issue by updating the descriptor to match the
buffer configuration.
Fixes #538
2020-05-01 12:39:40 +02:00
Uwe Bonnes
08bb4d5775
pc-hosted: Make JTAG work.
2020-04-27 20:30:51 +02:00
Koen De Vleeschauwer
8851504a41
new semihosting commands
2020-04-23 09:43:46 +02:00