微處理器 - NXP RT1062 (Teensy 4.0) - 如何透過teensy_loader_cli燒錄程式



參考資訊:
https://github.com/PaulStoffregen/teensy_loader_cli

步驟如下:
1. 按住按鍵不放
2. 連接USB與PC
3. 放開按鍵
4. 偵測到的裝置

$ sudo dmesg
    [254240.704566] usb 2-3: new high-speed USB device number 79 using xhci_hcd
    [254240.852865] usb 2-3: New USB device found, idVendor=16c0, idProduct=0478, bcdDevice= 1.05
    [254240.852870] usb 2-3: New USB device strings: Mfr=0, Product=0, SerialNumber=1
    [254240.852873] usb 2-3: SerialNumber: 000A32E4
    [254240.854109] hid-generic 0003:16C0:0478.0009: hidraw0: USB HID v1.11 Device [HID 16c0:0478] on usb-0000:00:14.0-3/input0

5. 執行如下命令

$ sudo teensy_loader_cli --mcu=imxrt1062 -w xxx.hex