The Morello Edition of Development Studio user guide states: “If you are debugging code on the Arm Morello System Development Platform, you can either use the embedded debug probe on the board, or you can attach one of the supported debug hardware probes.”
How do you use the embedded debug probe on the board to connect to Development Studio for bare-metal development and debugging? And what are the steps to follow?
A USB debug cable to the host computer came with the Morello hardware. I have used this to talk to the com ports and set up time/date as per the set up instructions. Is the embedded debug accessed via this same cable?
Also to set up a hardware debug connection (instead of model connection to FVP) in Development Studio, it seems to require hardware packs to be downloaded, is there one available for Morello?, is it required for the embedded debug?
Many thanks
Thank you, I followed the steps but it seems there is "unsupported ELF file" issue
I used the following commands to create the elf file:
$TOOLCHAIN/bin/clang -target aarch64-none-elf -c $PROGRAM_NAME.c -o $PROGRAM_NAME.o -O3 -g$TOOLCHAIN/bin/ld.lld -o $PROGRAM_NAME.elf -T link_scripts.ld.S $PROGRAM_NAME.o -s
Where "TOOLCHAIN" leads to "baremetal-release-1.4" branch of llvm-project-releases. I'm using ARM Development Studio version 2022.0M0 (build 202200006).
Do you know what may be the reason for this error?
Hi MichalIt looks like you have accidentally connected to the Cortex-M3 core, and are trying to download an AARCH64 image to it. That won't work :) Try connecting to the Morello core 0 instead.Stephen