Other Parts Discussed in Thread: MSP430F2132, MSP430F2618
I'm trying to communication from MSP430F2618 to MSP430F2132 using Bootstraploader, but I meet some strange problems. First to my configuration:
I use following PIN connection:
MSP430F2618 - MSP430F2132
P3.4 UCA0TXD - P2.2 RXD
P3.5 UCA0RXD - P1.1 TXD
P3.6 - RST
P3.7 - TEST
BSL entry sequence looks so:
- RST and TEST both low
- wait 2ms
- TEST HIGH
- wait 2ms
- TEST LOW
- wait 100ms
- TEST HIGH
- wait 2ms
- RST HIGH
- wait 2ms
- TEST LOW
Here come the first questions. Should I set TEST pin to LOW after BSL is started? How long should the TEST pin held HIGH?
Next I write 0x80 to UCA0TXBUF and get 0x90 in UCA0RXBUF. Everything looks fine, but if I try to execute any command I don't get any response.
E.g. I tried sending "Mass erase" command after synchronization:
0x80, 0x18, 0x04, 0x04, 0xAA, 0xAA, 0x06, 0xA5, 0x7A, 0x1F
But I don't get any answer and flash remains unchanged. Any ideas where to look for a problem?
P.S. Sending bytes to serial I've done so, it should be correct:
while (!(IFG2&UCA0TXIFG)); // USCI_A0 TX buffer ready?
UCA0TXBUF = ucByte;