Search found 75 matches

by a2800276
Fri Apr 14, 2023 6:51 am
Forum: General Discussion
Topic: Is it safe to use HTTP when obtaining WiFi creds from user?
Replies: 2
Views: 1052

Re: Is it safe to use HTTP when obtaining WiFi creds from user?

It seems acceptable within reason: - even though the TCP connection is not TLS protected you still have encryption of the physical layer provided by WPA2 - enabling TLS will be confusing to most users because you can't provide valid server certificates to each ESP32 device. Arguably this detracts fr...
by a2800276
Wed Apr 12, 2023 10:52 am
Forum: ESP32 Arduino
Topic: Changing partition size via OTA
Replies: 8
Views: 9935

Re: Changing partition size via OTA

If you have 4MB partition maps and 8MB flash, you can manually manage the free flash space beyond the 4MB, i.e. create your own partition table for that space. It would be easier to flash two variants with native idf partition tables, though.
by a2800276
Wed Apr 12, 2023 10:47 am
Forum: General Discussion
Topic: Rebooting Esp32 during running after return statement
Replies: 2
Views: 1010

Re: Rebooting Esp32 during running after return statement

Because of: EXCVADDR: 0x00000000 it looks like you are referencing a NULL pointer. Maybe tell us what's at: line main.c:55 (from the stack trace) or possibly post the whole main function. It would be less unwieldy if you shorten the log to only contain a single reboot cycle. Also, it's hard for us t...
by a2800276
Wed Apr 05, 2023 11:47 am
Forum: ESP-IDF
Topic: fatal: clone of 'git@github.com:espressif/esp-debug-adapter.git'
Replies: 2
Views: 1161

Re: fatal: clone of 'git@github.com:espressif/esp-debug-adapter.git'

Two things: - there is no reason to checkout the vs code extension via git. Try installing via the extension manager in vs code - One of the errors is "Host key verification failed." Github had to change in SSH key recently. Perhaps this error is a result of that. If this is the problem you need to ...
by a2800276
Tue Apr 04, 2023 10:27 am
Forum: General Discussion
Topic: ESP32 Firmware extracting
Replies: 9
Views: 6866

Re: ESP32 Firmware extracting

In case you can't just trivially extract the firmware using the `esp_tools.py` command, it may be easier to just sniff the i2c traffic between the two devices? That should be a whole lot easier to understand than a machine language copy of the firmware...
by a2800276
Tue Apr 04, 2023 9:59 am
Forum: ESP-IDF
Topic: ESP IDF
Replies: 1
Views: 796

Re: convert PIC code to ESP IDF

If it is well architectured C code with a clearly demarcated bsp/hal layer, you just need to implement the necessary funtionaly in the hal layer. Otherwise you need to go through the existing code, identify PIC dependant bits and change those to their corresponding IDF functions. It will probably be...
by a2800276
Tue Apr 04, 2023 9:29 am
Forum: IDEs for ESP-IDF
Topic: Command ... ... not found - ESP-IDF VSCode Extension v1.6.0
Replies: 2
Views: 2008

Re: Command ... ... not found - ESP-IDF VSCode Extension v1.6.0

There is currently an open issue around this. The workaround is to launch code from a directory that contains a file named `CMakeLists.txt` the issue is here : https://github.com/espressif/vscode-esp ... 8920587182 and seems to be resolved in 1.6.1
by a2800276
Mon Apr 03, 2023 7:15 am
Forum: General Discussion
Topic: ESP32 Firmware extracting
Replies: 9
Views: 6866

Re: ESP32 Firmware extracting

Espressif chips are not "hardened" to the extent that you could use them, e.g. in a bank, medical or defense environment (to my knowledge anyway). As a consequence, a dedicated adversary would likely always be able to extract your firmware, possibly by means of an electron microscope, laser attacks ...
by a2800276
Fri Mar 31, 2023 12:28 pm
Forum: ESP-IDF
Topic: ESP32-S3 : Use of SPI in slave mode without CS line. Is it possible ?
Replies: 5
Views: 2105

Re: ESP32-S3 : Use of SPI in slave mode without CS line. Is it possible ?

However, because I have no CS line, it seems that the : err = spi_slave_transmit(SPI2_HOST, &Transaction, portMAX_DELAY); never exits. That api seems to expect transactions delineated by C's changes. Two options that come to mind: - toggle the CS state on a fake pin by setting their pull-up and pul...