GithubHelp home page GithubHelp logo

jpbarraca / logicalnucleo Goto Github PK

View Code? Open in Web Editor NEW
26.0 26.0 6.0 1.14 MB

A SUMP compatible Logical Analyser for the STM32F4

License: GNU General Public License v2.0

Makefile 0.21% C++ 8.98% C 90.80%

logicalnucleo's People

Contributors

jpbarraca avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

logicalnucleo's Issues

What about analog aquisition?

Hi JP, nice project!
would it be possible to also make it work as an analogue sampler?

I will keep watch this project progress!

mbed Project

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.

Capture failed

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?

Why aren't you using DMA and timer for acquisition and instead timing by using nop?!

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.

How to make PulseView work?

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

slika

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.