ESP32-SOLO-1 拆裝
都是帶板的, 長這個樣子
需要用熱風槍從背面吹, 因為中間有焊點, esp32朝下, 用280度大概2到3分鍾, 四周需要均勻着風, 用鑷子試探天線部分是否松動, 將外沿稍微剝離后加熱后邊直到自然脫落.
吹下來之后的樣子
來個近點的圖, 一共十片, 壞二片, 其他都正常
再焊到轉接板上
來個近點的正面和背面
運行示例代碼
環境安裝就不細說了
編譯准備
# 復制樣例項目
cd ~/esp
cp -r esp-idf/examples/get-started/hello_world/ .
cd hello_world
# 設置類型
idf.py set-target esp32
# 設置編譯選項, 只把flash大小從2M改成了4M
idf.py menuconfig
如果燒錄對象是solo, 需要勾選Component config -> FreeRTOS -> Run FreeRTOS only on first core
編譯
idf.py build
寫入
對於CP2012, 會自動重啟無需手工reset
idf.py -p /dev/ttyUSB0 flash
查看串口輸出
idf.py -p /dev/ttyUSB0 monitor
# 如果要燒錄加查看
idf.py -p /dev/ttyUSB0 flash monitor
參考
- 環境搭建和安裝,編譯,燒錄說明 https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/index.html
- 開發板產品頁 https://docs.espressif.com/projects/esp-idf/en/latest/esp32/hw-reference/esp32/get-started-devkitc.html
- Xtensa 處理器架構,產商Tensilica https://blog.csdn.net/tugouxp/article/details/113816681
- 使用ESP32做DSP處理 https://github.com/espressif/esp-dsp