Hi ,
Is there Any way to Compile MSP430FR6989 Code Without CCS in linux machine?
I Have gone through the Steps Provided On Net. But Didn't Found suitable Working Step.
Thanks,
Hinesh
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.
Hi ,
Is there Any way to Compile MSP430FR6989 Code Without CCS in linux machine?
I Have gone through the Steps Provided On Net. But Didn't Found suitable Working Step.
Thanks,
Hinesh
Hi Ryan Brown1 ,
I don't won't to use any IDE's that are there. I just wanted to use Plaing VIM Editor in linux and Wanted to Compile and Dump to my MSP430FR6989 with debug enable.
A Little Edit..
I am having my EVM connected with USB to My Linux Machine. As per Above mentioned steps , After Following Those steps, I am still not able to Compile nad Download My Program to EVM of MSP430FR69xx .
Thanks,
Hinesh
Hinesh,
Can you describe your setup and the exact problem you are encountering?
Regards, Ryan
Hi Ryan Brown1,
Is there any commands that runs in Linux Terminal or command line to compile the MSP430FRxxxx Program and can dump that program to EVM??
Thanks,
Hinesh
Hi Hinesh,
Here is a sample command (invoked under my Code::Blocks - but it doesn't matter, may be typed in terminal prompt):
msp430-elf-gcc -c -g -Os -Wall -ffunction-sections -fdata-sections -I/home/drvlas/ti/gcc/include -c ../../prg/01-11/main/2-data.c -o obj/Debug/prg/01-11/main/2-data.o
It is the compiling of a file 2-data.c
The same commands are invoked for all other files, then ,sp430-elf-gcc with a -L option is invoked - to link all object modules in ELF output file.
Then I use:
mspdebug -n rf2500 "prog brd-01-11.elf"
command to dump it to target (FRAM-based) MCU.
So the answer to your question is YES. But you have to study GCC. Personally I don't know the topic - and don't need to, I just use IDE.
Regards,
Yury
Hi Hinesh,
It looks as if you mix 2 (practically) different questions: program compilation and code loading.
What do we have in compilation step on Linux machines?
1) CCS or IAR - standard TI solutions (AFAIK Keil supports a lot of MSP MCUs too). Limited C-programs size, OK.
2) MSPGCC, now the joint TI-Red Hat OPENSOURCE. The command line tool, suits your demands.
It is highly improbable that new MSPGCC does not support your chip. Make it clear, please. Because the MSPDEBUG files have nothing to do with it.
And now about loading the binary file. Options:
1) IDE. Maybe it is sensible to try CCS for loading file, compiled with mspgcc. CCS have a limit of 16K for compilation, not load.
2) command line MSPDEBUG
3) BSL
Maybe MSPDEBUG does not support your highly new chip. But you can try to substitute another type of MCU (--fet-force-id option). Or turn to Daniel Beer, the author of MSPDEBUG. He is opened for a co-operation.
Anyway, BSL is a universal method. I have not used it - no need, but you have this option. And Ryan puts it clearly.
Regards,
Yury
**Attention** This is a public forum