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 everyone,
Recently, I imported CTPL module to my project, but I found that it always fails to build due to the undefined "DMA0CTL_L" valuable in "ctpl_low_level_marcos.asm".
However, there's only "DMA0CTL" but no "DMA0CTL_L" in user guide.
Therefore, is there any possible that it's a typo or something I misunderstood ?
Please let me know if there's something I miss.
Thanks for your reading!
Best wishes,
Chouying Hsieh
Hi,
It should stand for low byte(bit[0:7]) of the DMA0CTL, since the instruction is clr.b
Hi Wei,
Thanks for your response.
Actually I'm just import CTPL module following by user guide.
First, it can't pass the compile due to the undefined DMA0CTL_L, so I modify it to DMA0CTL and pass the compile.
To my surprise, once I change DMA0CTL back to DMA0CTL_L in ctpl_low_level_macros.asm, it just pass the compile and can load to my launchpad.
Could you please tell me how to justify if the function I used is correct or not.
Thanks!
Best wishes,
Chouying Hsieh
Hi Wei,
I've just found the solution on E2E
Sorry for bothering you so much!
The link is the solution https://e2e.ti.com/support/microcontrollers/msp430/f/166/t/873667?tisearch=e2e-sitesearch&keymatch=ctpl
I find that it's indeed the mistake or typo, cause the solution just commit "clr.b DMA0CTL_L" and using "clr.w DMA0CTL".
If this really solve this issue, please update the package in official website http://www.ti.com/tool/MSP-FRAM-UTILITIES
Just in case other users will have same problem.
Best wishes,
Chouying Hsieh
**Attention** This is a public forum