You are not logged in.

#1 Re: Any Questions » Firmware installation » 2017-09-23 16:55:24

Silly me!

Indeed I did not select the correct board.

Thank you so much Guvalif.

#2 Re: Any Questions » Firmware installation » 2017-09-22 14:49:44

I've down loaded the Firmware 1.4.2 and straight away tried uploading to the control board. However, I can't get it through. The Arduino error message shown below: -

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

In file included from c:\program files (x86)\arduino 1_8_0\hardware\tools\avr\avr\include\avr\io.h:99:0,

                 from c:\program files (x86)\arduino 1_8_0\hardware\tools\avr\avr\include\avr\pgmspace.h:90,

                 from sketch\JointController.cpp:13:

sketch\JointController.cpp: In member function 'void PLEN2::JointController::loadSettings()':

JointController.cpp:152: error: 'COM1C1' was not declared in this scope

         _BV(COM1C1) | _BV(COM1C0);  // Set OC1C to HIGH when compare matched.

             ^

JointController.cpp:152: error: 'COM1C0' was not declared in this scope

         _BV(COM1C1) | _BV(COM1C0);  // Set OC1C to HIGH when compare matched.

                           ^

JointController.cpp:158: error: 'OCF1C' was not declared in this scope

     TIFR1 = _BV(OCF1A) | _BV(OCF1B) | _BV(OCF1C) | _BV(TOV1); // Clearing interruption flag.

                                           ^

sketch\JointController.cpp: In function 'void __vector_13()':

JointController.cpp:37: error: 'OCR1C' was not declared in this scope

#define PLEN2_JOINTCONTROLLER_PWM_OUT_00_07_REGISTER OCR1C

                                                      ^

sketch\JointController.cpp:557:5: note: in expansion of macro 'PLEN2_JOINTCONTROLLER_PWM_OUT_00_07_REGISTER'

     PLEN2_JOINTCONTROLLER_PWM_OUT_00_07_REGISTER = JointController::m_pwms[

     ^

exit status 1
'COM1C1' was not declared in this scope
======================================


I have also tried Arduino 1.6.5 and 1.8.0 to compile PLEN2 Firmware version 1.4.1 and 1.4.2. All of them yielded the same error message.

I have no clue on which way to come around this problem.

Anyone, please help

Board footer

Powered by FluxBB