esp-hosted icon indicating copy to clipboard operation
esp-hosted copied to clipboard

Features branch - slave resets after initialization

Open claydonkey opened this issue 9 months ago • 11 comments

From an stm32 host. Initialization for TEST_RAW_TP works as expected but soon after transmission of packets the slave panics: Guru Meditation....

I had to increased the Host packet size to be 32bit aligned which is strange because I didn't notice this alignment issue in previous versions. I am using heap 1_4 for FreeRTOS

#define MAX_SDIO_BUFFER_SIZE              (1600) // (32*50) was 1536
#define MAX_TRANSPORT_BUFFER_SIZE        MAX_SDIO_BUFFER_SIZE
#define MAX_PAYLOAD_SIZE (MAX_TRANSPORT_BUFFER_SIZE-H_ESP_PAYLOAD_HEADER_OFFSET) 1587?
#define MALLOC(x)                        pvPortMalloc(x)

#define CONFIG_ESP_RAW_TP_HOST_TO_ESP_PKT_LEN 1576

https://github.com/espressif/esp-hosted/assets/5519575/28a258ff-98b9-4485-b869-7a58c34dca13

claydonkey avatar Nov 20 '23 22:11 claydonkey