Search found 223 matches

by PeterR
Tue Dec 10, 2019 1:57 pm
Forum: General Discussion
Topic: CAN frame corruption following FATFS write to FLASH
Replies: 4
Views: 137

Re: CAN frame corruption following FATFS write to FLASH

Thanks. IDNK.

I will update my writer to write a blob rather each value one by one, that should improve a little.

Is there a way to avoid copying the entire /driver folder to local components?
by PeterR
Tue Dec 10, 2019 11:11 am
Forum: General Discussion
Topic: CAN frame corruption following FATFS write to FLASH
Replies: 4
Views: 137

Re: CAN frame corruption following FATFS write to FLASH

Cool, thanks. Frame is EXT ID. Hooking can_get_status_info() to a URI & Ajax request then with a frame rx rate of approximately 90fps I get an increment of 9 status.rx_missed_count every time I click save (cause FLASH write). So my CAN Reader is being blocked. I can increase my buffer sizes. The fol...
by PeterR
Tue Dec 10, 2019 10:22 am
Forum: ESP32 IDF
Topic: Can driver stop transmitting after a while in release
Replies: 7
Views: 1500

Re: Can driver stop transmitting after a while in release

This is an old post but in case it helps.. CAN will stop transmitting if it detects a bus error and goes into bus off state. Common reasons are loose cables and/or that you place two of your own devices on the CAN bus and have forgotten to change the source address. To recover you must close and reo...
by PeterR
Mon Dec 09, 2019 5:04 pm
Forum: General Discussion
Topic: A project with a component that requires another component
Replies: 5
Views: 141

Re: A project with a component that requires another component

I haven't switched to CMake yet but as an Gnu build you are missing component.mk is the component directory.
That may help.
by PeterR
Mon Dec 09, 2019 2:17 pm
Forum: General Discussion
Topic: A project with a component that requires another component
Replies: 5
Views: 141

Re: A project with a component that requires another component

You would need to post your make files and a screen grab of your folder structure. I have not used mbedtls but you include most esp components without directory path e.g. #include "esp_spiffs.h" #include "esp_vfs_httpfs.h" #include "esp_vfs.h" #include "esp_vfs_fat.h" For this to work the component ...
by PeterR
Mon Dec 09, 2019 12:55 pm
Forum: General Discussion
Topic: CAN frame corruption following FATFS write to FLASH
Replies: 4
Views: 137

CAN frame corruption following FATFS write to FLASH

I have a CAN based application which allows configuration parameters to be set from a web page. I use a small FATFS partition to hold configuration parameters. The end user may configure using a web application. The web page triggers a save (POST) and the new parameters are written to flash using fo...
by PeterR
Fri Dec 06, 2019 7:39 pm
Forum: General Discussion
Topic: Need to enable and disable all interrupts
Replies: 8
Views: 337

Re: Need to enable and disable all interrupts

And the cache if PSRAM ;)
Best to explain your use case to get the fullest answer.

Does anyone test onchip RAM? There are no pins to be loose so would not a failure be catastrophic & so cause wider issues?
by PeterR
Thu Dec 05, 2019 7:41 pm
Forum: General Discussion
Topic: Error time out in i2c_master_cmd_begin()
Replies: 0
Views: 97

Error time out in i2c_master_cmd_begin()

I use the I2C controller to access GPIO extender and LED controller. It is not entirely clear how the time out in i2c_master_cmd_begin() is intended to work. On entry a semaphore is taken granting ownership of the bus. It looks as if the time out is also used to detect completion. The problem is tha...
by PeterR
Wed Dec 04, 2019 12:49 am
Forum: General Discussion
Topic: Adding support of HTTP server on Amazon freeRTOS
Replies: 2
Views: 217

Re: Adding support of HTTP server on Amazon freeRTOS

https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/protocols/esp_http_server.html Perfectly respectable webserver but lacks asynchronous and websockets. Bit of an dead end if you want to sockets, MQTT etc. EDIT: Not sure why ESP created this when the contrib projects have added ben...
by PeterR
Wed Dec 04, 2019 12:20 am
Forum: General Discussion
Topic: SPI Slave - Missing data during the first few seconds after initialization
Replies: 3
Views: 184

Re: SPI Slave - Missing data during the first few seconds after initialization

Hi, Please show the libraries etc that you are using. Maybe some source? I have used SPI SD (not SDMMC). I produced a SPI SD qualifcation test & that ran for ages whilst shaked n baked. I had to write my own SD driver based on ANO library. I did look for out of box but found a lot of buggy Ardunio c...

Go to advanced search