Menu

Unable to load firmware

2024-10-22
2024-11-24
  • Guillaume Malet

    Guillaume Malet - 2024-10-22

    Hello, I am taking the liberty of writing this post because I cannot download the firmware on a TTGO T-Display 1.1 that I have in my possession.
    I downloaded all the requested libraries but when I flash the firmware I get this error:

    Arduino : 1.8.19 (Windows 10), Carte : "LilyGo T-Display, Disabled, Core 1, Core 1, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), 240MHz (WiFi/BT), QIO, 80MHz, 4MB (32Mb), 921600, None, Disabled"
    
    In file included from D:\Downloads\mysqmplus firmware-139-03\mysqmplus_139_03\mysqmplus_139_03.ino:173:
    
    D:\Downloads\mysqmplus firmware-139-03\mysqmplus_139_03\tasktimer.h: In function 'void init_task_timer()':
    
    tasktimer.h:442:26: error: too many arguments to function 'hw_timer_t* timerBegin(uint32_t)'
    
      442 |   task_timer = timerBegin(2, 80, true);
    
          |                ~~~~~~~~~~^~~~~~~~~~~~~
    
    In file included from C:\Users\maggu\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.5\cores\esp32/esp32-hal.h:84,
    
                     from C:\Users\maggu\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.5\cores\esp32/Arduino.h:36,
    
                     from D:\Downloads\mysqmplus firmware-139-03\mysqmplus_139_03\mysqmplus_139_03.ino:70:
    
    C:\Users\maggu\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.5\cores\esp32/esp32-hal-timer.h:35:13: note: declared here
    
       35 | hw_timer_t *timerBegin(uint32_t frequency);
    
          |             ^~~~~~~~~~
    
    tasktimer.h:443:23: error: too many arguments to function 'void timerAttachInterrupt(hw_timer_t*, void (*)())'
    
      443 |   timerAttachInterrupt(task_timer, &task_100MillisecondTimer, true);
    
          |   ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    C:\Users\maggu\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.5\cores\esp32/esp32-hal-timer.h:50:6: note: declared here
    
       50 | void timerAttachInterrupt(hw_timer_t *timer, void (*userFunc)(void));
    
          |      ^~~~~~~~~~~~~~~~~~~~
    
    tasktimer.h:445:3: error: 'timerAlarmWrite' was not declared in this scope; did you mean 'timerWrite'?
    
      445 |   timerAlarmWrite(task_timer, 100000, true);
    
          |   ^~~~~~~~~~~~~~~
    
          |   timerWrite
    
    tasktimer.h:446:3: error: 'timerAlarmEnable' was not declared in this scope; did you mean 'timerAlarm'?
    
      446 |   timerAlarmEnable(task_timer);
    
          |   ^~~~~~~~~~~~~~~~
    
          |   timerAlarm
    
    D:\Downloads\mysqmplus firmware-139-03\mysqmplus_139_03\mysqmplus_139_03.ino: In function 'void setup()':
    
    mysqmplus_139_03:94:21: error: invalid conversion from 'int' to 'const esp_task_wdt_config_t*' [-fpermissive]
    
       94 | #define WDT_TIMEOUT 30
    
          |                     ^~
    
          |                     |
    
          |                     int
    
    D:\Downloads\mysqmplus firmware-139-03\mysqmplus_139_03\mysqmplus_139_03.ino:2870:21: note: in expansion of macro 'WDT_TIMEOUT'
    
     2870 |   esp_task_wdt_init(WDT_TIMEOUT, true);
    
          |                     ^~~~~~~~~~~
    
    mysqmplus_139_03:2870:20: error: too many arguments to function 'esp_err_t esp_task_wdt_init(const esp_task_wdt_config_t*)'
    
     2870 |   esp_task_wdt_init(WDT_TIMEOUT, true);
    
          |   ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
    
    In file included from D:\Downloads\mysqmplus firmware-139-03\mysqmplus_139_03\mysqmplus_139_03.ino:95:
    
    C:\Users\maggu\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-33fbade6\esp32/include/esp_system/include/esp_task_wdt.h:47:11: note: declared here
    
       47 | esp_err_t esp_task_wdt_init(const esp_task_wdt_config_t *config);
    
          |           ^~~~~~~~~~~~~~~~~
    
    Plusieurs bibliothèque trouvées pour "WiFiServer.h"
    
    Utilisé : C:\Users\maggu\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.5\libraries\WiFi
    
    Non utilisé : C:\Program Files (x86)\Arduino\libraries\WiFi
    
    exit status 1
    
    too many arguments to function 'hw_timer_t* timerBegin(uint32_t)'
    
    
    
    Ce rapport pourrait être plus détaillé avec
    l'option "Afficher les résultats détaillés de la compilation"
    activée dans Fichier -> Préférences.
    

    I'm not a computer genius and I don't know much about coding so if someone could guide me that would be nice.

    Thank you and have a nice day!

     
  • brownrb

    brownrb - 2024-10-23

    Hi

    TTGO T-Display 1.1 that I have in my possession.

    That is because that display is NOT supported in mySQM+. In file config.h it specifies either a TEXT 128x64 or a Graphics display 128x64.

    What is the target CPU set to?
    The only supported ESP32 chips are in the PDF. Not all esp32 chips are the same. For example the Cx series only has 1 core and minimal timers. You can only use either the 30pin ESP32 Dev Module or the R3 WEMOS ESP32 CH340G solderless board. C2/C3/S2/S3 etc chips are not supported at this time. I think (I could be wrong) but the reason for the errors related to task timer issues.

    What ESP32 Core are you using?
    I see from the log that you are not using the correct esp32 core for this project. The log says

    C:\Users\maggu\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.5\cores\

    Important: \esp32\3.0.5 shows core as 3.0.5

    You cannot use 3.0.5 core because I am waiting for bug fixes on the latest core to work through BEFORE mySQM+ project can move to the latest core. This is explained in the PDF as wll as posts here on the Discussion board.
    https://sourceforge.net/p/mysqmproesp32/discussion/general/thread/eb00bc100c/?page=5
    for update concerning release 139-03

    To find the Core number, use Arduino IDE, Tools, Board, Board Manager.
    This displays the board manager. (pic1)
    Top left says Type and a text field All
    In the All, use drop arrow to select ESP32
    which shows (pic2)
    If you are using the wrong core version, then click on the remove
    When removed, exit arduino IDE.

    Next start Arduino IDE again. tools, board manager, in the, and go through the process of "adding" the correct version as shown in the pic2. You use theSelect Version drop down to select the correct core version, then click Install.

    This is also (using wrong core) giving the errors related to the watch dog timer, because the new core 3.x.x you are using all the esp_xxxxxx calls now have different parameters in the method arguments, and another reason why I stated "do not use core 3.x.x"

    I do know that a lot of this may not be clear and sounds like an unknown language. My apologies for that. The user guide could be improved, but is meant to line up with what works. If it says use :ESP32 30p dev chip module that is what it means. If you want to make a breadboard solderless version that is ok, you dont do not need to buy a PCB, Many have done this. But you do need to use the chips etc that are recommended, Same for Core etc etc.

    Please keep at it. The project is worth it. And you can be proud building it through to completion. It is by far the "best" of the myxxxx projects but that also means the most compilcated. Tthe complexity of the code and size/scope of the project is very large and very taxing on the ESP32 chip. That is why the project demands chips with twin core CPUS, multiple timers (at least 3), larger memory, high clock speeds etc. The fact that the project runs at all surprises me everytime I update the project firmare.

    My best guess is that you also use Arduino IDE 2.x.x as well. The problem with Arduino 2.x.x is when you run it a message box bottom left asks you to update to latest versions etc. If doing this project always say NO because if you don;t it will update the ESP32 core to v3.x.x again and then you get back to where you are right now,

    You have managed to get going, having installed the Arduino IDE 18.19. So off to a good start.
    I also attach preferences for Arduino IDE which need to be set. You may have already done this, not sure from the log file,

    I am here to help. Anytime. Zero $. Keep at it.

    Regards
    Robert

     
  • brownrb

    brownrb - 2024-10-23

    Hi
    I attach the Discussion board picture
    On the menu Summary Files Reviews Support Discussion Admin
    You can click Discussion
    Then you can Search all messages for things you might want to check,

    But, you did do the right thing by posting a message to the Discussion board asking for help as well as providing a log file, most appreciated

    Regards
    Robert

     
  • Guillaume Malet

    Guillaume Malet - 2024-10-26

    Ok Tks a lot !

     
  • Guillaume Malet

    Guillaume Malet - 2024-11-20

    Hello, I'm coming back to you because I still can't get my SQM+ to work, I managed to upload the firmware after configuring it. It is clearly visible on my wifi network but I cannot connect to it with the IP address.
    Here are the messages from mydebuglogger:

    [11:01:02] ?om???1-??????B#?!??!c??R#RB?#??ets Jul 29 2019 12:21:46
    [11:01:02] 
    [11:01:02] rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
    [11:01:02] configsip: 0, SPIWP:0xee
    [11:01:02] clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
    [11:01:02] mode:DIO, clock div:1
    [11:01:15] load:0x3fff0030,len:1344
    [11:01:15] load:0x40078000,len:13964
    [11:01:15] load:0x40080400,len:3600
    [11:01:15] entry 0x400805f0
    [11:01:15] ets Jul 29 2019 12:21:46
    [11:01:15] 
    [11:01:15] rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
    [11:01:15] configsip: 0, SPIWP:0xee
    [11:01:15] clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
    [11:01:15] mode:DIO, clock div:1
    [11:01:27] load:0x3fff0030,len:1344
    [11:01:27] load:0x40078000,len:13964
    [11:01:27] load:0x40080400,len:3600
    [11:01:27] entry 0x400805f0
    [11:01:27] ets Jul 29 2019 12:21:46
    [11:01:27] 
    [11:01:27] rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
    [11:01:27] configsip: 0, SPIWP:0xee
    [11:01:27] clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
    [11:01:40] mode:DIO, clock div:1
    [11:01:40] load:0x3fff0030,len:1344
    [11:01:40] load:0x40078000,len:13964
    [11:01:40] load:0x40080400,len:3600
    [11:01:40] entry 0x400805f0
    [11:01:40] ets Jul 29 2019 12:21:46
    [11:01:40] 
    [11:01:40] rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
    [11:01:40] configsip: 0, SPIWP:0xee
    [11:01:40] clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
    [11:01:52] mode:DIO, clock div:1
    [11:01:52] load:0x3fff0030,len:1344
    [11:01:52] load:0x40078000,len:13964
    [11:01:52] load:0x40080400,len:3600
    [11:01:52] entry 0x400805f0
    [11:01:52] ets Jul 29 2019 12:21:46
    [11:01:52] 
    [11:01:52] rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
    [11:01:52] configsip: 0, SPIWP:0xee
    [11:02:05] clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
    [11:02:05] mode:DIO, clock div:1
    [11:02:05] load:0x3fff0030,len:1344
    [11:02:05] load:0x40078000,len:13964
    [11:02:05] load:0x40080400,len:3600
    [11:02:05] entry 0x400805f0
    [11:02:05] ets Jul 29 2019 12:21:46
    [11:02:05] 
    [11:02:05] rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
    [11:02:18] configsip: 0, SPIWP:0xee
    [11:02:18] clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
    [11:02:18] mode:DIO, clock div:1
    [11:02:18] load:0x3fff0030,len:1344
    [11:02:18] load:0x40078000,len:13964
    [11:02:18] load:0x40080400,len:3600
    [11:02:18] entry 0x400805f0
    [11:02:18] ets Jul 29 2019 12:21:46
    [11:02:18] 
    [11:02:30] rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
    [11:02:30] configsip: 0, SPIWP:0xee
    [11:02:30] clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
    [11:02:30] mode:DIO, clock div:1
    [11:02:30] load:0x3fff0030,len:1344
    [11:02:30] load:0x40078000,len:13964
    [11:02:30] load:0x40080400,len:3600
    [11:02:30] entry 0x400805f0
    [11:02:30] ets Jul 29 2019 12:21:46
    [11:02:30] 
    [11:02:43] rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
    [11:02:43] configsip: 0, SPIWP:0xee
    [11:02:43] clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
    [11:02:43] mode:DIO, clock div:1
    [11:02:43] load:0x3fff0030,len:1344
    [11:02:43] load:0x40078000,len:13964
    [11:02:43] load:0x40080400,len:3600
    [11:02:43] entry 0x400805f0
    [11:02:43] ets Jul 29 2019 12:21:46
    [11:02:55] 
    [11:02:55] rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
    [11:02:55] configsip: 0, SPIWP:0xee
    [11:02:55] clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
    [11:02:55] mode:DIO, clock div:1
    [11:02:55] load:0x3fff0030,len:1344
    [11:02:55] load:0x40078000,len:13964
    [11:02:55] load:0x40080400,len:3600
    [11:02:55] entry 0x400805f0
    [11:02:55] ets Jul 29 2019 12:21:46
    [11:03:08] 
    [11:03:08] rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
    [11:03:08] configsip: 0, SPIWP:0xee
    [11:03:08] clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
    [11:03:08] mode:DIO, clock div:1
    [11:03:08] load:0x3fff0030,len:1344
    [11:03:08] load:0x40078000,len:13964
    [11:03:08] load:0x40080400,len:3600
    [11:03:08] entry 0x400805f0
    [11:03:20] ets Jul 29 2019 12:21:46
    [11:03:20] 
    [11:03:20] rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
    [11:03:20] configsip: 0, SPIWP:0xee
    [11:03:20] clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
    [11:03:20] mode:DIO, clock div:1
    [11:03:20] load:0x3fff0030,len:1344
    [11:03:20] load:0x40078000,len:13964
    [11:03:20] load:0x40080400,len:3600
    [11:03:33] entry 0x400805f0
    [11:03:33] ets Jul 29 2019 12:21:46
    [11:03:33] 
    [11:03:33] rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
    [11:03:33] configsip: 0, SPIWP:0xee
    [11:03:33] clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
    [11:03:33] mode:DIO, clock div:1
    [11:03:33] load:0x3fff0030,len:1344
    [11:03:33] load:0x40078000,len:13964
    [11:03:45] load:0x40080400,len:3600
    [11:03:45] entry 0x400805f0
    [11:03:45] ets Jul 29 2019 12:21:46
    [11:03:45] 
    [11:03:45] rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
    [11:03:45] configsip: 0, SPIWP:0xee
    [11:03:45] clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
    [11:03:45] mode:DIO, clock div:1
    [11:03:45] load:0x3fff0030,len:1344
    [11:03:45] load:0x40078000,len:13964
    [11:03:58] load:0x40080400,len:3600
    [11:03:58] entry 0x400805f0
    [11:03:58] ets Jul 29 2019 12:21:46
    [11:03:58] 
    [11:03:58] rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
    [11:03:58] configsip: 0, SPIWP:0xee
    [11:03:58] clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
    [11:03:58] mode:DIO, clock div:1
    [11:03:58] load:0x3fff0030,len:1344
    [11:03:58] load:0x40078000,len:13964
    [11:04:10] load:0x40080400,len:3600
    [11:04:10] entry 0x400805f0
    [11:04:10] ets Jul 29 2019 12:21:46
    [11:04:10] 
    [11:04:10] rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
    [11:04:10] configsip: 0, SPIWP:0xee
    [11:04:10] clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
    [11:04:10] mode:DIO, clock div:1
    [11:04:10] load:0x3fff0030,len:1344
    [11:04:10] load:0x40078000,len:13964
    [11:04:23] load:0x40080400,len:3600
    [11:04:23] entry 0x400805f0
    [11:04:23] ets Jul 29 2019 12:21:46
    [11:04:23] 
    [11:04:23] rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
    [11:04:23] configsip: 0, SPIWP:0xee
    [11:04:23] clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
    [11:04:23] mode:DIO, clock div:1
    [11:04:23] load:0x3fff0030,len:1344
    [11:04:35] load:0x40078000,len:13964
    [11:04:35] load:0x40080400,len:3600
    [11:04:35] entry 0x400805f0
    [11:04:35] ets Jul 29 2019 12:21:46
    [11:04:35] 
    [11:04:35] rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
    [11:04:35] configsip: 0, SPIWP:0xee
    [11:04:35] clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
    [11:04:35] mode:DIO, clock div:1
    [11:04:48] load:0x3fff0030,len:1344
    [11:04:48] load:0x40078000,len:13964
    [11:04:48] load:0x40080400,len:3600
    [11:04:48] entry 0x400805f0
    [11:04:48] ets Jul 29 2019 12:21:46
    [11:04:48] 
    [11:04:48] rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
    [11:04:48] configsip: 0, SPIWP:0xee
    [11:04:48] clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
    [11:05:00] mode:DIO, clock div:1
    [11:05:00] load:0x3fff0030,len:1344
    [11:05:00] load:0x40078000,len:13964
    [11:05:00] load:0x40080400,len:3600
    [11:05:00] entry 0x400805f0
    [11:05:00] ets Jul 29 2019 12:21:46
    [11:05:00] 
    [11:05:00] rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
    [11:05:00] configsip: 0, SPIWP:0xee
    [11:05:13] clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
    [11:05:13] mode:DIO, clock div:1
    [11:05:13] load:0x3fff0030,len:1344
    [11:05:13] load:0x40078000,len:13964
    [11:05:13] load:0x40080400,len:3600
    [11:05:13] entry 0x400805f0
    [11:05:13] ets Jul 29 2019 12:21:46
    [11:05:13] 
    [11:05:13] rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
    [11:05:13] configsip: 0, SPIWP:0xee
    [11:05:25] clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
    [11:05:25] mode:DIO, clock div:1
    [11:05:25] load:0x3fff0030,len:1344
    [11:05:25] load:0x40078000,len:13964
    [11:05:25] load:0x40080400,len:3600
    [11:05:25] entry 0x400805f0
    [11:05:25] ets Jul 29 2019 12:21:46
    [11:05:25] 
    [11:05:25] rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
    [11:05:38] configsip: 0, SPIWP:0xee
    [11:05:38] clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
    [11:05:38] mode:DIO, clock div:1
    [11:05:38] load:0x3fff0030,len:1344
    [11:05:38] load:0x40078000,len:13964
    [11:05:38] load:0x40080400,len:3600
    [11:05:38] entry 0x400805f0
    [11:05:38] ets Jul 29 2019 12:21:46
    [11:05:38] 
    [11:05:38] rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
    

    I also attach the configuration file

    Thanks for your help !
    Have a nice Day.

     

    Last edit: Guillaume Malet 2024-11-20
  • brownrb

    brownrb - 2024-11-20

    The continual reboot is related to the programming of the esp32

    The procedure is
    1. Start Arduino IDE 1.8.19
    2. Program the esp32 chip (upload)
    3. NEXT, immediately after, upload filesystem - IDE Menu bar - Tools ESP32 Sketch Upload Data

    All this is covered in the PDF. If you do not upload the filesystem spiffs files then what happens is this

    Firmware starts boot sequence.
    Firmware attempts to access SPIFFS files to load the configuration
    Opps, not found, reboot

    regards
    Robert

     
  • brownrb

    brownrb - 2024-11-20

    looking at your log file again, I think that its not even loading properly. I dont think it is even getting to the point of loading the firmware. I think this points to an Arduino IDE confiuration issue or ESP32 chip issue. I need a screenshot of your Arduino Tools menu to find out more.

    To get a screenshot start Arduino IDE, use mouse to click on the Tools menu option
    With the tool menu showing, press keys Ctrl and PrintSc to capture the screen
    Next, start Microsoft Paint then paste the screenshot into Paint.
    Then save the file, and add that file to another post/reply

    I think you also need to check the arduino ide target settings for this project. This is on the tools menu.

    I attach my screebshot with the correct settings. If your settings are different, then you need to change them or provde your screenshot.

     

    Last edit: brownrb 2024-11-20
  • Guillaume Malet

    Guillaume Malet - 2024-11-21
    esptool.py v4.5.1
    Serial port COM8
    Connecting....
    Chip is ESP32-D0WD-V3 (revision v3.1)
    Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
    Crystal is 40MHz
    MAC: 88:13:bf:23:b4:c8
    Uploading stub...
    Running stub...
    Stub running...
    Changing baud rate to 921600
    Changed.
    Configuring flash size...
    Flash will be erased from 0x00001000 to 0x00005fff...
    Flash will be erased from 0x00008000 to 0x00008fff...
    Flash will be erased from 0x0000e000 to 0x0000ffff...
    Flash will be erased from 0x00010000 to 0x00121fff...
    Compressed 18992 bytes to 13110...
    Writing at 0x00001000... (100 %)
    Wrote 18992 bytes (13110 compressed) at 0x00001000 in 0.4 seconds (effective 365.4 kbit/s)...
    Hash of data verified.
    Compressed 3072 bytes to 146...
    Writing at 0x00008000... (100 %)
    Wrote 3072 bytes (146 compressed) at 0x00008000 in 0.0 seconds (effective 512.0 kbit/s)...
    Hash of data verified.
    Compressed 8192 bytes to 47...
    Writing at 0x0000e000... (100 %)
    Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.1 seconds (effective 670.3 kbit/s)...
    Hash of data verified.
    Compressed 1119024 bytes to 698658...
    Writing at 0x00010000... (2 %)
    Writing at 0x00016c2c... (4 %)
    Writing at 0x00020ff3... (6 %)
    Writing at 0x0002b108... (9 %)
    Writing at 0x00032119... (11 %)
    Writing at 0x00041499... (13 %)
    Writing at 0x00047d8d... (16 %)
    Writing at 0x0004f41e... (18 %)
    Writing at 0x00057a73... (20 %)
    Writing at 0x0005ee7b... (23 %)
    Writing at 0x000657b1... (25 %)
    Writing at 0x0006d45b... (27 %)
    Writing at 0x00072c95... (30 %)
    Writing at 0x00078ee1... (32 %)
    Writing at 0x0007ed98... (34 %)
    Writing at 0x00084d93... (37 %)
    Writing at 0x0008a456... (39 %)
    Writing at 0x00090082... (41 %)
    Writing at 0x000953a9... (44 %)
    Writing at 0x0009a521... (46 %)
    Writing at 0x0009f80e... (48 %)
    Writing at 0x000a4c6c... (51 %)
    Writing at 0x000a9e31... (53 %)
    Writing at 0x000af0f2... (55 %)
    Writing at 0x000b4456... (58 %)
    Writing at 0x000b95f7... (60 %)
    Writing at 0x000bf252... (62 %)
    Writing at 0x000c49bd... (65 %)
    Writing at 0x000c9c9a... (67 %)
    Writing at 0x000cf1a5... (69 %)
    Writing at 0x000d444b... (72 %)
    Writing at 0x000d9b1c... (74 %)
    Writing at 0x000df240... (76 %)
    Writing at 0x000e4b84... (79 %)
    Writing at 0x000ea8d4... (81 %)
    Writing at 0x000f031d... (83 %)
    Writing at 0x000f76cb... (86 %)
    Writing at 0x00100c29... (88 %)
    Writing at 0x0010661e... (90 %)
    Writing at 0x0010bcde... (93 %)
    Writing at 0x00112802... (95 %)
    Writing at 0x00117ff0... (97 %)
    Writing at 0x0011d73c... (100 %)
    Wrote 1119024 bytes (698658 compressed) at 0x00010000 in 11.6 seconds (effective 772.8 kbit/s)...
    Hash of data verified.
    
    Leaving...
    Hard resetting via RTS pin...
    [SPIFFS] data   : D:\Downloads\mysqmplus firmware-139-03\mysqmplus_139_03\data
    [SPIFFS] start  : 2686976
    [SPIFFS] size   : 1408
    [SPIFFS] page   : 256
    [SPIFFS] block  : 4096
    /admin0.html
    /admin1.html
    /admin10.html
    /admin11.html
    /admin12.html
    /admin13.html
    /admin14.html
    /admin2.html
    /admin3.html
    /admin4.html
    /admin5.html
    /admin6.html
    /admin7.html
    /admin8.html
    /admin9.html
    /admin9d.html
    /cmds.html
    /confignotsaved.html
    /configsaved.html
    /delete.html
    /deleteok.html
    /favicon.ico
    /inclmsxhtml.js
    /inclxhtml.js
    /links.html
    /navbar.html
    /notfound.html
    /reboots.html
    /success.html
    /test.html
    /tsl2591.html
    /tz.h
    /upload.html
    /wificonfig.json
    [SPIFFS] upload : C:\Users\maggu\AppData\Local\Temp\arduino_build_75097/mysqmplus_139_03.spiffs.bin
    [SPIFFS] address: 2686976
    [SPIFFS] port   : COM8
    [SPIFFS] speed  : 921600
    [SPIFFS] mode   : dio
    [SPIFFS] freq   : 80m
    
    esptool.py v4.5.1
    Serial port COM8
    Connecting.....
    Chip is ESP32-D0WD-V3 (revision v3.1)
    Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
    Crystal is 40MHz
    MAC: 88:13:bf:23:b4:c8
    Uploading stub...
    Running stub...
    Stub running...
    Changing baud rate to 921600
    Changed.
    Configuring flash size...
    Auto-detected Flash size: 4MB
    Flash will be erased from 0x00290000 to 0x003effff...
    Compressed 1441792 bytes to 33873...
    Writing at 0x00290000... (33 %)
    Writing at 0x002adf53... (66 %)
    Writing at 0x00364b11... (100 %)
    Wrote 1441792 bytes (33873 compressed) at 0x00290000 in 7.4 seconds (effective 1569.2 kbit/s)...
    Hash of data verified.
    
    Leaving...
    Hard resetting via RTS pin...
    
     
  • brownrb

    brownrb - 2024-11-22

    I am not quite following this,

    Where is this text output from? It does not look familiar to me,

    Are you running the Arduino IDE version 1.8.19?

    Can you post the entire build and upload messages from Arduino IDE.
    This is in a bottom window of the IDE, after its finished you click in that window and use Ctrl+A to select all messages, and then Ctrl+C to copy the messages, then open notepad and use Ctrl+V to paste them into a text file and then save the text file.

    Regards
    Robert

     
  • brownrb

    brownrb - 2024-11-22

    and make sure that Arduino IDE Tools menu has this Disabled. very Important

    Tools->Erase All Flash Before Sketch Upload: Disabled.

     
  • Guillaume Malet

    Guillaume Malet - 2024-11-22

    Hello, I am attaching the console output

     
  • Guillaume Malet

    Guillaume Malet - 2024-11-24

    Hello, I ended up solving the problem myself. The fault was my poor MQTT configuration and my dead NEO-6M out of the box. Now it works alone, some problems persist, at the NTP level it gives me the time in UTC and not locally, I live in France and it therefore tells me one hour less.
    Now I just need to understand how to publish on my Home Assistant in MQTT it should work

     
  • Guillaume Malet

    Guillaume Malet - 2024-11-24

    In order to evolve the device, would it be possible for you to consider integrating MQTT Discovery?

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.