Coder Social home page Coder Social logo

Comments (7)

zyp avatar zyp commented on July 29, 2024 2

Thanks, reproduced and fixed in 7809380. describeETM was missing an end at the end, so it ate the rest of the script, and the way it was indented didn't make it obvious.

from orbuculum.

salkinium avatar salkinium commented on July 29, 2024

Weird, which platform did you try this on? Windows perhaps?
I use both the ARM (non-Python) and the xpack (Python3) GDB v12 on macOS and it works fine.

from orbuculum.

ClemensElflein avatar ClemensElflein commented on July 29, 2024

PopOS 22.04, so basically Ubuntu 22.04

from orbuculum.

niklaut avatar niklaut commented on July 29, 2024

This exact problem is now also happening with my GDB after I updated the gdbtrace.init to the latest version.

from orbuculum.

zyp avatar zyp commented on July 29, 2024

Which platform are you on? I haven't been able to reproduce it yet.

from orbuculum.

niklaut avatar niklaut commented on July 29, 2024

I'm on macOS 13.5.2 with xpack arm-none-eabi-gdb-py3

GNU gdb (xPack GNU Arm Embedded GCC arm64) 12.1.90.20221210-git

It's weird, cos parts of the script are shown with autocompletion:

(gdb) _s
_setAddressesEFR32MG12  _setAddressesETM4       _setAddressesIMXRT      _setAddressesNRF        _setAddressesNRF52      _setAddressesNRF53      _setAddressesSTM32      _setAddressesTM4C       _startETMv35            _startETMv4
(gdb) start
start     startETM  starti
(gdb) stop
stop     stopETM
(gdb) describeETM
(gdb) prepa

but then it stops after describeETM, so something in it breaks it. (there's a duplicate stopETM function also btw)
if I remove the describeETM function, I can call the enableSTM32TRACE function.

I can see that it configures the pins, but the orbtrace's trace led doesn't turn red. I suspect that this is a hardware issue with my wiring though.

from orbuculum.

niklaut avatar niklaut commented on July 29, 2024

Yup, that fixed it for me, thanks!

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.