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.
Part Number: RM41L232
Tool/software: Code Composer Studio
We are trying to load the release FW version in a RM41L232 microcontroller using CCS and we are having problems with it. We are using the XDS200 USB programmer, we have generated the hex or out files with the code composer and load them with the UNIFLASH program version 4.3.1 but unsuccessfully. When we load the release version it does not give any fault in the programming or in the verification but the equipment does not do anything (not a simple blink of a led). Could you give us any idea of where the fault is? If you need more information please request us anything.
To have another reference point, does the same program (.out) run as expected when loaded using CCS?
Please click This Resolved My Issue if the reply answers your question.
Search the wikis for common questions: Compiler, CCSv6, CCSv7Track a known bug with SDOWP. Enter the bug id in the "Find Record ID" box
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to AartiG:
The (.out) and the (.hex) do the same thing, when uploaded the system remains inoperative.
In reply to Marcos Martinez:
Marcos MartinezThe (.out) and the (.hex) do the same thing, when uploaded the system remains inoperative.
We need to isolate if the issue is with the tool (Uniflash) or the firmware code. To that end I was asking whether you are able to load and run the code successfully using CCS instead of Uniflash (to help isolate if the issue is specific to Uniflash).
And as Sunil suggested, are you able to load and run the "Debug" version of the firmware code successfully? How about other programs?
In reply to Sunil Oak:
Marcos MartinezIf we load the Debug version with CCS it works OK, but we have been not able to make a (.hex) and load it with Uniflash succesfully.
How about if you load the .out file (instead of .hex file) using Uniflash? Does that work? If it works, then the issue could be in the hex conversion process.
Marcos MartinezWe don't have any other program to load with Uniflash and try, do you have a simple test program to try loading it?
Sunil, do you have a known good example program for this target device that they could try with Uniflash?
Can you please upload the CCS project that you are using to try to blink the LED? I can look at the configuration options and see if a compiler optimization is causing the pin toggle code to be optimized out.
The issue is not with loading / verifying the code with CCS or Uniflash. It is just that the code does not do what is expected after programming.
The difference is between the "Debug" and the "Release" versions of the compiled output. Do you know what optimization levels are automatically enabled when going from "Debug" to "Release" configurations in a given CCS project?
Sunil OakDo you know what optimization levels are automatically enabled when going from "Debug" to "Release" configurations in a given CCS project?
That depends entirely on the project as the options are fully customizable. However, for a default Cortex R project created using the CCS New Project wizard, the "Debug" configuration has no optimization and "Release" has -o2 optimization.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.