I have a USB to RS232 to program the MSP430F4783 via BSL, and also
communications on Port4(0:1).
Is it okay to tie the UART P4 pins to BSL P1 pins?
Is there any circuits for BSL and Comms?
BSL TX and RX lines
Started by ●November 1, 2012
Reply by ●November 1, 20122012-11-01
We did this on of our F149 based products and it worked fine.
Blakely
--- In m..., "philipman2001" wrote:
>
> I have a USB to RS232 to program the MSP430F4783 via BSL, and also communications on Port4(0:1).
>
> Is it okay to tie the UART P4 pins to BSL P1 pins?
> Is there any circuits for BSL and Comms?
>
Blakely
--- In m..., "philipman2001" wrote:
>
> I have a USB to RS232 to program the MSP430F4783 via BSL, and also communications on Port4(0:1).
>
> Is it okay to tie the UART P4 pins to BSL P1 pins?
> Is there any circuits for BSL and Comms?
>
Reply by ●November 1, 20122012-11-01
Yes, it is very handy to use the host comm port for BSL, especially if you burn
jtag fuses. You need host control over two more lines, Reset and (i don't
remember), to be able to invoke BSL mode from the host. And you need to make the
two BSL pins inputs in your application code, so they don't harm normal
operation. Then you are able to erase and revive devices screwed up by
hackers..
Dieter
--- In m..., "Blakely" wrote:
>
> We did this on of our F149 based products and it worked fine.
>
> Blakely
>
> --- In m..., "philipman2001" wrote:
> >
> > I have a USB to RS232 to program the MSP430F4783 via BSL, and also communications on Port4(0:1).
> >
> > Is it okay to tie the UART P4 pins to BSL P1 pins?
> > Is there any circuits for BSL and Comms?
>
Dieter
--- In m..., "Blakely" wrote:
>
> We did this on of our F149 based products and it worked fine.
>
> Blakely
>
> --- In m..., "philipman2001" wrote:
> >
> > I have a USB to RS232 to program the MSP430F4783 via BSL, and also communications on Port4(0:1).
> >
> > Is it okay to tie the UART P4 pins to BSL P1 pins?
> > Is there any circuits for BSL and Comms?
>
Reply by ●November 1, 20122012-11-01
--- In m..., "philipman2001" wrote:
>
> ... Is it okay to tie the UART P4 pins to BSL P1 pins?
> Is there any circuits for BSL and Comms?
>
Yes. The BSL code sets only its P1 BSL TX pin as output. All other I/O pins, including P4, are in input mode. Thus there is no contention.
Likewise, in your own code that uses P4 Comm TX pins, you should set the P1 BSL TX pin as input so that there will be no contention either.
>
> ... Is it okay to tie the UART P4 pins to BSL P1 pins?
> Is there any circuits for BSL and Comms?
>
Yes. The BSL code sets only its P1 BSL TX pin as output. All other I/O pins, including P4, are in input mode. Thus there is no contention.
Likewise, in your own code that uses P4 Comm TX pins, you should set the P1 BSL TX pin as input so that there will be no contention either.
Reply by ●November 5, 20122012-11-05
Thanks Guys,
Much appreciated.
Had to wire in the DTR and RTS for BSL reset.
It worked with MSPFET, only errors when checks are performed.
MSP tools (python) worked better without errors.
--- In m..., "old_cow_yellow" wrote:
>
> --- In m..., "philipman2001" wrote:
> >
> > ... Is it okay to tie the UART P4 pins to BSL P1 pins?
> > Is there any circuits for BSL and Comms?
> > Yes. The BSL code sets only its P1 BSL TX pin as output. All other I/O pins, including P4, are in input mode. Thus there is no contention.
>
> Likewise, in your own code that uses P4 Comm TX pins, you should set the P1 BSL TX pin as input so that there will be no contention either.
>
Much appreciated.
Had to wire in the DTR and RTS for BSL reset.
It worked with MSPFET, only errors when checks are performed.
MSP tools (python) worked better without errors.
--- In m..., "old_cow_yellow" wrote:
>
> --- In m..., "philipman2001" wrote:
> >
> > ... Is it okay to tie the UART P4 pins to BSL P1 pins?
> > Is there any circuits for BSL and Comms?
> > Yes. The BSL code sets only its P1 BSL TX pin as output. All other I/O pins, including P4, are in input mode. Thus there is no contention.
>
> Likewise, in your own code that uses P4 Comm TX pins, you should set the P1 BSL TX pin as input so that there will be no contention either.
>