Why do I see the message "Failed to load "dual_core_ds5.axf"" when using DDR?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Why do I see the message "Failed to load "dual_core_ds5.axf"" when using DDR?

ソリューションへジャンプ
3,913件の閲覧回数
maxkotula
Contributor I

I followed the instructions in the "Vybrid DS-5 Getting Started Guide" on how to setup an example project in ARM DS-5 to have the tower board use the DDR. I got this working but then decided to add #include "arm_math.h" to the vectors_m4.c file and got the below error:

ERROR(CMD16-TAD274-NAL20):

! Failed to load "dual_core_ds5.axf"

! Failed to write 11,088 bytes to address S:0x80000000 while writing block of 4,096 bytes to address S:0x80000000

! Verify error on memory operation.

I deleted the #include "arm_math.h" and I still get this error. I checked my file system and see the .axf file at the location used by the "loadfile" command. Is this a bug in ARM DS-5?

タグ(4)
1 解決策
2,465件の閲覧回数
maxkotula
Contributor I

This issue was resolved by the fix suggested by the freescale support engineer from a support ticket I submitted. See below:

First of all accept our apologies for the delay,we have been swamped.

Let me see if I get this correctly.

  1. 1.- You were able to debug and load an applicaion with the DDR correct?
  2. 2.- But sometimes you are not able to connect to the device. Just after disconnecting the debug session.

We have seen this problem many times, it is related to CMSIS DAP and DS-5.

And it was even more frequent in DS-5 v 5.15. In case you are using this verion please  locate the file

  ..../Program Files/DS-5/sw/debugger/configdb/Boards/Freescale/Vybrid VF6xx/rddi-dap-cfg_osda_cmsis_vybrid.txt

and in section [cmsis-dap-cfg] change

  Clock=1000000

to

  Clock=500000

Thanks,

Max

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
2,466件の閲覧回数
maxkotula
Contributor I

This issue was resolved by the fix suggested by the freescale support engineer from a support ticket I submitted. See below:

First of all accept our apologies for the delay,we have been swamped.

Let me see if I get this correctly.

  1. 1.- You were able to debug and load an applicaion with the DDR correct?
  2. 2.- But sometimes you are not able to connect to the device. Just after disconnecting the debug session.

We have seen this problem many times, it is related to CMSIS DAP and DS-5.

And it was even more frequent in DS-5 v 5.15. In case you are using this verion please  locate the file

  ..../Program Files/DS-5/sw/debugger/configdb/Boards/Freescale/Vybrid VF6xx/rddi-dap-cfg_osda_cmsis_vybrid.txt

and in section [cmsis-dap-cfg] change

  Clock=1000000

to

  Clock=500000

Thanks,

Max

0 件の賞賛
返信
2,465件の閲覧回数
brieuc
Contributor II

Hello

I'm facing the same issue with ARM DS-5 v5.18, I tried several Clock values with no success. I get the following error :

ERROR(CMD16-TAD274-NAL20):

! Failed to load "Helloworld_CA5.axf"

! Failed to write 19 340 bytes to address S:0x80000000 while writing block of 4 096 bytes to address S:0x80000000

! Verify error on memory operation.

I also tried to write on the DDR using the memory tool. I'm able to read it and sometimes to write some zeros but most of times i get an error :

ERROR(TAD11-NAL20):

! Failed to write 4 bytes to address S:0x80000028

! Verify error on memory operation.

memory set S:0x80000054 0 {(unsigned char)0x00,(unsigned char)0x00,(unsigned char)0x00,(unsigned char)0x00}

ERROR(TAD11-NAL20):

! Failed to write 4 bytes to address S:0x80000054

! Verify error on memory operation.

memory set S:0x80000040 0 {(unsigned char)0x00,(unsigned char)0x00,(unsigned char)0x00,(unsigned char)0x00}

memory set S:0x80000058 0 {(unsigned char)0x00,(unsigned char)0x00,(unsigned char)0x00,(unsigned char)0x00}

ERROR(TAD11-NAL20):

! Failed to write 4 bytes to address S:0x80000058

! Verify error on memory operation.

memory set S:0x80000050 0 {(unsigned char)0x00,(unsigned char)0x00,(unsigned char)0x00,(unsigned char)0x00}

memory set S:0x800000BC 0 {(unsigned char)0x00,(unsigned char)0x00,(unsigned char)0x00,(unsigned char)0x00}

ERROR(TAD11-NAL20):

! Failed to write 4 bytes to address S:0x800000BC

! Verify error on memory operation.

memory set S:0x80000098 0 {(unsigned char)0x00,(unsigned char)0x00,(unsigned char)0x00,(unsigned char)0x00}

ERROR(TAD11-NAL20):

! Failed to write 4 bytes to address S:0x80000098

! Verify error on memory operation.

Do you have any idea on the origin of this issue ?

Thanks

Brieuc

0 件の賞賛
返信
2,465件の閲覧回数
timesyssupport
Senior Contributor II

Hello Max,

We have heard of issues when using DS-5 5.17 with building MQX projects; it may not be related to what you are experiencing, but we would recommend using DS-5 5.16 for now.

I was unable to locate the sample project you reference - can you share its source, or upload the sample project with your modifications?

Thanks,

Timesys Support

2,465件の閲覧回数
karina_valencia
NXP Apps Support
NXP Apps Support

timesyssupport can you  help to attend this case?

0 件の賞賛
返信