Sysprogs forums › Forums › VisualGDB › ESP32 IDF Project Custom Partition table
- This topic has 18 replies, 2 voices, and was last updated 6 years, 3 months ago by angel.
-
AuthorPosts
-
July 24, 2018 at 20:24 #21466angelParticipant
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.
July 24, 2018 at 21:14 #21468supportKeymasterHi,
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.
July 25, 2018 at 01:13 #21470angelParticipanti 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
July 25, 2018 at 04:36 #21475supportKeymasterHi,
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.
July 30, 2018 at 14:48 #21495angelParticipantJuly 30, 2018 at 16:04 #21498supportKeymasterHi,
Please let us know the email associated with your license key so that we could check your support status.
July 30, 2018 at 16:36 #21499angelParticipantpurchase[.a~t.]teknopalas.com.tr
July 30, 2018 at 17:36 #21500supportKeymasterHi,
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
July 30, 2018 at 18:39 #21501angelParticipantJuly 30, 2018 at 18:58 #21507supportKeymasterHi,
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.
July 30, 2018 at 19:02 #21508angelParticipantclean all cache and rebuild before.
and unable to start builtin samples. screenshot attached
Attachments:
You must be logged in to view attached files.July 30, 2018 at 19:32 #21510supportKeymasterHi,
Sorry about that, looks like our bug. Please try this build: http://sysprogs.com/files/tmp/VisualGDB-5.4.3.2365.msi
July 30, 2018 at 19:53 #21511angelParticipantbuiltin sample creation is fixed.
built-in blink sample gives same error:Attachments:
You must be logged in to view attached files.July 30, 2018 at 20:16 #21513supportKeymasterHi,
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.
July 30, 2018 at 20:19 #21514angelParticipantok 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. -
AuthorPosts
- You must be logged in to reply to this topic.