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 4.x w/1062 coming out in Encrypted version #82

Open
Defragster opened this issue Nov 3, 2021 · 3 comments
Open

Teensy 4.x w/1062 coming out in Encrypted version #82

Defragster opened this issue Nov 3, 2021 · 3 comments

Comments

@Defragster
Copy link

Currently in Beta - only Teensy.exe Loader knows the process and steps for parsing an encrypted .eHex file and determining when it is required for upload and then programming it into a 1062 Teensy.

First step would be having TyComm 'delegate' uploading as a .hex file will not work when locked and an .eHex is required.

Currently using TyComm for SerMon and doing 'Ctrl+R' verify builds then with Teensy.exe active I hit 'gui Bootloader' to drop the USB connection and put Teensy in Bootloader which inspires the Teensy>exe to upload.

NOTE: the "Reset" process of triggering bootloader than triggering start really 'confuses' Teensy.exe as it catches the bootloader event - then gets blocked by TyComm and Teensy.exe does odd timeout when the Teensy disappears and starts running.

Also there isn't a single thread with all the Locked 1062 info - it started with TD 1.55 and is extending into TD 1.56 b1 and b2 so far. Expected hardware availability before December 2021.

@Koromix
Copy link
Owner

Koromix commented Nov 3, 2021

Thanks for the info, will eventually look into it :)

@Defragster
Copy link
Author

Encrypted 1062's are soon if not already online - DIY bootloader chips have chipped - even it seems SFun MicroMod making one too?
Not sure if updated Teensy Loader to expose the steps is pending or do-able. When locked it seems not only must the HEX key be identified as needed - but perhaps a stub code needed to interface to the locked chip in some fashion?
To date have only tried using Teensy.exe for uploads - not sure what error TyComm might see.
Have been using IDE without integration or TSET from editor windows batch file with --delegate. Not tried 'integration with --delegate' option?
Perhaps a Teensy 1062 option by Serial# to 'delegate' uploads? Can the TeensyCLI tool be called so that loader isn't needed?

@tluliak
Copy link

tluliak commented Jan 16, 2022

Paul has posted some additional information on the .ehex file format here. Is there currently a version of TeensyCLI that will write .ehex to locked boards?

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

No branches or pull requests

3 participants