1.在使用ESP8266_RTOS_ALINK_DEMO中,源代码连接是alink.tcp.aliyun.com(bf8ccd8c) 443,但我需要连接到我申请的测试地址如"wsf.smart.tbsandbox.com" 80。我尝试使用阿里SDK中的alink_set_config(&config)来更改默认配置,出错提示找不到定义;看到ESP8266_RTOS_ALINK_DEMO源码中已经注释该函数了(尝试注解也无效)。
想请问下可否指导下如何使用ESP8266_RTOS_ALINK_DEMO连接到申请的云测试地址或者配置方法?
2.在使用ESP8266_RTOS_ALINK_DEMO默认代码编译出来的固件中,对flash的读写无法成功,在debug信息中如下提示
…………
read flash data error
<ALINK/ERROR> [alink_write_config#107]: crc 534e, len 0282
erase flash data fail
write data:
write data error
…………
请问在读写flash时需要修改Demo的那些代码才能正确读写?(编译固件参数如下)
STEP 2: choose bin generate(0=eagle.flash.bin+eagle.irom0text.bin, 1=user1.bin, 2=user2.bin)
enter (0/1/2, default 0):
1
generate bin: user1.bin
STEP 3: choose spi speed(0=20MHz, 1=26.7MHz, 2=40MHz, 3=80MHz)
enter (0/1/2/3, default 2):
spi speed: 40 MHz
STEP 4: choose spi mode(0=QIO, 1=QOUT, 2=DIO, 3=DOUT)
enter (0/1/2/3, default 0):
spi mode: QIO
STEP 5: choose spi size and map
0= 512KB( 256KB+ 256KB)
2=1024KB( 512KB+ 512KB)
3=2048KB( 512KB+ 512KB)
4=4096KB( 512KB+ 512KB)
5=2048KB(1024KB+1024KB)
6=4096KB(1024KB+1024KB)
enter (0/2/3/4/5/6, default 0):
2
spi size: 1024KB
spi ota map: 512KB + 512KB
3.关于ESP8266_RTOS_ALINK_DEMO更详细(除了阿里官方的和releasenote)的指导文档吗?如果有该如何获取呢?
3个问题,请技术大牛解答下,感谢!
使用ESP8266_RTOS_ALINK_DEMO如何连接到阿里云的一些问题?(已申请阿里智能云)
Re: 使用ESP8266_RTOS_ALINK_DEMO如何连接到阿里云的一些问题?(已申请阿里智能云)
Postby ESP_Faye » Tue Apr 26, 2016 11:59 am
您好,
1. 阿里接入需要阿里的 key 等参数,此部分请提供阿里接入的开发者信息,包括产品接入的信息。
在开发者中心,客户申请的产品信息里面可以查询。
2. 阿里配网默认参数保存地址为
故烧写工具选择位置时需要注意选择16Mbit,默认需要先用 APP 配置添加设备后,才会读取到 flash 中正确的参数。
感谢您对 ESP8266 的关注!
1. 阿里接入需要阿里的 key 等参数,此部分请提供阿里接入的开发者信息,包括产品接入的信息。
在开发者中心,客户申请的产品信息里面可以查询。
2. 阿里配网默认参数保存地址为
Code: Select all
#define LFILE_START_ADDR 0x1f8000// flash size is 0x200000
故烧写工具选择位置时需要注意选择16Mbit,默认需要先用 APP 配置添加设备后,才会读取到 flash 中正确的参数。
感谢您对 ESP8266 的关注!
Who is online
Users browsing this forum: No registered users and 15 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.