I use make upload UPLOAD_PATH=/dev/ttyUSB0 AUTO_UPLOAD=Enable
to burn MicroPython firmware to RTL8720 (already build success use make BOARD=AI_THINKER_BW16
), and seems success.
Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
This build now supports Windows, Linux and MacOS
Please specify which board you are building for, currently supported boards:
- AMEBA_AMB21
- AMEBA_AMB23
- AI_THINKER_BW16
- SPARKFUN_THINGPLUS_AWCU488
- AMEBA_AMB25
- AMEBA_AMB26
…/…/py/mkrules.mk:190: warning: overriding recipe for target ‘submodules’
Makefile:443: warning: ignoring old recipe for target ‘submodules’
Make sure Ameba serial port name has been correctly updated in the Makefile!
./build/upload_image_tool_linux ./ /dev/ttyUSB0 AMEBA Enable Disable 1500000
Enter Auto Upload Mode
Uploading…
Upload Image done.
All images are sent successfully!
But not appear MicroPython REPL after burn, whatever connect to Log TX/Log RX
or AT TX/AT RX
, appear like these:
#calibration_ok:[2:19:11]
at version:release/v2.11.2 sdk version:amebad_v6.2C firmware version:release/v4. 9.2(Jul 8 2022-16:18:01)
[AI_LoadConfigFromFlash()-525]load config success
[AI_ComboInit()-171]load config ret=0
[AI_ComboInit()-174]init AT uart ret=0
interface 0 is initialized
interface 1 is initialized
Initializing WIFI …[AI_WatchdogThread()-500]AI_HalWatchdogRefresh start
[AI_WifiInitCallbak()-725]
arch:RTL8720DX,NULL
company:Ai-Thinker|B&T
ble_mac:94c960378d62
wifi_mac:94c960378d5b
sdk_version:release/amebad_v6.2C
firmware_version:release/v4.9.2
compile_time:Jul 8 2022 16:18:01
ready
What’s wrong?