jadonk / beagleconnect

Moved to https://git.beagleboard.org/beagleconnect/freedom
https://git.beagleboard.org/beagleconnect/freedom
35 stars 16 forks source link

SW: BeagleBone based flashing of MSP430 #72

Open jadonk opened 2 years ago

jadonk commented 2 years ago

Have a pre-installed Debian package to flash the MSP430. I've got instructions to build the virtualenv at https://github.com/jadonk/ti_msp430_python_tools/blob/main/README.md. I'd like that virtualenv to be installed so it can be used in an MSP430 programming script such as called in the usb_uart_bridge Makefile (https://github.com/jadonk/msp430F55xx_usb_uart_bridge/blob/master/Makefile#L140).

jadonk commented 2 years ago

@RobertCNelson @lorforlinux can you confirm this is in the latest test images?

RobertCNelson commented 2 years ago

@jadonk

it should be pre-installed..

sudo apt update
sudo apt install beagleconnect-msp430

Device has to be in bootloader mode... (remove usb cable, hold down boot button, insert cable..) Not-Okay

root@BeagleBone:~# lsusb | grep 2047
Bus 001 Device 004: ID 2047:0aa5 Texas Instruments BeagleConnect

Okay:

root@BeagleBone:~# lsusb | grep 2047
Bus 001 Device 005: ID 2047:0200 Texas Instruments MSP430 Bootloader

To update run:

python2.7 -m msp430.bsl5.hid_1 -e -P /usr/share/beagleconnect/msp430/usb_uart_bridge.hex