Tool/software: Code Composer Studio
I'm trying to use a MSP430 as a emeter and for beggining I want to start using the SLAA517e example but I NEED to use Code Composer. Is there any project equals to slaa517e that I can use? I really need this.
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
I'm trying to use a MSP430 as a emeter and for beggining I want to start using the SLAA517e example but I NEED to use Code Composer. Is there any project equals to slaa517e that I can use? I really need this.
Caleb Overbay said:Hi Vladson,
You can use the same source files in the software provided in SLAA517e in CCS. Their may be some slight modifications in terms of compiler pragmas which I can help you with when you come across them. I would start by creating a new CCS project and adding the source files, then trying to build. I'm happy to help with any issues you may encounter.
Best regards,
Caleb Overbay
Caleb,
Thanks for the reply. I did what you said, just added the files from SLAA517e in a new project and tried to build it. The compiler showed 3038, more than the error bar can show. What should I do? I have another project that my training supervisor gave to me that is basically the same thing I did, a IAR project copy-pasted on CCS, with just 32 errors, what is the difference between them?
Hi Caleb,
So, this code is part of a project my training supervisor made and my work is to fix this erros and add some features not implemented yet. We're using the free license of both IDE and they just compile programs with a maximum size. IAR give less space than CCS, and our code need this extra size to work and he chose to try it on the freeware of CCS.
Vladson Henrique.
Hi Vladson,
Assuming you have converted all the .s43 files correctly there will still most likely be keywords that are specific to IAR in the code. This shouldn't be too hard to fix though. The first thing I would attempt is to build the library. As I stated previously, two projects need to be compiled; a library project and then the project that gets loaded onto the MSP430 that utilizes the library.
Lets start with the library:
Best regards,
Caleb Overbay
Hi Valdson,
Our team is working on updating these files and we've recently ported the .s43 files to .asm format. Please see the attached zip file and let me know if you have any questions.
Best regards,
Caleb Overbay
Hi Caleb,
First I want to apologize again for taking too long to respond.
The file you sent me just contain 9 of 22 files that need to be converted. The following ziped file contain all the files that still need conversion. I'm trying to do this by myself using the already converted files as base, but it's being a task quite hard to me.
Att.: Vladson Henrique
Hi Caleb,
I've done most part of the conversion but I got stuck in one code that I couldn't find anything on the converted files you sent me to guide me.
Can you convert it? One part of the code I knew I have to change but I don't know how.
mul48(int32_t x, int16_t y) public mul48 extern ?Mul32Hw .text mul48
Thanks for helping me,
Att.: Vladson Henrique
Hi Caleb,
I have found other problem on my conversion:
.if ($defined(__MSP430_HAS_MPY__) || $defined(__MSP430_HAS_MPY32__))
I don't know how to do this "OR" operation in the .if $defined, can you help me with this?
Hi Vladson,
I spoke with the team responsible for these files and they mentioned that they are not going to be using the mul48.asm file in the updated library. Instead you can find the most up-to-date files in the attached zip.
Additionally, you should change the code from:
.if ($defined(__MSP430_HAS_MPY__) || $defined(__MSP430_HAS_MPY32__))
to:
.if $defined(__MSP430_HAS_MPY__) | $defined(__MSP430_HAS_MPY32__)
Best regards,
Caleb Overbay
**Attention** This is a public forum