Search found 1658 matches

by kolban
Thu Aug 09, 2018 2:34 pm
Forum: General Discussion
Topic: Memory Mapping/layout overview from compiled project .map file
Replies: 2
Views: 138

Re: Memory Mapping/layout overview from compiled project .map file

To add to Mr ESP_igrr, there are also the bin-utils supplied by the GCC toolchain. https://www.gnu.org/software/binutils/ Specifically, * xtensa-esp32-elf-objdump * xtensa-esp32-elf-nm * xtensa-esp32-elf-nm-readelf These commands have a wealth of options and formats and can give any and all data (in...
by kolban
Thu Aug 09, 2018 2:30 pm
Forum: General Discussion
Topic: Custom partition for storing data
Replies: 3
Views: 114

Re: Custom partition for storing data

I'm not sure I'm following. If we assume that flash is 4MBytes then that means we have 4*1024*1024 bytes maximally available to us. We write to flash as a function of its offset. We can "technically" re-write any of the pages of flash where (if I remember correctly) a page is a unit of 409...
by kolban
Thu Aug 09, 2018 2:24 pm
Forum: General Discussion
Topic: PSRAM as Flash
Replies: 14
Views: 318

Re: PSRAM as Flash

Howdy, My understanding is that the ESP32 utilizes a harvard architecture. This means that there are two buses on the CPU. One which is used to transfer bytes for data and a second bus used to transfer instructions for execution. I also (loosely) understand that in the virtual address space of the E...
by kolban
Wed Aug 08, 2018 11:54 pm
Forum: ESP32 IDF
Topic: Using the VCP of ESP 32 dev kit for communication
Replies: 7
Views: 206

Re: Using the VCP of ESP 32 dev kit for communication

I had to google VCP and seem to find it to be "Virtual COM Port". When one connects an ESP32 dev kit to a Windows based PC it should immediately show up as a COM port. Writing down this comport causes the data to arrive at the RX UART of the ESP32. Reading from the comport will receive dat...
by kolban
Wed Aug 08, 2018 11:52 pm
Forum: General Discussion
Topic: Custom partition for storing data
Replies: 3
Views: 114

Re: Custom partition for storing data

What you describe should work. If the partitions.csv parser doesn't like a missing subtype, you can always make up your own as an integer value (eg. 0x99). I am presuming you will look up your partition by its label name ("storage").
by kolban
Wed Aug 08, 2018 11:49 pm
Forum: ESP32 Arduino
Topic: ARDUINO multi-core support/questions
Replies: 11
Views: 358

Re: ARDUINO multi-core support/questions

Howdy Greg,
Your thinking is solid. I had a look at the Arduino ESP32 source ... see:

https://github.com/espressif/arduino-es ... misc.c#L52

It appears that delay() maps 1-1 with FreeRTOS vTaskDelay().
by kolban
Wed Aug 08, 2018 11:42 pm
Forum: General Discussion
Topic: Ways to make binary smaller?
Replies: 11
Views: 437

Re: Ways to make binary smaller?

Howdy John, Lets imagine the problem in the small. Imagine you have two C source files ... let us call one "idf.c" and the other "app.c". Now imagine inside idf.c you have the following: void myFunc() { printf("Hello world!\n"); } now imagine that in app.c we want to ca...
by kolban
Wed Aug 08, 2018 2:43 pm
Forum: ESP32 IDF
Topic: Need help to start WiFi, EThernet, BT and GSM Interfaces in parallel as per requirement
Replies: 2
Views: 94

Re: Need help to start WiFi, EThernet, BT and GSM Interfaces in parallel as per requirement

I'm going to stick my neck out and say that there is no support in ESP-IDF for TCP/IP over Bluetooth or GSM wireless. Is there somewhere you found that the TCP/IP stack as supplied with ESP-IDF claimed to support those networks?
by kolban
Wed Aug 08, 2018 5:21 am
Forum: General Discussion
Topic: RMT peripheral and reading a pin
Replies: 4
Views: 163

Re: RMT peripheral and reading a pin

If it were me, I'd probably look at some low-level bit banging ... some function similar to the following (pseudo code) int doPulse() { Disable interrupts; write PIN_OUT HIGH; wait 1uS write PIN_OUT_LOW; wait 1uS int val = read PIN_IN; Enable interrupts; return value; } while it certainly isn't near...
by kolban
Wed Aug 08, 2018 5:04 am
Forum: General Discussion
Topic: ESP-WROVER-KIT V3 physical dimensions
Replies: 8
Views: 256

Re: ESP-WROVER-KIT V3 physical dimensions

Might this high quality picture answer some of your questions?

http://esp-idf.readthedocs.io/en/latest ... ver-kit-v3

Go to advanced search