{"id":30623492,"url":"https://github.com/snhobbs/isp-programmer","last_synced_at":"2025-08-30T16:21:48.784Z","repository":{"id":61576542,"uuid":"177209080","full_name":"snhobbs/isp-programmer","owner":"snhobbs","description":"ISP Programmer for NXP Cortex-M Chips","archived":false,"fork":false,"pushed_at":"2025-07-27T20:01:31.000Z","size":198,"stargazers_count":12,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-27T20:04:05.196Z","etag":null,"topics":["arm-cortex","chips","cortex-m","embedded","firmware","flash","ftdi","isp","isp-programmer","lpc","lpc84x","lpc8xx","mcu","mcuxpresso","nxp","nxp-cortex","serial"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/snhobbs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2019-03-22T21:05:14.000Z","updated_at":"2025-07-27T20:01:34.000Z","dependencies_parsed_at":"2024-05-14T14:01:41.428Z","dependency_job_id":"cfedab16-75db-4d46-920c-6aec6adf05f6","html_url":"https://github.com/snhobbs/isp-programmer","commit_stats":{"total_commits":61,"total_committers":2,"mean_commits":30.5,"dds":"0.016393442622950838","last_synced_commit":"d9ce644f16602cbc5e6cfbededf996fff77dac95"},"previous_names":["snhobbs/isp-programmer","snhobbs/nxpisp"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/snhobbs/isp-programmer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snhobbs%2Fisp-programmer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snhobbs%2Fisp-programmer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snhobbs%2Fisp-programmer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snhobbs%2Fisp-programmer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/snhobbs","download_url":"https://codeload.github.com/snhobbs/isp-programmer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snhobbs%2Fisp-programmer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272875034,"owners_count":25007865,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-30T02:00:09.474Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["arm-cortex","chips","cortex-m","embedded","firmware","flash","ftdi","isp","isp-programmer","lpc","lpc84x","lpc8xx","mcu","mcuxpresso","nxp","nxp-cortex","serial"],"created_at":"2025-08-30T16:21:41.059Z","updated_at":"2025-08-30T16:21:48.776Z","avatar_url":"https://github.com/snhobbs.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# isp-programmer\nISP Programmer for NXP Cortex-M Chips\n\nCommand-line tool for programming NXP microcontrollers via the UART ISP interface.\n\n## Features\n### Secure Write\n\nTo prevent bricking the chip during an interrupted write:\n\n- The checksum in flash is first set to zero, forcing the chip to boot into ISP mode if power is lost.\n- The image is then written from the topmost page down to the first page.\n- The first sector (which contains the valid checksum) is written last.\n\nThis ensures that any failure during programming will leave the chip in ISP mode.\n\n## Chip Families Supported:\n+ LPC80x\n    + LPC802\n    + LPC804\n+ LPC82x\n    + LPC822\n    + LPC824\n+ LPC84x\n    + LPC844\n    + LPC845\n\n### Untested, expected to work\n+ LPC81x\n    + LPC810\n    + LPC811\n    + LPC812\n+ LPC83x\n    + LPC832\n    + LPC834\n+ LPC86x\n    + LPC865\n\nChips using UU-encoded protocols (e.g., LPC1700 family) are not supported.\nOther NXP devices with 1 kB sectors *may* work if added to the `lpctools_parts.def` file.\n\nThe configuration file is identical to that used by the [lpctools project](http://git.techno-innov.fr/?p=lpctools).\n\n## Installation\n\n### From PyPI\n\n```bash\npip install ispprogrammer\n```\n\n### From Source\n```bash\ngit clone https://github.com/snhobbs/isp-programmer.git\ncd isp-programmer\npip install .\n```\n\n\u003e Default chip definitions are bundled. For custom chips, use the --config-file flag or copy your lpctools_parts.def to /etc/lpctools_parts.def.\n\n\n## Usage\n### Erase Entire Flash\n```bash\nispprogrammer --device /dev/ttyUSB0 -b 9600 -crystal_frequency 12000 masserase\n```\n\n### Program Flash Image\n```bash\nispprogrammer --device /dev/ttyUSB0 -b 9600 -crystal_frequency 12000 writeimage --imagein blinky804.hex\n```\n\n### Read Chip Info\n```bash\nispprogrammer --device /dev/ttyUSB0 -b 9600 -crystal_frequency 12000 querychip\n```\n\n## Similar Projects\n+ [MXLI by JitterCompany](https://github.com/JitterCompany/mxli)\n+ [NXP ISP by idreamoferp](https://github.com/idreamoferp/nxp_isp)\n+ [NXP ISP Loader by pzn1977](https://github.com/pzn1977/nxp_isp_loader)\n+ [LPC81x ISP Tool by laneboysrc](https://github.com/laneboysrc/LPC81x-ISP-tool)\n+ [LPC21ISP by Senseg](https://github.com/Senseg/lpc21isp)\n+ [Nxpprog by ulfen](https://github.com/ulfen/nxpprog)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnhobbs%2Fisp-programmer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsnhobbs%2Fisp-programmer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnhobbs%2Fisp-programmer/lists"}