Hi,
I am trying to build and debug pingpong demo of the MQX using DS-5 in windows. When I started a debug session after build , I got following errors during loading to image tower board. How can I fix this
Thanks
Zeki
Signals handled by operating system
Connected to stopped target Freescale - Vybrid VF6xx on TCP:localhost
Execution stopped at: 0x3F006716
0x3F006716 MOVS r0,#2
set substitute-path "C:/Users/drebar01/Documents/Projects/Vybrid/WS_Vybrid_MQX/Vybrid_M4_BareMetal/" "C:\Users\drebar01\Documents\Projects\Vybrid\WS_Vybrid_MQX\Vybrid_M4_BareMetal\"
loadfile "C:\Freescale\Freescale_MQX_4_1_Vybrid\mqx\examples\hello\build\ds5\hello_twrvf65gs10_m4\int ram debug\hello_twrvf65gs10_m4.axf"
ERROR(CMD16-TAD274-NAL22):
! Failed to load "hello_twrvf65gs10_m4.axf"
! Failed to write 104.508 bytes to address 0x3F000000 while writing block of 4.096 bytes to address 0x3F000000
! General error on memory or register access.
cd "C:\Users\c001\Documents\DS-5 Workspace2"
Working directory "C:\Users\c001\Documents\DS-5 Workspace2"
set debug-from main
start
WARNING(CMD399-COR168):
! Failed to start the target
! No function named "main" could be found
WARNING(CMD407): Trying the entry point instead
ERROR(CMD426): Cannot find symbol to start or entrypoint, the file or load commands may be used to set the entrypoint
wait
break -d -p "C:\Users\drebar01\Documents\Projects\Vybrid\WS_Vybrid_MQX\Vybrid_M4_BareMetal\src\main_M4.c":44
WARNING(CMD452-COR167):
! Breakpoint 1 has been pended
! No compilation unit matching "C:/Users/drebar01/Documents/Projects/Vybrid/WS_Vybrid_MQX/Vybrid_M4_BareMetal/src/main_M4.c" was found
condition 1
break-script 1 ""
ignore 1 0
break-stop-on-cores 1
unsilence 1
Breakpoint 1 unsilenced
wait
continue
alejandrolozano are you able to help?
Sure Karina,
Zeki, I would start trying to download the ping pong demo first with the debugger and not loading Linux of the A5 and make sure that the demo starts correctly.
Do you have access to this link?
https://linuxlink.timesys.com/docs/wiki/engineering/userguide_vybrid_mcc#Building
It contains the steps to build and test the ping pong demo.
Best Regards,
Alejandro
hzekierdogan@hotmail.com did you get previous comment?
Yes, But I couldn't find time to look this issue yet.
Thanks