Skip to content

[bootloader] [test needed] Bootloader leds activity #64

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 6 commits into from

Conversation

aethaniel
Copy link
Contributor

This PR brings:

  • activity LEDs support
  • Genuino Zero build
  • Arduino IDE 1.6.6 (MSWin specific change in APPDATA from Roaming to Local)

Readme.md updated with added 'how-to build' section.

I currently have a problem with my laptop which is refusing to mount properly the Arduino Zero.
Help is needed to verify the LED activity behaviour :-)

Signed-off-by: Thibaut VIARD <aethaniel@sam-geek.org>
Signed-off-by: Thibaut VIARD <aethaniel@sam-geek.org>
Signed-off-by: Thibaut VIARD <aethaniel@sam-geek.org>
Signed-off-by: Thibaut VIARD <aethaniel@sam-geek.org>
Signed-off-by: Thibaut VIARD <aethaniel@sam-geek.org>
Signed-off-by: Thibaut VIARD <aethaniel@sam-geek.org>
@facchinm
Copy link
Member

@ArduinoBot build this please

@ArduinoBot
Copy link

✅ Build completed.

⬇️ Build URL: http://downloads.arduino.cc/PR/samd/package_samd-b43_index.json

ℹ️ To test this build:

  1. Open the Preferences of the Arduino IDE.
  2. Add the Build URL above in the Additional Boards Manager URLs field, and click OK.
  3. Open the Boards Manager (menu Tools->Board->Board Manager...)
  4. Install Arduino SAMD core - Pull Request [bootloader] [test needed] Bootloader leds activity #64
  5. Select one of the boards under SAMD Pull Request [bootloader] [test needed] Bootloader leds activity #64 in Tools->Board menu
  6. Compile/Upload as usual

@AloyseTech
Copy link

Error when trying to upload the bootloader from 1.6.6 with atmel ICE.
Error when trying to program the zero again :

/Applications/Arduino/1.6.6/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware "/Applications/Arduino/1.6.6/Arduino.app/Contents/Java/hardware" -hardware "/Users/TheoMeyer/Library/Arduino15/packages" -tools "/Applications/Arduino/1.6.6/Arduino.app/Contents/Java/tools-builder" -tools "/Applications/Arduino/1.6.6/Arduino.app/Contents/Java/hardware/tools/avr" -tools "/Users/TheoMeyer/Library/Arduino15/packages" -built-in-libraries "/Applications/Arduino/1.6.6/Arduino.app/Contents/Java/libraries" -libraries "/Users/TheoMeyer/Documents/Arduino/libraries" -fqbn=arduino:samd:arduino_zero_native -vid-pid=0X2341_0X804D -ide-version=10606 -build-path "/var/folders/v6/tj3__g0x16gfgz5vmcx385s80000gn/T/build6d4dfa44b4b978531c5b7578e36f2b24.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "/Applications/Arduino/1.6.6/Arduino.app/Contents/Java/examples/01.Basics/Blink/Blink.ino"
/Applications/Arduino/1.6.6/Arduino.app/Contents/Java/arduino-builder -compile -logger=machine -hardware "/Applications/Arduino/1.6.6/Arduino.app/Contents/Java/hardware" -hardware "/Users/TheoMeyer/Library/Arduino15/packages" -tools "/Applications/Arduino/1.6.6/Arduino.app/Contents/Java/tools-builder" -tools "/Applications/Arduino/1.6.6/Arduino.app/Contents/Java/hardware/tools/avr" -tools "/Users/TheoMeyer/Library/Arduino15/packages" -built-in-libraries "/Applications/Arduino/1.6.6/Arduino.app/Contents/Java/libraries" -libraries "/Users/TheoMeyer/Documents/Arduino/libraries" -fqbn=arduino:samd:arduino_zero_native -vid-pid=0X2341_0X804D -ide-version=10606 -build-path "/var/folders/v6/tj3__g0x16gfgz5vmcx385s80000gn/T/build6d4dfa44b4b978531c5b7578e36f2b24.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "/Applications/Arduino/1.6.6/Arduino.app/Contents/Java/examples/01.Basics/Blink/Blink.ino"
Attention: platform.txt du cœur 'Arduino SAMD (32-bits ARM Cortex-M0+) Boards' contiens recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compiler.ar.extra_flags} "{build.path}/{archive_file}" "{object_file}" dépassé, converti automatiquement en recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compiler.ar.extra_flags} "{archive_file_path}" "{object_file}". La mise a niveau de ce cœur est conseillée.
Attention: platform.txt du cœur 'SAMD Pull request #64 (Build 43)' contiens recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compiler.ar.extra_flags} "{build.path}/{archive_file}" "{object_file}" dépassé, converti automatiquement en recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compiler.ar.extra_flags} "{archive_file_path}" "{object_file}". La mise a niveau de ce cœur est conseillée.
ATTENTION : La catégorie '' dans la bibliothèque OneWire n'est pas valide. Définition sur : 'Uncategorized'
ATTENTION : La catégorie '' dans la bibliothèque UIPEthernet n'est pas valide. Définition sur : 'Uncategorized'
"/bin/arm-none-eabi-g++" -w -x c++ -M -MG -MP -DF_CPU=48000000L -DARDUINO=10606 -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD  -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x804d -DUSBCON '-DUSB_MANUFACTURER="Arduino LLC"' '-DUSB_PRODUCT="Arduino Zero"' "-I/Users/TheoMeyer/Library/Arduino15/packages/arduino/hardware/samd/1.6.2/cores/arduino" "-I/Users/TheoMeyer/Library/Arduino15/packages/arduino/hardware/samd/1.6.2/variants/arduino_zero" "/var/folders/v6/tj3__g0x16gfgz5vmcx385s80000gn/T/build6d4dfa44b4b978531c5b7578e36f2b24.tmp/sketch/Blink.ino.cpp"
fork/exec /bin/arm-none-eabi-g++: no such file or directory
Erreur lors de la compilation.

It seems that when I installed this build, it removed the arm-none-eabi from the main samd package in Arduino15/package/......

@AloyseTech
Copy link

@aethaniel It works now : I only copied the bootloader directories and replace the 1.6.2 one by yours. Thanks for the update, it's great to see those leds blink while uploading! The led blinking is so fast that it looks like they are always on though.

@aethaniel
Copy link
Contributor Author

Great!
Thanks for testing this 'new' feature!

On 13 November 2015 20:32:14 CET, AloyseTech notifications@github.com wrote:

@aethaniel It works now : I only copied the bootloader directories and
replace the 1.6.2 one by yours. Thanks for the update, it's great to
see those leds blink while uploading! The led blinking is so fast that
it looks like they are always on though.


Reply to this email directly or view it on GitHub:
#64 (comment)

Envoyé de mon téléphone Android avec K-9 Mail. Excusez la brièveté.

@sandeepmistry
Copy link
Contributor

Just tried this out, after I burn the new bootloader the RX LED is alway lit (although dim). I'll look into using a similar approach to #121.

@cmaglie
Copy link
Member

cmaglie commented Sep 22, 2016

Superseded by #165

@cmaglie cmaglie closed this Sep 22, 2016
@cmaglie cmaglie modified the milestones: Release 1.6.7, Release 1.6.6 Sep 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants