Search found 1173 matches

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: 30

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: 3
Views: 32

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: 2
Views: 30

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: 54

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: 62

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: 234

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: 76

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: 32

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...
by ESP_Sprite
Mon Nov 20, 2017 11:01 am
Forum: General Discussion
Topic: Set Number of Pulses from MCPWM?
Replies: 2
Views: 33

Re: Set Number of Pulses from MCPWM?

What you may be able to do is connect the pulse counter peripheral to the output pin of the MCPWM pin and generate an interrupt after n cycles that way. However, note that depending on your pulse frequency and what the ESP32 is doing, you may run the risk of getting to the ISR too late and accidenta...
by ESP_Sprite
Mon Nov 20, 2017 10:59 am
Forum: General Discussion
Topic: new release 2.1.1 ?
Replies: 4
Views: 76

Re: new release 2.1.1 ?

2.1.1 is meant as a bugfix release of 2.1; the WiFi bug has been fixed and iirc there have been some fixes in BT as well. It has nothing to do with the v3.0 release, which we're still actively working on. v3.0 has slipped schedule a bit (mostly because we'd rather ship a complete and stable version ...

Go to advanced search