Peripheral registry viewer plugin doesn't show anything #612
-
I run debugging via OpienOSD: Config options: Commands: SVD file: Debbuger: Peripheral registry viewer plugin doesn't show anything! OS: Eclispe: OpenOCD Plugin: |
Beta Was this translation helpful? Give feedback.
Replies: 14 comments 4 replies
-
Maybe check the |
Beta Was this translation helpful? Give feedback.
-
Ubuntu no longer supports arm-none-eabi-gdb. The repository contains only gdb-multiarch. There are also no more libncursesw.so.5 and libtinfo.so.5 libraries that arm-none-eabi-gdb requires. I created links to get arm-none-eabi-gdb working: sudo ln -s /usr/lib/x86_64-linux-gnu/libncursesw.so.6.4 /usr/lib/x86_64-linux-gnu/libncursesw.so.5 Perhaps this could be the reason. log for gdb-multiarch (works with cortex but peripheral registry viewer plugin doesn't show anything): !ENTRY org.eclipse.embedcdt.managedbuild.cross.riscv.core 4 1 2024-07-20 15:49:18.287 !ENTRY org.eclipse.embedcdt.managedbuild.cross.riscv.core 4 1 2024-07-20 15:49:18.324 |
Beta Was this translation helpful? Give feedback.
-
Debugger console: GNU gdb (xPack GNU Arm Embedded GCC x86_64) 13.2.90.20231008-git |
Beta Was this translation helpful? Give feedback.
-
Log: !ENTRY org.eclipse.embedcdt.packs.core 4 1 2024-07-20 23:33:14.963 !ENTRY org.eclipse.embedcdt.packs.core 4 1 2024-07-20 23:33:15.005 |
Beta Was this translation helpful? Give feedback.
-
registry viewer plugin doesn't show anything |
Beta Was this translation helpful? Give feedback.
-
I think that @ilg-ul means run Eclipse from a terminal shell console and then see what, if any, log/error messages you see there when you try to use the peripheral viewer. |
Beta Was this translation helpful? Give feedback.
-
No errors. |
Beta Was this translation helpful? Give feedback.
-
What about with |
Beta Was this translation helpful? Give feedback.
-
I think @ksrp1984 is right, Eclipse does not log anything related to the SVD file, at least not when everything is fine. The file is not used by gdb or by the debugger, it is only used by the Eclipse debug plug-in. If the peripheral viewer does not show anything, the first suspect is the SVD file, which might not be valid. Where did you get the SVD file from? |
Beta Was this translation helpful? Give feedback.
-
svd file from ST (Cube) |
Beta Was this translation helpful? Give feedback.
-
Maybe try validating the SVD file using the arm tools? |
Beta Was this translation helpful? Give feedback.
-
I created a new M0 project using the xpack template, I added the |
Beta Was this translation helpful? Give feedback.
-
Thank you! It works! |
Beta Was this translation helpful? Give feedback.
I agree that my SVD file is a bit older, so I don't know how well behaves the one you use.
Please try again with the same file I used and is known to work:
STM32F0x8.svd.zip