I have just started using Energia and I am quite impressed with it. I am using CCS Version 6.0.1.00040 and Energia 0101E0013. I am using a tm4c123gh6pm as my target. I have been trying to use Serial.print and all I get is jiberish. The program is the modified Multiserial in the Energia example under communications. I modified the program to the following:
#include "Energia.h"
void setup();
void loop();
void setup() {
// initialize serial ports:
Serial.begin(9600);
}
void loop() {
// read from port 0, send to port 0:
if (Serial.available()) {
int inByte = Serial.read();
delay(100);
Serial.write(inByte);
}
}
I know the program says Serial.write, but after two days I have tried Serial.print() and Serial.println() with the same results. After two days of working with this I have discovered that it works fine if you download the binary to the target and run the program outside the debugger. I would like to use a simple Serial.println to output data during debugging.
Does anyone know how to get it to work when debugging?