Chat freely about anything...

User avatar
By martinayotte
#23679 Again, don't desperate ! ;)
What is your OS ? Are you on Linux ?
Can you confirm : did you try a LED Blinker using ArduinoIDE ?
Let's try something. Here, in attachment the MyAPServer sketch compiled that I've sent in another thread.
uploading with the following command and try next one to read back the upload to see if it works.

Code: Select allesptool.py --port /dev/ttyUSB0 write_flash 0x00000 /tmp/build1689728494263750370.tmp/MyAPServer.cpp_00000.bin 0x10000 /tmp/build1689728494263750370.tmp/MyAPServer.cpp_10000.bin


Starting the ESP in Exec mode you should see on Serial :
Code: Select allConfiguring Access Point ...
AP IP address: 192.168.4.1
HTTP server started


To compare the upload and what is actually in flash :

Code: Select allesptool.py --port /dev/ttyUSB0 read_flash 0x00000 0x9000 /tmp/ttt
hexdump -C  /tmp/build1689728494263750370.tmp/MyAPServer.cpp_00000.bin > /tmp/ttt2
hexdump -C /tmp/ttt > /tmp/ttt3
diff /tmp/ttt2 /tmp/ttt2


You should only see some diffs as only file size will differ :
Code: Select all< 00008a20  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
< *
< 00009000
---
> 00008a20


EDIT : ouupps ! the Forum <code></code> translated my code inserts above in upper cases, every things should be lower cases.
Attachments
(172.82 KiB) Downloaded 344 times
User avatar
By OliverNZ
#23680 Yes, Linux Xubuntu 15.04 (and Mac OS X Yosemite but I'll stick to linux for now).
Yes I tried blink sketch. No go. I'll try your bin once I get home later today.

Thanks for helping! :D
User avatar
By OliverNZ
#23694 Hi,

So I did get

Code: Select all2183c2183,2185
< 00008a20
---
> 00008a20  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
> *
> 00009000


But when I start I still see gibberish and no WiFi AP.

GND--GND
VCC--VCC
GPIO15--1K--GND
GPIO2--float
GPIO0--float
CH_PD--1K--VCC

VCC has a C470uF 6.3V and C470uF 50V attached. All breadboard. ESP is wired in, no adapter plate.
User avatar
By martinayotte
#23730 The diff proved that upload succeeded ...
The gibberish will always be there, even with a working setup.
But after the gibberish, you don't see the normal "Configuring Access Point ..." at 115200 baud ?
In such case, I suspect you have a defective module. Do you have spares ?