Commit Graph

1809 Commits

Author SHA1 Message Date
dragonmux 8baf1e73c5 driver/udev: Fixed a couple of other small issues with the rules 2022-06-12 16:07:07 -07:00
dragonmux 32c62fdd3b driver/udev: Fixed a small typo in the uucp rules 2022-06-12 16:07:07 -07:00
dragonmux 6ae884741f driver/udev: Created a set of rules for group uucp systems 2022-06-12 16:07:07 -07:00
dragonmux d938f2b839 driver/udev: Renamed the current rules so we can have a set for uucp systems co-exisitng 2022-06-12 16:07:07 -07:00
dragonmux 3bc38f1a9b driver/udev: Fixed up the rules to correctly target the device and set the group for plugdev systems 2022-06-12 16:07:07 -07:00
dragonmux 1a316c5a2f platforms/f3: moved the linker script and fixed the build system
We need build the right libopencm3 library which is not done by default, so this adds an extra build step for it
2022-06-12 15:58:11 -07:00
dragonmux ef5cfd829f platforms/f3: updated the platform definition 2022-06-12 15:58:11 -07:00
Uwe Bonnes 55a3132d1c platforms/f3: Introduced a new platform for the STM32F3 series 2022-06-12 15:58:11 -07:00
James Turton af48a343a8 rp: Add description for SPI flash commands 2022-06-11 11:54:34 -04:00
James Turton b43b9a6545 rp: Add erase_sector to command list
The command can be used either by specifying the length only, or
the start address and the length like so:
monitor erase_sector <length>
monitor erase_sector <start_addr> <length>
If no start address is specified, it will begin erasing from the
start of the flash sector.
2022-06-11 11:54:34 -04:00
James Turton 53672f1fc3 rp: Remove CHIP_ERASE command from rp_flash_erase
There seems to be a bug in the bootrom for the rp2040 which means
that the chip erase command is not accepted. This is because the
CS pin must be released (set high) directly after sending the chip
erase command (0x60 or 0xC7) (see Winbond W25Q128JV datasheet for
details). Instead the bootrom sends the address after the command,
thus the SPI flash silently ignores the command. Instead, we must
erase each 64KB block one at a time, but thankfull the bootrom
handles this correctly for us.
2022-06-11 11:54:34 -04:00
James Turton b1694dfab9 rp: Always use maximum flash size (16MB) when defining flash region
There are some cases when the this old method for finding the flash
size will fail, such as if the flash chip has been erased with 0xFF
bytes (rather than blank 0x00 bytes). As this is unreliable,
setting the wrong flash size could cause problems when trying to
inspect memory regions which appear to be out of range.
2022-06-11 11:54:34 -04:00
James Turton 203c5149e7 rp: Add CORTEXM_TOPT_INHIBIT_SRST to target_options 2022-06-11 11:54:34 -04:00
James Turton 4ec68023af cortex-a: Fix compiling for native probe 2022-06-09 04:13:12 -04:00
dragonmux 483e51dce1 hosted/bmp_libusb: Further cleanup to the main bmp_ident string 2022-06-04 18:49:02 -07:00
dragonmux 19c2e56f13 hosted/cli: Cleaned up the information print out code so we only make one call for the whole thing 2022-06-04 18:49:02 -07:00
dragonmux af0d597fb0 hosted/bmp_libusb: Cleaned up the bmp_ident code further 2022-06-04 18:49:02 -07:00
dragonmux a87afbd3d3 Added the ZSH completions we wrote in preparation for this help output rewrite 2022-06-04 18:49:02 -07:00
dragonmux 958a6d1a20 hosted: Switched the `bmp_ident` output and printing method from stderr to stdout 2022-06-04 18:49:02 -07:00
dragonmux 74d6c676bb hosted: Rewrote the main usage help text
Rewritten with better descriptions of what options do,
cleaner option groupings and infomraation on option mutual exclusivity
2022-06-04 18:49:02 -07:00
Piotr Esden-Tempski 3ccb0af21c blackpillv2: Renamed blackpill to blackpillv2 to prevent ambiguity.
There is also such a thing as blackpill, that uses stm32f1 instead of
stm32f4. At some point we might get support for the original blackpill
and it will force us to change the name then.
2022-06-04 01:31:27 -04:00
Piotr Esden-Tempski e8fc418f47 blackpill: Added missing newline at the end of the platform.c file. 2022-06-04 01:31:27 -04:00
Piotr Esden-Tempski d55bfd8948 Added BlackPillV2 platform.
This was extracted from f4 platform to allow for easier build testing of
supported platforms.
2022-06-04 01:31:27 -04:00
Piotr Esden-Tempski fcdd93e008 Removed BlackPillV2 platform variant from the f4 discovery.
Combined platforms make it hard to do build testing, it is better to
have duplicate code and be able test all variants.
2022-06-04 01:31:27 -04:00
Piotr Esden-Tempski 2624960422 96b_carbon: Updated the IRQ priority comment. 2022-06-03 20:35:51 -07:00
Piotr Esden-Tempski 1861ccd155 96b_carbon: Corrected the linker script. 2022-06-03 20:35:51 -07:00
Piotr Esden-Tempski d91112e0d6 96b_carbon: Updated so that it compiles in the current codebase. 2022-06-03 20:35:51 -07:00
Piotr Esden-Tempski 9730ae1429 build: Corrected the all_platform build target.
The target was building but not including the BMDA binary, as the
build system does not expect a binary that does not end with `.bin`.
Additionally this corrects the BMDA Makefile.inc that was missing the
`all` and `host_clean` targets.
2022-06-03 22:42:05 -04:00
Piotr Esden-Tempski 6e91aa509c github: Accounting for the fact that all_platforms builds BMDA too. 2022-06-03 18:11:02 -07:00
Piotr Esden-Tempski 91475c775c github: Fixed a step description 2022-06-03 17:57:07 -07:00
Piotr Esden-Tempski 2ab1c20f16 github: Switched to all_platforms firmware target. 2022-06-03 17:47:52 -07:00
Piotr Esden-Tempski f97047b5f5 build: Added all_platforms target to toplevel Makefile
The src level all_platforms target now also checks for locm3 existence
as well as triggers build of the needed locm3 libraries.
2022-06-03 20:40:35 -04:00
cyber-murmel 6656284728 added RTS and DTR to UART interface 2022-06-03 18:22:08 -04:00
Mikaela Szekely 7dc01e96e8 Complete the version string migration from 5e3cade, fixing HOSTED_BMP_ONLY 2022-06-03 14:42:18 -07:00
Dag Ågren f6edb54395 Fix RP2040 memory sizes. 2022-06-01 11:41:58 -04:00
dragonmux 039bf14761
rtt: Cleanup and fixes for the RTT over serial support as per #954 2022-05-31 22:24:59 -04:00
dragonmux 8bf3eb0c6d
misc: Cleaned up in the BMP udev rules 2022-05-31 22:09:45 -04:00
dragonmux 2914be1a67
cortexa: Fix the new Watchpoint support causing a no-build 2022-05-31 22:03:21 -04:00
Gareth McMullin 0b7dd00c77 cortexa: Indicate watchpoint as stop reason if there is only one. 2022-05-31 21:58:51 -04:00
Gareth McMullin b5ef9e5bcf Implement watchpoints on Cortex-A 2022-05-31 21:58:51 -04:00
Rafael Silva 1aadcf2678 target/samx7x: handle tcm reconfiguration
Signed-off-by: Rafael Silva <perigoso@riseup.net>
2022-05-31 21:48:54 -04:00
Rafael Silva dcc450a494 target/sam3x: rework gpnvm command
Signed-off-by: Rafael Silva <perigoso@riseup.net>
2022-05-31 21:48:54 -04:00
Rafael Silva cf6ce32371 target: split mem_map_free into ram_map_free and flash_map_free
Signed-off-by: Rafael Silva <rafaelsilva@ajtec.pt>
2022-05-31 21:48:54 -04:00
Rafael Silva 8462f5e0d4 target/samx7x: handle tcm config on probe
Signed-off-by: Rafael Silva <rafaelsilva@ajtec.pt>
2022-05-31 21:48:54 -04:00
Rafael Silva 508b8d90cc target/sam3x: name changes to reflect multiple supported families
Signed-off-by: Rafael Silva <perigoso@riseup.net>
2022-05-31 21:48:54 -04:00
Rafael Silva 430d306511 target: add samx7x probe method
adds support for SAME70, SAMS70, SAMV71 and SAMV70

Signed-off-by: Rafael Silva <perigoso@riseup.net>
2022-05-31 21:48:54 -04:00
cyber-murmel e3142ade8c add blackmagic package itself 2022-05-31 21:39:16 -04:00
cyber-murmel 8e0928cdba add shell.nix 2022-05-31 21:39:16 -04:00
Uwe Bonnes 233a83a702 hosted/ftdi: Add more adaptors - ESP-Prog, Tigard, Hifive1 and ARM-USB-TINY-H 2022-05-31 21:37:38 -04:00
Uwe Bonnes d2ed681921 hosted/ftdi: Fix detect devices w/o genuine description but with given cable 2022-05-31 21:37:20 -04:00