Search found 305 matches

by jcsbanks
Wed Oct 16, 2019 12:07 pm
Forum: ESP-IDF
Topic: PSRAM cache - how/when to update toolchain?
Replies: 8
Views: 7797

Re: PSRAM cache - how/when to update toolchain?

Thanks, I'd really like to install the updated toolchain on windows, but I cannot work out how to do it. I can manage to add the volatiles and change the binaries in newlib. I can extract xtensa-esp32-elf-win32-1.22.0-98-g4638c4f-5.2.0-20190827.tar but the contents are smaller than the original tool...
by jcsbanks
Wed Oct 09, 2019 8:31 am
Forum: ESP-IDF
Topic: RMT - simplest receive example working, but idle_threshold problem
Replies: 18
Views: 18512

Re: RMT - simplest receive example working, but idle_threshold problem

Inside a task on a loop: while (item->val==-1) { if (RMT.status_ch[rmt_rx.channel]==0x04000000){ //overflow action } } Receiving the buffer contents: for(i = 0; i < (uint8_t)RMT.status_ch[rmt_rx.channel]; i++) { lowus = !(item+i)->level0*(item+i)->duration0 + !(item+i)->level1*(item+i)->duration1; h...
by jcsbanks
Wed Oct 09, 2019 8:20 am
Forum: ESP-IDF
Topic: RMT - simplest receive example working, but idle_threshold problem
Replies: 18
Views: 18512

Re: RMT - simplest receive example working, but idle_threshold problem

Init, sorry the tabs don't display correctly. BUFS and INPUT need to be defined. rmt_config_t rmt_rx = { .channel = 0, .gpio_num = INPUT, .clk_div = 80, //1MHz .mem_block_num = BUFS, .rmt_mode = RMT_MODE_RX, .rx_config = {.filter_en = true, .filter_ticks_thresh = 255, .idle_threshold = 30000} }; rmt...
by jcsbanks
Fri Oct 04, 2019 6:46 am
Forum: ESP-IDF
Topic: PSRAM cache - how/when to update toolchain?
Replies: 8
Views: 7797

Re: PSRAM cache - how/when to update toolchain?

Any advice appreciated. Want to start beta testing our new product.
by jcsbanks
Tue Sep 24, 2019 7:59 pm
Forum: ESP-IDF
Topic: Wear levelling FATFS performance really slow even for reading?
Replies: 11
Views: 16516

Re: Wear levelling FATFS performance really slow even for reading?

I abandoned FATFS for reading large files and only write small difference files to it. Large files are stored in flash at OTA update time and read using mmap.
by jcsbanks
Fri Sep 20, 2019 9:43 am
Forum: ESP-IDF
Topic: PSRAM cache - how/when to update toolchain?
Replies: 8
Views: 7797

PSRAM cache - how/when to update toolchain?

https://github.com/espressif/esp-idf/issues/2892 Thought I might be better asking here my question about when/how to update the toolchain on Windows as it might be too basic for the GitHub issue. Any advice appreciated, was waiting for ESP IDF 3.3 to release our product, but I am confused what to do...
by jcsbanks
Mon Sep 09, 2019 8:46 am
Forum: ESP-IDF
Topic: ESP-IDF v3.3 LTS clarification
Replies: 7
Views: 7721

Re: ESP-IDF v3.3 LTS clarification

Thanks. Nothing critical for us between those commits. It is exciting to get product near release! Thanks for all the support, you guys rock :)
by jcsbanks
Sun Sep 08, 2019 6:30 pm
Forum: ESP-IDF
Topic: ESP-IDF v3.3 LTS clarification
Replies: 7
Views: 7721

Re: ESP-IDF v3.3 LTS clarification

On 5th September just after it was announced I updated and see this: $ git status On branch release/v3.3 Your branch is up to date with 'origin/release/v3.3'. The binary from the build shows: 13:39:25 Sep 5 2019 v3.3-rc-24-g148a26980 Is the -rc just an old tag? I did not notice this until I asked fo...
by jcsbanks
Fri Sep 06, 2019 6:14 pm
Forum: ESP-IDF
Topic: RMT - simplest receive example working, but idle_threshold problem
Replies: 18
Views: 18512

Re: RMT - simplest receive example working, but idle_threshold problem

Yes by having a task empty the buffer. RMT doesn't work with continuous pulse trains otherwise that I could work out.