Search found 13 matches

by JSchaef
Wed Mar 06, 2019 7:49 am
Forum: ESP-IDF
Topic: ESP32 INSTR_RAM
Replies: 12
Views: 12464

Re: ESP32 INSTR_RAM

WiFive, your answers are not really helpful. You gave me the link to the linker file "esp32.ld" where you also marked the two lines where the changes should take place. I changed the lines accordingly and recompiled the project, but no change in IRAM size happens. So I ask again: what is the right w...
by JSchaef
Wed Mar 06, 2019 6:47 am
Forum: ESP-IDF
Topic: ESP32 INSTR_RAM
Replies: 12
Views: 12464

Re: ESP32 INSTR_RAM

Yes, I know. So back to my question: I changed the line 31 to an incremented size ("len"). Now I recompiled the whole project - but nothing was changed in IRAM size. Do I have to compile the esp32.ld first? (But this should be linker file) Or is it the wrong file and I have to change the IRAM somwhe...
by JSchaef
Tue Mar 05, 2019 2:51 pm
Forum: ESP-IDF
Topic: ESP32 INSTR_RAM
Replies: 12
Views: 12464

Re: ESP32 INSTR_RAM

Hi Wifive, do I understand it right, that I can change the "len" in line 31, lets say to 0x40000? Is this new memory area (with the greater range of 0x40000) from 0x40080000 to 0x400C0000 free, or is mapped to something else? What is the max. size for this? Second, where is the "CONFIG_TRACEMEM_RESE...
by JSchaef
Tue Mar 05, 2019 1:38 pm
Forum: ESP-IDF
Topic: ESP32 INSTR_RAM
Replies: 12
Views: 12464

Re: ESP32 INSTR_RAM

Thanks for your response.

How / where can I change it?
I haven't done it before.

Regards
Jorg
by JSchaef
Tue Mar 05, 2019 1:16 pm
Forum: ESP-IDF
Topic: ESP32 INSTR_RAM
Replies: 12
Views: 12464

Re: ESP32 INSTR_RAM

Ok, I understand.

But can I change the size of INSTR_RAM / DATA_RAM?
(I mean, my program needs more INSTR_RAM.)
Where is the configuration for this?

Best regards
Jorg
by JSchaef
Tue Mar 05, 2019 11:58 am
Forum: ESP-IDF
Topic: ESP32 INSTR_RAM
Replies: 12
Views: 12464

Re: ESP32 INSTR_RAM

Any ideas?

Regards
Jorg
by JSchaef
Mon Feb 25, 2019 2:40 pm
Forum: ESP-IDF
Topic: ESP32 INSTR_RAM
Replies: 12
Views: 12464

ESP32 INSTR_RAM

Hi, how can I increase/change the size of INSTR_RAM and/or DATA_RAM? I'm using VisualGDB and at the end of the compiling run I get the following summary: ------------------- Memory utilization report ------------------- Used DATA_FLASH: 257KB out of 8192KB (3%) [+80] Used INSTR_FLASH: 1002KB out of ...
by JSchaef
Wed Feb 20, 2019 3:21 pm
Forum: ESP-IDF
Topic: ESP32 SD Card in MMC-mode
Replies: 4
Views: 8616

Re: ESP32 SD Card in MMC-mode

Hello ESP_igrr, I didn't have time to see the signals with an oscilloscope. But are the recommended 10k-pullups sufficient? In other forums I read about 100k-pullups (also in SD-Card forum). I know, that when one use higher pullups then the edges in the signals look like more an "edge" than a "curve...
by JSchaef
Tue Feb 19, 2019 1:41 pm
Forum: ESP-IDF
Topic: ESP32 SD Card in MMC-mode
Replies: 4
Views: 8616

Re: ESP32 SD Card in MMC-mode

Hi ESP_igrr,
thank you for your reply.
I used the recomended pullups GPIO14, GPIO15, GPIO2, GPIO4, GPIO12, GPIO13, each 10k.

I will see with an oscilloscope how the signals are.
Is it only the CLK (GPIO14)-line, where I have to pay attention for?

Regards
Jorg
by JSchaef
Tue Feb 19, 2019 1:23 pm
Forum: ESP-IDF
Topic: ESP32 SD Card in MMC-mode
Replies: 4
Views: 8616

ESP32 SD Card in MMC-mode

Hi, when I try to use SD-Card in MMC-mode it is working only, when I use 1-line SD-mode. When I use 4-lines, it failes. //#define SDCARD_USE_SPI 1 void xSdCardInit() { #ifdef SDCARD_USE_SPI ESP_LOGI(TAG, "Using SPI peripheral"); sdmmc_host_t host = SDSPI_HOST_DEFAULT(); sdspi_slot_config_t slot_conf...