Comments (12)
@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.
from orbuculum.
from orbuculum.
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.
from orbuculum.
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.
from orbuculum.
Thanks, I will investigate and report back.
Bennet
from orbuculum.
@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.
OK, please take a look at 07c4dc0 ... that should simplify your woes quite a bit.
from orbuculum.
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.
@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.
Killing this after radio silence for a month. It's believed fixed.
from orbuculum.
Related Issues (20)
- Install more files on Linux HOT 1
- Extraneous arguments in meson.build file HOT 3
- Inconsistent results from orbfifo when reading from file and writing to permanent file HOT 3
- Arch linux builds need a meson prefix HOT 3
- Cannot set server and port in orbfifo HOT 2
- Do not require trailing slash in orbfifo basedir HOT 2
- Cannot abort orbfifo with Ctrl + C when not yet connected HOT 6
- First contribution HOT 1
- gdbtrace.init does not seem to work with newer version of arm-none-eabi-gdb HOT 7
- Windows CLI output has corrupted characters HOT 2
- orbtop CPU usage increases over time
- Orbmortem save to file not working HOT 2
- 'ARM_INS_ERET' not in /usr/include/capstone/arm.h HOT 2
- orbtop should provide immediate error about missing objdump HOT 2
- orbtop: Exception number format, 0..N vs -16..N HOT 5
- orbtop exception tick count wrong for nested instructions HOT 1
- Weird help message for the orbtrace -T option HOT 1
- Loosely formatted orbcat output specification doesn't result in output HOT 1
- Package binaries along with releases HOT 1
- Orbuculum fails to connect to J-LINK GDB Server on Windows. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from orbuculum.