0.9.1 • Published 7 years ago
newtmgr v0.9.1
nnewtmgr - the unofficial apache mynewt newtmgr
Work in progress. Current transports include serial and ble. Current commands include:
- echo
- reset
- stat
- taskstats
- mpstats
- log_list
- log_module_list
- log_level_list
- log_clear
- log_show
- image_confirm
- image_list
- image_corelist
- image_test
- image_upload
- image_erase
Install
Install globally with:
npm i -g nnewtmgr
Use
echo (1 enable or 0 disable)
nnewtmgr --echo=1 --serial=/dev/tty.usbmodem1411
reset
nnewtmgr --reset --serial=/dev/tty.usbmodem1411
stat list (no argument for list, or specify one to read)
nnewtmgr --stat=ble_phy --serial=/dev/tty.usbmodem1411
taskstats
nnewtmgr --taskstats --serial=/dev/tty.usbmodem1411
mpstats
nnewtmgr --mpstats --serial=/dev/tty.usbmodem1411
log_list
nnewtmgr --log_list --serial=/dev/tty.usbmodem1411
log_module_list
nnewtmgr --log_module_list --serial=/dev/tty.usbmodem1411
log_level_list
nnewtmgr --log_level_list --serial=/dev/tty.usbmodem1411
log_clear
nnewtmgr --log_clear --serial=/dev/tty.usbmodem1411
log_show (specify the log to read)
nnewtmgr --log_show=reboot_log --serial=/dev/tty.usbmodem1411
image_confirm (optionally pass the hash to confirm)
nnewtmgr --image_confirm --ble=nimble-bleprph
image_list
nnewtmgr --image_list --serial=/dev/tty.usbmodem1411
image_corelist
nnewtmgr --image_corelist --serial=/dev/tty.usbmodem1411
image_test (pass the hash to confirm)
nnewtmgr --image_test=13c1383f1f020d496b29e2660319c6ca0fd97b5a6e24342fb69b5fb5917ab61a --ble=nimble-bleprph
image_upload (pass the file to upload)
nnewtmgr --image_upload=blesplit.img --serial=/dev/tty.usbmodem1411
image_erase
nnewtmgr --image_erase --serial=/dev/tty.usbmodem1411
Troubleshooting
Turn on some debug:
DEBUG=serialport*,newtmgr* nnewtmgr --list --serial=/dev/tty.usbmodem1411
0.9.1
7 years ago
0.9.0
7 years ago
0.8.0
7 years ago
0.7.0
8 years ago
0.6.1
8 years ago
0.6.0
8 years ago
0.5.0
8 years ago
0.4.0
8 years ago
0.3.0
8 years ago
0.2.0
8 years ago
0.1.8
8 years ago
0.1.7
8 years ago
0.1.6
8 years ago
0.1.5
8 years ago
0.1.4
8 years ago
0.1.3
8 years ago
0.1.2
8 years ago
0.1.1
8 years ago
0.1.0
8 years ago