RoboterCC - Robotic Code Compiler
Forum Robot Kits NIBO 2 where is bootloader with Arduino and NiboRoboLib

Welcome

Nachrichten

Sie sind nicht eingeloggt.

Werbung

Letzte Themen

  • Keine Beiträge vorhanden

Site-Statistic

  • 7426 private projects
  • 385 public projects
  • 16180353 lines compiled
  • 58212 builds
NIBO @ facebook YouTube Twitter
Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:
  • Seite:
  • 1
  • 2

THEMA: where is bootloader with Arduino and NiboRoboLib

where is bootloader with Arduino and NiboRoboLib 7 Jahre 5 Monate her #3928

Hello :help:
after having installed Arduino with the NiboRoboLib I wanted to upload a first sketch to the Nibo2 over the attached UCO-IR2 programmer. When I first "verified" the sketch the following error message appeared:
Bootloader file specified but missing: C:\Program Files (x86)\Arduino\hardware\nicai\avr\bootloaders\DoNotEraseTheBootloader
Arduino is installed in Windows 7. In Linux I was not able to install the NiboRoboLib :oops: Thorough description on install steps are welcome.

Note: up to now I was not able to upload any sketch with any programming environment and dont know how to upload any programm from Roboter.cc !

Where can I find and install a correct bootloader? Thank you very much. I am a newbie in arduino, Nibo2 and UCO-IR2.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

where is bootloader with Arduino and NiboRoboLib 7 Jahre 5 Monate her #3929

  • workwind
  • workwinds Avatar
  • OFFLINE
  • Administrator
  • Beiträge: 573
Hi bluesailor,

NIBO robots does not use a bootloader - the entire chip can be programmed by the user!
Just ignore the warning from the Arduino-GUI...

-workwind-
Der Administrator hat öffentliche Schreibrechte deaktiviert.

where is bootloader with Arduino and NiboRoboLib 7 Jahre 5 Monate her #3930

Hi workwind
thank you very much for your fast response.
I managed now to install Arduino on Linux and managed to install the arduino parts of NiboRoboLib_304 (library and hardware). Now on Tools it shows: nicai systems NIBO2 robot and in programmer: UCOM-IR2 / UCOM-IR2-X (stk500v2)
Now when I verify the first trivia sample sketch from nicai, error message:
Arduino: 1.6.13 (Linux), Board: "nicai-systems NIBO 2 robot"

/home/kurt/Arduino/arduino-builder -dump-prefs -logger=machine -hardware /home/kurt/Arduino/hardware -hardware /home/kurt/Documents/AVRpgm/hardware -tools /home/kurt/Arduino/tools-builder -tools /home/kurt/Arduino/hardware/tools/avr -built-in-libraries /home/kurt/Arduino/libraries -libraries /home/kurt/Documents/AVRpgm/libraries -fqbn=nicai:avr:nibo2 -ide-version=10613 -build-path /tmp/arduino_build_839572 -warnings=none -prefs=build.warn_data_percentage=75 -verbose /home/kurt/Documents/AVRpgm/libraries/NIBO2/libraries/NIBO2/examples/Tutorial/TT01_ErsterSketch/TT01_ErsterSketch.ino
/home/kurt/Arduino/arduino-builder -compile -logger=machine -hardware /home/kurt/Arduino/hardware -hardware /home/kurt/Documents/AVRpgm/hardware -tools /home/kurt/Arduino/tools-builder -tools /home/kurt/Arduino/hardware/tools/avr -built-in-libraries /home/kurt/Arduino/libraries -libraries /home/kurt/Documents/AVRpgm/libraries -fqbn=nicai:avr:nibo2 -ide-version=10613 -build-path /tmp/arduino_build_839572 -warnings=none -prefs=build.warn_data_percentage=75 -verbose /home/kurt/Documents/AVRpgm/libraries/NIBO2/libraries/NIBO2/examples/Tutorial/TT01_ErsterSketch/TT01_ErsterSketch.ino
Using board 'nibo2' from platform in folder: /home/kurt/Documents/AVRpgm/hardware/nicai/avr
Using core 'arduino' from platform in folder: /home/kurt/Documents/AVRpgm/hardware/nicai/avr
Detecting libraries used...
recipe.preproc.macros pattern is missing

Error compiling for board nicai-systems NIBO 2 robot.
sketch is as follows:
#include <NIBO2.h>
#include <NIBO_GFX.h>

void setup() {
NIBO2.begin();
}

void loop() {
NIBO2.setLed(0, LED_RED);
delay(500);
NIBO2.setLed(0, LED_GREEN);
delay(500);
}
how can I include missing macro?
Thanks a lot
Der Administrator hat öffentliche Schreibrechte deaktiviert.

where is bootloader with Arduino and NiboRoboLib 7 Jahre 5 Monate her #3931

  • workwind
  • workwinds Avatar
  • OFFLINE
  • Administrator
  • Beiträge: 573
to use arduino 1.6.13 under linux you have to replace the file
[arduino]/hardware/nicai/avr/platform.txt
by the file
[arduino]/hardware/nicai/avr/platform_167.txt

that should do it B)

-workwind-
Der Administrator hat öffentliche Schreibrechte deaktiviert.

where is bootloader with Arduino and NiboRoboLib 7 Jahre 5 Monate her #3933

Thank you workwind
you helped me a lot. I am now able to compile the program and am ready to upload.
unfortunately I am now stuck with the error:

avrdude: stk500v2_command(): command failed
avrdude: initialization failed, rc=-1

After connecting the programmer to the PC the LED is continuous green. After command failed it is continuous red.
I have left the programmer UCOM-IR2-X unchanged as it was delivered - jumper JP1 still in place (No firmware upgraded).

Is there something wrong with the firmware on the programmer????
Der Administrator hat öffentliche Schreibrechte deaktiviert.

where is bootloader with Arduino and NiboRoboLib 7 Jahre 5 Monate her #3934

  • workwind
  • workwinds Avatar
  • OFFLINE
  • Administrator
  • Beiträge: 573
Remove JP1 and try again! ;)
Der Administrator hat öffentliche Schreibrechte deaktiviert.
  • Seite:
  • 1
  • 2
Ladezeit der Seite: 0.048 Sekunden

Werbung