09-15-2016, 09:34 PM
Hi,
I have some questions about the serial signal and uPanel.
1) I read on the guide that the TX (uPanel Pin) should be disconnected during Arduino programming in IDE.
- Just because the serial interface is shared between the IDE programmer and the uPanel, and signal sent back from uPanel can scramble the byte codes that are sent to the ATmega chip ?
- Is it better to disconnect both the TX & RX pin on uPanel during Arduino Programming ?
2) The standard baud rate of the Arduino sketch is always 9600, and so also the programming serial speed.
In order to talk with the uPanel , I have changed my scripts to a Serial.Begin(57600).
- I got a side effect, even with uPanel Pin TX disconnected: a lot of random garbage at Arduino programming, with several error and fatal fail messages. I imagine that it is caused by the fact that my script set the serial at a different baud rate than the IDE programming task, causing communication conflicts and serial garbage.
- Yesterday after a couple of programming error, the virtual serial port vanished, and I was not able any more to access to the Arduino.
I was convinced to have killed the arduino or the boot loader, but thanks to Google I solved the issue. It is a bug in the IDE interface, and after several programming error he tried to auto-configure and do something that geopardize the setup. Just selecting a different programmer, AND THAN, back the arduino board, I was able to access to the arduino again. Scary
Today I have configured uPanel to 9600 just to see what happen. It is not important the speed duing the develop phase if this avoid to scramble the IDE at each programming. I will see what happen.
Any experience on those issues ?
Regards
I have some questions about the serial signal and uPanel.
1) I read on the guide that the TX (uPanel Pin) should be disconnected during Arduino programming in IDE.
- Just because the serial interface is shared between the IDE programmer and the uPanel, and signal sent back from uPanel can scramble the byte codes that are sent to the ATmega chip ?
- Is it better to disconnect both the TX & RX pin on uPanel during Arduino Programming ?
2) The standard baud rate of the Arduino sketch is always 9600, and so also the programming serial speed.
In order to talk with the uPanel , I have changed my scripts to a Serial.Begin(57600).
- I got a side effect, even with uPanel Pin TX disconnected: a lot of random garbage at Arduino programming, with several error and fatal fail messages. I imagine that it is caused by the fact that my script set the serial at a different baud rate than the IDE programming task, causing communication conflicts and serial garbage.
- Yesterday after a couple of programming error, the virtual serial port vanished, and I was not able any more to access to the Arduino.

I was convinced to have killed the arduino or the boot loader, but thanks to Google I solved the issue. It is a bug in the IDE interface, and after several programming error he tried to auto-configure and do something that geopardize the setup. Just selecting a different programmer, AND THAN, back the arduino board, I was able to access to the arduino again. Scary

Today I have configured uPanel to 9600 just to see what happen. It is not important the speed duing the develop phase if this avoid to scramble the IDE at each programming. I will see what happen.
Any experience on those issues ?
Regards