logo elektroda
logo elektroda
X
logo elektroda

[Solved] No access to edit files on Wemos D1 mini as AVR ISP

lisulisu6 1857 20
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 18465822
    lisulisu6
    Level 13  
    Hello everyone. I recently found on the internet a portable avr programmer built on a Wermos D1 mini module (display a couple of components) I decided to build it and ran into an insurmountable problem. The hex, fuses, eeprom files for avr programming are uploaded via a web browser to the module memory. And here is the problem in the author's case after entering in the browser under the address 192.168.4.1/edit you can add files, edit, delete in my case there is no such possibility and I do not know what is wrong. I programmed the module as the author stated. There are two bin files which have to be uploaded to given addresses (SSD1306 0.96 esProg_0.96.bin Address:0x00000 EspFlasher/ESP8266Flasher.exe first and second esProg.spiffs.bin Address:0x100000 EspFlasherTool/ESPFlashDownloadTool_v3.4.4.exe)
    Link to project, software and youtube video.
    https://espprog.blogspot.com
    https://github.com/ArduinoGelistirmePlatformu/esProg
    https://www.youtube.com/watch?v=lhsaVAEl87k&t=31s
    And here is a picture of the problem
    No access to edit files on Wemos D1 mini as AVR ISP .
  • ADVERTISEMENT
  • #2 18467672
    kaczakat
    Level 34  
    When you start this module, a new AP for WIFI should appear, you connect to it with your laptop over WIFI and only then is it possible to enter the address 192.168.4.1 (the default AP address on the network with the ESP8266).
    Helpful post? Buy me a coffee.
  • #3 18467897
    lisulisu6
    Level 13  
    This is what I have been doing. That is, I enter the wifi network selection, select esProg, connect, and then select 192.168.4.1/edit on the browser, the page loads as shown in the image, but there is no possibility of adding files, deleting. If I go to 192.168.4.1/update there I can select and carry out a software update. And here is the problem, because what is this programmer if you can not add flash files
  • #4 18468011
    Slawek K.
    Level 35  
    Try it on different browsers, Edge, Firefox etc.

    Greetings
  • ADVERTISEMENT
  • #5 18468162
    lisulisu6
    Level 13  
    I have already tried and even on different systems ie windows linux and android and still the same. I don't know if it is the module's fault. Although every time I upload the soft it uploads normally. If someone uploaded the soft to their module it would be possible to tell if it is the wins of the soft or the module. My module looks like this
    No access to edit files on Wemos D1 mini as AVR ISP .

    I do the soft upload like this
    No access to edit files on Wemos D1 mini as AVR ISP No access to edit files on Wemos D1 mini as AVR ISP No access to edit files on Wemos D1 mini as AVR ISP No access to edit files on Wemos D1 mini as AVR ISP No access to edit files on Wemos D1 mini as AVR ISP No access to edit files on Wemos D1 mini as AVR ISP No access to edit files on Wemos D1 mini as AVR ISP No access to edit files on Wemos D1 mini as AVR ISP No access to edit files on Wemos D1 mini as AVR ISP No access to edit files on Wemos D1 mini as AVR ISP No access to edit files on Wemos D1 mini as AVR ISP .
    And finally in the browser linden
  • ADVERTISEMENT
  • #6 18468224
    Slawek K.
    Level 35  
    In my opinion, you must initialise the flash with SPIFFS, because then you can upload files to the flash esp8266.

    Best regards
  • #8 18468469
    lisulisu6
    Level 13  
    I have cleaned the flesh, reloaded the soft and still the same thing
  • #9 18468495
    kaczakat
    Level 34  
    There are lots of topics here about uploading flash, updating firmware - read up. Surely 4Mbit is not 4MB, on the right in the box you have that it detected 32Mbit (4MB=32Mb), QIO may not be the best choice either, slower modes may improve the stability of operation in some cases, here exactly you can choose lower ones (but of course it is best to choose the fastest working one).
    Helpful post? Buy me a coffee.
  • #10 18468527
    lisulisu6
    Level 13  
    I've read, uploaded at different speeds and still the same thing I've been rolling it out for a week now and no results.
    No access to edit files on Wemos D1 mini as AVR ISP .
  • #11 18468553
    kaczakat
    Level 34  
    But you keep posting a screenshot with a flash size setting of 4Mb, this is 512kB, this program may just not fit. You are supposed to select 32Mbit. Other than that, download the standard firmware, choose to upload at the appropriate blank, init data and boot addresses, your binary where "user" is.
    No access to edit files on Wemos D1 mini as AVR ISP .
    I uploaded this in the setup:
    No access to edit files on Wemos D1 mini as AVR ISP .
    As you can see I only added the spiffs file.
    After the AP appeared, I connected and entered the address "192.168.4.1/update", logged in using "admin" and "espprog", you can select the file to upload and press UPDATE.
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #12 18468653
    lisulisu6
    Level 13  
    I uploaded the same as you. Only under 192.168.4.1/update it comes in now and it came in before. The problem is to enter under 192.168.4.1/edit because this is where you add batches edit delete. And update is just updating the software esProg_0.96.bin. Under 19.168.4.1/edit there should be fields upload create and on the left flash files
  • #13 18468747
    kaczakat
    Level 34  
    Unfortunately the design looks like you upload and it works, or it doesn't work and you don't do anything else - no sources. It actually doesn't work on me either, maybe the lack of oled doesn't trigger something in the program, I just uploaded it to a clean ESP. If you care about an ISP programmer over WIFI then have a look at the project ESP-link with built-in STK500 programmer.
    You upload the firmware according to the instructions, the AP appears, you log in from your phone, connect it to your local network, save the IP address, install the virtual COM with TIBBO https://tibbo.com/soi/software.html on your PC, enter the ESP parameters - IP, TCP/UDP,port, the virtual COM port appears on the PC via WIFI. In the ESPlink web interface you configure to which pins you connect what (without conversion it is 3.3V logic) and that's it - you use it like a programmer connected to a PC.
    Helpful post? Buy me a coffee.
  • #14 18469627
    lisulisu6
    Level 13  
    So yes applying voltage from the battery pack to a voltage divider built with resistors R3 R4 R9 on the divider we get 2.4V after changing resistor R3 100K to 33k we get 3.3V. The programmer does not start. Even applying 3.3V from the power supply does not start it (pin according to the schematic A0). Only supplying power to the micro usb or to the 3.3v pins (of course to this 3.3v pin, because supplying 5v to this pin could end the life of the module) starts the programmer, you can navigate through the menu and select various options, there are also files which are on the video. Programmer started on contact board, after entering the browser the problem remained, you can not add, edit or delete batches. It's a pity it doesn't work as it should always be able to upload soft to atmega without a computer in the field. I also have a question when you enter 192.168.4.1/update in the browser you can select the update file, when I put the esProg.spiffs.bin file there it grinds a bit and throws an error that there is no space. Is it possible that the author has selected a module with more memory
  • #15 18471457
    khoam
    Level 42  
    I uploaded the code with the following commands:
    Code: Bash
    Log in, to see the code
    .
    After connecting to the network esProg , I entered http://192.168.4.1/edit, I logged into the account admin with the password esprog and received:

    No access to edit files on Wemos D1 mini as AVR ISP .
  • #16 18471771
    lisulisu6
    Level 13  
    Same as before
    No access to edit files on Wemos D1 mini as AVR ISP
  • #17 18472095
    khoam
    Level 42  
    It is possible that the problem is in the browser settings themselves. The access to esProg is over https and the certificate is not there, so maybe the browser is blocking the display of that page. The esProg itself works fine if it has been uploaded as I described in the previous post.
  • #18 18472118
    lisulisu6
    Level 13  
    then what settings should I use ???
  • Helpful post
    #19 18540999
    jack7
    Level 1  
    the problem is simple to solve :) connect your laptop via cable to the internet and via wifi to the modulus - it works :) this website must have access to the network for it to work
  • #20 18557552
    lisulisu6
    Level 13  
    Thanks jack7 it worked. Seemingly simple and only you helped Thanks
  • #21 18557559
    lisulisu6
    Level 13  
    Thanks jack7 it worked. Seemingly simple and only you helped Thanks

    Added after 1 [minute]: .

    Works thank you all for your help

Topic summary

A user encountered issues accessing the file editing features on a Wemos D1 mini module configured as an AVR ISP programmer. Despite following the setup instructions and successfully uploading firmware, the user could not add, edit, or delete files at the address 192.168.4.1/edit. Various troubleshooting steps were suggested, including trying different web browsers, ensuring proper flash initialization with SPIFFS, and clearing the flash memory before re-uploading the firmware. Ultimately, the solution involved connecting the laptop to the internet via cable while also connecting to the Wemos D1 mini's Wi-Fi, which resolved the access issue.
Summary generated by the language model.
ADVERTISEMENT