+ 1

Hi Everyone i need small help to make python scripts to remove dependencies

I m from embedded domain i m doing some personal projects for that i need some python scripts Every time i will change my code i need to burn the program to my development board using Programmer (Dependency) i dont wat do this for every time for that i need script i am thinking that i want to load program with out debugger (programmer) . Hints ; Take hex file that put it in my script When run that script it will get programm . Dats the aim of the script I think this is making sense.,.

28th Dec 2016, 1:19 PM
Ugra Narasimha
Ugra Narasimha - avatar
8 Answers
+ 2
you should give more particulars about the system you use to upload the code and your development board. the question as it is leads to a thousand possibilities
28th Dec 2016, 2:11 PM
seamiki
seamiki - avatar
+ 2
try this: import os os.system('cmd command to run') you'll have to substitute "cmd command to run" with the actual command you use to upload the hex file through MSP flasher
18th Jan 2017, 5:58 PM
seamiki
seamiki - avatar
+ 1
you could call from your script the comand line instructions used by CCS or an open source flasher alternative. look at MSP Flasher - Command Line Programmer http://www.ti.com/tool/msp430-flasher hope it helps you.
28th Dec 2016, 3:33 PM
seamiki
seamiki - avatar
+ 1
Dear seamiki Is there any flasher like MSP FLASHER For Raspberry pi Flasher if it is could you please suggest me Through Raspberry Pi can we load MSP430 Hex file ???? Is it possible ????? HELP ME .....
5th May 2017, 3:57 AM
Ugra Narasimha
Ugra Narasimha - avatar
5th May 2017, 6:11 AM
seamiki
seamiki - avatar
+ 1
That could not work for me. thanks for your effort
19th May 2017, 11:33 AM
Ugra Narasimha
Ugra Narasimha - avatar
0
Thank you for the reply seamiki Project developing ;C++ Debugger: FET PROGRAMMER (externally ) IDE:CCS Code Composer Studio Through FET Programmer and CCS i am burning the program in my custom made board When it will generate hex i want to put that hex in to the board The main concern is that Take hex file through script and load the program. I don't want dependent on IDE
28th Dec 2016, 3:12 PM
Ugra Narasimha
Ugra Narasimha - avatar
0
Dear seamiki Thank you for u r cooperation.am able to do load hex file through MSP Flasher. But i have one question how to do same procedure through python script Can you help me
18th Jan 2017, 4:20 PM
Ugra Narasimha
Ugra Narasimha - avatar