jpbarraca / logicalnucleo Goto Github PK
View Code? Open in Web Editor NEWA SUMP compatible Logical Analyser for the STM32F4
License: GNU General Public License v2.0
A SUMP compatible Logical Analyser for the STM32F4
License: GNU General Public License v2.0
Hi JP, nice project!
would it be possible to also make it work as an analogue sampler?
I will keep watch this project progress!
Any chance you can share this in the mbed dev site? I would like to try it with the STM32F411RE and would be easier to just compile it online.
Thanks.
Hi, @jpbarraca nice work on making the NucleoF401RE more useful :)
I'm having trouble with the capture on LogicSniffer and keep getting "Capture Failed". When I looked at your code, it seems that there's no function to return the captured value from inside Sampler.cpp. I later found this
case SUMP_ARM: {
sampler.start();
break;
and changed sampler.start()
to sampler.arm()
, got it working once, but after that it failed to capture again. The board appears hung after I start capture. If I stop the capture and click Show Device matedata, it will fail. Using console showing that the board is not replying at all. Any idea where to look?
I got linked this by someone looking at F401RE-NUCLEO
I knew this was going to be a mess when files were ending with .cpp, but I was not prepared for the mess that I saw inside sampler.cpp.
Did you know pretty much every STM32 has GPIO DMA which can be triggered from a timer? You setup GPIOx->IDR as src, whatever memory buffer as dst, and each timer tick would transfer the data. With ACCURATE timing.
Hello, there, did you ever try this on PulseView?
I dont know what I am doing wrong but I am trying to make my STM32F407 be a logic analyzer, at first I tried flashing this on it but no usb2serial device was ever created ((I am using StmCubeIde, never used mbed so I dont realy know what I am doing with mbed (am on windows so I dont even have required toolchain to build this, so as a PoC it would probably be easier to do it on STMCube first
Then I found this: http://slemi.info/2018/03/26/stm32-logic-analyzer/
Which has some prebuilt firmware: https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/logicdiscovery/LogicDiscovery.bin
But this is also using some wierd enviroment (its not importable into STMCubeIde), so again I cannot debug or tweak it
But at least this one showed as USB2serial device and was detected in PulseView, but then I got no logic trace (I did hit Run and stop multiple times but no dice), I tried every pin on PD io (PD1-16), and I tried to simulate logic with button press (connecting wire from eather PD1 to GND or 3V to simulate logic), but nothing, trace was always empty, so I am suspecting that I am not configuring my PulseView right
So I am trying to get my baseline right but I guess I am failing somewhere but dont know where....
Also tried LogicSniffer: https://lxtreme.nl/projects/ols/
But this program doesnt even start on my windows machine
So the question is: if you have a working firmware (which I think I do, I cannot verify that),, how do you configure your SUMP client to see some logic (because right now I only see a blank trace)?
Thanks for Anwsering and Best Regards
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.