Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

st-trace read_trace error #995

Open
linuxguy123 opened this issue Mar 12, 2024 · 0 comments
Open

st-trace read_trace error #995

linuxguy123 opened this issue Mar 12, 2024 · 0 comments

Comments

@linuxguy123
Copy link

linuxguy123 commented Mar 12, 2024

board: Nucleo STM32F767
Clock frequency: 96 MHz.
image

Interface: onboard STLink

$ st-info --probe
Found 1 stlink programmers
  version:    V2J39S27
  serial:     066DFF574887534867083444
  flash:      2097152 (pagesize: 2048)
  sram:       524288
  chipid:     0x451
  dev-type:   STM32F76x_F77x

Host: Fedora 39 (See details below)

Driver:

$ dnf list stlink
Last metadata expiration check: 0:00:39 ago on 2024-03-12T10:53:04 MDT.
Installed Packages
stlink.x86_64                                                  1.8.0-1.fc39 

Issue:

me@workstation1:~$ st-trace --clock=96m
2024-03-12T10:54:21 INFO common.c: STM32F76x_F77x: 512 KiB SRAM, 2048 KiB flash in at least 2 KiB pages.
2024-03-12T10:54:21 INFO trace.c: Trace Port Interface configured to expect a 96000000 Hz system clock.
2024-03-12T10:54:21 INFO trace.c: Trace frequency set to 2000000 Hz.
2024-03-12T10:54:21 INFO trace.c: Reading Trace
libusb: error [submit_bulk_transfer] submiturb failed, errno=22
2024-03-12T10:54:21 ERROR usb.c: read_trace read error -1
2024-03-12T10:54:21 ERROR trace.c: Error reading trace (-1)

Also:

st-trace --clock=96m --trace=1m
2024-03-12T10:58:39 INFO common.c: STM32F76x_F77x: 512 KiB SRAM, 2048 KiB flash in at least 2 KiB pages.
2024-03-12T10:58:39 INFO trace.c: Trace Port Interface configured to expect a 96000000 Hz system clock.
2024-03-12T10:58:39 INFO trace.c: Trace frequency set to 1000000 Hz.
2024-03-12T10:58:39 INFO trace.c: Reading Trace
libusb: error [submit_bulk_transfer] submiturb failed, errno=22
2024-03-12T10:58:39 ERROR usb.c: read_trace read error -1
2024-03-12T10:58:39 ERROR trace.c: Error reading trace (-1)

Operating System: Fedora Linux 39
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.12
Kernel Version: 6.7.7-200.fc39.x86_64 (64-bit)
Graphics Platform: X11
Processors: 24 × AMD Ryzen 9 5900X 12-Core Processor
Memory: 62.7 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant