du7985
发表于 2021-3-26 11:19
a2302004040 发表于 2021-3-20 13:38
现在我已经做了一个加入支持的版本,请把网址换成下面这个
https://github.com/happyme531/ambd_arduino/r ...
求教一下,arduino rtl开发可以支持多线程吗?
du7985
发表于 2021-3-26 11:29
du7985 发表于 2021-3-26 11:19
求教一下,arduino rtl开发可以支持多线程吗?
按照大佬的教程成功运行起来了,使用socket所为服务器会导致程序阻塞,尝试使用SCoop报错了#error "this library might not be compatible with this NON-AVR / ARM platform. 这个有什么支持的模块吗?
a2302004040
发表于 2021-3-27 18:12
du7985 发表于 2021-3-26 11:29
按照大佬的教程成功运行起来了,使用socket所为服务器会导致程序阻塞,尝试使用SCoop报错了#error "this...
RTL8720支持标准的CMSIS-RTOS,
#include <cmsis_os.h>后即可使用全部的功能,具体可以上网查找说明
du7985
发表于 2021-3-29 18:06
a2302004040 发表于 2021-3-27 18:12
RTL8720支持标准的CMSIS-RTOS,
后即可使用全部的功能,具体可以上网查找说明 ...
嗯嗯,太感谢了,试了下,已经可以了
wwkkww19831009
发表于 2021-4-21 15:03
编译正常,就是烧录不进去,接收的那个回传的符号也正确,证明已经处于下载模式,不知道如何解决,用的安信可的模块。
mcavalcante
发表于 2021-5-30 04:42
本帖最后由 mcavalcante 于 2021-5-30 04:54 编辑
Dears,
I`m trying to upload the sketch LED on/off to my RTL8720DN (BW16), but it is not working. The issue is that it is uploading the script properly to the module, but the LED doesn´t blink (tried the pin number 19, 20 and 21).
As can be seen below, the upload is Ok:
"O sketch usa 192928 bytes (9%) de espaço de armazenamento para programas. O máximo são 2097152 bytes.
Please enter the upload mode (wait 5s)
05
04
03
02
01
Uploading.................
All images are sent successfully!
Image tool closed!
Upload Image done."
The problem is that I´ve seen in some forums someone suggesting a firmware upgrade in this module. But I can´t find a way based on the information I´ve got in the Internet to upgrade this module not using the WIO dev kit.
I wonder if there´s a way to upgrade the firmware through the module´s microUSB port, if there´s some documentation.
I´m not sure if the reason the "LED Blink" sketch is not working due to the module firmware version, so I´m also wondering there´s a clue to get it working even without a firmware upgrade (if possible).
After uploading the code to my RTLDUINO module, and pressing RST button, that´s what I´ve got in the serial port output:
17:41:40.831 ->
#
#
17:41:40.876 ->
###################### #################### ########################
17:41:40.923 ->
# # # # # #
17:41:40.923 ->
# ################ # # # ################## ######### #########
17:41:40.923 ->
# # # # # # # #
17:41:40.923 ->
# # # # ## # #
17:41:40.923 ->
# # # # ## # #
17:41:40.969 ->
# # ## ## # #
17:41:40.969 ->
# ################# ## # #
17:41:40.969 ->
# # ## # #
17:41:40.969 ->
# ################## # ######## # #
17:41:40.969 ->
# # ## # # # #
17:41:41.016 ->
# # # # ######## # #### # #
17:41:41.016 ->
# # # # # # ## ## # #
17:41:41.016 ->
# # # # # # ## ## # #
17:41:41.016 ->
# # # # # # ## ## # #
17:41:41.016 ->
# ################ # # ########## ###### # #
17:41:41.063 ->
# # # # # #
17:41:41.063 ->
####################### ##################### ########
17:41:41.063 ->
17:41:41.063 ->
version:v2.4.1,amebaD v6.0a(Aug 14 2019)
17:41:41.063 ->
interface 0 is initialized
17:41:41.063 ->
interface 1 is initialized
17:41:41.063 ->
17:41:41.063 ->
Initializing WIFI ...
17:41:41.109 ->
WIFI initialized
17:41:41.109 ->
17:41:41.109 ->
init_thread(54), Available heap 0x27418
17:41:41.156 ->
AT_UART_CONF: 38400,8,1,0,0
⸮C⸮⸮
a2302004040
发表于 2021-7-24 17:33
mcavalcante 发表于 2021-5-30 04:42
Dears,
I`m trying to upload the sketch LED on/off to my RTL8720DN (BW16), but it is not working. Th ...
This firmware upload is showing successful but actually not successful at all. You might open an issue at https://github.com/ambiot/ambd_arduino/issues
a2302004040
发表于 2021-7-24 17:35
mcavalcante 发表于 2021-5-30 04:42
Dears,
I`m trying to upload the sketch LED on/off to my RTL8720DN (BW16), but it is not working. Th ...
Solution found. https://forum.amebaiot.com/t/bw16/682
a2302004040
发表于 2021-7-24 18:20
较新的BW16模块内置的AT固件似乎加入了自恢复功能,会造成Arduino显示程序下载成功,但复位芯片之后又回到AT固件的问题。
解决方法:https://hackmd.io/@PQ-vvZNjSByJgYWq22pEBQ/BkwiOOYTu
需要用到的imagetool工具已经上传到附件里
olivierdemousti
发表于 2021-9-2 03:21
Could you please help me. I have tried everything. I know arduino good. But not yet the RTL.
After compiling I get the message that "All images are sent succesfully!" So I would think all is good. But none of my sketches are doing anything. The only thing I get after the reset button on the Serial monitor is - See image_
I guess, it's staying AT mode?
Thanks in advance for your help