Hi there,
I'm developing a bare metal software on ARMv8 and encounter some issues and wanted to debug the code. I downloaded DS5, I'm not sure if that's community edition or not, and seems like there's a license issue when I trying to use it as 30-day eval. I can't take a screenshot at the moment, which seems like another issue that I couldn't log in my account via DS5.
Is there any one know if there's still a community edition DS5 available somewhere?
Thanks
fs
Hi bothYes, you can debug executable code generated by gcc or clang (or any other Arm toolchain that generates ELF/DWARF images) using the Arm DS Debugger.In both your cases, where code execution does not proceed as expected, perhaps some exception has occurred. Are you running/debugging code on an FVP model, or on real hardware?If running on a FVP model of an Armv8-A core, ensure that "-C bp.secure_memory=false" is added as a parameter when launching the model. Take a look at the supplied Examples for usage of this parameter. Also, check that you have loaded your code into the correct/expected area of memory, and that area of memory allows code to be executed there (e.g. is the MMU on or off?)Perhaps an exception is occurring (e.g. when trying to execute Neon instructions, but the FPU is not enabled, or the current EL configuration forbids it). Suggest you try enabling exception traps - in the Breakpoints view, select Manage Signals, enable all exception traps, then run again. Any exceptions will be shown in the Commands view.If your target supports "trace", capturing the history of instruction execution can also sometimes reveal unexpected run-time issues.Hope this helpsStephen