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.

LAUNCHXL-F28069M: Launchxl-F28069M configuration problem.

Part Number: LAUNCHXL-F28069M
Other Parts Discussed in Thread: CONTROLSUITE

hi, i am working with a launchxl-F28069M recently, but there are some things that i still dont understand. In the launch guide it says that if the TRSTn (number 3 in S1) is in the down position it will not connect with the debugger, then i put in up position. when i charge a program, it loads correctly but if i reset the launchpad with the reset buttom it starts running the program demo, why? so my program its not saved in the launchpad?

Another thing is, in many source codes that im developing, i need to see some variables in use, as the procces is not time critical i choose to see by console using the "printf" instruccion, supported by C language, but it sends me an error in the 28069_RAM_lnk.cmd file, and i dont have any idea of why. why is that? i have to do any additional configuration?

All the helps are welcome, thanks and regards.

 

Eliomar Conde.

  • Hi Eliomar,

    If you're using RAM_link.cmd file, that means the code is run and stored in ram, after the power off/reset the device, then the data in ram will be lost, that makes you see the original demo code run.

    If you would like to store the code in flash, that will makes your apps code run automatically after reset or power off/on the device. You have to add F28069.cmd(The file can be found in C:\ti\controlSUITE\device_support\f2806x\v151\F2806x_common\cmd)to your project and make sure the InitFlash function is executed.

    Hope it helps.

    Regards,
    Jack
  • Eliomar,

    Using printf is not recommended. It requires a very large chunk of source code to implement and your program may not fit in memory.

    Instead, try to use less intrusive tools like breakpoints, single-stepping, memory browser, and expressions window to monitor variable values.

    -Tommy
  • I tried this but i couldn't see the variables in use, i suppose i need more knowledge of this features. do you have any documentation that i can read for this?
  • Eliomar

    You should be using the expressions window to see values of variables set in our code. See the following wikis for learning how to use CCS:
    processors.wiki.ti.com/.../Category:CCS_Training
    processors.wiki.ti.com/.../CCS_Fundamentals_Workshop

    Best regards
    Chris