Hi KC, Thanks for reply! Yeah, i have successfully use the pin 3.4/3.5 for BSL programming. I just removed the BSL430_PI_TA.c from example CCS project and added BSL430_PI_USCIA.c into the project, and then added a line which is "#define USCI_PORT_SEL P3SEL" to the BSL_Device_File.h and also modified the line : USCI_PORT_SEL = RXD + TXD; to USCI_PORT_SEL = BIT4 + BIT5; Then i set some necessary settings for the properties of the project. Then i download this new BSL code into my msp430f5438a and everything works fine. After the above work i have done, i changed "#define USCI_PORT_SEL P3SEL" to "#define USCI_PORT_SEL P10SEL" in BSL_Device_File.h file and modified all the register settings from UCA0xxxx to UCA3xxxx in BSL430_PI_USCIA.c, so when the mcu enter BSL mode, pin 10.4/10.5 should be used this time. But it seems there is something wrong. Is there anything i forget to set so that failure happens? Thanks! Regards, Wong
↧