Coder Social home page Coder Social logo

Comments (12)

TomKeddie avatar TomKeddie commented on July 29, 2024 1

@Benjoyo from the doco it looks like you can set the speed of the trace port on the nrf52840 in the same way you can on the nrf52832 you should try my script.
image

from orbuculum.

mubes avatar mubes commented on July 29, 2024

from orbuculum.

Benjoyo avatar Benjoyo commented on July 29, 2024

Hey Dave,

sorry I didn't read your reply soon enough (I guess we have some time shift between us).

I power the board via USB, so as expected the regulator regulates that down to roughly 3v (2.98 measured between VDD and GND).

Should I just continue to write in discord even though we might not really be online at the same time? I assume this is not a bug but just me being stupid and needing some support.

Thanks,
Bennet

from orbuculum.

mubes avatar mubes commented on July 29, 2024

from orbuculum.

Benjoyo avatar Benjoyo commented on July 29, 2024

Ok, so not much time shift after all (I'm in Germany).

I am not certain that the trace pins work (is there an easy way to check?). I use your gdb scripts to init stuff like ITM and DWT and additionally I compile with ENABLE_TRACE, which should result in the trace pins being used for trace and not GPIO.

I'll try to join the discord tomorrow or monday when I got the time.

Thanks,
Bennet

from orbuculum.

mubes avatar mubes commented on July 29, 2024

from orbuculum.

Benjoyo avatar Benjoyo commented on July 29, 2024

Thanks, I will investigate and report back.

Bennet

from orbuculum.

Benjoyo avatar Benjoyo commented on July 29, 2024

@mubes I got a step further. I don't know why I didn't do this right away, but I now basically do what _doTRACE does in your gdb init file plus I define ENABLE_TRACE, which takes care of configuring the GPIOs and setting TRACEMUX to parallel trace.
Now that I did that, I finally get some activity on all 4 trace pins and the clock pin. Before only one trace pin and the clock was active.
However, I still get the same output from orbuculum :/

from orbuculum.

mubes avatar mubes commented on July 29, 2024

OK, please take a look at 07c4dc0 ... that should simplify your woes quite a bit.

from orbuculum.

mubes avatar mubes commented on July 29, 2024

OK, I beleive this is fully resolved in 17c2b0c although you might still have to do a small amount of work (e.g. on the pin configuration in gdbtrace.init) to adapt it to your specific chip. Let us know how you get on and please send any config patches that are needed.

from orbuculum.

mubes avatar mubes commented on July 29, 2024

@Benjoyo I think this is just pending on you getting a good gdb config together for your specific chip now, so I've removed the WIP marking. Please keep us posted so I can close this down when it's verified resolved.
DAVE

from orbuculum.

mubes avatar mubes commented on July 29, 2024

Killing this after radio silence for a month. It's believed fixed.

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.