Skip to content
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

env:digispark-tiny, env:attiny45: uploading does not do anything #13

Closed
Flummy opened this issue Sep 30, 2016 · 0 comments
Closed

env:digispark-tiny, env:attiny45: uploading does not do anything #13

Flummy opened this issue Sep 30, 2016 · 0 comments
Labels

Comments

@Flummy
Copy link

Flummy commented Sep 30, 2016

PlatformIO, version 3.1.0 on Ubuntu 16.04.1 x86_64

Using a breadboarded ATtiny45, "Blink" example sketch to be programmed with a mySmartUSBlight on /dev/mysmartusb1 (symlink to /dev/ttyUSB1) and platformio.ini.txt

The Blink sketch is built successfully, but the upload using programmer claims "=== [SUCCESS]" without even calling avrdude:

$ pio run --environment digispark-tiny --target=program
Looking for upload port...
Programming .pioenvs/digispark-tiny/firmware.hex
=== [SUCCESS]

$ pio run --verbose --environment digispark-tiny --target=program --upload-port /dev/mysmartusb1
BeforeUpload(["program"], [".pioenvs/digispark-tiny/firmware.hex"])
=== [SUCCESS]

The usual "avrdude: AVR device initialized and ready to accept instructions" output is not displayed.

  • I (believe I) successfully uploaded a sketch to an ATtiny45 using a unknown version of platformio today
  • Then I updated PlatformIO, PlatformIO IDE and Atom
  • Now avrdude is never called when executing pio run --environment digispark-tiny --target=program:
    pio-attiny-strace.txt

I also exited atom, removed $HOME/.platformio and tried again with the same outcome.
My micronucleus binary seems to be ELF 64 bit.
Edit: Uploading using the IDE menu functions "Upload using Programmer" and "Upload" had the same result.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants