Comments (15)
Hi, @xiezhuojin
This is not a full firmware. You need Espressif’s bootloader.
from wireless-esp8266-dap.
Sorry, I forgot about that. Currently you can follow the readme instructions for download via idf.py, or you can find the appropriate bootloader to download along with the app firmware.
I will support an easier download method ASAP.😢
from wireless-esp8266-dap.
Hi, @xiezhuojin
You can try using the pre-release version of the following page:
https://github.com/windowsair/wireless-esp8266-dap/releases/tag/v0.1.3-alpha
Using esp8266_dap_full.bin
, download it with the same command
from wireless-esp8266-dap.
Tried to use the esp8266_dap_full.bin firmware with the same command, but it still didn't work. But thank you anyway, this is the first time I tried esp8266 chip.
from wireless-esp8266-dap.
It's weird. Are you able to see any output through the serial port with baudrate of 74880?
from wireless-esp8266-dap.
Here is the command and its output to flash to firmware
esptool -p /dev/ttyUSB0 write_flash -fm dio 0 /home/kevin/storinator_beta/@documents/hardware/esp8266/esp8266_dap_full.bin
esptool.py v2.5.1
Serial port /dev/ttyUSB0
Connecting....
Detecting chip type... ESP8266
Chip is ESP8266EX
Features: WiFi
MAC: bc:dd:c2:82:3c:cd
Enabling default SPI flash mode...
Configuring flash size...
Auto-detected Flash size: 4MB
Erasing flash...
Flash params set to 0x024f
Took 1.72s to erase flash block
Wrote 380928 bytes at 0x00000000 in 37.2 seconds (82.0 kbit/s)...
Leaving...
Hard resetting via RTS pin...
And there is the output of picocom
picocom --baud 74800 /dev/ttyUSB0
picocom v3.1
port is : /dev/ttyUSB0
flowcontrol : none
baudrate is : 74800
parity is : none
databits are : 8
stopbits are : 1
escape is : C-a
local echo is : no
noinit is : no
noreset is : no
hangup is : no
nolock is : no
send_cmd is : sz -vv
receive_cmd is : rz -vv -E
imap is :
omap is :
emap is : crcrlf,delbs,
logfile is : none
initstring : none
exit_after is : not set
exit is : no
Type [C-a] [C-h] to see available commands
Terminal ready
Please point out the place I did wrong, thanks.
from wireless-esp8266-dap.
The baud rate is 74880. We only concerned with the output results during power-on. Maybe you should manually press the reset button on your board.
from wireless-esp8266-dap.
Output of serial port using 74880 baud
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
load 0x40100000, len 6012, room 16
tail 12
chksum 0x06
ho 0 tail 12 room 4
load 0x3ffe8008, len 24, room 12
tail 12
chksum 0xae
ho 0 tail 12 room 4
load 0x3ffe8020, len 3320, room 12
tail 12
chksum 0xe5
csum 0xe5
user code done
from wireless-esp8266-dap.
Can you please try to execute erase_flash before downloading?
user code done
may mean that the flash mode or flash size needs to be changed.
from wireless-esp8266-dap.
ok, wemos d1 mini is an ESP-01/07 series chip. You may need to use qio flash mode:
esptool -p /dev/ttyUSB0 write_flash -fm qio 0x00 path_to_bin
from wireless-esp8266-dap.
esptool said that chip doesn't support erase_flash. After using qio mode, led blinks but the wifi still doesn't show up. Output of serial
load 0x40100000, len 6012, room 16
tail 12
chksum 0x06
ho 0 tail 12 room 4
load 0x3ffe8008, len 24, room 12
tail 12
chksum 0xae
ho 0 tail 12 room 4
load 0x3ffe8020, len 3320, room 12
tail 12
chksum 0xe5
csum 0xe5
Maybe I should buy a daplink...
from wireless-esp8266-dap.
Ok,it bring you one step closer to success.. I'll upload a firmware later that shows the full debug log.
from wireless-esp8266-dap.
unzip target.zip, then download it
target.zip
from wireless-esp8266-dap.
After reading the log, it said Disconnect reason : 201
. So I try to look into the code, and found the reason(maybe). I originally though the dap is trying to create an AP and my PC should connect to the AP to get it work. But instead, this dap is trying to act as a WIFI client to connect to AP call 'DAP', then I created a hotspot with my phone, the dap connected to it and seems everything work perfectly! Thanks a lot, such a great job you did for leading me(not even a hardware guy) to make this to the end!
from wireless-esp8266-dap.
Yes. Most laptops have mobile hotspots which is the reason why the DAP acts as an STA to connect to the PC(AP).
I didn't think it would be ambiguous, thanks for pointing that out, I'll update the description accordingly in the next release.🤗
from wireless-esp8266-dap.
Related Issues (20)
- ESP32-C3FH4使用此固件WiFi信号很差. HOT 11
- 有关jtag调试无法启动
- 关于jtag调试无法正常启动的问题
- feature: Debug-over-Telegram HOT 1
- 关于而是怕
- 使用esp32c3编译遇到的问题 HOT 9
- 在VScode中用EIDE里的OpenOCD无法找到elaphureLink.cfg HOT 1
- 是否可以通过串口、WIFI、蓝牙等方式修改WIFI连接信息 HOT 1
- 自定义wifi连接,防止错连 HOT 5
- 感谢开源大佬 在英语非常辣鸡 在一点github esp32不懂的情况下搞完了
- 亲爱的佬 云编译一直报错可以看看不 HOT 3
- 以后会出支持esp32s3的版本吗? HOT 15
- esp32 ,软件复位不起作用 HOT 10
- 经常下载不进去程序 是电脑的热点信号太弱了吗? 而且无法进行软件的复位 HOT 1
- USBIP 需要开windows调试模式格外的繁琐,openocd调试有像elaphureLink一样的简易工具吗 HOT 4
- pyocd does not detect debug probe HOT 22
- Can ESP8266-DAP connect to a Wi-Fi router? HOT 1
- flash_parts: partition 0 invalid magic number 0x3333 HOT 13
- 用iar显示Reading CPU status failed HOT 10
- Newer IDF Support HOT 16
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wireless-esp8266-dap.