Page 1 of 1

need help, esp-idf

Posted: Sat Sep 17, 2016 2:53 am
by Nicholas3388
Hi,
I compile https://github.com/TonyChuShuChen/esp32_idf_test with esp-idf, and then flash the BIN files including bootloader.bin(to 0x01000), partitions_singleapp.bin (0x04000), and testje.bin (0x10000). When esp32 run after flashing, the chip reset again and again. The following information is output from serial:
ets Jul 5 2015,rst cause:9, boot mode:(33)

_stack_sentry: 0x3fffe1d0, __stack: 0x40000000,
_bss_start: 0x3fffcd48, _bss_end: 0x3fffe1d0,
_data_start: 0x3fffc000, _data_end: 0x3fffc864
load 0x00000000, len 0, room 16
tail 0
chksum 0xef
load 0x00000000, len 0, room 8
tail 0
chksum 0xef
load 0x00000000, len 65512, room 0
The flash tool I used is ESP31_FLASH_DOWNLOAD_TOOL_V1.0.1.exe . The parameter set as follow: SPI SPEED=40M, SPI MODE=DIO, BAUDRATE=115200.

Is there anything wrong with my settings?


The app_main.c:

Code: Select all

#include <stdio.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"

#include "esp_err.h"

void unityTask(void *pvParameters) 
{
    vTaskDelay(1000 / portTICK_PERIOD_MS);
    while(1);
}

esp_err_t app_main() 
{
    xTaskCreate(unityTask,"unityTask",2048,NULL,5,NULL);

	return 0;
}

Re: need help, esp-idf

Posted: Sun Sep 18, 2016 4:22 am
by ESP_Sprite
Can you try running 'make menuconfig' and selecting DIO mode in the serial flasher config menu?