Search found 384 matches

by permal
Tue Jul 02, 2019 5:44 am
Forum: ESP-IDF
Topic: CMake with CLion - working!
Replies: 7
Views: 15440

Re: CMake with CLion - working!

What's the current status of this? I'm keen to test out the state-of-the-art and help if i can... It's shaky at best. I don't know why, but sometimes CLion simply loses the xtensa toolchain so it is no longer selectable. I'm currently compiling using command line instead. Also, in adition to the ab...
by permal
Mon Jul 01, 2019 12:31 pm
Forum: General Discussion
Topic: Asynchronous webserver with websockets
Replies: 4
Views: 9273

Re: Asynchronous webserver with websockets

May I ask why you need it to be asynchronous? Also, in what part of the server do you need it? Do you just need multiple simultaneous connections? Keep in mind that the wifi & lwip tasks takes up quite a bit of resources, leaving you less than two cores for your own work. If you're thinking you want...
by permal
Mon Jun 10, 2019 4:55 pm
Forum: General Discussion
Topic: Troubleshooting SSL_ERROR_BAD_MAC_ALERT
Replies: 2
Views: 5707

Re: Troubleshooting SSL_ERROR_BAD_MAC_ALERT

Anyone?

I'm not getting anywhere so even crazy are ideas welcome ;)
by permal
Sun Jun 09, 2019 5:38 pm
Forum: General Discussion
Topic: Troubleshooting SSL_ERROR_BAD_MAC_ALERT
Replies: 2
Views: 5707

Troubleshooting SSL_ERROR_BAD_MAC_ALERT

Now that I've finally found the issue with MPI acceleration causing my task to hang I can move on to my other issue; namely Message Authentication Code failure. The setup is the same as previously; code works fine on native Linux, but as soon as it is brought over to ESP32, I get this: mbedtls_ssl_h...
by permal
Sun Jun 09, 2019 11:39 am
Forum: General Discussion
Topic: mbedTLS on ESP32 vs Native Linux
Replies: 1
Views: 3688

Re: mbedTLS on ESP32 vs Native Linux

After further digging, I've found that when MPI (bignum) hardware acceleration is enabled this hang occurs.

When MPI (bignum) acceleration is enabled, the hang also happens in the ESP-IDF https_server example.

Edit: GitHub issue: https://github.com/espressif/esp-idf/issues/3603
by permal
Sat Jun 08, 2019 6:47 pm
Forum: General Discussion
Topic: mbedTLS on ESP32 vs Native Linux
Replies: 1
Views: 3688

mbedTLS on ESP32 vs Native Linux

I'm debugging two issues with mbedTLS that only happens when running the code on ESP32, i.e. only the mbedTLS adjusted for ESP has this issue. The first issue is that I get this error when connecting with curl/FireFox: mbedtls_ssl_handshake returned -29056: SSL - Verification of the message MAC fail...
by permal
Fri Jun 07, 2019 7:56 pm
Forum: ESP-IDF
Topic: CAN License
Replies: 19
Views: 24162

Re: CAN License

snahmad75 wrote: So, the final verdict is CAN hardware module/driver is free for commercial use as well.
Personally I wouldn't draw that conclusion. Even Espressif says to obtain a license, as by the first post in this thread. Ask a lawyer.
by permal
Fri Jun 07, 2019 7:02 am
Forum: ESP-IDF
Topic: CAN License
Replies: 19
Views: 24162

Re: CAN License

Note that the ESP32 implements the "classic" CAN, not CAN FD. Still, the document clearly states a license is required for both of them, does it not? Important Notice The CAN Protocol and CAN FD Protocol are developed by the Robert Bosch GmbH and protected by intellectual property rights. The CAN P...
by permal
Thu Jun 06, 2019 7:18 am
Forum: ESP-IDF
Topic: CAN License
Replies: 19
Views: 24162

Re: CAN License

I am not a lawyer, but http://www.bosch-semiconductors.com/ip-modules/can-ip-modules/can-protocol/ states the following: The CAN FD Protocol is developed by Robert Bosch GmbH and is patented. In addition to the CAN IP modules offered by Bosch, a CAN FD Protocol License is required. The CAN FD Protoc...