EUA / ESP32_LogicAnalyzer

ESP32 Logic Analyzer
GNU General Public License v3.0
217 stars 28 forks source link

Help to get going #9

Open gedger opened 1 year ago

gedger commented 1 year ago

Not really an issue but some help and guidance on getting this working using a Macbook Pro running Big Sur

Using a ESP32 WROOM32 based board which I have selected as DOIT ESP32 DEVKIT V1 on the Arduino IDE.

image

Compiled and uploaded to device with no errors. I'm unsure about whether I should change any of the debug settings or serial port number. I'd like to use the USB programming port for communications which I think is Serial0 so have left as is.

There's no overnight MacOS build of the Pulseview so using 0.4.2.

Running Pulseview and then selecting the device Openbench... and the correct serial port does not find the device.

I see another issue about using MacOS to turn off DEBUG but the header code makes no sense to me. '''

define _DEBUG_MODE_x

ifndef _DEBUGMODE

define OLS_Port Serial //Serial //Serial1 //Serial2

define OLS_Port_Baud 921600 //115200 // 3e6

else

define OLS_Port Serial2 //Serial //Serial1 //Serial2

define OLS_Port_Baud 3e6 //115200 // 3e6

define Serial_Debug_Port Serial //Serial1 //Serial2

define Serial_Debug_Port_Baud 921600 //115200

endif

'''

Any suggestions, thanks.

gedger commented 1 year ago

Some progress, studied the code again and I can see what the DEBUG statement is doing now and it's set correctly.

The issue is detection of the board by Pulseview. If I connect a terminal to the serial port type a few characters then I get 1ALS back. If I disconnect the terminal and then try Pulseview again it detects the board. However as soon as you try and make a capture then nothing is captured and the board is no longer detectable again. So on the Mac there seems to be some compatibility issue.