EmbeddedRelated.com
Forums
Memfault Beyond the Launch

Using the serial cable for programming the flash?

Started by khamba_msp430 May 26, 2011
Hello, I have just started working with the MSP430 line and I have recently got my hands on a proto board for the MSP430F1611 by olimex...my question is simple:
Can I use a USB to serial(RS232-DB9 connector) cable to program the flash of my device? I am using compilers like the CCE3.1 and CCE4.0...help will be greatly appreciated...

PC--->(USB to SERIAL DB9)--->PROTO FOR MSP430F1611
will it do my programming?

Though I believe it is possible
http://kurt.on.ufanet.ru/page_docs_en.htm
...but I need confirmation.

Thanks in advance.

Beginning Microcontrollers with the MSP430

It is possible but not practical. You need to modify the board and use a different software on the PC.

--- In m..., "khamba_msp430" wrote:
>
> Hello, I have just started working with the MSP430 line and I have recently got my hands on a proto board for the MSP430F1611 by olimex...my question is simple:
> Can I use a USB to serial(RS232-DB9 connector) cable to program the flash of my device? I am using compilers like the CCE3.1 and CCE4.0...help will be greatly appreciated...
>
> PC--->(USB to SERIAL DB9)--->PROTO FOR MSP430F1611
> will it do my programming?
>
> Though I believe it is possible
> http://kurt.on.ufanet.ru/page_docs_en.htm
> ...but I need confirmation.
>
> Thanks in advance.
>

--- In m..., "old_cow_yellow" wrote:
>
> It is possible but not practical. You need to modify the board and use a different software on the PC.
>

Thanks for replying

The board already has a RS 232 interfaced with the chip...
http://www.olimex.com/dev/msp-p1611.html
do I still need to change the hardware?...what cahnges in software are required?...please advice

On 05/26/2011 11:13 AM, khamba_msp430 wrote:
> --- In m..., "old_cow_yellow"
> wrote:
>>
>> It is possible but not practical. You need to modify the board and
>> use a different software on the PC.
>> Thanks for replying
>
> The board already has a RS 232 interfaced with the chip...
> http://www.olimex.com/dev/msp-p1611.html do I still need to change
> the hardware?...what cahnges in software are required?...please
> advice

If you read the literature about the bootstrap loader you will find
several problems:

1) The MSP430F1611 uses port pins P1.1 and P2.2 for transmit and
receive. These are not the pins used by the USART.
2) To get the chip into BSL mode there are two other pins that must be
toggled in just the right way.
3) You need software to run the BSL protocol.
This is possible to do with your serial interface but tricky. I have run
across this website which has the programming software:

http://llg.cubic.org/dmx43/bslsh.html

They also have a schematic for a BSL interface.

--
David W. Schultz
http://home.earthlink.net/~david.schultz
"Pooh just is." Tao of Pooh

Memfault Beyond the Launch