Quantcast
Channel: MSP430 Technical Forums
Viewing all articles
Browse latest Browse all 2077

Deploying MSP430 Firmware using Ansible

$
0
0

Hello all!

 

If anyone else is interested in devops tools like ansible/vagrant/docker or linux administration this project might interest you.

 

I recently started learning about ansible a tool used to configure/orchestrate servers. So I thought I would try and use that to push firmware updates out to MSP430s. I came up with a solution that allows me to run a command on my machine which then copies the firmware to Rapsberry Pis and then flashes any MSP430 LaunchPads connected to them.

 

I first had to compile the msp430 dll and the latest version of mspdebug for the ARM architecture (rather than x86). Essentially this allows me to program MSP430s from a Raspberry Pi using mspdebug. I talk about the steps here:

http://zacklalanne.me/automated-deployment-of-msp430-firmware-part1/

 

Then I wrote an ansible playbook to automatically deploy the dll and mspdebug as well as the firmware to the connected Raspberry Pis which then push the firmware to the MSP430s.

http://zacklalanne.me/automated-deployment-of-msp430-firmware-part2/

 

Don't think this is too realistic for an actual production environment but getting it all to run was a good learning exercise in compiling code on linux and system administration.

 


Viewing all articles
Browse latest Browse all 2077

Trending Articles