You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After fixing the problem with the DataReceived event not working, I was presented with a new problem. It appears that the baud rate selection code is not working correctly with my setup.
My zx88dk code is selecting the ESP and setting the baud rate of 115200. I see the log output from CSpect saying that 115384 is actually being selected.
However, while I am getting data back, it is garbage.
I found that if I change everywhere in Serial.cs that sets port.baudrate to just ignore the calculated value, and hard code it as 115200, everything starts working. I suspect that it may be a combination of the hardware I am using on the PC side, and maybe I am using this in a different way to intended.
As stated in the Wiki for this project, the AT+UART+CUR? command will actually report 115384, but I can only get it to work if it set the USB serial port device to exactly 115200.
The cu command also complains if I attempt to use 115384, it will only accept 115200.
For my use case, really I don't care what speed it is actually using between the emulator and the real ESP hardware. So my hack is fine for that. I wonder if this plugin may benefit from an option to just use a fixed baud.
The text was updated successfully, but these errors were encountered:
After fixing the problem with the
DataReceived
event not working, I was presented with a new problem. It appears that the baud rate selection code is not working correctly with my setup.My zx88dk code is selecting the ESP and setting the baud rate of
115200
. I see the log output from CSpect saying that115384
is actually being selected.However, while I am getting data back, it is garbage.
I found that if I change everywhere in
Serial.cs
that setsport.baudrate
to just ignore the calculated value, and hard code it as115200
, everything starts working. I suspect that it may be a combination of the hardware I am using on the PC side, and maybe I am using this in a different way to intended.I am using an EPS8266 with a USB adapter, specifically this one. https://www.amazon.co.uk/dp/B08QMMGZLB?ref=ppx_yo2ov_dt_b_fed_asin_title&th=1 on Linux Mint 22.
As stated in the Wiki for this project, the
AT+UART+CUR?
command will actually report 115384, but I can only get it to work if it set the USB serial port device to exactly 115200.The
cu
command also complains if I attempt to use 115384, it will only accept 115200.For my use case, really I don't care what speed it is actually using between the emulator and the real ESP hardware. So my hack is fine for that. I wonder if this plugin may benefit from an option to just use a fixed baud.
The text was updated successfully, but these errors were encountered: