ESP32 Product Creation Journey: Fixing a Flash Issue with ftx_prog

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ธ.ค. 2024

ความคิดเห็น • 2

  • @Antyelektronika
    @Antyelektronika 3 ปีที่แล้ว +1

    Hi Kevin good to see you, do you know maybe that this is possible to watch into register in VSCode?

    • @KevinSidwar
      @KevinSidwar  3 ปีที่แล้ว +1

      Hey Patryk. I think I figured this out. In the Watch window you can enter any kind of expression. If you grab the register address from the ESP32 tech manual you can enter it into the Watch window as an expression like this *((uint32_t*)0x3FF4848C). That takes the address of the RTCIO_XTAL_32K_PAD_REG (0x3FF4848C), casts it as an unsigned int32 pointer and then dereferences it. In my Watch window that gave me a value of 2215641104 which, when converted to binary results in the on-reset value of that register. So I think you can use that same form for any register on the device. Just grab the address from www.espressif.com/sites/default/files/documentation/esp32_technical_reference_manual_en.pdf and use the Watch window. Hopefully that helps.