This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: Code Composer Studio
Hi,
I am new to this board and the software stack.
I got the board recently and start to try it.
First, I tried the online ccs cloud, with the project zero. Everything compile but asking to load firmware
OK, I let it update
But even after the update firmware, it still failed to load.
And a little more message shows: File Loader: Memory write failed: Timed out waiting for target flashloader to execute command.
I searched around and found that the SmartRF Programmer can be used to load the firmware. So after install it, I started the smartRF programmer, and it ask me update firmware again:
After select yes there, the smartRF flash programmer can load the hex I downloaded from the cloud successfully.
And after this successfully loaded, I can find the project zero through bluetooth on cellphone and computer as well as control the led, read out the button and stream strings.
But one thing I noticed is if I let the smartrf programmer to only verify instead of erase/program/verify, it will fail at address 0x0001E000, page 30. While if I do let it erase/program/verify the page 30 pass.
Since it seems it can load the code and run on the hardware, but not through the cloud. I start try to install a local copy of CCS9.1.0. There from the examples I didn't find the project zero, instead there is a cc2640 launch example and import the project portable_CC2640R2_LAUNCHXL_tirtos_ccs and again it build ok.
But when I want to debug it, it want to update again:
OK, I let it update, but it actually has two update requests
And after all the update, it fail me again.
On the SmartRF flash programmer, there is a mess erase function, and based on the FAQ can unbrick the board. So I tried with it. After several try, I got one single chance to go to debug the code. The procedure must be:
SmartRF flash programmer update firmware
SmartRF flash programmer mess erase
SmartRF flash programmer load the .out file from the local CCS build
Local installation of CCS update firmware
Local installation of CCS try to go to debug mode and load error
Local installation of CCS try to go to debug mode again and it can go there
but that luck only help once, next time I try to go to debug mode after stop the previous debug, it tell me load error again.
One thing might worth notice is even when it successfully goes into debug mode, it still have the memory error
I am really confused here, can somebody help me out ?
Thanks,
Hello,
The fireware update issue issue is a known one. Please see the thread below:
https://e2e.ti.com/support/tools/ccs/f/81/p/822424/3044382#3044382
Thanks
ki
G.H. said:On the SmartRF flash programmer, there is a mess erase function, and based on the FAQ can unbrick the board.
Regarding Mass Erase, there should a MassErase option in CCS under the 'Scripts' menu when in a debug session. Does that option work for you?
The fact that you get memory map read errors and data verification errors leads me to believe that there is some configuration problem with your application. There are many potential causes of these. The below article is a good primer on data verification errors and how to correctly diagnose them
http://software-dl.ti.com/ccs/esd/documents/troubleshooting-data_verification_errors.html
Thanks
ki
Hello,
I haven’t heard back from you, hence this issue is being closed. If you wish to continue the discussion, please post a reply with an update below (or create a new thread).
Thanks,
ki