i use ARM develop studio 2021.2, debug by dstream.
when i connect the rasperry PI4 . it report this error message:
Unable to stop device Cortex-A72_0Cannot attain state requested.Unable to stop device Cortex-A72_0
config.txt
[pi4]kernel=loop.bin
[all]arm_64bit=1 #enable 64bit imageenable_uart=1 #enable pl uartuart_2ndstage=1 #enable FW debug info
enable_jtag_gpio=1gpio=22-27=a4init_uart_clock=48000000init_uart_baud=115200#kernel_old=1 # if we set it, the image will be load at 0x0, otherwise the 64bit image will be load on 0x80000#disable_commandline_tags=1 #Fix me, when set it, the image will be load on 0x0 ?
hi Stephen:
thanks you very much
1. I have selected the configdb for Rasperrby Pi4
2. my config.txt contains arm_64bit=1 and enable_jtag_gpio=1, because my code is running at 0x8000, so i do not cantains kernel_old=1 and disable_commandline_tags=1
3. I put my program in that raspberry pi and it works
4、I use openocd and jlink on ubuntu is debuggable