Part Number: MSP430G2553
Hello, sorry for the stupid question but somehow I stuck in the mud. I like to enter BSL on a simple launchpad (final app will use FR6047 but for simplicity I take the launchpad) from an ESP32s Serial (first image). I connect RX/TX, RST, TEST and write super simple sketch:
#include <HardwareSerial.h>
#define PIN_RST 19
#define PIN_TEST 21
#define PIN_TX2 22
#define PIN_RX2 23
HardwareSerial MySerial1(1);
void setup() {
Serial.begin(115200);
MySerial1.begin(9600, SERIAL_8E1, PIN_RX2, PIN_TX2);
pinMode(PIN_TEST,OUTPUT);
pinMode(PIN_RST,OUTPUT);
digitalWrite(PIN_TEST,LOW);
digitalWrite(PIN_RST,LOW);
delay(20);
digitalWrite(PIN_TEST,HIGH);
delay(20);
digitalWrite(PIN_TEST,LOW);
delay(20);
digitalWrite(PIN_TEST,HIGH);
delay(20);
digitalWrite(PIN_RST,HIGH);
delay(20);
digitalWrite(PIN_TEST,LOW);
delay(200);
}
void loop() {
MySerial1.print(0x80);
delay(100);
if (MySerial1.available() > 0) {
int c = MySerial1.read();
Serial.printf("Rec: 0x%02x (%d) \n",c,c);
}
delay(1000);
}
I can see that the main apps stops when executing the BSL pin sequence. Now I send the 0x08 and I can even see this on the >> RDX line (see image). On the TXD line there is no signal back, constant 3.3V.
Am I using the wrong pin for TXD? As second hardware I use the EVM430FR6047 board where I assume the four pints are all on J3
Greetings Christian
