(RV64) K210 (Sipeed Maix Bit)

使用kflash燒錄


司徒的這片MAIX Bit連接USB後並沒有找到COM裝置,司徒猜測應該是新版的CH552有問題,導致無法透過USB Type-C連接,不過幸好可以透過其它COM裝置,如:PL2303、FT2232連接,然後,新版的kflash竟然會出現'MAIXLoader' object has no attribute 'raise_exception'問題,司徒心中真是無言,不過幸運地,降到kflash v0.8.0就可以了。

燒錄步驟如下:
1. 使用其它COM裝置連接MAIX Bit的RXD、TXD
2. 按住BOOT按鍵
3. 連接USB Type-C(僅供電用途)
4. 執行如下燒錄命令

$ cd 
$ wget https://github.com/kendryte/kflash.py/archive/v0.8.0.tar.gz
$ tar xvf v0.8.0.tar.gz
$ cd kflash.py-0.8.0
$ sudo python ./kflash.py led.bin 
  [INFO] COM Port Auto Detected, Selected  /dev/ttyUSB1 
  [INFO] Default baudrate is 115200 , later it may be changed to the value you set. 
  [INFO] Trying to Enter the ISP Mode... 
  .
  [INFO] Automatically detected dan/bit/trainer 

  [INFO] Greeting Message Detected, Start Downloading ISP 
  Downloading ISP: |===========================================================================================================================================================| 100.0% 10kiB/s
  [INFO] Booting From 0x80000000 
  [INFO] Wait For 0.1 second for ISP to Boot 
  [INFO] Boot to Flashmode Successfully 
  [INFO] Selected Flash:  On-Board 
  [INFO] Initialization flash Successfully 
  Programming BIN: |===========================================================================================================================================================| 100.0% 5kiB/s
  [INFO] Rebooting...  


返回上一頁