bricked ESP8266 ? any command errors with "Failed to write to target RAM (result was 0107)" #6310
Replies: 1 comment
-
Posted at 2018-09-29 by user94443 I got the same problem: root@raspberry:/home/pi/espurna# stty</dev/serial0 root@raspberry:/home/pi/espurna# time ./esptool.py -p /dev/serial0 write_flash 0x1000 espurna-1.13.2-itead-sonoff-th.bin A fatal error occurred: Failed to write to target RAM (result was 0107) real 0m2,423s I am using Raspberry Pi GPIO TXD0, RXD0 and GND. Sonoff is powered by its own power supply (240VAC, I am a professional electrician). Any quesses what can cause this ? Posted at 2018-09-29 by user94443 I changed my programming device to cheap clone FT232BL based USB to UART device and succeeded to erase and write a new image. These settings works for me: I am satisfied! :-) Posted at 2018-09-29 by hungryforcodes @user94443 This command line you're using:
Is that Espruino? Or something else. It looks like "Espruna", which is not related to this project at all. The only thing I can recommend is you get another ESP8266 and see if you can replicate the problem. If you can't, then suspicion falls on the original board. Posted at 2018-09-29 by hungryforcodes Oh I see you solved your problem! Congrats. :) Posted at 2018-09-29 by user94443 No wifi AP after first successfull (Hash of data verified.) flash installation and boot. I did erase again and flashed again with -fm dout -option No led light, no Wifi access point (tried double click and long time button press, no access point after them). It seems to me that espurna-1.13.2-itead-sonoff-th.bin is incompatible with my new TH16 device. PCB text is: "Ver 2.1 2017-6-8" Posted at 2018-09-29 by hungryforcodes Yeah I haven't used the TH16 before. Which ESP8266 board are you using? Was it working before? Posted at 2018-09-29 by hungryforcodes Anyways as I said, this is the Espruino forum, for the javascript interpreter for microcontrollers. You're using Espruna, so I suggest you go to the Espruna forum for more help. They may know whats actually going on. Good luck! Posted at 2018-09-30 by user94443 Thank You for Your good answer and advices, Hungryforcodes! Here in Finland we have (AFAIK) only one word which starts as "Esp" -string, it is "Espanja" which means Spain. So, my brains are not used to handle words which starts with "Esp" -string! That is the reason why I used my Kahneman´s system one when I saw google search result page , where was all these strings: "ESP2866", "Esp*" -project and "Failed to write to target RAM (result was 0107)". So I thought very quickly that "This is the right search result to click!" Espruino seems to be very interesting project too, I should find time to study Espruino project too! Sorry for inconvenience! :-) Posted at 2018-09-30 by hungryforcodes Yeah, I was more concerned about you getting a solution to your problem. That said, yes Espruino is great, and you should try it. In addition there are some great Espruino devices like the Pixljs and the Puckjs, which are fun. Check them out from the home page. Posted at 2019-11-06 by user104487 I have faced the similar issue quite a number of times. I am looking for a similar solution. One of my facebook friends has suggested me something familiar to it. But i am looking for accurate solution |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-11-25 by tbd
tried to flash Espruino on a ESP8266 (NodeMCU, doit.am version) and got:
bootloader terminal ( 74880,8,N,1 ):
Beta Was this translation helpful? Give feedback.
All reactions