Try   HackMD

BW16-rtlduino開光儀式

本文僅支援windows,但其實只有erase的步驟僅支援win,之後就可以用mac/linux了!

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

具體操作步驟如下

Step 1. 在 ArduinoIDE,偏好設定,將以下 url 貼上

https://github.com/ambiot/ambd_arduino/raw/master/Arduino_package/package_realtek.com_amebad_index.json

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Step 2. 在 ArduinoIDE,開發板管理員,安裝 Ameba 開發板

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Step 3. 跳線

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Step 4. 下載 ImageTool (僅支援 windows)

Step 5. 如何進入燒錄模式?

(1) 板上有兩顆按鈕: Burn與RST,將其同時按下 (2) 放掉RST,在放掉Burn

Step 6. 使用 ImageTool 清除 Flash

  • 使用 ImageTool,設定好 COM,BaudRate=115200,Addr=0x08000000,Size=2048KB (Flash Download區塊的設定不重要)
  • 燒錄模式,然後按下Erase
  • 要看到Falsh erase done!才算成功,不成功就多試幾次,可能是你沒有進入到燒錄模式。(Falsh拼錯了!)
    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →
  • 開啟Arduino,開發板選RTL8720DN(BW16)
  • 使用標準的範例程式
void setup() { pinMode(LED_BUILTIN, OUTPUT); } void loop() { digitalWrite(LED_BUILTIN, HIGH); // turn the LED on delay(1000); // wait for a second digitalWrite(LED_BUILTIN, LOW); // turn the LED off by delay(1000); // wait for a second }
  • 按下上傳後,要在五秒內進入燒錄模式,要看到Upload Image done.才算成功
    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

Step 8. 成功開光

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →