~j0ule
~j0ule
I also have had this issue
This happens on line 2910 of interactiveshell.py for me ``` /usr/local/lib/python3.6/dist-packages/IPython/core/interactiveshell.py in run_cell_async(self, raw_cell, store_history, silent, shell_futures) 2908 result = ExecutionResult(info) 2909 -> 2910 if (not raw_cell) or raw_cell.isspace(): 2911...
My understanding is that the host will receive NACKs when the 64 byte endpoint buffer is full, but send them after core resumes and empties the buffer. So, something must...
I think I fixed it after a solid 10 hours of late night troubleshooting. We have to change the following line in usbd_ep_conf.c {CDC_OUT_EP, PMA_CDC_OUT_ADDR, PCD_DBL_BUF}, To use single buffer...
This problem has re appeared as someone had over-written the fix https://github.com/fpistm/Arduino_Core_STM32/commit/90b75ccc3ccdb4242e0092cffef6b443bb034331 had committed It was very troublesome to figure out the source of garbage serial data again.
To fix it we must update const ep_desc_t ep_def[] to: ``` /* Includes ------------------------------------------------------------------*/ #include "usbd_ep_conf.h" #ifdef USBD_USE_CDC const ep_desc_t ep_def[] = { #ifdef USE_USB_HS {0x00, CDC_DATA_HS_MAX_PACKET_SIZE}, {0x80, CDC_DATA_HS_MAX_PACKET_SIZE}, {CDC_OUT_EP,...
I think I figured out what was causing the problem. In my program flow, when I detected a socket was closed, I closed the websocket object itself. anticipating then, I...
Just commenting to say that what you have so far is great and you should keep up the good work. The big companies have really reached a point of no...
ah, the randomness was because our arrays were never initialized ``` uint8_t* ptrNames[MDNS_MAX_SERVICES_PER_PACKET] ; uint16_t ptrOffsets[MDNS_MAX_SERVICES_PER_PACKET]; uint16_t ptrPorts[MDNS_MAX_SERVICES_PER_PACKET]; ``` changing them to ``` uint8_t* ptrNames[MDNS_MAX_SERVICES_PER_PACKET] = {0}; uint16_t ptrOffsets[MDNS_MAX_SERVICES_PER_PACKET] =...
I think I found the source of the bug now. There is simply no code at all that populates ptrPorts or servTxt until we get to the "additional records" part...