SUMP Compatible ESP32 Logic Analyzer with RLE

User avatar
jgustavoam
Posts: 165
Joined: Thu Feb 01, 2018 2:43 pm
Location: Belo Horizonte , Brazil
Contact:

Re: SUMP Compatible ESP32 Logic Analyzer with RLE

Postby jgustavoam » Sat Mar 21, 2020 12:21 am

Where are my images that I posted last week?
I lost a lot of images.
What's wrong???
Can anyone explain what happened?
Retired IBM Brasil
Electronic hobbyist since 1976.

User avatar
E.U.A.
Posts: 18
Joined: Wed Feb 05, 2020 2:24 am

Re: SUMP Compatible ESP32 Logic Analyzer with RLE

Postby E.U.A. » Fri Mar 27, 2020 3:59 pm

Hi,
I never saw them. Even you first posted.

I started working on WROVER at last.
Altering UART2 pins to gpio 12 and 13 let me use UART2 with ESP32-Ethernet-Kit-A_V1.1 FTDI chip's second UART.

I am gonna implement PSRAM but I don't think if the speed is enough. But might usable for lower speeds.
Admin of the SamyGO.tv, Samsung TV Hacking Project

User avatar
jgustavoam
Posts: 165
Joined: Thu Feb 01, 2018 2:43 pm
Location: Belo Horizonte , Brazil
Contact:

Re: SUMP Compatible ESP32 Logic Analyzer with RLE

Postby jgustavoam » Fri Mar 27, 2020 5:16 pm

Hi EUA,

I attached some images, copied the link and inserted it in the post. The next day, those images disappeared.
I will look for the correct way to post images. I can't adjust the dimensions of my photos on this forum.

Do you know the name (or code) of PSRAM? Suggest you to look for datasheets.
Retired IBM Brasil
Electronic hobbyist since 1976.

User avatar
E.U.A.
Posts: 18
Joined: Wed Feb 05, 2020 2:24 am

Re: SUMP Compatible ESP32 Logic Analyzer with RLE

Postby E.U.A. » Sun Mar 29, 2020 10:43 pm

Hi jgustavoam, I think it's not needed. Only difference is using ps_malloc for access PSRAM. But the speed is not enough as I guessed.

At my tests, 256k bytes takes ~8M cpu clocks to upload to PSRAM.
Or takes ~125k clocks to upload 4K bytes,1 desc.
It equals ~3.84Msps for 16bit mode. 2Mhz in SUMP speeds with 2M samples.
Or equals ~7.68Msps for 8bit mode. 4Mhz in SUMP speeds with 5M samples.
Of course If I can quickly encode 16Bit to 8Bit.
Admin of the SamyGO.tv, Samsung TV Hacking Project

User avatar
jgustavoam
Posts: 165
Joined: Thu Feb 01, 2018 2:43 pm
Location: Belo Horizonte , Brazil
Contact:

Re: SUMP Compatible ESP32 Logic Analyzer with RLE

Postby jgustavoam » Sun Mar 29, 2020 11:30 pm

That results are too slow for my needs.
What is the name of your ESP32 Module? May you post the link, please.
Thank you.
Be safe! Stay at home!
Retired IBM Brasil
Electronic hobbyist since 1976.

lafar6502
Posts: 25
Joined: Fri Mar 27, 2020 8:26 pm

Re: SUMP Compatible ESP32 Logic Analyzer with RLE

Postby lafar6502 » Wed Apr 01, 2020 10:52 am

hey nice project you have there. Btw is it possible at all to add some analog signal capture, like for a simple oscilloscope? Dont need 20 MHz, but does it make any sense at all? Is ESP32 ADC capable of sampling that fast?

barbiani
Posts: 6
Joined: Fri Feb 08, 2019 3:30 am

Re: SUMP Compatible ESP32 Logic Analyzer with RLE

Postby barbiani » Thu Apr 02, 2020 2:39 pm

Hi,

I have just found this thread and the project looks great.

Did not do the proper research yet, but I have a quick question. Lets say we have a generic bit-bang controller with some gpio inputs and outputs running in the background. Can we route some I2S inputs to share gpios with that controller and this way see how it is performing without an external logic analiser?

Thanks.

User avatar
Segmentation Fault
Posts: 22
Joined: Sat Apr 04, 2020 1:49 am

Re: SUMP Compatible ESP32 Logic Analyzer with RLE

Postby Segmentation Fault » Sat Apr 04, 2020 3:21 am

Hi E.U.A. , this is an amazing project.
For us that are still on the embryonic stage on MCUs and ESP32 programming and do not have much more experience than programming the mcu and uploading the code, can you point somewhere for more information on how to implement this project?

From what I understand we need to compile and upload your code to ESP32 with Arduino IDE and I guess it sends the data directly to PulseView somehow?
Is an external crystal required like jgustavoam used?
I haven't downloaded PulseView yet, but how do I apply the patch?

User avatar
jgustavoam
Posts: 165
Joined: Thu Feb 01, 2018 2:43 pm
Location: Belo Horizonte , Brazil
Contact:

Re: SUMP Compatible ESP32 Logic Analyzer with RLE

Postby jgustavoam » Sat Apr 04, 2020 1:52 pm

Hi Segmentation,
I may suggest you these good tutorials :

https://randomnerdtutorials.com/getting ... ith-esp32/
https://randomnerdtutorials.com/install ... tructions/
https://randomnerdtutorials.com/esp32-t ... ing-guide/

"Is an external crystal required like jgustavoam used?"
You do not need any crystal !

I not used the patch. Read early posts.
Retired IBM Brasil
Electronic hobbyist since 1976.

User avatar
Segmentation Fault
Posts: 22
Joined: Sat Apr 04, 2020 1:49 am

Re: SUMP Compatible ESP32 Logic Analyzer with RLE

Postby Segmentation Fault » Sat Apr 04, 2020 4:34 pm

Hi jgustavoam. Thank you for your replay :)

I am aware of the basic principles, I hadn't uploaded any code on my esp32 yet, but I've been using an ESP8266 until recently.
Judging from the articles you posted, I guess it is pretty straight forward to implement the logic analyzer.

I will come back with further questions if I find difficulties.

Have a nice day. Stay safe :)

Who is online

Users browsing this forum: No registered users and 153 guests