{"id":29013843,"url":"https://github.com/armmbed/mbed-flasher","last_synced_at":"2025-06-25T20:12:12.669Z","repository":{"id":56529575,"uuid":"46265005","full_name":"ARMmbed/mbed-flasher","owner":"ARMmbed","description":"mbed device flasher application","archived":false,"fork":false,"pushed_at":"2020-11-02T10:40:12.000Z","size":1072,"stargazers_count":10,"open_issues_count":12,"forks_count":10,"subscribers_count":49,"default_branch":"master","last_synced_at":"2025-06-22T04:02:48.668Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ARMmbed.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}},"created_at":"2015-11-16T09:33:06.000Z","updated_at":"2021-05-27T17:52:01.000Z","dependencies_parsed_at":"2022-08-15T20:20:59.668Z","dependency_job_id":null,"html_url":"https://github.com/ARMmbed/mbed-flasher","commit_stats":null,"previous_names":[],"tags_count":65,"template":false,"template_full_name":null,"purl":"pkg:github/ARMmbed/mbed-flasher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ARMmbed%2Fmbed-flasher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ARMmbed%2Fmbed-flasher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ARMmbed%2Fmbed-flasher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ARMmbed%2Fmbed-flasher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ARMmbed","download_url":"https://codeload.github.com/ARMmbed/mbed-flasher/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ARMmbed%2Fmbed-flasher/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261945405,"owners_count":23234243,"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","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":"2025-06-25T20:12:11.942Z","updated_at":"2025-06-25T20:12:12.661Z","avatar_url":"https://github.com/ARMmbed.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mbed-flasher\n\n## Description\n\nmbed-flasher is a simple Python-based tool for flashing boards.\nIt provides a simple Command Line Interface and Python API for flashing.\n\nThe purpose is to provide a clean and simple library that is easy to integrate to other tools.\nIt can be easily developed further to support flashing in mbed OS and other platforms.\nDevelopers can also use it as a standalone tool for flashing their development boards.\n\n\n## Installation\n\nTo install the flasher, use:\n\n`pip install .`\n\nTo install the flasher in development mode:\n\n`pip install --editable .`\n\n## Usage\n\nThis tool has been tested and verified to work with Windows 10 and Ubuntu (16.04 LTS) Linux.\n\nDevices used in verification: NXP K64F.\n\nSee the actual usage documentation [here](doc/usage.md).\n\n## Help\n\n**Main help**\n\n```\n/\u003e mbedflash --help\nusage: mbedflash [-h] [-v] [-s] \u003ccommand\u003e ...\n\nFor specific command help, run: mbedflash \u003ccommand\u003e --help\n\noptional arguments:\n  -h, --help     show this help message and exit\n  -v, --verbose  Verbose level... repeat up to three times.\n  -s, --silent   Silent - only errors will be printed.\n  --version      show program's version number and exit\n\ncommand:\n  \u003ccommand\u003e      command help\n    flash        Flash given resource\n    reset        Reset given resource\n    erase        Erase given resource\n\n```\n\n**Flash help**\n\n```\n/\u003embedflash flash --help\nusage: mbedflash flash [-h] [-i INPUT] [--tid TARGET_ID] [--no-reset] [method]\n\npositional arguments:\n  method                \u003csimple\u003e, used for flashing\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -i INPUT, --input INPUT\n                        Binary input to be flashed.\n  --tid TARGET_ID, --target_id TARGET_ID\n                        Target to be flashed.\n  --no-reset            Do not reset device before or after flashing\n\n```\n\n**Erase help**\n\n```\nc:\\\u003embedflash erase --help\nusage: mbedflash erase [-h] [--tid TARGET_ID] [--no-reset] [method]\n\npositional arguments:\n  method                \u003csimple\u003e, used for erase\n\noptional arguments:\n  -h, --help            show this help message and exit\n  --tid TARGET_ID, --target_id TARGET_ID\n                        Target to be erased.\n  --no-reset            Do not reset device after erase\n```\n\n**Reset help**\n\n```\nc:\\\u003embedflash reset --help\nusage: mbedflash reset [-h] [--tid TARGET_ID] [method]\n\npositional arguments:\n  method                \u003csimple\u003e, used for reset\n\noptional arguments:\n  -h, --help            show this help message and exit\n  --tid TARGET_ID, --target_id TARGET_ID\n                        Target to be reset.\n```\n\n## Running unit tests\n\nRequired pre-installed packages: coverage, mock\n\n```\nsudo pip install coverage mock\n```\n\nExecute all tests:\n```\ncoverage run -m unittest discover -s test\n```\nExecute hardware tests:\n```\ncoverage run -m unittest discover -s test.hardware\n```\nExecute non-hardware tests:\n```\ncoverage run -m unittest discover -s test.non_hardware\n```\n\n\n\nGenerate a coverage report:\n\n```\ncoverage html\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farmmbed%2Fmbed-flasher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farmmbed%2Fmbed-flasher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farmmbed%2Fmbed-flasher/lists"}