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.
Greetings.
To this point, I have been able to flash my device via CCS 5.2.1 using Blackhawk and USB100v2. I have since installed CCS v5.3 (along side, not replacing v5.2.1) but receive the following error when attempting to flash:
--------------------
CortexR4: Flash algorithm returned an error during Flash programming. Operation cancelled.
CortexR4: GEL: File: C:\ws\secondary\CO\Source\DCM\TMS570\Bootloader\Debug\Bootloader.out: Load failed.
CortexR4: Unable to terminate memory download: (Error -1003 @ 0x2BC5) Internal error: Invalid parameter passed to function. Restart the application. If error persists, please report the error. (Emulation package 5.0.872.0)
--------------------
Strange thing is that I can successfully flash the same binary from CCS v5.2.1.
Any ideas or suggestions?
Regards,
--John
Hi John,
Sounds like a bug with the flash programmer. I know it is a pain but any chance you can upgrade to CCSv5.4?
Thanks
ki
Hi Ki.
Upgraded to 5.4. Still unable to flash. Binaries built with any version of CCS cannot be flashed with CCS 5.3 and 5.4; but can be flashed with CCS 5.2.
Extremely frustrating. I need more help, please.
--John
John,
Unfortunately, we do not know of any known issue that might be causing of the issues you are seeing.
As the first step in debugging this, would it be possible for you to generate the DebugServer logs for the failing test case? (more instructions here: http://processors.wiki.ti.com/index.php/Troubleshooting_CCSv5#CCS_Diagnostic_Logs)
In the mean time, we will try to reproduce the problem on our end. But we might not have the LS1227 device in the office.
Thanks,
Ricky
John,
Would it be possible for you to send me the program file you are loading to the target? This might help us in debug this issue. I fully understand if this is not possible on your end, so please don't hesitate to say no to my request. But if you are able to send it to me, please send it via email (r-lau@ti.com).
Thanks,
Ricky
Ricky:
Here is the attached DebugServer log file. Please let me know what you find.
--John
John,
Thanks for generating the DS logs. On initial look, I don't see anything suspicious yet. But I should be able to analyze it further tomorrow.
Btw, my co-worker was looking into this issue as well. He was able to get his hands on a LS1227 board, and was able to load programs to it without any problems. So something in your environment might be the cause of the problem, maybe the device you are using or the program you are loading? Not sure yet.
Do you have another program you can try loading to your device to see if it works or not? Or maybe a different device to test on?
Thanks,
Ricky
Ricky:
I have CCS 5.2, 5.3, and 5.4 installed on my box. 5.2 can flash with no problems. It's 5.3 and 5.4 that are unable to flash in my environment. The problem with using another program (say 5.2 or uniFlash) to flash is that I need the ARM 5 compiler, which is available on 5.3 and above. Once flashed, I need the ability to attach to and debug the application, which because of the compiler, is why I need 5.3.
Please let me know what you find; I am dead in the water right now.
Hi John,
John Esposito1 said:The problem with using another program (say 5.2 or uniFlash) to flash is that I need the ARM 5 compiler, which is available on 5.3 and above. Once flashed, I need the ability to attach to and debug the application, which because of the compiler, is why I need 5.3.
CCS comes bundled with a certain version of the compiler but it doesn't mean that you must use that version. You can have your CCSv5.2 install use the compiler that comes with v5.3 or any recent standalone compiler installation you may have.
http://processors.wiki.ti.com/index.php/Compiler_Installation_and_Selection
Thanks
ki
John,
Just to clarify, when I mentioned "another program", I meant another OUT file to load to the device. So, instead of loading Bootloader.out that was causing the problem, can you try loading another program? Are all OUT files causing the same problem under CCS5.3/5.4? How about standalone Flash Erase operations, do they work?
Also please note the suggestion that Ki suggest about switching compilers in CCS5.2. maybe this will enable you to continue development while we figure out the cause of the problem.
Thanks,
Ricky
Hi, We're multiple developers in my company experiencing this currently as well. Could you please prioritize this Bug, the error:
CCS Version: 5.4.0.00091
Win7 pro
Manufacturer | LENOVO | |
Model | 2349H2G | |
Total amount of system memory | 8,00 GB RAM | |
System type | 64-bit operating system | |
Number of processor cores | 2 |
BR, Carsten
Carsten,
Based on the error messages you posted, I am seeing that you are using a LM3S9DN6 device. If this is correct, the problem you are seeing is probably different from the one that John was seeing, even though the error message is the same. This is because different Flash algorithms are used for different device families.
And because of this, it might make more sense to start another thread so you get better visibility on your issue. In the new thread, please include the following information if you can.
1. You mentioned multiple developers are seeing this issue. Are they all using LM3S9DN6 devices?
2. Which emulator are you using?
3. Are you getting the same error on any program you are loading, or just specific ones? Also, it might be helpful if you can send us the OUT files that are causing problems; in case we need to reproduce on our end.
4. Do standalone Flash operations work? ie; try to launch a debug session, go to the On-Chip Flash view and performing an Erase operation, and see if it works.
Thanks,
Ricky
Hi.
Alrighty, started a new thread:
http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/p/285036/994285.aspx#994285
If you like you can just deleted me posts here.
BR, Carsten