ESP32 IDF Project Custom Partition table

Sysprogs forums Forums VisualGDB ESP32 IDF Project Custom Partition table

Viewing 15 posts - 1 through 15 (of 19 total)
  • Author
    Posts
  • #21466
    angel
    Participant

    Custom partitions.csv table doesn’t work. can you provide minimal sample? thank you.

    VisualGDB 5.4 Preview3

    • This topic was modified 6 years, 4 months ago by angel.
    #21468
    support
    Keymaster

    Hi,

    Strange. The partition table should be handled by the ESP-IDF directly with no interference from VisualGDB.

    Please try rechecking if the problem could be reproduced on a basic project built from command line. If this is the case, please try comparing it with one of the ESP-IDF samples that works.

    #21470
    angel
    Participant

    i think esp-idf version related issue. but i download via visualgdp latest esp-idf or other versions give this error:

     

    System.Exception: Application FLASH offset not defined. Please check your settings.
    at ESP8266DebugPackage.ESP32StartupSequence.BuildFLASHImages(String targetPath, Dictionary`2 bspDict, ESP32ImageHeader flashSettings, Boolean patchBootloader)
    at ESP8266DebugPackage.ESP32StubDebugController.StartGDBStub(IDebugStartService startService, DebugStartContext context)
    at e02.b1(ConfiguredDebugMethod a)
    at h52.b_2(DebugCustomizationSettings a)
    at tu.h3()
    at VisualGDB.GDBDebugEngine.x(g61 a, s b)

     

     

    Note: my partition table offset already defined

    • This reply was modified 6 years, 4 months ago by angel.
    • This reply was modified 6 years, 4 months ago by angel.
    • This reply was modified 6 years, 4 months ago by angel.
    • This reply was modified 6 years, 4 months ago by angel.
    #21475
    support
    Keymaster

    Hi,

    Looks like the internal structure of the ESP-IDF slightly changed in version 3.1 and VisualGDB fails to detect the application FLASH offset. We have fixed this internally and will publish it in the upcoming v5.4 Preview 4.

    #21495
    angel
    Participant

    Are there any scheduled relate dates for this release?

    Because;

    I have an immediate need for the project and I am in a difficult situation:(

    thanks

    • This reply was modified 6 years, 3 months ago by angel.
    • This reply was modified 6 years, 3 months ago by angel.
    #21498
    support
    Keymaster

    Hi,

    Please let us know the email associated with your license key so that we could check your support status.

    #21499
    angel
    Participant

    purchase[.a~t.]teknopalas.com.tr

    #21500
    support
    Keymaster

    Hi,

    Thanks you for purchasing VisualGDB. We have prepared a preview build including this fix: http://sysprogs.com/files/tmp/VisualGDB-5.4.3.2363.msi

    If the ESP32 debug package fails to initialize, please replace the file <toolchain>\esp32-bsp\sysprogs\debug\core\ESPxxDebugPackage.dll with the following one: http://sysprogs.com/files/tmp/ESPxxDebugPackage.dll

     

    #21501
    angel
    Participant

    thank you
    but nothing changed

    • This reply was modified 6 years, 3 months ago by angel.
    Attachments:
    You must be logged in to view attached files.
    #21507
    support
    Keymaster

    Hi,

    Strange. This might come from some settings cached by the previous build. Could you please try creating a new “blink” project using the latest IDF from scratch? If this works, please try deleting the VisualGDBCache directory in the original project and then re-open it.

    #21508
    angel
    Participant

    clean all cache and rebuild before.

    and unable to start builtin samples. screenshot attached

    Attachments:
    You must be logged in to view attached files.
    #21510
    support
    Keymaster

    Hi,

    Sorry about that, looks like our bug. Please try this build: http://sysprogs.com/files/tmp/VisualGDB-5.4.3.2365.msi

     

    #21511
    angel
    Participant

    builtin sample creation is fixed.
    built-in blink sample gives same error:

    Attachments:
    You must be logged in to view attached files.
    #21513
    support
    Keymaster

    Hi,

    This looks like VisualGDB is not able to extract the FLASH programming parameters from the esptool command line. We would need to see the BuildCommandLines.txt file from the VisualGDBCache directory in order to diagnose this further.

     

    #21514
    angel
    Participant

    ok i attached

    echo python /esp-idf/master/components/esptool_py/esptool/esptool.py –chip esp32 –port “COM3” –baud 921600 –before “default_reset” –after “hard_reset” write_flash -z –flash_mode “dio” –flash_freq “40m” –flash_size detect 0x1000 /cygdrive/c/Users/drony/source/repos/EmbeddedProject2/EmbeddedProject2/VisualGDBCache/EmbeddedProject2-Debug-VisualGDB/CodeSenseDir/bootloader/bootloader.bin 0x10000 /cygdrive/c/Users/drony/source/repos/EmbeddedProject2/EmbeddedProject2/VisualGDBCache/EmbeddedProject2-Debug-VisualGDB/CodeSenseDir/blink.bin 0x8000 /cygdrive/c/Users/drony/source/repos/EmbeddedProject2/EmbeddedProject2/VisualGDBCache/EmbeddedProject2-Debug-VisualGDB/CodeSenseDir/partitions_singleapp.bin

    • This reply was modified 6 years, 3 months ago by angel.
    Attachments:
    You must be logged in to view attached files.
Viewing 15 posts - 1 through 15 (of 19 total)
  • You must be logged in to reply to this topic.