Author Topic: MSP430FR BSL With CP2012 or FT232  (Read 382 times)

0 Members and 1 Guest are viewing this topic.

Offline pacmannTopic starter

  • Contributor
  • Posts: 36
  • Country: jp
MSP430FR BSL With CP2012 or FT232
« on: August 12, 2024, 09:57:02 am »
I want to program MSP430FR24xx microcontrollers in system. The MSP430FR come with BSL bootloader but I read from old forums that generic uart bridges cant be supported by the BSL scripter from TI. Is that true still? Is the problem the BSL entry sequence? If the BSL is entered already then can the BSL scripter be used for uploading firmware with the FT232 or CP2102 without mods?
 

Online Peabody

  • Super Contributor
  • ***
  • Posts: 2113
  • Country: us
Re: MSP430FR BSL With CP2012 or FT232
« Reply #1 on: August 12, 2024, 02:37:19 pm »
I created a Github repo on this problem a while back, and came up with a possible workaround.  That took the form of Invoke.exe, which would be run before Scripter to trigger the BSL (as in your diagram).  But then "drcrane" was able to modify the Scripter source code and recompile to include the INVOKE option in the Scripter Mode command.  My repo is:

https://github.com/gbhug5a/CP2102-with-BSL-Scripter-for-MSP430

and his is:

https://github.com/drcrane/bslscripter-vs2017

He has all the source code, but it's simpler to just use his executable provided in Releases.  At the least though, you should read the instructions in the release zip.

None of this is approved by TI, so you proceed at your own risk.  I would just say that it's unfortunate that TI didn't provide this option, at least as far as I know.  They added suport for their Rocket device, but I don't think that's the same as the generic USB-to-UART devices.  But of course you can just buy a Rocket, if you can find one, and use that with Scripter.  See SLAU573C.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf