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: |
Replies: 14 comments 4 replies
|
Maybe check the |
|
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 |
|
Debugger console: GNU gdb (xPack GNU Arm Embedded GCC x86_64) 13.2.90.20231008-git |
|
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 |
|
registry viewer plugin doesn't show anything |
|
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. |
|
No errors. |
|
What about with |
|
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? |
|
svd file from ST (Cube) |
|
Maybe try validating the SVD file using the arm tools? |
|
Thank you! It works! |

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