Repository navigation
hil: each board's flasher from a board registry keyed by probe serial #400
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 2 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
48e1f91
hil: board registry keyed by board uid
hathach 4aa58e7
hil: resolve roster flashers through the board registry
hathach b9bb590
lsusbt: label a registered board's device serial by its registry key …
hathach 779b895
hil: key the board registry by probe serial
hathach 1795513
hil: lock a registered board by its registry name
hathach f8b4665
hil: refuse a non-string roster lock name
hathach 21f96cb
hil: drop a lock type check the new guard makes redundant
hathach eb2bcfc
hil: trim the registry's duplicated rules and leftovers
hathach 3febfa9
hil_flash: halt both RP2350 cores before program
hathach d38714d
hil_flash: cite what the RP2350 documents say about the halt
hathach File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,165 @@ | ||
| { | ||
| "boards": { | ||
| "FFFF1A00FFFFFFFF1031454E0F000280": { | ||
| "name": "frdm_k64f", | ||
| "flasher": {"name": "jlink", "uid": "000621000000", "args": "-device MK64FN1M0xxx12"}, | ||
| "flasher_recover": {"name": "openocd", "args": "-f interface/jlink.cfg -c \"transport select swd\" -f target/k60.cfg -c \"adapter speed 4000\""} | ||
| }, | ||
| "010105186C60A110": { | ||
| "name": "ek_tm4c123gxl", | ||
| "flasher": {"name": "lm4flash", "uid": "0E205D19", "args": "-v"}, | ||
| "flasher_recover": {"name": "openocd", "args": "-f interface/ti-icdi.cfg -c \"transport select jtag\" -c \"set WORKAREASIZE 0x8000\" -c \"set CHIPNAME tm4c123gh6pm\" -f target/ti/stellaris.cfg -c \"reset_config none\" -c \"tm4c123gh6pm.cpu configure -event reset-assert-post {sleep 100}\""} | ||
| }, | ||
| "6055F9F98715": { | ||
| "name": "espressif_p4_function_ev", | ||
| "flasher": {"name": "esptool", "uid": "4ea4f48f6bc3ee11bbb9d00f9e1b1c54", "args": "-b 1500000", "note": "use --force for ESP32-P4 v0.1"} | ||
| }, | ||
| "84F703C084E4": { | ||
| "name": "espressif_s3_devkitm", | ||
| "flasher": {"name": "esptool", "uid": "3ea619acd1cdeb11a0a0b806e93fd3f1", "args": "-b 1500000"} | ||
| }, | ||
| "2D4F0E6E23EB6724": { | ||
| "name": "nrf52840dk", | ||
| "flasher": {"name": "jlink", "uid": "683944004", "args": "-device nrf52840_xxaa"}, | ||
| "flasher_recover": {"name": "openocd", "args": "-f interface/jlink.cfg -c \"transport select swd\" -c \"adapter speed 4000\" -f target/nrf52.cfg"} | ||
| }, | ||
| "0C81464124010B20FF0A08CC2C": { | ||
| "name": "max32666fthr", | ||
| "aliases": ["0C81464124010B20FF0A08CC2C000000"], | ||
| "flasher": {"name": "openocd", "uid": "E6614C311B597D32", "vid_pid": "0x2e8a 0x000c", "args": "-f interface/cmsis-dap.cfg -f target/max32665.cfg", "verify": true} | ||
| }, | ||
| "9995AD485337433231202020FF100A34": { | ||
| "name": "metro_m4_express", | ||
| "flasher": {"name": "jlink", "uid": "000063728691", "args": "-device ATSAMD51J19"}, | ||
| "flasher_recover": {"name": "openocd", "args": "-f interface/jlink.cfg -c \"transport select swd\" -c \"adapter speed 4000\" -f target/atsame5x.cfg"} | ||
| }, | ||
| "17121919": { | ||
| "name": "lpcxpresso11u37", | ||
| "flasher": {"name": "jlink", "uid": "000724441579", "args": "-device LPC11U37/401"}, | ||
| "flasher_recover": {"name": "openocd", "args": "-f interface/jlink.cfg -c \"transport select swd\" -f target/lpc11xx.cfg -c \"adapter speed 4000\"", "verify": false} | ||
| }, | ||
| "22150C0C1508595343E1857B060000F5": { | ||
| "name": "ea4088_quickstart", | ||
| "flasher": {"name": "jlink", "uid": "611000000", "args": "-device LPC4088"}, | ||
| "flasher_recover": {"name": "openocd", "args": "-f interface/jlink.cfg -c \"transport select swd\" -f target/lpc40xx.cfg -c \"adapter speed 4000\"", "verify": false} | ||
| }, | ||
| "E059C3E208F9B955B3BA4C5CC7F3D13D": { | ||
| "name": "lpcxpresso55s69", | ||
| "flasher": {"name": "jlink", "uid": "000727648789", "args": "-device LPC55S69_M33_0"}, | ||
| "flasher_recover": {"name": "openocd", "args": "-f interface/jlink.cfg -c \"transport select swd\" -c \"adapter speed 1000\" -c \"swd newdap lpc55s69 cpu -expected-id 0x6ba02477\" -c \"dap create lpc55s69.dap -chain-position lpc55s69.cpu\" -c \"target create lpc55s69.cpu cortex_m -dap lpc55s69.dap -ap-num 0\" -c \"cortex_m reset_config sysresetreq\""} | ||
| }, | ||
| "152E163038303131393346E46F26574B": { | ||
| "name": "ra4m1_ek", | ||
| "flasher": {"name": "jlink", "uid": "000831174392", "args": "-device R7FA4M1AB"}, | ||
| "flasher_recover": {"name": "openocd", "args": "-f interface/jlink.cfg -c \"transport select swd\" -c \"adapter speed 1000\" -c \"swd newdap ra4m1 cpu -expected-id 0\" -c \"dap create ra4m1.dap -chain-position ra4m1.cpu\" -c \"target create ra4m1.cpu cortex_m -dap ra4m1.dap\" -c \"cortex_m reset_config sysresetreq\""} | ||
| }, | ||
| "8419032D32363657364EF4622D294B4E": { | ||
| "name": "ra6m5_ek", | ||
| "flasher": {"name": "jlink", "uid": "000831915224", "args": "-device R7FA6M5BH"}, | ||
| "flasher_recover": {"name": "openocd", "args": "-f interface/jlink.cfg -c \"transport select swd\" -c \"adapter speed 1000\" -c \"swd newdap ra6m5 cpu -expected-id 0\" -c \"dap create ra6m5.dap -chain-position ra6m5.cpu\" -c \"target create ra6m5.cpu cortex_m -dap ra6m5.dap\" -c \"cortex_m reset_config sysresetreq\""} | ||
| }, | ||
| "E6614C311B764A37": { | ||
| "name": "raspberry_pi_pico", | ||
| "flasher": {"name": "openocd", "uid": "E6614103E72C1D2F", "vid_pid": "0x2e8a 0x000c", "args": "-f interface/cmsis-dap.cfg -f target/rp2040.cfg -c \"adapter speed 5000\"", "verify": true} | ||
| }, | ||
| "E6614864D35DAE36": { | ||
| "name": "raspberry_pi_pico_w", | ||
| "flasher": {"name": "openocd", "uid": "E6633861A3819D38", "vid_pid": "0x2e8a 0x000c", "args": "-f interface/cmsis-dap.cfg -f target/rp2040.cfg -c \"adapter speed 5000\"", "verify": true} | ||
| }, | ||
| "560AE75E1C7152C9": { | ||
| "name": "raspberry_pi_pico2", | ||
| "flasher": {"name": "openocd", "uid": "E6633861A3978538", "vid_pid": "0x2e8a 0x000c", "args": "-f interface/cmsis-dap.cfg -f target/rp2350.cfg -c \"adapter speed 5000\"", "verify": true} | ||
| }, | ||
| "2B0DC7A45781189E": { | ||
| "name": "adafruit_fruit_jam", | ||
| "flasher": {"name": "openocd", "uid": "E663AC91D3359B38", "vid_pid": "0x2e8a 0x000c", "args": "-f interface/cmsis-dap.cfg -f target/rp2350.cfg -c \"adapter speed 5000\"", "verify": true} | ||
| }, | ||
| "3A001A001357364230353532": { | ||
| "name": "stm32f072disco", | ||
| "flasher": {"name": "jlink", "uid": "779541626", "args": "-device stm32f072rb"}, | ||
| "flasher_recover": {"name": "openocd", "args": "-f interface/jlink.cfg -c \"transport select swd\" -f target/stm32f0x.cfg -c \"stm32f0x.cpu configure -event reset-init {}\""} | ||
| }, | ||
| "30001A000647313332353735": { | ||
| "name": "stm32f407disco", | ||
| "flasher": {"name": "jlink", "uid": "000773661813", "args": "-device stm32f407vg"}, | ||
| "flasher_recover": {"name": "openocd", "args": "-f interface/jlink.cfg -c \"transport select swd\" -f target/stm32f4x.cfg -c \"stm32f4x.cpu configure -event reset-init {}\""} | ||
| }, | ||
| "460029001951373031313335": { | ||
| "name": "stm32f723disco", | ||
| "flasher": {"name": "jlink", "uid": "000776606156", "args": "-device stm32f723ie"}, | ||
| "flasher_recover": {"name": "openocd", "args": "-f interface/jlink.cfg -c \"transport select swd\" -f target/stm32f7x.cfg -c \"stm32f7x.cpu configure -event reset-init {}\""} | ||
| }, | ||
| "110018000951383432343236": { | ||
| "name": "stm32h743nucleo", | ||
| "flasher": {"name": "stlink", "uid": "004C00343137510F39383538", "verify": true}, | ||
| "flasher_recover": {"name": "openocd", "args": "-f interface/stlink.cfg -f target/stm32h7x.cfg"} | ||
| }, | ||
| "4D0038000450434E37343120": { | ||
| "name": "stm32g0b1nucleo", | ||
| "flasher": {"name": "stlink", "uid": "066FFF495087534867063844", "verify": true}, | ||
| "flasher_recover": {"name": "openocd", "args": "-f interface/stlink.cfg -f target/stm32g0x.cfg"} | ||
| }, | ||
| "3C0050001150334258343920": { | ||
| "name": "stm32l476disco", | ||
| "flasher": {"name": "jlink", "uid": "777632258", "args": "-device STM32L476VG"}, | ||
| "flasher_recover": {"name": "openocd", "args": "-f interface/jlink.cfg -c \"transport select swd\" -f target/stm32l4x.cfg -c \"stm32l4x.cpu configure -event reset-init {}\""} | ||
| }, | ||
| "300044000D5036394E373620": { | ||
| "name": "stm32u083nucleo", | ||
| "flasher": {"name": "stlink", "uid": "0668FF575457657187061314"}, | ||
| "flasher_recover": {"name": "openocd", "args": "-f interface/stlink.cfg -f target/stm32u0x.cfg"} | ||
| }, | ||
| "CDAB277B0FBC03E339E339E3": { | ||
| "name": "nanoch32v203", | ||
| "flasher": {"name": "openocd", "uid": "A76D8F062C2A", "vid_pid": "0x1a86 0x8010", "args": "-f target/wch-riscv.cfg"} | ||
| }, | ||
| "CDAB3E8749BC54EF0F410025": { | ||
| "name": "ch32v103r_r1_1v0", | ||
| "flasher": {"name": "openocd", "uid": "BC4954081051", "vid_pid": "0x1a86 0x8010", "args": "-f target/wch-riscv.cfg", "verify": false} | ||
| }, | ||
| "DE6B3E263B3857CAFFFFFFFF": { | ||
| "name": "ch32v307v_r1_1v0", | ||
| "flasher": {"name": "openocd", "uid": "BC5DA47360D0", "vid_pid": "0x1a86 0x8010", "args": "-f target/wch-riscv.cfg"} | ||
| }, | ||
| "D443627B5450": { | ||
| "name": "ch582m_evt", | ||
| "flasher": {"name": "openocd", "uid": "57468F06DC03", "vid_pid": "0x1a86 0x8010", "args": "-f target/wch-riscv.cfg", "verify": false} | ||
| }, | ||
| "BAE96FB95AFA6DBB8F00005002001200": { | ||
| "name": "mimxrt1064_evk", | ||
| "flasher": {"name": "jlink", "uid": "000725299165", "args": "-device MIMXRT1064xxx6A"}, | ||
| "flasher_recover": {"name": "openocd", "args": "-f interface/jlink.cfg -c \"transport select swd\" -c \"adapter speed 1000\" -c \"swd newdap rt1064 cpu -expected-id 0\" -c \"dap create rt1064.dap -chain-position rt1064.cpu\" -c \"target create rt1064.cpu cortex_m -dap rt1064.dap\" -c \"cortex_m reset_config sysresetreq\""} | ||
| }, | ||
| "899C3DE5B0F4D5CA": { | ||
| "name": "nrf54lm20dk", | ||
| "flasher": {"name": "jlink", "uid": "1051856258", "args": "-device NRF54LM20A_M33"}, | ||
| "flasher_recover": {"name": "openocd", "args": "-f interface/jlink.cfg -c \"transport select swd\" -f target/nordic/nrf54l.cfg -c \"adapter speed 4000\""} | ||
| }, | ||
| "78E60E166B5F88BE": { | ||
| "name": "nrf5340dk", | ||
| "flasher": {"name": "jlink", "uid": "1050076405", "args": "-device nrf5340_xxaa_app"}, | ||
| "flasher_recover": {"name": "openocd", "args": "-f interface/jlink.cfg -c \"transport select swd\" -f target/nordic/nrf53.cfg -c \"adapter speed 4000\""} | ||
| }, | ||
| "797D142D36345030364E1737922E4B4E": { | ||
| "name": "ra8m1_ek", | ||
| "flasher": {"name": "jlink", "uid": "001083115236", "args": "-device R7FA8M1AH"} | ||
| }, | ||
| "21002F000F51363531383437": { | ||
| "name": "stm32f769disco", | ||
| "flasher": {"name": "jlink", "uid": "000778170924", "args": "-device stm32f769ni"} | ||
| }, | ||
| "41003B000E504E5457323020": { | ||
| "name": "stm32l412nucleo", | ||
| "flasher": {"name": "stlink", "uid": "0673FF575051717867034946"} | ||
| }, | ||
| "210041000C51343237303334": { | ||
| "name": "stm32f746disco", | ||
| "flasher": {"name": "stlink", "uid": "0670FF515448787067122222"} | ||
| }, | ||
| "0C60020145401EAA0E4B6C64C40700F5": { | ||
| "name": "lpcxpresso43s67", | ||
| "flasher": {"name": "jlink", "uid": "728973776", "args": "-device LPC43S67_M4"}, | ||
| "flasher_recover": {"name": "openocd", "args": "-f interface/jlink.cfg -c \"transport select swd\" -f target/lpc4357.cfg -c \"adapter speed 4000\"", "verify": false} | ||
| } | ||
| } | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.