An open API service indexing awesome lists of open source software.

https://github.com/conorpp/mboot-js

Access NXP bootloaders using Nodejs or Chrome WebUSB (in progress)
https://github.com/conorpp/mboot-js

Last synced: about 1 month ago
JSON representation

Access NXP bootloaders using Nodejs or Chrome WebUSB (in progress)

Awesome Lists containing this project

README

          

# mboot-js

Access NXP bootloaders using Nodejs.

# Installing

```
npm i
```

# Running

Some examples.

List memories.

```
npm run dev -- list
```

Write binary firmware to flash.

```
npm run dev -- write 0
```

Read it back.

```
npm run dev -- read 0 22532 # Assuming firmware.bin is 22532 bytes long
```

Reset/reboot.

```
npm run dev -- reset
```

# Acknowledgements / other projects

Thank you to [pyMBoot](https://github.com/molejar/pyMBoot) (by @molejar), which is a more capable tool based on Python.