I was using the evalution ultimated version of DS5 studio. To try and play, I chose the R52 sample program to import.
Follow the DS-5-Workspace/startup_Cortex-R52/readme.html, I didnt get error when build and debug configuration. But after start debugging and run the debug, it always stuck into the same place without getting into main function.
''
Starting target with image /home/caoj/DS-5-Workspace/startup_Cortex-R52/startup_Cortex-R52.axfRunning from entry pointwaitExecution stopped in SVC mode at N:0x00000000N:0x00000000 69,0 LDR PC, EL2_Reset_Addrbreak -p "/home/caoj/DS-5-Workspace/startup_Cortex-R52/startup.s":206Breakpoint 2 at N:0x00002890 on file startup.s, line 206condition 2break-script 2 ""ignore 2 0break-stop-on-cores 2unsilence 2Breakpoint 2 unsilencedadd-symbol-file "${workspace_loc:/startup_Cortex-R52/startup_Cortex-R52.axf}" N:0ERROR(ITR575): Symbols for image /home/caoj/DS-5-Workspace/startup_Cortex-R52/startup_Cortex-R52.axf are already loaded at offset N:0x00000000waitcontinueinterruptExecution stopped in UND mode at N:0x000000A0N:0x000000A0 149,0 B EL1_Undefined_Handler
I tried do it on console, it is successful to print out the result same as the readme.
$ FVP_BaseR_Cortex-R52x1 -a startup_Cortex-R52.axfterminal_2: Listening for serial connection on port 5004terminal_3: Listening for serial connection on port 5005terminal_1: Listening for serial connection on port 5006terminal_0: Listening for serial connection on port 5007ERROR: Default Memory Map Error: Invalid json format.
Cortex-R52 bare-metal startup exampleFloating point calculation using the software floating point library (no FPU)...Float result is 0.937500Float result should be 0.937500Insertion sort took 3 clock ticksShell sort took 5 clock ticksQuick sort took 0 clock ticks
Can anyone help me on this issue, thanks.
Hi Peter, glad this is working for you. Was this a one-off, or does it happen repeatedly? The debugger should terminate the FVP executable upon disconnect.FWIW, DS-5 is an older toolchain, and technically does not support 18.04. If you are currently evaluating tools, I would recommend you look at our new Arm Development Studio, which is the best choice going forwards. You can download a 30-day evaluation from here (and this does officially support 18.04).Happy to answer any questions you may have - feel free to send me a private message if more appropriate.