Hello Team,
We are working on MSP430FR2355(Our Customized Board). So, we need to program N no.of MSP430FR2355 Controllers in a sequence at a time.
For that we need to Erase the existing old code & program with new code at Old code start Address(same location).
Note: Here main thing is we need to program our MSP430FR2355 through P4.2 and P4.3 of UART1 using .bin File/ Hex File. Without using JTAG PINS.
For that we have prepared a small Software BSL invocation code by referring slaa721e and slau550aa.
Before attempting this i need clarity on our approach for Invoking BSL to Erase Memory Location of my Old Code for writing New Code at Same Location.
Please guide us in a proper direction to complete this In Application Programming.
Below is the BSL Invocation Code.
int main(void)
{
WDTCTL = WDTPW | WDTHOLD; // stop watchdog timer
__disable_interrupt();
FRCTL0 = FRCTLPW;
__delay_cycles(90000);
((void (*)() )0x1000)();
}
Is that correct to enter and write my code at particular location.? Can anyone help me to enter into BSL mode using P4.2, P4.3 Pins and Program my MSp430FR2355. Any Help Would be very thank full.
