-
-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TTGO Lora32 V2.1 PlatformIO does not recognize upload port #298
Comments
BTW I changed the board and tried also V2.1, V1.0 as well as T-Beam (yes I am really lost at this point) without success. To me it seems that there is no data flashed to the Device… no matter what the terminal is telling me. At least it appears, that the currently installed meshtastic software is still there. I found this meanwhile this but it does not help me at all - did the procedure but without success: https://community.platformio.org/t/esp32-irresponsive-after-uploading-filesystem-image/23074 What can I do? Any hints? 73 Peter |
Hi Peter! To flash the board, you need to execute 2 steps (one time to upload the firmware, the second time is to upload the configuration). You can find more here: https://www.lora-aprs.info/docs/LoRa_APRS_iGate/quick-start-guide/ |
Hallo Peter, vielen Dank für Deine Hinweise. Zwischenzeitlich kompiliert die Software - schön. Aber leider komme ich trotzdem nicht weiter. Leider kann ich die Software nicht auf das Board übertragen. PlatformIO erkennt den Upload Port nicht und der Vorgang wird abgebrochen. Im Win Dev. Manager ist das Board erkannt. Den COM Port habe ich dann auch in der PlatformIO.ini als Upload port "fest" verdrahtet... ohne Erfolg. Unter Linux habe ich das ganze dann auch noch mal aufgesetzt aber da kompiliert der Code schon gar nicht... Ich bekomme immer Fehlermeldungen und kaum habe ich eine Hürde genommen, kommt die nächste. Das frustriert... Mit Verlaub: Der LoraTracker war innerhalb von wenigen Minuten auf meinem T-Beam lauffähig. Irgendwie habe ich jetzt nach vielen Stunden die Lust verloren.... und gebe auf. Danke und Gruss |
Issue closed - no success installing this code |
Describe the bug
TTGO Lora32 V2.1 Does not boot image after upload via Upload File System image in PlatformIO.
Build ok in PlatformIO
Upload ok in PlatformIO
Board stays with the meshtastic firmware on it after it rebooted.
Tried it many times with always the same result.
Desktop (please complete the following information):
* Executing task: C:\Users\cpnef.platformio\penv\Scripts\platformio.exe run --target uploadfs --environment lora_board
Processing lora_board (board: ttgo-lora32-v2; platform: espressif32 @ 6.1.0; framework: arduino)
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via
-v, --verbose
optionCONFIGURATION: https://docs.platformio.org/page/boards/espressif32/ttgo-lora32-v2.html
PLATFORM: Espressif 32 (6.1.0) > TTGO LoRa32-OLED V2
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (cmsis-dap) External (cmsis-dap, esp-bridge, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ deep+, Compatibility ~ soft
Found 50 compatible libraries
Scanning dependencies...
Dependency Graph
|-- ArduinoJson @ 6.21.2
|-- AXP202X_Library @ 1.1.3
|-- APRS-Decoder-Lib @ 0.0.6
|-- esp-logger @ 1.0.0
|-- ESP-FTP-Server-Lib @ 0.11.0
|-- PubSubClient @ 2.8.0
|-- TinyGPSPlus @ 1.0.3
|-- OneButton @ 1.5.0
|-- RadioLib @ 5.7.0
|-- APRS-IS
|-- WiFi @ 2.0.0
|-- BoardFinder
|-- Ethernet @ 2.0.0
|-- SPI @ 2.0.0
|-- Wire @ 2.0.0
|-- System
|-- Display
|-- ConfigurationManagement
|-- PowerManagement
|-- FS @ 2.0.0
|-- NTPClient
|-- ArduinoOTA @ 2.0.0
|-- Update @ 2.0.0
|-- TimeLib
|-- SPIFFS @ 2.0.0
Building in release mode
Building FS image from 'data' directory to .pio\build\lora_board\spiffs.bin
/is-cfg.json
Looking for upload port...
Auto-detected: COM7
Uploading .pio\build\lora_board\spiffs.bin
esptool.py v4.5
Serial port COM7
Connecting....
Chip is ESP32-PICO-D4 (revision v1.0)
Features: WiFi, BT, Dual Core, 240MHz, Embedded Flash, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: d4:d4:da:9d:84:70
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Flash will be erased from 0x00290000 to 0x003effff..
Compressed 1441792 bytes to 3639...
Writing at 0x00290000.. (100 %)
Wrote 1441792 bytes (3639 compressed) at 0x00290000 in 5.9 seconds (effective 1960.9 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
================================================================================== [SUCCESS] Took 15.40 seconds ==================================================================================
Environment Status Duration
------------- -------- ------------
lora_board SUCCESS 00:00:15.400
================================================================================== 1 succeeded in 00:00:15.400 ==================================================================================
* Terminal will be reused by tasks, press any key to close it.
*Additional context
Followed your great installation guideline
The text was updated successfully, but these errors were encountered: