{"id":19925550,"url":"https://github.com/embeddedalpha/rp2040","last_synced_at":"2026-01-31T05:03:56.604Z","repository":{"id":99544757,"uuid":"381432401","full_name":"embeddedalpha/RP2040","owner":"embeddedalpha","description":"Repo for all things RP2040.","archived":false,"fork":false,"pushed_at":"2021-06-30T15:05:39.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-10T15:47:58.670Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/embeddedalpha.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-06-29T16:37:07.000Z","updated_at":"2021-06-30T15:05:42.000Z","dependencies_parsed_at":"2023-07-30T18:00:25.804Z","dependency_job_id":null,"html_url":"https://github.com/embeddedalpha/RP2040","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/embeddedalpha/RP2040","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/embeddedalpha%2FRP2040","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/embeddedalpha%2FRP2040/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/embeddedalpha%2FRP2040/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/embeddedalpha%2FRP2040/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/embeddedalpha","download_url":"https://codeload.github.com/embeddedalpha/RP2040/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/embeddedalpha%2FRP2040/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28929865,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T04:05:25.756Z","status":"ssl_error","status_checked_at":"2026-01-31T04:02:35.005Z","response_time":128,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T22:23:05.987Z","updated_at":"2026-01-31T05:03:56.589Z","avatar_url":"https://github.com/embeddedalpha.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# RP2040\n### Repo for all things RP2040.\n\n\n[Get Started Guide](https://datasheets.raspberrypi.org/pico/getting-started-with-pico.pdf) | [Libraries \u0026 tools](https://datasheets.raspberrypi.org/pico/raspberry-pi-pico-c-sdk.pdf) | [Datasheet](https://datasheets.raspberrypi.org/rp2040/rp2040-datasheet.pdf)\n\n![image](https://user-images.githubusercontent.com/38166489/123840407-e8f31d00-d92b-11eb-87f4-c98c21de717d.png)\n\n\n\u003ch3\u003e\n  Settings things up:\n  \u003c/h3\u003e\n  \n Flashing ST-Link V2 as Black Magic Probe. Follow this [link](https://ciesie.com/post/black_magic_probe_stlink/) or follow the steps below:\n \n start OpenOCD:\n ```\n openocd -f interface/stlink-v2.cfg -f board/the_board.cfg \\\n        -c 'reset_config trst_and_srst'\n ```\n Connect GDB to OCD:\n ```\n arm-none-eabi-gdb --eval-command=\"target remote localhost:3333\" firmware_binary.elf\n ```\n \n Open the ST-Link v2 programmer and connect the SWD pins as shown below:\n \n ![image](https://user-images.githubusercontent.com/38166489/123837142-22298e00-d928-11eb-99ad-b55b9a80dff3.png)\n \n Clone Blackmagic git:\n ```\n git clone https://github.com/blacksphere/blackmagic.git\n ```\nBuild it!\n```\ncd blackmagic\nmake\ncd src\nmake clean\nmake PROBE_HOST=stlink\n```\nUnlock the memory before the programmer is flashed\n```\nopenocd -f interface/stlink-v2.cfg -f target/stm32f1x.cfg \\\n        -c \"init; reset halt; stm32f1x unlock 0; reset halt; exit\"\n```\n\nErase the flash memory\n```\nst-flash erase\n```\n\nUpdate actual Black Magic Probe:\n```\nst-flash write blackmagic.bin 0x8000000\n```\n\nWrite Firmware\n```\nst-flash --reset write blackmagic.bin 0x8002000\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fembeddedalpha%2Frp2040","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fembeddedalpha%2Frp2040","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fembeddedalpha%2Frp2040/lists"}