Jump to content

Using a CP2102 with BSL-Scripter

Recommended Posts

I don't know if this has any application for Energia, but might be of use to someone at some point.

I've been working on a way to embed a generic USB-to-UART adapter like the CP2102, FT232 or CH340 in an MSP340 project so firmware can be updated without having to buy a Launchpad.  The newer MSP430 parts presented a problem because BSL-Scripter, TI's software for BSL flashing for those parts, doesn't transmit the special invoke pattern on /Reset and Test.  Instead, it just brings both lines low, which messes things up.

I gave up on trying to recompile Scripter, but I've written a Windows program that generates the pattern, and developed  methods to disconnect DTR from /Reset after the pattern has invoked BSL, but before BSL-Scripter is run, which allows flashing to proceed with /Reset high.  A full explanation, source code, executable, and schematic are in my Github repo.  It all seems to work, at least with an FR2311 under Windows 7.



Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now