I am attempting to port an app from boot-from-RAM to boot-
from-flash using CCSv4 on an F2812 board I designed using
the ezDsp as a template. I got one of these to work last
week, but involved my own code only. This integrates code
from my fellow programmer which has many more user-defined
sections than my prior attempt.
It took forever to overcome all the build errors, but when I
finally tried to launch the debugger it terminated in an
error message (I retrieved this after the fact from the
error log):
]
] eclipse.buildId=4.2.4.00033
] java.version=1.5.0_14
] java.vendor=Sun Microsystems Inc.
] BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
] Command-line arguments: -data C:\CodeComposer2 -os win32 -ws win32 -arch x86
]
] Error
] Wed May 02 11:41:33 EDT 2012
] Error: C28xx: Flash Programmer: Error erasing Flash memory.
]
I clicked a button that allowed it to halt and tried again.
The second attempt ended in:
]
] eclipse.buildId=4.2.4.00033
] java.version=1.5.0_14
] java.vendor=Sun Microsystems Inc.
] BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
] Command-line arguments: -data C:\CodeComposer2 -os win32 -ws win32 -arch x86
]
] Error
] Wed May 02 11:41:33 EDT 2012
] Error: C28xx: Flash Programmer: Error erasing flash memory.
] Device is locked or not connected. Operation cancelled
]
Now any time I attempt to load an app that uses flash, or L0
or L1 SARAM it dies with "Data verification failed at
address ...". The addresses I checked on were in L1SARAM.
I can still load and run apps that place all code & data in
the H0SARAM, and followed another posting on this forum
indicating I could look at the addresses in 0x3F7FF8-
0x3F7FFF in the data space using the Memory window. They all
read back as 0000.
Refreshing the display of those words and running a script
from Scripts >> Code Security Module >> Unlock_CSM have no
effect.
1. Have I exhausted all opportunities for salvaging my DSP
board?
Worst still, if the passwords have unknown values in them, I
have no idea how they got there, nor how to keep from doing
it again. At $570 a board (and we only have 2 left) I can
ill afford this category of education.
I have uploaded the linker command file here:
- http://my.execpc.com/~bookworm/Profession/LockCsm_cmd.html
should anyone care to take a look at it. I can't think of
anything else to volunteer (That was not its original name).
Advance thanks for any money you can save my employer.