Software Serial and DS3231

I thought I was having an issue with software serial and Nano…this app would run fine on the Uno, but not on the Nano…I tried another simple app from the web and it worked on both, worked as in communicated with the Nextion display. I went back to the program I was trying to move to the Nano and came back to the same error. I believe the actual issue is between the DS3231 real time clock and the Nano and/or the serial port…maybe baud rate limits on the Nano compared to the Uno?

Below are the error codes when trying to compile/upload…it seems to be a serial speed conflict, any thoughts or ideas?

#include <DS3231.h>
#include "Nextion.h"
SoftwareSerial HMISerial(10, 11);  //yellow (RX on Nextion) is 11

NexText strTime = NexText(0, 1, "t0");
NexText strDate = NexText(0, 1, "t1");
NexText strTemp = NexText(0, 1, "t2");



char timeString[]="09/01/2019 00:00:00";
char buffer[100] = {0};

float temperatureF;

DS3231  rtc(SDA, SCL);

void setup() {

  rtc.begin(); 
  nexInit();
  
  // set the date time on the real time clock
  //rtc.setDOW(WEDNESDAY);     // Set Day-of-Week to SUNDAY
  //  rtc.setTime(14, 37, 0);     // time hour minute second)
  //  rtc.setDate(6, 7, 2019);   // date - day month year

}

void loop() {

  //temperatureF = (rtc.getTemp()* 9/5) + 32; //convert to farenheight

  char result[8]; // Buffer big enough for 7-character float
  dtostrf(temperatureF, 6, 2, result); // Leave room for large numbers!

 // timeString=rtc.getTimeStr();


 // Serial.print(rtc.getDateStr(FORMAT_SHORT, FORMAT_MIDDLEENDIAN,'/')); Serial.print(" "); Serial.print(rtc.getTimeStr());
 // Serial.print(" ");
 // Serial.println(temperatureF);
  strDate.setText(rtc.getDateStr(FORMAT_SHORT, FORMAT_MIDDLEENDIAN,'/'));
  strTime.setText(rtc.getTimeStr(FORMAT_SHORT));
  strTemp.setText(result);
  
  delay(20000);
 // delay(600000L);  //15 minutes (long int)


}
Compiling core...
Using precompiled core: C:\Users\LEVERS~1\AppData\Local\Temp\arduino_cache_432885\core\core_arduino_avr_nano_cpu_atmega328old_0c812875ac70eb4a9b385d8fb077f54c.a
Linking everything together...
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-gcc" -w -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=atmega328p -o "C:\\Users\\LEVERS~1\\AppData\\Local\\Temp\\arduino_build_143721/WriteTimeToRTC.ino.elf" "C:\\Users\\LEVERS~1\\AppData\\Local\\Temp\\arduino_build_143721\\sketch\\WriteTimeToRTC.ino.cpp.o" "C:\\Users\\LEVERS~1\\AppData\\Local\\Temp\\arduino_build_143721\\libraries\\DS3231\\DS3231.cpp.o" "C:\\Users\\LEVERS~1\\AppData\\Local\\Temp\\arduino_build_143721/..\\arduino_cache_432885\\core\\core_arduino_avr_nano_cpu_atmega328old_0c812875ac70eb4a9b385d8fb077f54c.a" "-LC:\\Users\\LEVERS~1\\AppData\\Local\\Temp\\arduino_build_143721" -lm
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-objcopy" -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 "C:\\Users\\LEVERS~1\\AppData\\Local\\Temp\\arduino_build_143721/WriteTimeToRTC.ino.elf" "C:\\Users\\LEVERS~1\\AppData\\Local\\Temp\\arduino_build_143721/WriteTimeToRTC.ino.eep"
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-objcopy" -O ihex -R .eeprom "C:\\Users\\LEVERS~1\\AppData\\Local\\Temp\\arduino_build_143721/WriteTimeToRTC.ino.elf" "C:\\Users\\LEVERS~1\\AppData\\Local\\Temp\\arduino_build_143721/WriteTimeToRTC.ino.hex"
Using library DS3231 in folder: C:\Users\leversole\Documents\Arduino\libraries\DS3231 (legacy)
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-size" -A "C:\\Users\\LEVERS~1\\AppData\\Local\\Temp\\arduino_build_143721/WriteTimeToRTC.ino.elf"
Sketch uses 1472 bytes (4%) of program storage space. Maximum is 30720 bytes.
Global variables use 19 bytes (0%) of dynamic memory, leaving 2029 bytes for local variables. Maximum is 2048 bytes.
C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avrdude -CC:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -carduino -PCOM9 -b57600 -D -Uflash:w:C:\Users\LEVERS~1\AppData\Local\Temp\arduino_build_143721/WriteTimeToRTC.ino.hex:i 


avrdude: Version 6.3-20171130
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"

         Using Port                    : COM9
         Using Programmer              : arduino
         Overriding Baud Rate          : 57600
         AVR Part                      : ATmega328P
         Chip Erase delay              : 9000 us
         PAGEL                         : PD7
         BS2                           : PC2
         RESET disposition             : dedicated
         RETRY pulse                   : SCK
         serial program mode           : yes
         parallel program mode         : yes
         Timeout                       : 200
         StabDelay                     : 100
         CmdexeDelay                   : 25
         SyncLoops                     : 32
         ByteDelay                     : 0
         PollIndex                     : 3
         PollValue                     : 0x53
         Memory Detail                 :

                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           eeprom        65    20     4    0 no       1024    4      0  3600  3600 0xff 0xff
           flash         65     6   128    0 yes     32768  128    256  4500  4500 0xff 0xff
           lfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           hfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           efuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           lock           0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00
           signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00

         Programmer Type : Arduino
         Description     : Arduino

avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x90

avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0xfc
         Hardware Version: 2
         Firmware Version: 1.4611299

avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x90

avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x90
         Vtarget         : 0.0 V
         Varef           : 0.0 V
         Oscillator      : 0.531 Hz
         SCK period      : 0.1 us


avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0xfc
avrdude: AVR device initialized and ready to accept instructions

the selected serial port 
 does not exist or your board is not connected
Reading | 
avrdude: arduino_read_sig_bytes(): (a) protocol error, expect=0x10, resp=0xfc
avrdude: error reading signature data for part "ATmega328P", rc=-3
avrdude: error reading signature data, rc=-3

avrdude done.  Thank you.

I changed to another USB port...it must not like COM9!