What about new version of module ESP8266WiFi

Posted on
Page
of 2
Prev
/ 2
  • You are right in principle... but USB and USART2 are already used (USB->PC, USART2->ESP8266 on the shim). The task was (from my point of view) to flash new FW into ESP8266 "tightly soldered" on the shim. USART1 is free (or can be made free) for this "one-shot" task -> to flash new FW.... without any problems... which you describe in your solution to do the same through USB. It is not easy task because of USB OTG is packetizied communication. I guess the only reason for this solution is that not everybody has USB-UART available. Am I right?

  • I actually took Gordon's solution first because I didn't want to solder wires to the pins. And although it took some tweaking and slowing down comms to a strolling pace, it works. I now have AT25 on both "shimmed" ESP01's without having to desolder them. Which was the goal. But I am sure that your solution wouldn't have required the "tweaking".

  • @Ingmar_Guillaume OK, if the task is successfully fulfilled (new FW flashed) then the solution with USB is better... requires less sources.
    BTW... There is no need to solder anything in my solution if you have pinned Pico... see the picture (Connection_flash.png).
    For those who work under Windows I have following solution. The flasher and file with new FW are in the attachment. The procedure and short program for Pico are almost the same (only another flasher, see the picture Windows_flash.png) as in my contribution #6.

    var baud=115200;
    
    Serial1.setup(baud, { rx: B7, tx : B6 });
    Serial2.setup(baud, { rx: A3, tx : A2 });
    
    console.log("Start flash ->");
    
    Serial1.on('data',function(d) {Serial2.write(d);});
    Serial2.on('data',function(d) {Serial1.write(d);});
    
    

    3 Attachments

  • @Ingmar_Guillaume ... the flasher is too big... I have to find another way how to send it... do you have any idea?

  • @profra, what do you mean "Too big"? To attach you mean? Just give the link, instead of the download as attachment. No?

  • @Gordon - Thanks for the new version of the module, it fixed some problems I was having with running a http server. The old firmware kept breaking halfway through sending responses.

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

What about new version of module ESP8266WiFi

Posted by Avatar for profra @profra

Actions