Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

AQMIII Compile Error
#11

Werk,
I am at a loss to understand what is causing the problem of uploading;
The file compiles, the port and board are correct and i have tried Uncle Bobs suggestion of powering the board as well when uploading, tried three different computers all to no avail.
I have ordered a new module and am waiting it's arrival to see if that will connect and programme.
Below is a copy of part of the upload error message.
Any suggestions as to what i am doing wrong would be welcome!!
Regards
Jim

Part of error message:
Using library FS at version 1.0 in folder: C:\Users\barro\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\libraries\FS
"C:\\Users\\barro\\AppData\\Local\\Arduino15\\packages\\esp32\\tools\\xtensa-esp32-elf-gcc\\1.22.0-97-gc752ad5-5.2.0/bin/xtensa-esp32-elf-size" -A "C:\\Users\\barro\\AppData\\Local\\Temp\\arduino_build_728378/WeatherDuino_AQM_III_v6.1_b010.ino.elf"
Sketch uses 878874 bytes (67%) of program storage space. Maximum is 1310720 bytes.
Global variables use 46528 bytes (14%) of dynamic memory, leaving 281152 bytes for local variables. Maximum is 327680 bytes.
C:\Users\barro\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\3.0.0/esptool.exe --chip esp32 --port COM3 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size detect 0xe000 C:\Users\barro\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/partitions/boot_app0.bin 0x1000 C:\Users\barro\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6/tools/sdk/bin/bootloader_dio_80m.bin 0x10000 C:\Users\barro\AppData\Local\Temp\arduino_build_728378/WeatherDuino_AQM_III_v6.1_b010.ino.bin 0x8000 C:\Users\barro\AppData\Local\Temp\arduino_build_728378/WeatherDuino_AQM_III_v6.1_b010.ino.partitions.bin
esptool.py v3.0-dev
Serial port COM3
Connecting........_____....._____....._____....._____....._____....._____....._____

A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
Reply
#12

Hello Jim,

Previously you have referred that the device is using COM8, now I see that you are trying to upload to COM3. I'm confused.

Once you have determined which COM port the device is using, as an experiment try to keep the device reset button pressed until you see that tha Arduino IDE is trying to start the upload process.

Rgs.
Werk_AG

Reply
#13

Werk,
I am sorry for the confusion.

I suspect my laptop has a port issue as I have never seen Com 8 before, so I am using a different machine now.
I still suspect the module and the new one should arrive this week, hopefully that is the issue
Thanks
Jim
Reply
#14

(25-06-2023, 03:28)Barrow4491 Wrote:  ... I suspect my laptop has a port issue as I have never seen Com 8 before ...


This is from your post #5

(10-06-2023, 23:37)Barrow4491 Wrote:  Again, after tidying up my library files it now compiles as expected. but i cannot get it to upload; I suspect the module on the board may be faulty. the following message is received.

Sketch uses 924833 bytes (70%) of program storage space. Maximum is 1310720 bytes.
Global variables use 52024 bytes (15%) of dynamic memory, leaving 275656 bytes for local variables. Maximum is 327680 bytes.
esptool.py v4.5.1
Serial port COM8
Connecting......................................

A fatal error occurred: Failed to connect to ESP32: No serial data received.
For troubleshooting steps visit: https://docs.espressif.com/projects/espt...oting.html
Failed uploading: uploading error: exit status 2

That's why I talked about COM8

Hope the new module arrive soon, however first you have to be sure about which port COM the module create when it is connected by USB.

Rgs.
Werk_AG

Reply
#15

Werk,
The replacement module eventually arrived today, (post has been very slow lately), an the file uploaded with no issues at all, but as the existing board has the module hard soldered on all pin and is obviously faulty, Ican’t check it’s operation with the sensors etc.
Is it possible to obtain an unpopulated PCB so i can attach the new module with headers and get the system completed?
Kind Regards
Jim
Reply
#16

Werk,
I am unsure of the daylight saving settings as in Queensland as we don’t have it
Would (TZ_info = “AEST , AEDT”) work or do i need something more sophisticated?
Regards
Jim
Reply
#17

Hi Jim,

I'm not sure but I think it will be:

Code:
TZ_info = "AEST-10AEST,M10.1.0,M4.1.0";

or just:

Code:
TZ_info = "AEST-10AEST";

Let me know if it works for Queensland.

Rgs.
Werk_AG

Reply




Users browsing this thread: 1 Guest(s)