This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

GPIO manipulation on A55 core of IMX93 with JTAG

I'm working on a custom board using an NXP IMX93 (which contains an A55 core).

Using JLink and this script I can connect

I am able to connect to it with JTAG and can get some output:

However, I'm trying to read certain input GPIO lines, and write to certain output GPIO lines but only seem to get a value of zero. And when I attempt to write to a port set, port clear such as at 47400000h it seems to have no effect. Could this be due to the exception level? I'm currently at EL3 and secure state is Secure. 

Current exception level: EL3
Exception level AArch usage:
EL0: AArch32
EL1: AArch32
EL2: AArch32
EL3: AArch64
Non-secure status: Secure

I realise the A55 is intended to boot from a secure image and not really meant for bare-metal development, but such a simple task would surely be possible somehow? And if GPIO can be addressed, some IC2 comms would also be useful.

I am able to build and deploy a linux images for an EVK board built with Yocto ok, but I'm not yet certain the external SRAM, Flash or even the USB port is quite functioning correctly on our board, otherwise using UUU and Uboot would be the obvious option.

0