Search found 33 matches

by jimhelios
Thu Aug 27, 2020 9:50 pm
Forum: General Discussion
Topic: Enter/exit CAN reset mode
Replies: 19
Views: 10188

Re: Enter/exit CAN reset mode

Sorry if its not appropriate to bump an old thread, but I'm having similar issues. I'm suing an ole CAN driver, not from ESP-IDF. After a soft reset of my ESP32, the CAN controller would give bad data and this was fixed by resetting the CAN module as recommended earlier in this thread. However, the ...
by jimhelios
Sun Aug 23, 2020 11:14 pm
Forum: General Discussion
Topic: Is it possible to have data corruption just after a soft restart?
Replies: 20
Views: 2585

Re: Is it possible to have data corruption just after a soft restart?

Mongoose offers as far as the OTA, the config system, the timers, network protocol drivers and so on. IDF has all that. Mongoose gives you cross platform of course. Otherwise similar feature sets. I think they moved to IDF 3.3-R5 a week ago, or it least it looks that way in GitHub Not enough :( The...
by jimhelios
Wed Aug 12, 2020 6:59 am
Forum: General Discussion
Topic: Is it possible to have data corruption just after a soft restart?
Replies: 20
Views: 2585

Re: Is it possible to have data corruption just after a soft restart?

ATM your problem seems to be support under Mongoose. I wonder why you use mongoose? The only add I can see is the MQTT server yet you loose CAN (or gain painful CAN)? Well I'm using much of what Mongoose offers as far as the OTA, the config system, the timers, network protocol drivers and so on. I ...
by jimhelios
Tue Aug 11, 2020 10:15 pm
Forum: General Discussion
Topic: Is it possible to have data corruption just after a soft restart?
Replies: 20
Views: 2585

Re: Is it possible to have data corruption just after a soft restart?

I would kick mongoose & especially if you paid. A driver which screws up on overflow is really not a driver (IMHO). I would go on but ... Actually I will. IMHO you cannot claim driver support with something which locks 'fail' on overflow. You could claim 'comming soon' etc. So I would kick against ...
by jimhelios
Mon Aug 10, 2020 2:20 am
Forum: General Discussion
Topic: Is it possible to have data corruption just after a soft restart?
Replies: 20
Views: 2585

Re: Is it possible to have data corruption just after a soft restart?

Hopefully you have the means to bump frame rates etc and so prove to yourself that overflow is an issue (I am not mongoose so cannot say if they fixed overflow). If overflow is still a mongoose issue then I would bet that the silicon errata issues are also present. Hence my statement; you must upgr...
by jimhelios
Sat Aug 08, 2020 4:28 pm
Forum: General Discussion
Topic: Is it possible to have data corruption just after a soft restart?
Replies: 20
Views: 2585

Re: Is it possible to have data corruption just after a soft restart?

You must upgrade. No question, none. Oh I'm taking this very seriously. My product will be used, in part, for remote monitoring. Being able to reconfigure and soft reset reliably and remotely is critical. Drivers are outside most of my experience so it's taking me some time. I'm currently looking a...
by jimhelios
Fri Aug 07, 2020 7:43 pm
Forum: General Discussion
Topic: Is it possible to have data corruption just after a soft restart?
Replies: 20
Views: 2585

Re: Is it possible to have data corruption just after a soft restart?

Thank you Peter this is great information! I'll study the Espressif driver and see if I can use it in my code. I'm very relieved to hear that this issue can be handled. Thanks again.
by jimhelios
Fri Aug 07, 2020 1:52 pm
Forum: General Discussion
Topic: Is it possible to have data corruption just after a soft restart?
Replies: 20
Views: 2585

Re: Is it possible to have data corruption just after a soft restart?

Also, fwiw, we have a driver in ESP-IDF that is fully supported and maintained by now. You may want to switch to that instead of using 3-year-old unmaintained code. I'll definitely look at that. The driver is part of a bigger CAN library I'm using, but it's OS so I can look at changing it. But may ...
by jimhelios
Thu Aug 06, 2020 11:39 pm
Forum: General Discussion
Topic: Is it possible to have data corruption just after a soft restart?
Replies: 20
Views: 2585

Re: Is it possible to have data corruption just after a soft restart?

Thanks very much... I have been working on this quite a bit and it seems that what's happening is that the CAN controller is not working correctly after a soft reset. I did see something about this in the eratta but didn't fully understand it. The code I'm using is using a CAN driver by Thomas Barth...
by jimhelios
Thu Aug 06, 2020 4:31 am
Forum: General Discussion
Topic: Is it possible to have data corruption just after a soft restart?
Replies: 20
Views: 2585

Is it possible to have data corruption just after a soft restart?

I'm having an odd problem I can't explain. I have a board based on an ESP32-VROOM-32U module with 16MB flash and my FW uses Mongoose OS. My firmware seems to run fine for hours, even days collecting data from CAN bus, until I restart the ESP32 without disconnecting power. This happens after an OTA o...

Go to advanced search