Please note: We are aware of an issue affecting replies on the Arm Community forums, which may not be loading as expected.

We apologize for any inconvenience and appreciate your patience while we investigate and work to resolve the issue.

Thank you for your understanding.


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

debug bare metal software on the Raspberry Pi 4 using Arm develop stdui by dstream

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_0
Cannot attain state requested.
Unable to stop device Cortex-A72_0

config.txt

[pi4]
kernel=loop.bin

[all]
arm_64bit=1 #enable 64bit image
enable_uart=1 #enable pl uart
uart_2ndstage=1 #enable FW debug info

enable_jtag_gpio=1
gpio=22-27=a4
init_uart_clock=48000000
init_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 ?

Parents
  • 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

Reply
  • 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

Children
No data