Search found 10 matches
- Wed Nov 09, 2022 7:29 am
- Forum: ESP-IDF
- Topic: Remove warnings from the idf.cmake?
- Replies: 1
- Views: 1256
Remove warnings from the idf.cmake?
Hi I build the components from my own cmake for my application by including it with include($ENV{IDF_PATH}/tools/cmake/idf.cmake) in my cmake file. There are some warnings generated when I build I would like to suppress those warnings. I dont want to change anything in the ESP-IDF tool chain. Is thi...
- Tue Nov 01, 2022 9:52 am
- Forum: ESP-IDF
- Topic: Stack Smashing from the BT stack/ROM code
- Replies: 2
- Views: 2521
Re: Stack Smashing from the BT stack/ROM code
Hi, yes. That i tried. We doubled the stack size with the same result. Eventually we get a stack smash
Thomas
Thomas
- Mon Oct 31, 2022 1:50 pm
- Forum: ESP-IDF
- Topic: Stack Smashing from the BT stack/ROM code
- Replies: 2
- Views: 2521
Stack Smashing from the BT stack/ROM code
Hi I get stack smashing from time to time. It is detected during task switch, so the call stack does no reveal that much. I can see it is related to the BT stack and happens with in some hours of usage of the BT connection. Stack smashing protect failure! abort() was called at PC 0x4015dc53 on core ...
- Thu Aug 11, 2022 9:40 am
- Forum: ESP-IDF
- Topic: Memory usage explanation
- Replies: 1
- Views: 4511
Memory usage explanation
Hi all I wonder how to understand the used memory after I have build my application. As I understand there is a total of 520 K of RAM. 320 K can be used for data. But the memory overview show that the DRAM region only is ~180 K? I have configured a minimal system with basically only the FreeRTOS ena...
- Wed Aug 10, 2022 12:09 pm
- Forum: ESP-IDF
- Topic: sdkconfig and sdkconfig.h issues
- Replies: 1
- Views: 2012
sdkconfig and sdkconfig.h issues
Hi I probably is doing something wrong, but I have some difficulties to generate a usable sdkconfig.h file. Sometime it revert to something different that I have made in menuconfig I have ESP IDF v4.4.1 and using visual studio and CMake My application folder: Esp32Config sdkconfig main main.cpp Cmak...
- Wed Jun 29, 2022 11:51 am
- Forum: Hardware
- Topic: Enabling EMAC clock makes jtag stop
- Replies: 5
- Views: 4020
Re: Enabling EMAC clock makes jtag stop
Hi
That did the trick. Now it all works, thanks
Yes, the RMII clock is also solved. There where some other electrical issues with wrong resistor values etc.
Thomas
That did the trick. Now it all works, thanks
Yes, the RMII clock is also solved. There where some other electrical issues with wrong resistor values etc.
Thomas
- Mon Jun 27, 2022 2:02 pm
- Forum: Hardware
- Topic: Enabling EMAC clock makes jtag stop
- Replies: 5
- Views: 4020
Re: Enabling EMAC clock makes jtag stop
Hi From ksz80xx_reset_hw static esp_err_t ksz80xx_reset_hw(esp_eth_phy_t *phy) { /* esp_rom_gpio_pad_select_gpio(0); gpio_set_direction(0, GPIO_MODE_INPUT);*/ phy_ksz80xx_t *ksz80xx = __containerof(phy, phy_ksz80xx_t, parent); if (ksz80xx->reset_gpio_num >= 0) { esp_rom_gpio_pad_select_gpio(ksz80xx-...
- Mon Jun 27, 2022 12:07 pm
- Forum: Hardware
- Topic: Enabling EMAC clock makes jtag stop
- Replies: 5
- Views: 4020
Enabling EMAC clock makes jtag stop
Hi I think is is related to noise and a 50 MHz oscillator for the EMAC. I use a ESP32 WROOM with an external 50 MHz oscillator. I use the IO33 from the ESP32 to enable the PHY and the oscillator. The IO0 is used for EMAC clock in But as soon I enable the oscillator and PHY, setting IO33 high, the jt...
- Tue Jun 21, 2022 7:42 am
- Forum: ESP-IDF
- Topic: Problem writing to the EMACMIIADDR_REG
- Replies: 0
- Views: 1027
Problem writing to the EMACMIIADDR_REG
Hi I try to setup PHY commands. I have MDC and MDIO on IO2 and IO4. PHY address is 2 If i try to set the PHY address to emacgmiiaddr.miidev and than do a read back, the register is not set to the PHY address of 2: emac_ll_set_phy_addr(hal->mac_regs, phy_addr); // Readback to check if (hal->mac_regs-...
- Mon Jun 20, 2022 9:02 am
- Forum: ESP-IDF
- Topic: Software reset (SW_RST) timeout of the EMAC?
- Replies: 1
- Views: 1938
Software reset (SW_RST) timeout of the EMAC?
Hi I have a ESP32 WROOM using my own board. Using a KSZ8081 PHY and external 50 MHz crystal. I'm using GPIO0 as clock input. The oscillator is controlled with the RESET_N signal, so I dont accidentally starts the bootloader. Al signals seens to work. But the reset bit of the EMAC never get cleared (...