Other Parts Discussed in Thread: MSP-FET
Tool/software:
Hi,
I am having an issue with downloading my code using the BSL interface along with using the UART (UCA0) after the code has been dowloaded. I run my UART interface using the PUTTY tool.
I have successfully been able to use code composer to download code and use the UART (UCA0) without any issue, but once I try to use the BSL scripter tool instead of code composer I do not see anything working when invoking the UART.
Shown below is my current setup:
So I am running two different types of test with one working and one not working:
First Test:
- Download the code using code composer tool which will download the code over JTAG using the MSP-FET.
- Test out UART interface (P2.0 and P2.1 which is UCA0) by using PUTTY to send in a command and verify command works...
- This test works as expected.
Second Test:
- Download the code using the BSL scripter tool and modifying the examples that TI provides (shown below).
I am pretty sure this code downloads because I have an LED that will toggle when the code is run, so I am seeing that.
When I try and use the UART (UCA0) which is the same one used to download this code I do not see anything happen.
A few questions and notes:
1) I am running the BSL scripter at 9600 but my UART that is used in my code is setup to receive 115200. I also notice that the BSL UART is even parity and my UART is no parity. I tried to change the baud rate at the end of the BSL script to no avail. Is there anything else I need to change and does this matter if I am running PUTTY as the same rate as the UART in my code?
2) I was told in an earlier E2E thread that I should be able to run the BSL interface and then use the UART as a general purpose UART after code is downloaded.
3) Do I need to add anything in the BSL script to enable the UART in my code?
Thanks!