#1 2015-12-19 15:16:23

pdpw
Member
From: Cumbria, UK
Registered: 2015-12-19
Posts: 4

Firmware installation

Hi, I've built up PLEN2 and i'm now ready to install the firmware. How do I do this? I've downloaded the latest Arduino IDE 1.6.7 and the latest firmware, I plugged in PLEN2 clicked upload and it failed to upload. Any ideas what i'm doing wrong?

Error message I receive when I try to upload firmware

Arduino: 1.6.7 (Windows 10), Board: "Arduino/Genuino Micro"

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

JointController.cpp:150: error: lvalue required as left operand of assignment

  TCCR1B =

         ^

exit status 1
lvalue required as left operand of assignment

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

Last edited by pdpw (2015-12-19 19:29:29)

Offline

#2 2015-12-21 02:05:42

Guvalif
Moderator
From: Osaka / Japan
Registered: 2015-08-31
Posts: 45
Website

Re: Firmware installation

Hi, pdpw

I have tested same environment, but I have got no errors...

You could get Arduino IDE ver.1.6.5 from following link.
-> https://www.arduino.cc/en/Main/OldSoftw … s#previous
Would you tell me that the problem is happening even if to install the firmware in the enviroment?

Offline

#3 2015-12-21 06:49:11

pdpw
Member
From: Cumbria, UK
Registered: 2015-12-19
Posts: 4

Re: Firmware installation

Using Arduino 1.6.5 I get the same error message

plen2_uploaderror.jpg

Last edited by pdpw (2015-12-21 06:50:15)

Offline

#4 2015-12-22 06:23:02

Guvalif
Moderator
From: Osaka / Japan
Registered: 2015-08-31
Posts: 45
Website

Re: Firmware installation

For confirmation, have you edit the firmware?

I found a mistake that end of your line 148 is pipe(= |) but it is not semi-colon(= ;).
-> https://github.com/plenproject/PLEN2/bl … r.cpp#L148

Offline

#5 2015-12-22 06:43:49

pdpw
Member
From: Cumbria, UK
Registered: 2015-12-19
Posts: 4

Re: Firmware installation

Yes, I downloaded the firmware again, this time it worked :) but still got a few problems lol. I switched him on and because the motors aren't set the arms and legs flew off in different directions and broke a couple of parts (knee joint for servo horn, and servo bracket, also where the servo horn goes) I will have to try and print out some stronger parts.

Offline

Board footer

Powered by FluxBB