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 weeks ago
Posts: 3
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:44:12: error: 'REG_PORT_IN1' was not declared in this scope

   return !(REG_PORT_IN1 & PORT_PB03);

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

iBoardBot_114_M0:44:27: 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:44:27: 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:77:3: 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:77:3: note: suggested alternative: 'Serial'

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

   ^~~~~~~~~

   Serial

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

   Serial1.begin(115200); // Wifi initialization

   ^~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\iBoardBot_114_M0.ino:79:3: 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:282:11: 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:282:11: note: suggested alternative: 'Serial'

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

           ^~~~~~~~~

           Serial

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

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

             ^~~~~~~~~

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

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

             ^~~~~~~~~

             Serial

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

               SerialUSB.print(" Start block:");

               ^~~~~~~~~

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

               SerialUSB.print(" Start block:");

               ^~~~~~~~~

               Serial

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

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

               ^~~~~~~~~

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

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

               ^~~~~~~~~

               Serial

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

               SerialUSB.println(" !START DRAW");

               ^~~~~~~~~

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

               SerialUSB.println(" !START DRAW");

               ^~~~~~~~~

               Serial

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

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

             ^~~~~~~~~

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

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

             ^~~~~~~~~

             Serial

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

               SerialUSB.println(" SNP");

               ^~~~~~~~~

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

               SerialUSB.println(" SNP");

               ^~~~~~~~~

               Serial

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

               SerialUSB.println(" SP");

               ^~~~~~~~~

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

               SerialUSB.println(" SP");

               ^~~~~~~~~

               Serial

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

               SerialUSB.println(" SE");

               ^~~~~~~~~

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

               SerialUSB.println(" SE");

               ^~~~~~~~~

               Serial

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

               SerialUSB.println(" WM");

               ^~~~~~~~~

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

               SerialUSB.println(" WM");

               ^~~~~~~~~

               Serial

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

               SerialUSB.print("E");

               ^~~~~~~~~

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

               SerialUSB.print("E");

               ^~~~~~~~~

               Serial

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

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

           ^~~~~~~~~

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

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

           ^~~~~~~~~

           Serial

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

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

           ^~~~~~~~~

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

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

           ^~~~~~~~~

           Serial

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

       SerialUSB.println();

       ^~~~~~~~~

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

       SerialUSB.println();

       ^~~~~~~~~

       Serial

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

             Serial1.println();

             ^~~~~~~

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

             Serial1.println();

             ^~~~~~~

             Serial

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

Steppers:22:3: 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:22:3: note: suggested alternative: 'PC3'

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

   ^~~

   PC3

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

   REG_PORT_OUTSET0 = PORT_PA21; // STEP X-AXIS

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

Steppers:25:22: 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:25:22: note: suggested alternative: 'PORTB1'

   REG_PORT_OUTSET0 = PORT_PA21; // STEP X-AXIS

                      ^~~~~~~~~

                      PORTB1

Steppers:28:3: 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:34:3: error: 'TC5' was not declared in this scope

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

   ^~~

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

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

   ^~~

   PC5

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

   REG_PORT_OUTSET0 = PORT_PA15; // STEP Y-AXIS

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

Steppers:37:22: 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:37:22: note: suggested alternative: 'PORTB1'

   REG_PORT_OUTSET0 = PORT_PA15; // STEP Y-AXIS

                      ^~~~~~~~~

                      PORTB1

Steppers:40:3: 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:132:5: error: 'REG_PORT_OUTCLR0' was not declared in this scope

     REG_PORT_OUTCLR0 = PORT_PA06; // X-DIR

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

Steppers:132:24: 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:132:24: note: suggested alternative: 'PORT0'

     REG_PORT_OUTCLR0 = PORT_PA06; // X-DIR

                        ^~~~~~~~~

                        PORT0

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

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

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

Steppers:141:24: 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:141:24: note: suggested alternative: 'PORT0'

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

                        ^~~~~~~~~

                        PORT0

Steppers:161:3: 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:161:3: note: suggested alternative: 'PC3'

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

   ^~~

   PC3

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

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

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

Steppers:168:38: 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:199:5: error: 'REG_PORT_OUTCLR0' was not declared in this scope

     REG_PORT_OUTCLR0 = PORT_PA20;

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

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

     REG_PORT_OUTCLR0 = PORT_PA20;

                        ^~~~~~~~~

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

     REG_PORT_OUTCLR0 = PORT_PA20;

                        ^~~~~~~~~

                        PORT0

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

     REG_PORT_OUTSET0 = PORT_PA20;

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

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

     REG_PORT_OUTSET0 = PORT_PA20;

                        ^~~~~~~~~

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

     REG_PORT_OUTSET0 = PORT_PA20;

                        ^~~~~~~~~

                        PORT0

Steppers:225:3: 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:225:3: note: suggested alternative: 'PC5'

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

   ^~~

   PC5

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

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

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

Steppers:232:12: 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:232:12: note: suggested alternative: 'PC3'

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

            ^~~

            PC3

Steppers:232:38: 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:326:2: 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:326:2: note: suggested alternative: 'SCL'

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

  ^~~~

  SCL

Steppers:326:34: 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:326:55: 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:326:96: 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:326:80: 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:328:96: 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:332:2: error: 'TC3' was not declared in this scope

  TC3->COUNT16.CTRLA.reg = TC_CTRLA_SWRST;

  ^~~

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

  TC3->COUNT16.CTRLA.reg = TC_CTRLA_SWRST;

  ^~~

  PC3

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

  TC3->COUNT16.CTRLA.reg = TC_CTRLA_SWRST;

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

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

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

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

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

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

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

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

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

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

Steppers:341:28: 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:341:55: 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:345:35: error: 'TC_STATUS_SYNCBUSY' was not declared in this scope

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

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

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

  NVIC_DisableIRQ(TC3_IRQn);

                  ^~~~~~~~

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

  NVIC_DisableIRQ(TC3_IRQn);

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

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

  NVIC_ClearPendingIRQ(TC3_IRQn);

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

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

  NVIC_SetPriority(TC3_IRQn, 0);

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

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

  NVIC_EnableIRQ(TC3_IRQn);

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

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

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

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

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

  TC5->COUNT16.CTRLA.reg = TC_CTRLA_SWRST;

  ^~~

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

  TC5->COUNT16.CTRLA.reg = TC_CTRLA_SWRST;

  ^~~

  PC5

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

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

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

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

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

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

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

  NVIC_DisableIRQ(TC5_IRQn);

                  ^~~~~~~~

Steppers:381:35: 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:387:3: 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:387:3: note: suggested alternative: 'PC3'

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

   ^~~

   PC3

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

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

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

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

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

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

Steppers:389:3: 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:389:3: note: suggested alternative: 'PC5'

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

   ^~~

   PC5

Steppers:390:36: 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:396:3: error: 'TC3' was not declared in this scope

   TC3->COUNT16.CTRLA.reg = TC_CTRLA_SWRST;

   ^~~

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

   TC3->COUNT16.CTRLA.reg = TC_CTRLA_SWRST;

   ^~~

   PC3

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

   TC3->COUNT16.CTRLA.reg = TC_CTRLA_SWRST;

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

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

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

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

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

   TC5->COUNT16.CTRLA.reg = TC_CTRLA_SWRST;

   ^~~

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

   TC5->COUNT16.CTRLA.reg = TC_CTRLA_SWRST;

   ^~~

   PC5

Steppers:400:36: 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:407:3: error: 'TC3' was not declared in this scope

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

   ^~~

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

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

   ^~~

   PC3

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

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

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

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

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

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

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

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

   ^~~

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

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

   ^~~

   PC5

Steppers:410:36: 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:9:3: error: 'SerialUSB' was not declared in this scope

   SerialUSB.print("Read wifi configuration");

   ^~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino:9:3: 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:19:3: error: 'SerialUSB' was not declared in this scope

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

   ^~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino:19:3: 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:33:3: error: 'SerialUSB' was not declared in this scope

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

   ^~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino:33:3: 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:56:3: error: 'SerialUSB' was not declared in this scope

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

   ^~~~~~~~~

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

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

   ^~~~~~~~~

   Serial

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

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

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

   ^~~~~~~~~

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

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

   ^~~~~~~~~

   Serial

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

   Serial1.println("AT+RST");

   ^~~~~~~

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

   Serial1.println("AT+RST");

   ^~~~~~~

   Serial

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

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

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

   ^~~~~~~

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

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

   ^~~~~~~

   Serial

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

   SerialUSB.print("MAC:");

   ^~~~~~~~~

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

   SerialUSB.print("MAC:");

   ^~~~~~~~~

   Serial

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

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

   Serial1.println("AT+CWQAP");

   ^~~~~~~

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

   Serial1.println("AT+CWQAP");

   ^~~~~~~

   Serial

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

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

   ^~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino:145:3: 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:169:9: error: 'Serial1' was not declared in this scope

     if (Serial1.available()) {

         ^~~~~~~

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

     if (Serial1.available()) {

         ^~~~~~~

         Serial

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

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

   Serial1.flush();

   ^~~~~~~

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

   Serial1.flush();

   ^~~~~~~

   Serial

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

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

   if (Serial1.available()) {

       ^~~~~~~

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

   if (Serial1.available()) {

       ^~~~~~~

       Serial

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

     SerialUSB.print(c[0]);

     ^~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino:194:5: 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:211:7: error: 'SerialUSB' was not declared in this scope

       SerialUSB.println("!Timeout!");

       ^~~~~~~~~

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

       SerialUSB.println("!Timeout!");

       ^~~~~~~~~

       Serial

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

       SerialUSB.println();

       ^~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino:227:7: 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:245:7: error: 'SerialUSB' was not declared in this scope

       SerialUSB.println("!Timeout!");

       ^~~~~~~~~

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

       SerialUSB.println("!Timeout!");

       ^~~~~~~~~

       Serial

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

       SerialUSB.println();

       ^~~~~~~~~

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

       SerialUSB.println();

       ^~~~~~~~~

       Serial

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

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

     if (Serial1.available()) {

         ^~~~~~~

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

     if (Serial1.available()) {

         ^~~~~~~

         Serial

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

       SerialUSB.print(c1);

       ^~~~~~~~~

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

       SerialUSB.print(c1);

       ^~~~~~~~~

       Serial

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

   SerialUSB.println("!Timeout!");

   ^~~~~~~~~

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

   SerialUSB.println("!Timeout!");

   ^~~~~~~~~

   Serial

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

   Serial1.flush();

   ^~~~~~~

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

   Serial1.flush();

   ^~~~~~~

   Serial

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

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

     SerialUSB.print("!Timeout");

     ^~~~~~~~~

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

     SerialUSB.print("!Timeout");

     ^~~~~~~~~

     Serial

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

   while (Serial1.available()) {

          ^~~~~~~

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

   while (Serial1.available()) {

          ^~~~~~~

          Serial

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

       SerialUSB.println("CCLOSED!");

       ^~~~~~~~~

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

       SerialUSB.println("CCLOSED!");

       ^~~~~~~~~

       Serial

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

           SerialUSB.print("SIZE:");

           ^~~~~~~~~

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

           SerialUSB.print("SIZE:");

           ^~~~~~~~~

           Serial

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

           SerialUSB.println("END");

           ^~~~~~~~~

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

           SerialUSB.println("END");

           ^~~~~~~~~

           Serial

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

           SerialUSB.println("Packet start!");

           ^~~~~~~~~

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

           SerialUSB.println("Packet start!");

           ^~~~~~~~~

           Serial

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

           SerialUSB.println("END");

           ^~~~~~~~~

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

           SerialUSB.println("END");

           ^~~~~~~~~

           Serial

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

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

           ^~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino:419:11: 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:453:3: error: 'Serial1' was not declared in this scope

   Serial1.println(cmd_get);

   ^~~~~~~

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

   Serial1.println(cmd_get);

   ^~~~~~~

   Serial

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

     SerialUSB.println("Connection error");

     ^~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino:474:5: 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:506:7: error: 'SerialUSB' was not declared in this scope

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

       ^~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino:506:7: 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:533:12: error: 'Serial1' was not declared in this scope

     while (Serial1.available()) {

            ^~~~~~~

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

     while (Serial1.available()) {

            ^~~~~~~

            Serial

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

       SerialUSB.print(ch);

       ^~~~~~~~~

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

       SerialUSB.print(ch);

       ^~~~~~~~~

       Serial

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

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

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

   ^~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino:697:3: 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:727:3: error: 'Serial1' was not declared in this scope

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

   ^~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino:727:3: 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:758:3: error: 'Serial1' was not declared in this scope

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

   ^~~~~~~

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

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

   ^~~~~~~

   Serial

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

   SerialUSB.println("->CIPCLOSE");

   ^~~~~~~~~

C:\Users\shmyl\Desktop\iBoardBot_114_M0\WifiESP.ino:783:3: 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: 5 years ago
Posts: 735
 

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 weeks ago
Posts: 3
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 weeks ago
Posts: 3
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: 5 years ago
Posts: 735
 

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
Share: