arrow201

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 22 total)
  • Author
    Posts
  • in reply to: debug for Arduino #36400
    arrow201
    Participant

    I don’t see your tutorial link, you mean this one?: https://visualgdb.com/tutorials/arduino/stm32/bluepill/

    I don’t use Arduino for STM32, but from the tutorial, ST-Link should work, no? I would stick to native HAL if possible. There’s lots of sensor, etc. libraries for STM32/HAL out there. Just google the sensor, etc. you want with “STM32” and you’ll most likely find a git library for it. I would think debugging is better too(?)

     

    in reply to: Espressif – Getting Components from the ESP Registry #36358
    arrow201
    Participant

    Ok, got it to work. In summary I wanted to get the led strip driver from the ESP Registry:
    https://components.espressif.com/components/espressif/led_strip/versions/3.0.0
    The site references to either download or to add this: idf.py add-dependency “espressif/led_strip^3.0.0”
    All you need to do is:
    1) In your Project\main folder create a file with the name: idf_component.yml
    2) For this led strip example, insert the part from the line above into the yml file:
    dependencies:
    espressif/led_strip: “^3.0.0”
    3) Close and reopen solution
    That’s it, under “Components” in your project, you’ll see the added files.

    Another thing I learned, changing Partitions:
    1) Edit your source csv file to include all your partition information
    2) Put the CSV file in the project root
    3) Open up VisualGDB Project Properties, Under ESP-IDF configuration, filter “partition”
    Partition Table | “Partition Table” select custom | “Custom partition CSV file” input the CSV file name
    The partition-table.bin will be overwritten with the one defined in your .CSV file.

    • This reply was modified 3 weeks ago by arrow201.
    in reply to: Espressif – Getting Components from the ESP Registry #36337
    arrow201
    Participant

    Thank you. This is good info for creating you’re own and referencing it, but doesn’t have all the steps in detail if you want to get an existing component from the ESP Component Registry
    https://components.espressif.com/

    For the “espressif/led_strip”,  you’d have to do: C:\SysGCC\esp32\tools\idf-exe\1.0.3\idf.py add-dependency “espressif/led_strip^3.0.0″  …but I’m pretty sure there’s other steps needed for everything to be loaded into your project before doing a build.

     

    in reply to: Espressif – Getting Components from the ESP Registry #36335
    arrow201
    Participant

    What mistake did do to get all these “<div>” ? 🙁

    in reply to: Espressif – Getting Components from the ESP Registry #36334
    arrow201
    Participant

    <div></div>
    <div>Windows 10</div>
    <div>VisualGDB 6.0R6 (build 5262)</div>
    <div>Visual Studio 2022 v17.12.4</div>
    <div>Espressif v5.3</div>
    <div>Board: ESP32S3</div>
    <div></div>
    <div>I’m an Espressif noob and wondering if someone can layout the exact steps for obtaining components. I’ve read through many posts on the subject, but can’t find the exactly what to run and what to configure …and afraid of messing up my environment if i do it wrong(?)</div>
    <div>I want to get the espressif/led_strip package at:</div>
    <div>https://components.espressif.com/components/espressif/led_strip/versions/3.0.0</div>
    <div></div>
    <div>From what I can gather, my guess is:</div>
    <div>1) Open up a command line and run:</div>
    <div>C:\SysGCC\esp32\tools\idf-exe\1.0.3\idf.py add-dependency “espressif/led_strip^3.0.0″</div>
    <div>First question is where i would run this from? The root of the folder where the project was created?</div>
    <div>2) Create a idf_component.yml file? With contents</div>
    <div>espressif/led_strip: “^3.0.0″</div>
    <div>…or is this created from the run?</div>
    <div></div>
    <div>I saw this in a previous post:</div>
    <div>>To enable the component manager in the project configuration phase, you must add the following variable in the >CMakeLists.txt of the project root:</div>
    <div>></div>
    <div>>set(ENV{IDF_COMPONENT_MANAGER} “1”)</div>
    <div>></div>
    <div>>In this way, in the configuration phase, when the idf_component.yml file is found in the main component, the dependency >is executed and the referenced component is downloaded:</div>
    <div>Is this still needed?</div>
    <div></div>
    <div>3) After the steps, i think read somewhere then you have to next do a build to see the “managed_components” folder?</div>
    <div></div>
    <div>Any help appreciated …Thanks</div>

    in reply to: Arduino/ESP32-S3 Missing Files? #36329
    arrow201
    Participant

    No, sorry, I only wanted to try with Arduino first as a stepping stone to see if my board works. I’ve switched to Espressif to learn.

     

    in reply to: Arduino/ESP32-S3 Missing Files? #36325
    arrow201
    Participant

    As said in the more recent thread of this problem by another user, thank you very much for looking into this! Dumb me forgot to check the “Notify me of follow-up replies via email” so I didn’t see your edited response until I came back here.

    Thanks again!

     

    in reply to: Issue during Arduino framework download #36324
    arrow201
    Participant

    Thank you very much for looking into this 🙂

    in reply to: Issue during Arduino framework download #36322
    arrow201
    Participant

    This is the same problem I had, as per my post on Jan.17. “ARDUINO/ESP32-S3 MISSING FILES?” with the same error message, which I enclosed in my post, but in English.

    The fix was was to install the Arduino IDE and install the ESP32 package from there. When I went back to VisualGDB, my ESP32-S3 project then worked.

     

    in reply to: Arduino/ESP32-S3 Missing Files? #36304
    arrow201
    Participant

    Hi,

    Thank you for looking into this. Getting interesting…

    So, I first tried to compiled in VisualGDB ,and it continued to fail as expected. I then I followed the board’s tutorial. Going to this page will prompt you to download the zip file, so I don’t know if you’d want to do that, if so, the tutorial is in the “C” folder: http://freenove.com/fnk0099
    – installed Arduino IDE (V2.3.4 as of this writing)
    – point to the board URL: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
    – get package ESP32 3.1.1 (same as selected in VisualGDB)
    – select board ESP32S3 Dev Module (same as selected in VisualGDB)
    – compiled and ran the Blink LED project …works!

    Now, I wanted to see if this affected my VisualGDB project in any way …and it did!
    I loaded up the project and voila it now compiles, uploads and runs!!! That’s great but why??? I’ve never touch the “Arduino Settings”, the paths have always been at the default.

    You know better than me, but appears VisualGDB puts the ESP32 package off of …\Documents\ArduinoData path (yesterdays timestamp) …though the “Download Package Directories” has “$(DOCUMENTS_ROOT)/ArduinoData;$(LOCALAPPDATA)/Arduino15” …it puts it there too? ….ok …im confused.
    Arduino IDE puts the package off of …\AppData\Local\Arduino15\ (has todays timestamp) (did it just overwrite VisualGDB?)

    Now the packages\esp32\hardware\esp32\3.1.1 appear to be the same for both (Arduino15, ArduinoData paths), however the packages\esp32\tools looks complete for the Arduino IDE but not for VisualGDB install. ie. the Arduino IDE packages\esp32\tools\esp-rv32 has a number of folders where the VisualGDB esp-rv32 folder off of ArduinoData is empty.

    Thanks!

     

     

     

     

     

     

     

     

     

    in reply to: Arduino/ESP32-S3 Missing Files? #36301
    arrow201
    Participant

    Thank you for the reply. I thought I’d do a removal of all Arduino and Arduino ESP32 libraries and do a clean start. I started first with my UNO board to make sure that basic Arduino worked ok, and yes, it downloaded the required Arduino libraries, built and ran ok. Before building a ESP32 project, I downloaded/installed the Arduino ESP32 library, which is at v3.1.1. This doesn’t install correctly, giving me errors as per enclosed jpg.
    Plus, when I compile, I now get this error:
    FileNotFoundError: [Errno 2] No such file or directory: ‘{runtime.tools.esp32-arduino-libs.path}\\esp32s3\\bin\\bootloader_qio_80m.elf’
    Looking in the ArduinoData folder I don’t see any references to the ESP32 ‘C’ and ‘S’ series at all(?) Even though I can select them if I create a blink LED project.

    Checking if any source files need uploading…
    C:\Users\Arrow\AppData\Local\VisualGDB\Arduino\arduino-builder.exe -compile -logger=machine -fqbn=esp32:esp32:esp32s3:JTAGAdapter=default,PSRAM=disabled,FlashMode=qio,FlashSize=4M,LoopCore=1,EventsCore=1,USBMode=hwcdc,CDCOnBoot=default,MSCOnBoot=default,DFUOnBoot=default,UploadMode=default,PartitionScheme=default,CPUFreq=240,UploadSpeed=921600,DebugLevel=none,EraseFlash=none,ZigbeeMode=default -build-path C:\Src\ESP32_S3\ArduinoProject1\Output\ESP32S3_Dev_Module\Debug -unoptimize=sketch -code-model-file C:\Src\ESP32_S3\ArduinoProject1\.visualgdb\VisualGDBCache\ArduinoProject1-Debug-ESP32S3_Dev_Module\CodeModel.json -jobs 1 -hardware C:\Users\Arrow\Documents/ArduinoData/packages -tools C:\Users\Arrow\Documents/ArduinoData/packages -libraries C:\Users\Arrow\Documents/Arduino/Libraries -prefs=runtime.tools.esp-x32.path=C:\Users\Arrow\Documents\ArduinoData\packages\esp32\tools\esp-x32\2405 -prefs=runtime.tools.xtensa-esp-elf-gdb.path=C:\Users\Arrow\Documents\ArduinoData\packages\esp32\tools\xtensa-esp-elf-gdb\14.2_20240403 -prefs=runtime.tools.riscv32-esp-elf-gdb.path=C:\Users\Arrow\Documents\ArduinoData\packages\esp32\tools\riscv32-esp-elf-gdb\14.2_20240403 -prefs=runtime.tools.esptool_py.path=C:\Users\Arrow\Documents\ArduinoData\packages\esp32\tools\esptool_py\4.9.dev3 -prefs=runtime.tools.openocd-esp32.path=C:\Users\Arrow\Documents\ArduinoData\packages\esp32\tools\openocd-esp32\v0.12.0-esp32-20241016 -prefs=runtime.tools.ctags.path=C:\Users\Arrow\AppData\Local\VisualGDB\Arduino\tools-builder\ctags\5.8-arduino11 sketches/ArduinoProject1.ino
    ===info ||| Progress {0} ||| [0.22]

    ===info ||| Progress {0} ||| [9.38]
    Traceback (most recent call last):
    File “esptool.py”, line 37, in <module>
    File “esptool\__init__.py”, line 1325, in _main
    File “esptool\__init__.py”, line 1071, in main
    File “esptool\cmds.py”, line 1075, in elf2image
    File “esptool\bin_image.py”, line 1209, in __init__
    FileNotFoundError: [Errno 2] No such file or directory: ‘{runtime.tools.esp32-arduino-libs.path}\\esp32s3\\bin\\bootloader_qio_80m.elf’
    [2676] Failed to execute script ‘esptool’ due to unhandled exception!
    Saved the code model to C:\Src\ESP32_S3\ArduinoProject1\.visualgdb\VisualGDBCache\ArduinoProject1-Debug-ESP32S3_Dev_Module\BuildCommandLines.txt

    Attachments:
    You must be logged in to view attached files.
    in reply to: Fonts and color cache error #33060
    arrow201
    Participant

    Thank you for the support! 🙂

     

    in reply to: Fonts and color cache error #33043
    arrow201
    Participant

    Hi,

    The popup only occurs once going into “Manage VisualGDB Packages” the first time after the VS update. I’ll try to summarize:
    – updating to 17.2.? (sorry I don’t remember what sub version I had) never showed the popup
    – 17.2.? to 17.3.0 popped the msg once, this was 2 days ago. I restarted VS and the popup went away, so I thought some weird glitch and didn’t report it. Subsequent selection of “Manage VisualGDB Packages” no longer popped up the msg
    – 17.3.0 to 17.3.1 popped up once again, but subsequent selection of “Manage VisualGDB Packages” does not pop up the msg

    Thanks

     

     

    in reply to: Fonts and color cache error #33039
    arrow201
    Participant

    Ok, I restarted my PC again, and going into “Manage VisualGDB Packages” no longer gives me the popup err. Appears something with the last two Visual Studio updates (v17.3.0 and v17.3.1) gives this error the first time going into “Manage VisualGDB Packages” but doesn’t appear after that.

     

    in reply to: Update 5.6.107.4663-r7 download file size error #33030
    arrow201
    Participant

    The manual update worked fine. Great product, great support.

    Thank you!

Viewing 15 posts - 1 through 15 (of 22 total)