Coder Social home page Coder Social logo

CP2102 details about orbuculum HOT 4 CLOSED

orbcode avatar orbcode commented on July 29, 2024
CP2102 details

from orbuculum.

Comments (4)

mubes avatar mubes commented on July 29, 2024

Hi sorki, good to have you aboard. The more people who start using this then the more solid we can make it all. Your command line isn't quite right, try;

orbuculum -b swo/ -v 3 -a 115200 -p /dev/ttyUSB0

(Oh, and please make sure you're using the latest version of the code, I tidied the command line options a couple of weeks ago, so if you happen to have an older version you might be out of date).

...and see if that helps you move forward. You've also switched in the TPIU with your prepareSWD statement, so you might want to try this in the first instance (since you don't have the -t option on the orbuculum command line);

prepareSWD 72000000 115200 0 0

Given that you're outputting sample Program Counter data with the .gdbinit you attached you will definitely hit overflow issues. Once you've got this running I'd love you to try the HX8 board but only 1 or 2 bit TRACE width is working at the moment....I'm currently working on the 4 bit support. That stuff remains very experimental for now, but there are very good things coming on that side.

Regards

DAVE

from orbuculum.

sorki avatar sorki commented on July 29, 2024

Wow, it works with the command line you provided - kind of at least as I'm getting only

80 IDLE --> TS(1) : 79 TS --> IDLE(1)

and no samples in orbtop. I'm mostly interested in orbtop as it feels like the last missing piece in my tool-chain for quickly discovering timing / performance issues.

I'm running the latest version, seems easily package-able for Nixos. sorki/nixpkgs@7bbe749

For 1 or 2 bit tracing with HX8 do I need to change anything in toplevel verilog file?

from orbuculum.

mubes avatar mubes commented on July 29, 2024

OK, You're collecting timestamps, so that's promising. Here's my dwt configuration that's creating orbtop output for me right now;

dwtSamplePC 1
dwtSyncTAP 3
dwtPostTAP 1
dwtPostInit 1
dwtPostReset 15
dwtCycEna 1

For two bit output from the HX8 set .width(2) in toplevel.v and make sure you've got prepareTRACE 2 in your gdbinit.

Regards
DAVE

from orbuculum.

mubes avatar mubes commented on July 29, 2024

Sorki,

I've heard nothing back on this for two weeks now, so I am assuming your issues are resolved and closing the issue. Please feel free to follow up if you need more.

Regards

DAVE

from orbuculum.

Related Issues (20)

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.