Search found 77 matches

by chromebin
Mon Jan 28, 2019 10:24 pm
Forum: General Discussion
Topic: espnow sta interface with router connection
Replies: 3
Views: 5689

Re: espnow sta interface with router connection

I have the same problem. With Wifi initialized to AP ESPNOW works, when STA it doesn't. Yes, I switch also from ESP_IF_WIFI_AP to ESP_IF_WIFI_STA.

Did you discover the problem?
by chromebin
Thu Nov 01, 2018 11:07 am
Forum: General Discussion
Topic: Modifying SPIFFS to allow direct sector access
Replies: 1
Views: 3080

Re: Modifying SPIFFS to allow direct sector access

Thanks for eye-balling this. I know it was kind of a long shot (I have a deadline approaching). It is now an issue on github: https://github.com/pellepl/spiffs/issues/226 I really think this capability (receive data without the micromanagement of linearizing the data stream) is essential for embedde...
by chromebin
Wed Oct 31, 2018 5:57 pm
Forum: General Discussion
Topic: Modifying SPIFFS to allow direct sector access
Replies: 1
Views: 3080

Modifying SPIFFS to allow direct sector access

I need random access to write sectors of a file. I receive data in mostly sequential order, but I need to go back to patch some sectors when I receive them (ESPNOW). All access is sector-sized (1kB). Only 2 functions would be needed: - spiffs_allocate(file, size) - sets the file-size and reserves th...
by chromebin
Wed Oct 17, 2018 2:17 pm
Forum: General Discussion
Topic: PlatformIO thoughts?
Replies: 4
Views: 5490

Re: PlatformIO thoughts?

You're right. I have it downloaded. I'm going to try it myself. Many things are supposed to work, but don't, probably for supposedly trivial reasons. Sure I "tried" PlatformIO. But no joy. I tried because of VSCode, no joy. Maybe someone with more experience with both has more luck. In my experienc...
by chromebin
Wed Oct 17, 2018 2:05 pm
Forum: General Discussion
Topic: Guru Meditation Error: Cache disabled but cached memory region accessed
Replies: 17
Views: 34773

Re: Guru Meditation Error: Cache disabled but cached memory region accessed

ESP_Sprite, your diagnosis is scaringly spot on. I use SPI to stream data into a shift register, then latch that data in an SPI callback :oops: Now with regard to the remedy. In sdkconfig I found: # # SPI master configuration # CONFIG_SPI_MASTER_IN_IRAM= CONFIG_SPI_MASTER_ISR_IN_IRAM=y I suppose the...
by chromebin
Tue Oct 16, 2018 5:06 pm
Forum: General Discussion
Topic: Guru Meditation Error: Cache disabled but cached memory region accessed
Replies: 17
Views: 34773

Guru Meditation Error: Cache disabled but cached memory region accessed

Hi, I'm suffering a: Guru Meditation Error: Core 0 panic'ed (Cache disabled but cached memory region accessed) Core 0 register dump: PC : 0x400f1774 PS : 0x00060034 A0 : 0x80083c0e A1 : 0x3f fb05b0 0x400f1774: gpio_set_level at C:/msys32/home/user/esp/esp-idf/components/driver/ gpio.c:537 A2 : 0x3ff...
by chromebin
Mon Oct 15, 2018 1:27 pm
Forum: General Discussion
Topic: Eclipse on Windows Setup and related errors
Replies: 2
Views: 3854

Re: Eclipse on Windows Setup and related errors

Welcome to the club. Good question, hope you get an answer! Now.. if the instructions you mentioned would instruct to simply fix the MSYS username to "user", then Expressif could all simply share workspaces and in general substitute "instructions for humans" with scripts, and thus put an end to the ...
by chromebin
Wed Sep 26, 2018 6:00 pm
Forum: General Discussion
Topic: Access partition example
Replies: 3
Views: 7230

Re: Access partition example

I think the esp_partition_* API can help you out there. Mmap the partition to access the data as memory, erase/program it if you want to rewrite. More precisely: https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/partition-tables.html Right? The best info I got so far is from: https:/...
by chromebin
Tue Sep 25, 2018 8:01 pm
Forum: General Discussion
Topic: Access partition example
Replies: 3
Views: 7230

Access partition example

Hello, I'm looking for example code that allows me: - to random access bytes within the partition (with caching, as code has) - to write the partition from the start up to some size (basically store a file in it) So this partition should act and feel like constants, similar to const in code. It is b...
by chromebin
Tue Sep 18, 2018 5:10 pm
Forum: General Discussion
Topic: unused code hangs program
Replies: 15
Views: 15214

Re: unused code hangs program

This is the output: $ clear; cd ~/projects/xxxxxx/project; make flash -j ESPPORT=COM4; make monitor -j ESPPORT=COM4 GENCONFIG Building partitions from /home/user/projects/xxxxxx/project/partitions.csv... .... esptool.py v2.5.0 Flashing binaries to serial port COM4 (app at offset 0x10000 )... esptool...