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

teensy_loader_cli in platformio breaks on some large .hex files #568

Closed
blackketter opened this issue Mar 9, 2016 · 4 comments
Closed
Assignees
Milestone

Comments

@blackketter
Copy link

Configuration

MacOS X El Capitan
PlatformIO, version 2.8.5
Teensy Loader, Command Line, Version 2.0

Description of problem

The attached Teensy3.1 hex file:

BritepadSketch.ino.hex.zip

does not upload via the teensy_loader_cli as built by platformio.

A fresh build from https://github.com/PaulStoffregen/teensy_loader_cli succeeds.

Actual Results

~/.platformio/packages/tool-teensy/teensy_loader_cli -mmcu=mk20dx256 -w -s -v BritepadSketch.ino.hex 
Teensy Loader, Command Line, Version 2.0
Warning, HEX parse error line 8193
error reading intel hex file "BritepadSketch.ino.hex"

Expected Results

./teensy_loader_cli -mmcu=mk20dx256 -w -s -v BritepadSketch.ino.hex                                                                               
Teensy Loader, Command Line, Version 2.0
Read "BritepadSketch.ino.hex": 212236 bytes, 81.0% usage
Soft reboot is not implemented for OSX
Waiting for Teensy device...
 (hint: press the reset button)
Found HalfKay Bootloader
Read "BritepadSketch.ino.hex": 212236 bytes, 81.0% usage
Programming................................................................................................................................................................................................................
Booting
@ivankravets
Copy link
Member

@blackketter please provide teensy_loader_cli binary

@ivankravets ivankravets added this to the 2.8.6 milestone Mar 9, 2016
@blackketter
Copy link
Author

Here's my local build:

teensy_loader_cli.zip

@ivankravets
Copy link
Member

@valeros please rebuild Teensy CLI for all paltforms

@valeros
Copy link
Member

valeros commented Mar 10, 2016

Thanks, teensy_loader_cli was updated.
Please update your packages via platformio update

@valeros valeros closed this as completed Mar 10, 2016
ivankravets added a commit to ivankravets/homebrew that referenced this issue Mar 22, 2016
-   Launched [PlatformIO Community Forums](http://community.platformio.org) ([issue \Homebrew#530])
-   Added support for ARM mbed-enabled board Seed Arch Max (STM32F407VET6) ([issue \Homebrew#572])
-   Improved DNS lookup for PlatformIO API
-   Updated Arduino Wiring-based framework to the latest version for Atmel AVR/SAM development platforms
-   Updated “Teensy Loader CLI” and fixed uploading of large .hex files ([issue \Homebrew#568])
-   Updated the support for Sanguino Boards ([issue \Homebrew#586])
-   Better handling of used boards when re-initialize/update project
-   Improved support for non-Unicode user profiles for Windows OS
-   Disabled progress bar for download operations when prompts are disabled
-   Fixed multiple definition errors for ST STM32 development platform and ARM mbed framework ([issue \Homebrew#571])
-   Fixed invalid board parameters (reset method and baudrate) for a few ESP8266 based boards
-   Fixed “KeyError: ‘content-length’” in PlatformIO Download Manager ([issue \Homebrew#591])

  [issue \Homebrew#530]: platformio/platformio-core#530
  [issue \Homebrew#572]: platformio/platformio-core#572
  [issue \Homebrew#568]: platformio/platformio-core#568
  [issue \Homebrew#586]: platformio/platformio-core#586
  [issue \Homebrew#571]: platformio/platformio-core#571
  [issue \Homebrew#591]: platformio/platformio-core#591
xu-cheng pushed a commit to Homebrew/homebrew-core that referenced this issue Mar 23, 2016
-   Launched [PlatformIO Community Forums](http://community.platformio.org) ([issue \#530])
-   Added support for ARM mbed-enabled board Seed Arch Max (STM32F407VET6) ([issue \#572])
-   Improved DNS lookup for PlatformIO API
-   Updated Arduino Wiring-based framework to the latest version for Atmel AVR/SAM development platforms
-   Updated “Teensy Loader CLI” and fixed uploading of large .hex files ([issue \#568])
-   Updated the support for Sanguino Boards ([issue \#586])
-   Better handling of used boards when re-initialize/update project
-   Improved support for non-Unicode user profiles for Windows OS
-   Disabled progress bar for download operations when prompts are disabled
-   Fixed multiple definition errors for ST STM32 development platform and ARM mbed framework ([issue \#571])
-   Fixed invalid board parameters (reset method and baudrate) for a few ESP8266 based boards
-   Fixed “KeyError: ‘content-length’” in PlatformIO Download Manager ([issue \#591])

  [issue \#530]: platformio/platformio-core#530
  [issue \#572]: platformio/platformio-core#572
  [issue \#568]: platformio/platformio-core#568
  [issue \#586]: platformio/platformio-core#586
  [issue \#571]: platformio/platformio-core#571
  [issue \#591]: platformio/platformio-core#591

Closes Homebrew/legacy-homebrew#50326.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
benjaminfrank pushed a commit to benjaminfrank/homebrew that referenced this issue Apr 9, 2016
-   Launched [PlatformIO Community Forums](http://community.platformio.org) ([issue \Homebrew#530])
-   Added support for ARM mbed-enabled board Seed Arch Max (STM32F407VET6) ([issue \Homebrew#572])
-   Improved DNS lookup for PlatformIO API
-   Updated Arduino Wiring-based framework to the latest version for Atmel AVR/SAM development platforms
-   Updated “Teensy Loader CLI” and fixed uploading of large .hex files ([issue \Homebrew#568])
-   Updated the support for Sanguino Boards ([issue \Homebrew#586])
-   Better handling of used boards when re-initialize/update project
-   Improved support for non-Unicode user profiles for Windows OS
-   Disabled progress bar for download operations when prompts are disabled
-   Fixed multiple definition errors for ST STM32 development platform and ARM mbed framework ([issue \Homebrew#571])
-   Fixed invalid board parameters (reset method and baudrate) for a few ESP8266 based boards
-   Fixed “KeyError: ‘content-length’” in PlatformIO Download Manager ([issue \Homebrew#591])

  [issue \Homebrew#530]: platformio/platformio-core#530
  [issue \Homebrew#572]: platformio/platformio-core#572
  [issue \Homebrew#568]: platformio/platformio-core#568
  [issue \Homebrew#586]: platformio/platformio-core#586
  [issue \Homebrew#571]: platformio/platformio-core#571
  [issue \Homebrew#591]: platformio/platformio-core#591

Closes Homebrew#50326.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
jvillard pushed a commit to jvillard/homebrew that referenced this issue Jul 25, 2016
-   Launched [PlatformIO Community Forums](http://community.platformio.org) ([issue \Homebrew#530])
-   Added support for ARM mbed-enabled board Seed Arch Max (STM32F407VET6) ([issue \Homebrew#572])
-   Improved DNS lookup for PlatformIO API
-   Updated Arduino Wiring-based framework to the latest version for Atmel AVR/SAM development platforms
-   Updated “Teensy Loader CLI” and fixed uploading of large .hex files ([issue \Homebrew#568])
-   Updated the support for Sanguino Boards ([issue \Homebrew#586])
-   Better handling of used boards when re-initialize/update project
-   Improved support for non-Unicode user profiles for Windows OS
-   Disabled progress bar for download operations when prompts are disabled
-   Fixed multiple definition errors for ST STM32 development platform and ARM mbed framework ([issue \Homebrew#571])
-   Fixed invalid board parameters (reset method and baudrate) for a few ESP8266 based boards
-   Fixed “KeyError: ‘content-length’” in PlatformIO Download Manager ([issue \Homebrew#591])

  [issue \Homebrew#530]: platformio/platformio-core#530
  [issue \Homebrew#572]: platformio/platformio-core#572
  [issue \Homebrew#568]: platformio/platformio-core#568
  [issue \Homebrew#586]: platformio/platformio-core#586
  [issue \Homebrew#571]: platformio/platformio-core#571
  [issue \Homebrew#591]: platformio/platformio-core#591

Closes Homebrew#50326.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants