need help, esp-idf

Nicholas3388
Posts: 13
Joined: Mon Apr 25, 2016 2:03 am

need help, esp-idf

Postby Nicholas3388 » Sat Sep 17, 2016 2:53 am

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;
}

ESP_Sprite
Posts: 9014
Joined: Thu Nov 26, 2015 4:08 am

Re: need help, esp-idf

Postby ESP_Sprite » Sun Sep 18, 2016 4:22 am

Can you try running 'make menuconfig' and selecting DIO mode in the serial flasher config menu?

Who is online

Users browsing this forum: Baidu [Spider], limpens and 99 guests