• ESPruino Web IDE is installed on windows 10, but I can't write anything on the left side of the IDE.
    Why?
    In "Devices and printers" I can't find the STM32 device. I only find CH340 usb-serial device. I also have connected one CH340 to my esp8266 and usb-port. I've installed (in 2 steps) the stm32 driver. In fact I tried v.1.4 and also v.1.3.1. But despite that it doesn't appear in "Devices and printers".

    Any idea?

  • You only get an STM32 driver if you're using an official Espruino board. If you're using an ESP8266 then CH340 is probably correct.

    You'll have to follow the instructions on http://www.espruino.com/EspruinoESP8266 to flash the firmware, and then set the Web IDE to connect at 115200 baud.

  • Thanks for quick reply!
    I'm trying that, but I can't pass this section:

    python "../esptool/esptool.py" --port COM12 --baud 115200 write_flash \
    --flash_freq 80m --flash_mode qio --flash_size 32m \
    0x0000 boot_v1.4(b1).bin 0x1000 espruino_esp8266_user1.bin \
    0x3FC000 esp_init_data_default.bin 0x3FE000 blank.bin

    Shall I Write all this on one line without backslashes, or what?

    I get this error:
    esptool write_flash: error: argument

    : [Errno 2] No such file or directory: 'boot_v1.4(b1).bin'

    Regards

  • Yeah, the slashes to do line breaks only work on Linux.

    You need to have python 2.7, not python 3.x (this seems to be true of just about all python code I've had to run)

  • Well, I guessed that. But what about the error?
    I have python 2.7 already.

    esptool write_flash: error: argument
    : [Errno 2] No such file or directory: 'boot_v1.4(b1).bin'

  • Oh, mistook that for an error caused by the backslashes.

    You need to run it from a location that can see the .bin files you downloaded, or include the path to those files in the the command. It's starting from the directory you're in when you run the command.

  • Alright!
    But I can't find it. Here's my downloaded files:
    Directory of C:\Users\Hasse\Documents\GitHub\espruino­_1v85

    2016-03-04 21:38

    .
    2016-03-04 21:38 ..
    2016-03-03 18:49 85 476 changelog.txt
    2016-03-03 18:49 1 055 075 espruino_1v85_esp8266.tgz
    2016-03-03 18:49 524 288 espruino_1v85_esp8266_combined_512.bin
    2016-03-03 18:49 223 240 espruino_1v85_espruino_1r3.bin
    2016-03-03 18:49 223 776 espruino_1v85_espruino_1r3_wiznet.bin
    2016-03-03 18:49 244 268 espruino_1v85_hystm32_24_ve.bin
    2016-03-03 18:49 125 256 espruino_1v85_hystm32_28_rb.bin
    2016-03-03 18:49 202 872 espruino_1v85_hystm32_32_vc.bin
    2016-03-03 18:49 676 952 espruino_1v85_microbit.hex
    2016-03-03 18:49 226 824 espruino_1v85_nucleof401re.bin
    2016-03-03 18:49 226 824 espruino_1v85_nucleof411re.bin
    2016-03-03 18:49 124 396 espruino_1v85_olimexino_stm32.bin
    2016-03-03 18:49 360 984 espruino_1v85_pico_1r3_cc3000.bin
    2016-03-03 18:49 361 512 espruino_1v85_pico_1r3_wiznet.bin
    2016-03-03 18:49 626 459 espruino_1v85_raspberrypi
    2016-03-03 18:49 195 064 espruino_1v85_stm32f3discovery.bin
    2016-03-03 18:49 237 792 espruino_1v85_stm32f4discovery.bin
    2016-03-03 18:49 110 012 espruino_1v85_stm32vldiscovery.bin
    2016-03-03 18:49 591 649 functions.html
    2016-03-03 18:49 8 572 licences.txt
    2016-03-03 18:49 3 497 readme.txt

              21 File(s)      6 434 788 bytes
    
  • You need to download the firmware image. I don't know where it is - I haven't updated since @tve's last build. I just chased the links in a circle.

    @Gordon, where are they? You should fix the page to link to them. The pages just link back to the forum thread.

  • I managed to flash. I found the files!
    Same output as the guide:

    Connecting...
    Erasing flash...
    Wrote 3072 bytes at 0x00000000 in 0.3 seconds (79.8 kbit/s)...
    Erasing flash...
    Wrote 438272 bytes at 0x00001000 in 43.4 seconds (80.7 kbit/s)...
    Erasing flash...
    Wrote 1024 bytes at 0x003fc000 in 0.1 seconds (83.6 kbit/s)...
    Erasing flash...
    Wrote 4096 bytes at 0x003fe000 in 0.4 seconds (83.4 kbit/s)...

    Leaving...

    Thank you guys for now.
    Late here in Sweden, time for some sleep.

    I assume that I need kind of "Putty.exe" for next step, connecting to serial port (windows way), correct?

  • I made one more step, with "Putty.exe"
    Next step will be to take care of WARNING: *** Your flash chip does not match your flash map ***

    | |_ ___ ___ _ ||___ ___
    | |_ -| . | _| | | | | . |
    |
    || || |_|||_|_|

          |_| http://espruino.com
    

    1v85 Copyright 2016 G.Williams

    Espruino is Open Source. Our work is supported
    only by sales of official boards and donations:
    http://espruino.com/Donate
    Flash map 4MB:512/512, manuf 0xc8 chip 0x4013
    WARNING: *** Your flash chip does not match your flash map ***

  • My mcu is:

    ESP8266 ESP-201 module

    Anyone now which values to use for flash map?

  • Means it's got the smaller flash. Use the other command, for the 512 kb ones.

    Ya, go in with putty, set up the WiFi and then use the Web ide

  • You can use the Web IDE instead of putty - jut set the baud rate in settings. It's much easier!

    Instructions for flashing were on that forum thread right at the bottom:

    http://forum.espruino.com/conversations/­279176/?offset=25#12820364

    At least for the single image, which is easier to get started with.

    I was kind of hoping someone else would tidy up the documentation. @tve has written a bunch but it's not that friendly to new users looking to get started at the moment. Looks like I'll have to do it at some point, but I'm not sure when I'll get around to it.

  • Thank you guys for helping me!

    I'm up an running with Web IDE.
    Now the fun starts. I'm so excited.

    (For your editing of the documentation I have some screen shots if you are interested)


    1 Attachment

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

[SOLVED] ESPruino Web IDE doesn't reacts on Windows 10

Posted by Avatar for Hasse @Hasse

Actions