Load Memory Error in CW Starcore 2.7.3

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Load Memory Error in CW Starcore 2.7.3

2,226 Views
gtg927p
Contributor I
As the title suggests, I'm running CW Starcore 2.7.3.  I have a CW USB Tap that is used to debug a MSC7116 chip.  After loading the debug code, I attempt to load raw data into some free memory.  I have the correct memory address, size, file name, etc. as confirmed on another computer.  However, when I attempt to make the write, I get a "Memory write verification failed" error, then a "Load Memory failure."  The rest of the message says:
 
Error:  Writemem on target failed.
Address:  0x20400000
Size:  0x400
 
An interesting note is that no matter the size (in this case, I had 111524 for the size), the error message will always return 0x400 as the size.  Any suggestions?
 
Thanks for your help in advance.
Labels (1)
0 Kudos
3 Replies

269 Views
CrasyCat
Specialist III
Hello
 
This message seems to indicate that your board is not configured properly.
Actually the debugger is not able to write to address 0x20400000.
 
Can you check the following:
  - Are you using the appropriate register configuration file?
    This file is specified in the "SC Debugger Target" panel from the "Target settings" dialog.
  - Are you using the appropriate memory configuration file?
    This file is specified in the "Remote Debugging Options" panel from the "Target settings" dialog.
If you have a PC where this was working, please check which files are specified there and also check the difference between these files and the one you are using on the new Host.
 
I hope that helps.
 
CrasyCat
0 Kudos

269 Views
gtg927p
Contributor I
Thanks for the reply and sorry about my delayed response.
 
The memory address should correspond to external DDR memory, but I get the same error when attempting other memory locations.  In the error message, the address is correct, but the size always reads 0x400.
 
The appropriate register configuration & memory configuration files are there and correspond to the other PC.  Could it have anything to do with the USB Tap or how its configured?
 
Thanks again.
0 Kudos

269 Views
CrasyCat
Specialist III
Hello
 
Did you check the document
     {Install}\Release_Notes\StarCore_Notes\Debugger_Notes\MSC711x_Release_Notes.txt?
There are some known issues when debugging on MSC711x boards.
 
If this does not help, I would recommend you to submit a service request for that.

Click here to submit a service request.
CrasyCat
0 Kudos