WiFi connection iss…
 
Share:
Notifications
Clear all

WiFi connection issue and code uploading issue


74e03a034b0fd37775922f76ebbbc9e9?s=80&d=mm&r=g
(@tyler)
Member Customer
Joined: 4 months ago
Posts: 6
Topic starter  

I was trying to configure my iBoardBot today and everytime I tried to add my SSID and password into the webform (after connecting to the iBoardBot wifi) it wouldn’t submit the form (the form would clear out, and nothing else would happen). I am 100% sure that I entered everything correctly. If I left the form blank and hit save, then I would be redirected to a page that said that the wifi configuration was saved. I figured I would try to re-upload the code, but I’m getting this error whenever I try to upload the code and I can’t figure out why. I’ve downloaded all of the code as explained in the troubleshooting docs, and all of the code files are in the same folder. I just can’t figure out what is going on.

Arduino: 1.8.10 (Windows 10), Board: "Arduino/Genuino Uno"

WARNING: library FlashStorage claims to run on samd architecture(s) and may be incompatible with your current board which runs on avr architecture(s).
C:\Users\shmyl\Desktop\iBoardBot_114_M0\iBoardBot_114_M0.ino: In function 'bool board_switch_pressed()':

iBoardBot_114_M0 error: 'REG_PORT_IN1' was not declared in this scope

   return !(REG_PORT_IN1 & PORT_PB03);

            ^~~~~~~~~~~~

iBoardBot_114_M0 error: 'PORT_PB03' was not declared in this scope

   return !(REG_PORT_IN1 & PORT_PB03);

                           ^~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\iBoardBot_114_M0.ino note: suggested alternative: 'PORTB3'

   return !(REG_PORT_IN1 & PORT_PB03);

                           ^~~~~~~~~

                           PORTB3

C:\Users\shmyl\Desktop\iBoardBot_114_M0\iBoardBot_114_M0.ino: In function 'void setup()':

iBoardBot_114_M0 error: 'SerialUSB' was not declared in this scope

   SerialUSB.begin(115200); // Serial output to console

   ^~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\iBoardBot_114_M0.ino note: suggested alternative: 'Serial'

   SerialUSB.begin(115200); // Serial output to console

   ^~~~~~~~~

   Serial

iBoardBot_114_M0 error: 'Serial1' was not declared in this scope

   Serial1.begin(115200); // Wifi initialization

   ^~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\iBoardBot_114_M0.ino note: suggested alternative: 'Serial'

   Serial1.begin(115200); // Wifi initialization

   ^~~~~~~

   Serial

C:\Users\shmyl\Desktop\iBoardBot_114_M0\iBoardBot_114_M0.ino: In function 'void loop()':

iBoardBot_114_M0 error: 'SerialUSB' was not declared in this scope

           SerialUSB.print("!TimeoutCounter! "); // 8 seconds timeout

           ^~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\iBoardBot_114_M0.ino note: suggested alternative: 'Serial'

           SerialUSB.print("!TimeoutCounter! "); // 8 seconds timeout

           ^~~~~~~~~

           Serial

iBoardBot_114_M0 error: 'SerialUSB' was not declared in this scope

             SerialUSB.print(" !PACKET ERROR!");

             ^~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\iBoardBot_114_M0.ino note: suggested alternative: 'Serial'

             SerialUSB.print(" !PACKET ERROR!");

             ^~~~~~~~~

             Serial

iBoardBot_114_M0 error: 'SerialUSB' was not declared in this scope

               SerialUSB.print(" Start block:");

               ^~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\iBoardBot_114_M0.ino note: suggested alternative: 'Serial'

               SerialUSB.print(" Start block:");

               ^~~~~~~~~

               Serial

iBoardBot_114_M0 error: 'SerialUSB' was not declared in this scope

               SerialUSB.print("->Timeout recover!");

               ^~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\iBoardBot_114_M0.ino note: suggested alternative: 'Serial'

               SerialUSB.print("->Timeout recover!");

               ^~~~~~~~~

               Serial

iBoardBot_114_M0 error: 'SerialUSB' was not declared in this scope

               SerialUSB.println(" !START DRAW");

               ^~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\iBoardBot_114_M0.ino note: suggested alternative: 'Serial'

               SerialUSB.println(" !START DRAW");

               ^~~~~~~~~

               Serial

iBoardBot_114_M0 error: 'SerialUSB' was not declared in this scope

             SerialUSB.print(" !STOP DRAW time:");

             ^~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\iBoardBot_114_M0.ino note: suggested alternative: 'Serial'

             SerialUSB.print(" !STOP DRAW time:");

             ^~~~~~~~~

             Serial

iBoardBot_114_M0 error: 'SerialUSB' was not declared in this scope

               SerialUSB.println(" SNP");

               ^~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\iBoardBot_114_M0.ino note: suggested alternative: 'Serial'

               SerialUSB.println(" SNP");

               ^~~~~~~~~

               Serial

iBoardBot_114_M0 error: 'SerialUSB' was not declared in this scope

               SerialUSB.println(" SP");

               ^~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\iBoardBot_114_M0.ino note: suggested alternative: 'Serial'

               SerialUSB.println(" SP");

               ^~~~~~~~~

               Serial

iBoardBot_114_M0 error: 'SerialUSB' was not declared in this scope

               SerialUSB.println(" SE");

               ^~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\iBoardBot_114_M0.ino note: suggested alternative: 'Serial'

               SerialUSB.println(" SE");

               ^~~~~~~~~

               Serial

iBoardBot_114_M0 error: 'SerialUSB' was not declared in this scope

               SerialUSB.println(" WM");

               ^~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\iBoardBot_114_M0.ino note: suggested alternative: 'Serial'

               SerialUSB.println(" WM");

               ^~~~~~~~~

               Serial

iBoardBot_114_M0 error: 'SerialUSB' was not declared in this scope

               SerialUSB.print("E");

               ^~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\iBoardBot_114_M0.ino note: suggested alternative: 'Serial'

               SerialUSB.print("E");

               ^~~~~~~~~

               Serial

iBoardBot_114_M0 error: 'SerialUSB' was not declared in this scope

           SerialUSB.print(" !FINISH! time:");

           ^~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\iBoardBot_114_M0.ino note: suggested alternative: 'Serial'

           SerialUSB.print(" !FINISH! time:");

           ^~~~~~~~~

           Serial

iBoardBot_114_M0 error: 'SerialUSB' was not declared in this scope

           SerialUSB.println("->Force Home!");

           ^~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\iBoardBot_114_M0.ino note: suggested alternative: 'Serial'

           SerialUSB.println("->Force Home!");

           ^~~~~~~~~

           Serial

iBoardBot_114_M0 error: 'SerialUSB' was not declared in this scope

       SerialUSB.println();

       ^~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\iBoardBot_114_M0.ino note: suggested alternative: 'Serial'

       SerialUSB.println();

       ^~~~~~~~~

       Serial

iBoardBot_114_M0 error: 'Serial1' was not declared in this scope

             Serial1.println();

             ^~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\iBoardBot_114_M0.ino note: suggested alternative: 'Serial'

             Serial1.println();

             ^~~~~~~

             Serial

C:\Users\shmyl\Desktop\iBoardBot_114_M0\Steppers.ino: In function 'void TC3_Handler()':

Steppers error: 'TC3' was not declared in this scope

   TC3->COUNT16.INTFLAG.bit.MC0 = 1; // Interrupt reset

   ^~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\Steppers.ino note: suggested alternative: 'PC3'

   TC3->COUNT16.INTFLAG.bit.MC0 = 1; // Interrupt reset

   ^~~

   PC3

Steppers error: 'REG_PORT_OUTSET0' was not declared in this scope

   REG_PORT_OUTSET0 = PORT_PA21; // STEP X-AXIS

   ^~~~~~~~~~~~~~~~

Steppers error: 'PORT_PA21' was not declared in this scope

   REG_PORT_OUTSET0 = PORT_PA21; // STEP X-AXIS

                      ^~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\Steppers.ino note: suggested alternative: 'PORTB1'

   REG_PORT_OUTSET0 = PORT_PA21; // STEP X-AXIS

                      ^~~~~~~~~

                      PORTB1

Steppers error: 'REG_PORT_OUTCLR0' was not declared in this scope

   REG_PORT_OUTCLR0 = PORT_PA21; // STEP X-AXIS

   ^~~~~~~~~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\Steppers.ino: In function 'void TC5_Handler()':

Steppers error: 'TC5' was not declared in this scope

   TC5->COUNT16.INTFLAG.bit.MC0 = 1;

   ^~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\Steppers.ino note: suggested alternative: 'PC5'

   TC5->COUNT16.INTFLAG.bit.MC0 = 1;

   ^~~

   PC5

Steppers error: 'REG_PORT_OUTSET0' was not declared in this scope

   REG_PORT_OUTSET0 = PORT_PA15; // STEP Y-AXIS

   ^~~~~~~~~~~~~~~~

Steppers error: 'PORT_PA15' was not declared in this scope

   REG_PORT_OUTSET0 = PORT_PA15; // STEP Y-AXIS

                      ^~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\Steppers.ino note: suggested alternative: 'PORTB1'

   REG_PORT_OUTSET0 = PORT_PA15; // STEP Y-AXIS

                      ^~~~~~~~~

                      PORTB1

Steppers error: 'REG_PORT_OUTCLR0' was not declared in this scope

   REG_PORT_OUTCLR0 = PORT_PA15; // STEP X-AXIS

   ^~~~~~~~~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\Steppers.ino: In function 'void setMotorXSpeed(int16_t, int32_t)':

Steppers error: 'REG_PORT_OUTCLR0' was not declared in this scope

     REG_PORT_OUTCLR0 = PORT_PA06; // X-DIR

     ^~~~~~~~~~~~~~~~

Steppers error: 'PORT_PA06' was not declared in this scope

     REG_PORT_OUTCLR0 = PORT_PA06; // X-DIR

                        ^~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\Steppers.ino note: suggested alternative: 'PORT0'

     REG_PORT_OUTCLR0 = PORT_PA06; // X-DIR

                        ^~~~~~~~~

                        PORT0

Steppers error: 'REG_PORT_OUTSET0' was not declared in this scope

     REG_PORT_OUTSET0 = PORT_PA06;  // X-DIR (arduino pin 5)

     ^~~~~~~~~~~~~~~~

Steppers error: 'PORT_PA06' was not declared in this scope

     REG_PORT_OUTSET0 = PORT_PA06;  // X-DIR (arduino pin 5)

                        ^~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\Steppers.ino note: suggested alternative: 'PORT0'

     REG_PORT_OUTSET0 = PORT_PA06;  // X-DIR (arduino pin 5)

                        ^~~~~~~~~

                        PORT0

Steppers error: 'TC3' was not declared in this scope

   TC3->COUNT16.CC[0].reg = (uint16_t) timer_period;

   ^~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\Steppers.ino note: suggested alternative: 'PC3'

   TC3->COUNT16.CC[0].reg = (uint16_t) timer_period;

   ^~~

   PC3

Steppers error: 'TC_STATUS_SYNCBUSY' was not declared in this scope

   while (TC3->COUNT16.STATUS.reg & TC_STATUS_SYNCBUSY); // wait for sync...

                                    ^~~~~~~~~~~~~~~~~~

Steppers error: 'TC_STATUS_SYNCBUSY' was not declared in this scope

     while (TC3->COUNT16.STATUS.reg & TC_STATUS_SYNCBUSY); // wait for sync...

                                      ^~~~~~~~~~~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\Steppers.ino: In function 'void setMotorYSpeed(int16_t, int32_t)':

Steppers error: 'REG_PORT_OUTCLR0' was not declared in this scope

     REG_PORT_OUTCLR0 = PORT_PA20;

     ^~~~~~~~~~~~~~~~

Steppers error: 'PORT_PA20' was not declared in this scope

     REG_PORT_OUTCLR0 = PORT_PA20;

                        ^~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\Steppers.ino note: suggested alternative: 'PORT0'

     REG_PORT_OUTCLR0 = PORT_PA20;

                        ^~~~~~~~~

                        PORT0

Steppers error: 'REG_PORT_OUTSET0' was not declared in this scope

     REG_PORT_OUTSET0 = PORT_PA20;

     ^~~~~~~~~~~~~~~~

Steppers error: 'PORT_PA20' was not declared in this scope

     REG_PORT_OUTSET0 = PORT_PA20;

                        ^~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\Steppers.ino note: suggested alternative: 'PORT0'

     REG_PORT_OUTSET0 = PORT_PA20;

                        ^~~~~~~~~

                        PORT0

Steppers error: 'TC5' was not declared in this scope

   TC5->COUNT16.CC[0].reg = (uint16_t) timer_period;

   ^~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\Steppers.ino note: suggested alternative: 'PC5'

   TC5->COUNT16.CC[0].reg = (uint16_t) timer_period;

   ^~~

   PC5

Steppers error: 'TC_STATUS_SYNCBUSY' was not declared in this scope

   while (TC5->COUNT16.STATUS.reg & TC_STATUS_SYNCBUSY); // wait for sync...

                                    ^~~~~~~~~~~~~~~~~~

Steppers error: 'TC3' was not declared in this scope

     while (TC3->COUNT16.STATUS.reg & TC_STATUS_SYNCBUSY); // wait for sync...

            ^~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\Steppers.ino note: suggested alternative: 'PC3'

     while (TC3->COUNT16.STATUS.reg & TC_STATUS_SYNCBUSY); // wait for sync...

            ^~~

            PC3

Steppers error: 'TC_STATUS_SYNCBUSY' was not declared in this scope

     while (TC3->COUNT16.STATUS.reg & TC_STATUS_SYNCBUSY); // wait for sync...

                                      ^~~~~~~~~~~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\Steppers.ino: In function 'void timersConfigure()':

Steppers error: 'GCLK' was not declared in this scope

  GCLK->CLKCTRL.reg = (uint16_t) (GCLK_CLKCTRL_CLKEN | GCLK_CLKCTRL_GEN_GCLK0 | GCLK_CLKCTRL_ID(GCM_TCC2_TC3));

  ^~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\Steppers.ino note: suggested alternative: 'SCL'

  GCLK->CLKCTRL.reg = (uint16_t) (GCLK_CLKCTRL_CLKEN | GCLK_CLKCTRL_GEN_GCLK0 | GCLK_CLKCTRL_ID(GCM_TCC2_TC3));

  ^~~~

  SCL

Steppers error: 'GCLK_CLKCTRL_CLKEN' was not declared in this scope

  GCLK->CLKCTRL.reg = (uint16_t) (GCLK_CLKCTRL_CLKEN | GCLK_CLKCTRL_GEN_GCLK0 | GCLK_CLKCTRL_ID(GCM_TCC2_TC3));

                                  ^~~~~~~~~~~~~~~~~~

Steppers error: 'GCLK_CLKCTRL_GEN_GCLK0' was not declared in this scope

  GCLK->CLKCTRL.reg = (uint16_t) (GCLK_CLKCTRL_CLKEN | GCLK_CLKCTRL_GEN_GCLK0 | GCLK_CLKCTRL_ID(GCM_TCC2_TC3));

                                                       ^~~~~~~~~~~~~~~~~~~~~~

Steppers error: 'GCM_TCC2_TC3' was not declared in this scope

  GCLK->CLKCTRL.reg = (uint16_t) (GCLK_CLKCTRL_CLKEN | GCLK_CLKCTRL_GEN_GCLK0 | GCLK_CLKCTRL_ID(GCM_TCC2_TC3));

                                                                                                ^~~~~~~~~~~~

Steppers error: 'GCLK_CLKCTRL_ID' was not declared in this scope

  GCLK->CLKCTRL.reg = (uint16_t) (GCLK_CLKCTRL_CLKEN | GCLK_CLKCTRL_GEN_GCLK0 | GCLK_CLKCTRL_ID(GCM_TCC2_TC3));

                                                                                ^~~~~~~~~~~~~~~

Steppers error: 'GCM_TC4_TC5' was not declared in this scope

  GCLK->CLKCTRL.reg = (uint16_t) (GCLK_CLKCTRL_CLKEN | GCLK_CLKCTRL_GEN_GCLK0 | GCLK_CLKCTRL_ID(GCM_TC4_TC5));

                                                                                                ^~~~~~~~~~~

Steppers error: 'TC3' was not declared in this scope

  TC3->COUNT16.CTRLA.reg = TC_CTRLA_SWRST;

  ^~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\Steppers.ino note: suggested alternative: 'PC3'

  TC3->COUNT16.CTRLA.reg = TC_CTRLA_SWRST;

  ^~~

  PC3

Steppers error: 'TC_CTRLA_SWRST' was not declared in this scope

  TC3->COUNT16.CTRLA.reg = TC_CTRLA_SWRST;

                           ^~~~~~~~~~~~~~

Steppers error: 'TC_STATUS_SYNCBUSY' was not declared in this scope

  while (TC3->COUNT16.STATUS.reg & TC_STATUS_SYNCBUSY);

                                   ^~~~~~~~~~~~~~~~~~

Steppers error: 'TC_CTRLA_MODE_COUNT16' was not declared in this scope

  TC3->COUNT16.CTRLA.reg |= TC_CTRLA_MODE_COUNT16;

                            ^~~~~~~~~~~~~~~~~~~~~

Steppers error: 'TC_CTRLA_WAVEGEN_MFRQ' was not declared in this scope

  TC3->COUNT16.CTRLA.reg |= TC_CTRLA_WAVEGEN_MFRQ;

                            ^~~~~~~~~~~~~~~~~~~~~

Steppers error: 'TC_CTRLA_PRESCALER_DIV16' was not declared in this scope

  TC3->COUNT16.CTRLA.reg |= TC_CTRLA_PRESCALER_DIV16 | TC_CTRLA_ENABLE;  // preescaler 16 48Mhz=>3Mhz

                            ^~~~~~~~~~~~~~~~~~~~~~~~

Steppers error: 'TC_CTRLA_ENABLE' was not declared in this scope

  TC3->COUNT16.CTRLA.reg |= TC_CTRLA_PRESCALER_DIV16 | TC_CTRLA_ENABLE;  // preescaler 16 48Mhz=>3Mhz

                                                       ^~~~~~~~~~~~~~~

Steppers error: 'TC_STATUS_SYNCBUSY' was not declared in this scope

  while (TC3->COUNT16.STATUS.reg & TC_STATUS_SYNCBUSY);

                                   ^~~~~~~~~~~~~~~~~~

Steppers error: 'TC3_IRQn' was not declared in this scope

  NVIC_DisableIRQ(TC3_IRQn);

                  ^~~~~~~~

Steppers error: 'NVIC_DisableIRQ' was not declared in this scope

  NVIC_DisableIRQ(TC3_IRQn);

  ^~~~~~~~~~~~~~~

Steppers error: 'NVIC_ClearPendingIRQ' was not declared in this scope

  NVIC_ClearPendingIRQ(TC3_IRQn);

  ^~~~~~~~~~~~~~~~~~~~

Steppers error: 'NVIC_SetPriority' was not declared in this scope

  NVIC_SetPriority(TC3_IRQn, 0);

  ^~~~~~~~~~~~~~~~

Steppers error: 'NVIC_EnableIRQ' was not declared in this scope

  NVIC_EnableIRQ(TC3_IRQn);

  ^~~~~~~~~~~~~~

Steppers error: 'TC_STATUS_SYNCBUSY' was not declared in this scope

  while (TC3->COUNT16.STATUS.reg & TC_STATUS_SYNCBUSY); //wait until syncing

                                   ^~~~~~~~~~~~~~~~~~

Steppers error: 'TC5' was not declared in this scope

  TC5->COUNT16.CTRLA.reg = TC_CTRLA_SWRST;

  ^~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\Steppers.ino note: suggested alternative: 'PC5'

  TC5->COUNT16.CTRLA.reg = TC_CTRLA_SWRST;

  ^~~

  PC5

Steppers error: 'TC_STATUS_SYNCBUSY' was not declared in this scope

  while (TC5->COUNT16.STATUS.reg & TC_STATUS_SYNCBUSY);

                                   ^~~~~~~~~~~~~~~~~~

Steppers error: 'TC_STATUS_SYNCBUSY' was not declared in this scope

  while (TC5->COUNT16.STATUS.reg & TC_STATUS_SYNCBUSY); // wait for sync...

                                   ^~~~~~~~~~~~~~~~~~

Steppers error: 'TC5_IRQn' was not declared in this scope

  NVIC_DisableIRQ(TC5_IRQn);

                  ^~~~~~~~

Steppers error: 'TC_STATUS_SYNCBUSY' was not declared in this scope

  while (TC5->COUNT16.STATUS.reg & TC_STATUS_SYNCBUSY); //wait until syncing

                                   ^~~~~~~~~~~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\Steppers.ino: In function 'void timersStart()':

Steppers error: 'TC3' was not declared in this scope

   TC3->COUNT16.CTRLA.reg |= TC_CTRLA_ENABLE; //set the CTRLA register

   ^~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\Steppers.ino note: suggested alternative: 'PC3'

   TC3->COUNT16.CTRLA.reg |= TC_CTRLA_ENABLE; //set the CTRLA register

   ^~~

   PC3

Steppers error: 'TC_CTRLA_ENABLE' was not declared in this scope

   TC3->COUNT16.CTRLA.reg |= TC_CTRLA_ENABLE; //set the CTRLA register

                             ^~~~~~~~~~~~~~~

Steppers error: 'TC_STATUS_SYNCBUSY' was not declared in this scope

   while (TC3->COUNT16.STATUS.reg & TC_STATUS_SYNCBUSY); //wait until snyc'd

                                    ^~~~~~~~~~~~~~~~~~

Steppers error: 'TC5' was not declared in this scope

   TC5->COUNT16.CTRLA.reg |= TC_CTRLA_ENABLE; //set the CTRLA register

   ^~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\Steppers.ino note: suggested alternative: 'PC5'

   TC5->COUNT16.CTRLA.reg |= TC_CTRLA_ENABLE; //set the CTRLA register

   ^~~

   PC5

Steppers error: 'TC_STATUS_SYNCBUSY' was not declared in this scope

   while (TC5->COUNT16.STATUS.reg & TC_STATUS_SYNCBUSY); //wait until snyc'd

                                    ^~~~~~~~~~~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\Steppers.ino: In function 'void timersReset()':

Steppers error: 'TC3' was not declared in this scope

   TC3->COUNT16.CTRLA.reg = TC_CTRLA_SWRST;

   ^~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\Steppers.ino note: suggested alternative: 'PC3'

   TC3->COUNT16.CTRLA.reg = TC_CTRLA_SWRST;

   ^~~

   PC3

Steppers error: 'TC_CTRLA_SWRST' was not declared in this scope

   TC3->COUNT16.CTRLA.reg = TC_CTRLA_SWRST;

                            ^~~~~~~~~~~~~~

Steppers error: 'TC_STATUS_SYNCBUSY' was not declared in this scope

   while (TC3->COUNT16.STATUS.reg & TC_STATUS_SYNCBUSY);

                                    ^~~~~~~~~~~~~~~~~~

Steppers error: 'TC5' was not declared in this scope

   TC5->COUNT16.CTRLA.reg = TC_CTRLA_SWRST;

   ^~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\Steppers.ino note: suggested alternative: 'PC5'

   TC5->COUNT16.CTRLA.reg = TC_CTRLA_SWRST;

   ^~~

   PC5

Steppers error: 'TC_STATUS_SYNCBUSY' was not declared in this scope

   while (TC5->COUNT16.STATUS.reg & TC_STATUS_SYNCBUSY);

                                    ^~~~~~~~~~~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\Steppers.ino: In function 'void timersDisable()':

Steppers error: 'TC3' was not declared in this scope

   TC3->COUNT16.CTRLA.reg &= ~TC_CTRLA_ENABLE;

   ^~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\Steppers.ino note: suggested alternative: 'PC3'

   TC3->COUNT16.CTRLA.reg &= ~TC_CTRLA_ENABLE;

   ^~~

   PC3

Steppers error: 'TC_CTRLA_ENABLE' was not declared in this scope

   TC3->COUNT16.CTRLA.reg &= ~TC_CTRLA_ENABLE;

                              ^~~~~~~~~~~~~~~

Steppers error: 'TC_STATUS_SYNCBUSY' was not declared in this scope

   while (TC3->COUNT16.STATUS.reg & TC_STATUS_SYNCBUSY);

                                    ^~~~~~~~~~~~~~~~~~

Steppers error: 'TC5' was not declared in this scope

   TC5->COUNT16.CTRLA.reg &= ~TC_CTRLA_ENABLE;

   ^~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\Steppers.ino note: suggested alternative: 'PC5'

   TC5->COUNT16.CTRLA.reg &= ~TC_CTRLA_ENABLE;

   ^~~

   PC5

Steppers error: 'TC_STATUS_SYNCBUSY' was not declared in this scope

   while (TC5->COUNT16.STATUS.reg & TC_STATUS_SYNCBUSY);

                                    ^~~~~~~~~~~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino: In function 'void readWifiConfig()':

WifiESP error: 'SerialUSB' was not declared in this scope

   SerialUSB.print("Read wifi configuration");

   ^~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino note: suggested alternative: 'Serial'

   SerialUSB.print("Read wifi configuration");

   ^~~~~~~~~

   Serial

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino: In function 'void EEPROMget(uint8_t*, uint8_t)':

WifiESP error: 'SerialUSB' was not declared in this scope

   SerialUSB.println("Reading EEPROM...");

   ^~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino note: suggested alternative: 'Serial'

   SerialUSB.println("Reading EEPROM...");

   ^~~~~~~~~

   Serial

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino: In function 'void EEPROMput(const uint8_t*, uint8_t)':

WifiESP error: 'SerialUSB' was not declared in this scope

   SerialUSB.println("Writing EEPROM...");

   ^~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino note: suggested alternative: 'Serial'

   SerialUSB.println("Writing EEPROM...");

   ^~~~~~~~~

   Serial

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino: In function 'void writeWifiConfig(uint8_t, const char*, const char*, const char*, unsigned int)':

WifiESP error: 'SerialUSB' was not declared in this scope

   SerialUSB.println("Writing EEPROM...");

   ^~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino note: suggested alternative: 'Serial'

   SerialUSB.println("Writing EEPROM...");

   ^~~~~~~~~

   Serial

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino: In function 'void WifiConfigurationMode()':

WifiESP error: 'SerialUSB' was not declared in this scope

   SerialUSB.println("Wifi Configuration mode...");

   ^~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino note: suggested alternative: 'Serial'

   SerialUSB.println("Wifi Configuration mode...");

   ^~~~~~~~~

   Serial

WifiESP error: 'Serial1' was not declared in this scope

   Serial1.println("AT+RST");

   ^~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino note: suggested alternative: 'Serial'

   Serial1.println("AT+RST");

   ^~~~~~~

   Serial

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino: In function 'void GetMac()':

WifiESP error: 'Serial1' was not declared in this scope

   Serial1.println("AT+CIPSTAMAC?");

   ^~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino note: suggested alternative: 'Serial'

   Serial1.println("AT+CIPSTAMAC?");

   ^~~~~~~

   Serial

WifiESP error: 'SerialUSB' was not declared in this scope

   SerialUSB.print("MAC:");

   ^~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino note: suggested alternative: 'Serial'

   SerialUSB.print("MAC:");

   ^~~~~~~~~

   Serial

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino: In function 'bool WifiConnect()':

WifiESP error: 'Serial1' was not declared in this scope

   Serial1.println("AT+CWQAP");

   ^~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino note: suggested alternative: 'Serial'

   Serial1.println("AT+CWQAP");

   ^~~~~~~

   Serial

WifiESP error: 'SerialUSB' was not declared in this scope

   SerialUSB.println("Connecting to Wifi network...");

   ^~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino note: suggested alternative: 'Serial'

   SerialUSB.println("Connecting to Wifi network...");

   ^~~~~~~~~

   Serial

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino: In function 'void ESPwait(int)':

WifiESP error: 'Serial1' was not declared in this scope

     if (Serial1.available()) {

         ^~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino note: suggested alternative: 'Serial'

     if (Serial1.available()) {

         ^~~~~~~

         Serial

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino: In function 'void ESPflush()':

WifiESP error: 'Serial1' was not declared in this scope

   Serial1.flush();

   ^~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino note: suggested alternative: 'Serial'

   Serial1.flush();

   ^~~~~~~

   Serial

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino: In function 'uint8_t ESPreadChar(char*)':

WifiESP error: 'Serial1' was not declared in this scope

   if (Serial1.available()) {

       ^~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino note: suggested alternative: 'Serial'

   if (Serial1.available()) {

       ^~~~~~~

       Serial

WifiESP error: 'SerialUSB' was not declared in this scope

     SerialUSB.print(c[0]);

     ^~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino note: suggested alternative: 'Serial'

     SerialUSB.print(c[0]);

     ^~~~~~~~~

     Serial

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino: In function 'uint8_t ESPwaitFor(const char*, int)':

WifiESP error: 'SerialUSB' was not declared in this scope

       SerialUSB.println("!Timeout!");

       ^~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino note: suggested alternative: 'Serial'

       SerialUSB.println("!Timeout!");

       ^~~~~~~~~

       Serial

WifiESP error: 'SerialUSB' was not declared in this scope

       SerialUSB.println();

       ^~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino note: suggested alternative: 'Serial'

       SerialUSB.println();

       ^~~~~~~~~

       Serial

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino: In function 'uint8_t ESPwaitFor2(const char*, const char*, int)':

WifiESP error: 'SerialUSB' was not declared in this scope

       SerialUSB.println("!Timeout!");

       ^~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino note: suggested alternative: 'Serial'

       SerialUSB.println("!Timeout!");

       ^~~~~~~~~

       Serial

WifiESP error: 'SerialUSB' was not declared in this scope

       SerialUSB.println();

       ^~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino note: suggested alternative: 'Serial'

       SerialUSB.println();

       ^~~~~~~~~

       Serial

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino: In function 'uint8_t ESPgetMac(char*)':

WifiESP error: 'Serial1' was not declared in this scope

     if (Serial1.available()) {

         ^~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino note: suggested alternative: 'Serial'

     if (Serial1.available()) {

         ^~~~~~~

         Serial

WifiESP error: 'SerialUSB' was not declared in this scope

       SerialUSB.print(c1);

       ^~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino note: suggested alternative: 'Serial'

       SerialUSB.print(c1);

       ^~~~~~~~~

       Serial

WifiESP error: 'SerialUSB' was not declared in this scope

   SerialUSB.println("!Timeout!");

   ^~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino note: suggested alternative: 'Serial'

   SerialUSB.println("!Timeout!");

   ^~~~~~~~~

   Serial

WifiESP error: 'Serial1' was not declared in this scope

   Serial1.flush();

   ^~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino note: suggested alternative: 'Serial'

   Serial1.flush();

   ^~~~~~~

   Serial

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino: In function 'uint8_t ESPwaitforMessage(uint8_t)':

WifiESP error: 'SerialUSB' was not declared in this scope

     SerialUSB.print("!Timeout");

     ^~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino note: suggested alternative: 'Serial'

     SerialUSB.print("!Timeout");

     ^~~~~~~~~

     Serial

WifiESP error: 'Serial1' was not declared in this scope

   while (Serial1.available()) {

          ^~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino note: suggested alternative: 'Serial'

   while (Serial1.available()) {

          ^~~~~~~

          Serial

WifiESP error: 'SerialUSB' was not declared in this scope

       SerialUSB.println("CCLOSED!");

       ^~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino note: suggested alternative: 'Serial'

       SerialUSB.println("CCLOSED!");

       ^~~~~~~~~

       Serial

WifiESP error: 'SerialUSB' was not declared in this scope

           SerialUSB.print("SIZE:");

           ^~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino note: suggested alternative: 'Serial'

           SerialUSB.print("SIZE:");

           ^~~~~~~~~

           Serial

WifiESP error: 'SerialUSB' was not declared in this scope

           SerialUSB.println("END");

           ^~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino note: suggested alternative: 'Serial'

           SerialUSB.println("END");

           ^~~~~~~~~

           Serial

WifiESP error: 'SerialUSB' was not declared in this scope

           SerialUSB.println("Packet start!");

           ^~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino note: suggested alternative: 'Serial'

           SerialUSB.println("Packet start!");

           ^~~~~~~~~

           Serial

WifiESP error: 'SerialUSB' was not declared in this scope

           SerialUSB.println("END");

           ^~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino note: suggested alternative: 'Serial'

           SerialUSB.println("END");

           ^~~~~~~~~

           Serial

WifiESP error: 'SerialUSB' was not declared in this scope

           SerialUSB.println("Error: message too large!");

           ^~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino note: suggested alternative: 'Serial'

           SerialUSB.println("Error: message too large!");

           ^~~~~~~~~

           Serial

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino: In function 'uint8_t ESPsendHTTP(char*)':

WifiESP error: 'Serial1' was not declared in this scope

   Serial1.println(cmd_get);

   ^~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino note: suggested alternative: 'Serial'

   Serial1.println(cmd_get);

   ^~~~~~~

   Serial

WifiESP error: 'SerialUSB' was not declared in this scope

     SerialUSB.println("Connection error");

     ^~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino note: suggested alternative: 'Serial'

     SerialUSB.println("Connection error");

     ^~~~~~~~~

     Serial

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino: In function 'uint8_t ESPwebServerExtractParam(char*, char)':

WifiESP error: 'SerialUSB' was not declared in this scope

       SerialUSB.println("Error!:Param too large");

       ^~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino note: suggested alternative: 'Serial'

       SerialUSB.println("Error!:Param too large");

       ^~~~~~~~~

       Serial

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino: In function 'void ESPwebServerConfig()':

WifiESP error: 'Serial1' was not declared in this scope

     while (Serial1.available()) {

            ^~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino note: suggested alternative: 'Serial'

     while (Serial1.available()) {

            ^~~~~~~

            Serial

WifiESP error: 'SerialUSB' was not declared in this scope

       SerialUSB.print(ch);

       ^~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino note: suggested alternative: 'Serial'

       SerialUSB.print(ch);

       ^~~~~~~~~

       Serial

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino: In function 'void ESPconfigWeb(uint8_t)':

WifiESP error: 'Serial1' was not declared in this scope

   Serial1.print("AT+CIPSEND=");

   ^~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino note: suggested alternative: 'Serial'

   Serial1.print("AT+CIPSEND=");

   ^~~~~~~

   Serial

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino: In function 'void ESPconfigWeb_advanced(uint8_t)':

WifiESP error: 'Serial1' was not declared in this scope

   Serial1.print("AT+CIPSEND=");

   ^~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino note: suggested alternative: 'Serial'

   Serial1.print("AT+CIPSEND=");

   ^~~~~~~

   Serial

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino: In function 'void ESPconfigWebOK(uint8_t)':

WifiESP error: 'Serial1' was not declared in this scope

   Serial1.print("AT+CIPSEND=");

   ^~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino note: suggested alternative: 'Serial'

   Serial1.print("AT+CIPSEND=");

   ^~~~~~~

   Serial

WifiESP error: 'SerialUSB' was not declared in this scope

   SerialUSB.println("->CIPCLOSE");

   ^~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino note: suggested alternative: 'Serial'

   SerialUSB.println("->CIPCLOSE");

   ^~~~~~~~~

   Serial

Multiple libraries were found for "FlashAsEEPROM.h"
 Used: C:\Users\shmyl\Documents\Arduino\libraries\FlashStorage
Multiple libraries were found for "Servo.h"
 Used: C:\Program
exit status 1
'REG_PORT_IN1' was not declared in this scope

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Quote
350a26dd49eb55d3494500240423a207?s=80&d=mm&r=g
(@robotn1)
Member Admin
Joined: 6 years ago
Posts: 757
 

It looks like your are not:

1) Extracting all the Arduino files in the same folder

2) Not selecting the correct Arduino board

3) Not selecting the right COM port

 

Have you installed the SAMD library for Arduino IDE?

 

1) Install the Arduino IDE 1.8.6 (the latest one we know does not create any conflict)
2) Install the SAMD Boards library 1.8.10.
3) Try to compile again the code and check you are not having any warning messages. If so, upload the code to the DEVIA control board.
4) Done!

NOTE:
remember to select the correct Arduino Board, in this case: ARDUINO/GENUINO ZERO (native USB port). In the case you can not see that board option: install the “Arduino SAMD Boards (32-bits ARM Cortex-M0+)” libraries. Go to Tools->Board->Boards Manager… and install the “Arduino SAMD Boards (32-bits ARM Cortex-M0+) (version 1.8.10)

Selecting the right board


ReplyQuote
74e03a034b0fd37775922f76ebbbc9e9?s=80&d=mm&r=g
(@tyler)
Member Customer
Joined: 4 months ago
Posts: 6
Topic starter  

Thank you, that helped me get the code to upload, however I am still having the WiFi connection issue. Now when I ender my SSID and Password, the webpage will sit and load until I get this error in the browser and I am not redirected to any other pages: 192.168.4.1 didn’t send any data. 

Is there any way for me to fix this? I am 100% sure I am using the correct SSID and Password.


ReplyQuote
74e03a034b0fd37775922f76ebbbc9e9?s=80&d=mm&r=g
(@tyler)
Member Customer
Joined: 4 months ago
Posts: 6
Topic starter  

It’s probably also worth noting that I have two lights on my board, a redish one and a greenish one. The red one always stays constant, but the green one flashes on and off.


ReplyQuote
350a26dd49eb55d3494500240423a207?s=80&d=mm&r=g
(@robotn1)
Member Admin
Joined: 6 years ago
Posts: 757
 

If the green ligth flashes that means the iboardbot can not get to the internet. Try this: set your smartphone in HOTSPOT mode and connect the iboardbot to it. The smartphones WIFI are almost always free of any kind of limitations. That will help to narrow down the problem.


ReplyQuote
74e03a034b0fd37775922f76ebbbc9e9?s=80&d=mm&r=g
(@tyler)
Member Customer
Joined: 4 months ago
Posts: 6
Topic starter  

I’ve tried to connect to my mobile hotspot as well, but whenever I try to add an SSID and password the webpage either immediately reloads and displays the same page with the data missing, or it will load infinitely until it times out and I get:  192.168.4.1 didn’t send any data. 


ReplyQuote
74e03a034b0fd37775922f76ebbbc9e9?s=80&d=mm&r=g
(@tyler)
Member Customer
Joined: 4 months ago
Posts: 6
Topic starter  

I was finally able to get it to work, and it wrote one time on the board, but now it won’t receive any more instructions. The Green light on the back is solid, but it will turn on for just 8 seconds, and then turns off for 20 seconds.


ReplyQuote
350a26dd49eb55d3494500240423a207?s=80&d=mm&r=g
(@robotn1)
Member Admin
Joined: 6 years ago
Posts: 757
 

@tyler What was the problem Tyler? If you have problems keeping the iboardbot connected to the internet try using your smartphone as hotspot. That connection is not capped and will help you to narrow down the problem.


ReplyQuote
Share: