This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler/MSP430F5438A: BSL interface for custom use

Part Number: MSP430F5438A

Tool/software: TI C/C++ Compiler

I am using MSP430F5438A. The CPU can be connected to PC by BSL interface for firmware upgrade needs. I want to use this communication interface for another needs too. How can i implement custom communication interface? For example, wait and read command on MSP application and send back any data using BSL UART interface. How can i invoke Read BSL Uart and Write BSL Uart commands from MSP application? Do i need to write custom BSL loader that combines both upgrade and custom protocol? Or standard BSL can be used.

Thanks.

  • Hello Yury,

    You won't be able to use the BSL code and application code at the same time. You can certainly customize the BSL to use a protocol of your choosing, but then again, you won't be able to use that code at the same time your application is running. now, you can customize the BSL for it to use the standard USCI module for UART instead of the timer based solution that is provided on chip. What this allows you to do is use the same physical interface for your application and BSL. This would allow you to send a command while in your application to do a Software Entry into the BSL. You would then be in BSL mode and could use the same interface to u[date the part. You could then issue a command to reset the part or jump to starting address to get back into your application.

**Attention** This is a public forum