Search found 1175 matches

by ESP_Sprite
Thu Nov 23, 2017 9:14 am
Forum: ESP32 SDK
Topic: UART Debbuging
Replies: 4
Views: 48

Re: UART Debbuging

Your 'target remote' command is off. Try changing it to 'target remote localhost:3333'.
by ESP_Sprite
Thu Nov 23, 2017 9:08 am
Forum: General Discussion
Topic: ESP32 audio output
Replies: 1
Views: 10

Re: ESP32 audio output

The ESP32 has a built-in 8-bit DAC; if you don't mind the not-really-HiFi quality of that you should be able to get away with an audio amp connected to this. Alternatively, for better sound quality, you can use an external I2S codec and amp.
by ESP_Sprite
Wed Nov 22, 2017 10:21 am
Forum: ESP32 Arduino
Topic: Interrupts and cores: can I free one core of any interrupts?
Replies: 1
Views: 32

Re: Interrupts and cores: can I free one core of any interrupts?

By default, everything runs on core 0. Core 1 should not have any interrupts out-of-the-box except for two: the FreeRTOS tick interrupt and the interrupt that is used to synchronize D-port accesses (workaround for a hw issue). You can disable the tick interrupt on CPU 1 if you also disable the idle ...
by ESP_Sprite
Wed Nov 22, 2017 10:16 am
Forum: ESP32 SDK
Topic: UART Debbuging
Replies: 4
Views: 48

Re: UART Debbuging

Do you have openocd running? You didn't post your gdbinit but the reference to '3333' implies gdb tries to connect to OpenOCD (and fails).
by ESP_Sprite
Wed Nov 22, 2017 10:13 am
Forum: General Discussion
Topic: Powering ESP32 breakout board without using USB port
Replies: 6
Views: 57

Re: Powering ESP32 breakout board without using USB port

Looks like your shift key got stuck while typing the title; I've undone that for you.
by ESP_Sprite
Mon Nov 20, 2017 4:50 pm
Forum: General Discussion
Topic: some error about esp32 for sd driver
Replies: 3
Views: 62

Re: some error about esp32 for sd driver

Check your setting of io_conf.pin_bit_mask in spi_master2.c. You put a GPIO number in there (18), but you should put a bitmask in there (1<<18).
by ESP_Sprite
Mon Nov 20, 2017 2:37 pm
Forum: General Discussion
Topic: What files are required for flashin
Replies: 4
Views: 67

Re: What files are required for flashin

Those are the files you need indeed. (And the project name is set in the main Makefile in the root of your project; I think you did not change it when you copied the app template hence your main binary is called app-template.bin.) If you run 'make' without anything else in the project directory (and...
by ESP_Sprite
Mon Nov 20, 2017 1:06 pm
Forum: ESP32 SDK
Topic: is here a problem of heap_region in freertos library in IDF?
Replies: 7
Views: 246

Re: is here a problem of heap_region in freertos library in IDF?

Yes, the error is pretty obvious. C strings consist of a number of characters terminated by a 0-character. Strlen gives the amount of 'real' characters in the string, excluding the 0-character. You then use that count to allocate new memory. However, strcpy copies the string and terminates it with a...
by ESP_Sprite
Mon Nov 20, 2017 1:01 pm
Forum: General Discussion
Topic: new release 2.1.1 ?
Replies: 4
Views: 81

Re: new release 2.1.1 ?

Ah, maybe I'm too used to the China-expat life... it's used for Chinese New Year here, and that's what I meant.
by ESP_Sprite
Mon Nov 20, 2017 11:22 am
Forum: ESP32 SDK
Topic: mismatch vTaskDelay and cycle count using XTHAL_GET_CCOUNT() ?
Replies: 2
Views: 35

Re: mismatch vTaskDelay and cycle count using XTHAL_GET_CCOUNT() ?

I tracked it down in the FreeRTOS code; it seems to be an artifact of how FreeRTOS works. Essentially, calling vTaskDelay(xTicksToDelay) will mark the task as sleeping, to be woken up at (xTickCount + xTicksToDelay), and forces a yield. The task is eventually unblocked in the tick function, which wi...

Go to advanced search