AnsweredAssumed Answered

Cannot debug internal RAM DS-5 Vybrid projects.  External RAM works.

Question asked by David Thedens on Jul 24, 2014
Latest reply on Jul 25, 2014 by David Thedens

using 4.1.0.1

DS-5 5.19

using TWR-VF65GS10 dev board

I can build hello world or other projects and choose internal RAM or external RAM debug

external RAM works

internal RAM gives error something like this.

 

Stopping running target Freescale - Vybrid VF6xx on TCP:localhost on connection

Connected to running target Freescale - Vybrid VF6xx on TCP:localhost

Execution stopped at: S:0x8003984C

loadfile "C:\Freescale\Freescale_MQX_4_1\usb\host\examples\hid\keyboard\build\ds5\hid_kbd_twrvf65gs10_a5\Int Ram Debug\hid_kbd.axf"

S:0x8003984C   MOV      pc,lr

Target Message: Memory access caused precise abort.

Debug Precise Abort Registers : DFSR = 0x00000805, DFAR = 0x3F000000

ERROR(CMD16-TAD274-NAL18):

! Failed to load "hid_kbd.axf"

! Failed to write 105,808 bytes to address S:0x3F000000 while writing block of 4,096 bytes to address S:0x3F000000

! Bus error on memory operation.

cd "C:\Users\dthedens\Documents\DS-5Workspace2"

Working directory "C:\Users\dthedens\Documents\DS-5Workspace2"

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

core 1

Current core is 1 (ID 1) - stopped in [S:0x8003984C]

Outcomes