Is there a workflow that works with VSCode to produce/upload the encrypted EHEX file when I use the tools available with Platform IO?
I tried putting the key.pem file in various locations that I thought might work:
C:\Users\*Username*\Documents\PlatformIO\Projects\ - (Similar to sketchbook folder where it lives with the Arduino IDE)
*\Projects\MV_Controller_SureServo2\.pio\build\teensy41\ - (Where the regular hex file gets saved normally)
C:\Users\*Username*\.platformio\packages\tool-teensy - (Where the teensy.exe lives)
But I don't get an EHEX file.
Also what about the Fuse Write Sketch, Verify Sketch, and Lock Security Sketches? I can save all these out from the "Teensy 4 Security" interface, but will they be usable with multiple boards? I see that the lock sketch references a serial number, which may only work with the current board I'm testing (purely conjecture on my part here.) I know of course that I need to keep the fuse write sketch as safe and secure as my key.pem, but will it work to keep using that same sketch with different boards? I only have the one lockable teensy to play with right now, so I haven't done anything to it yet (still fully unlocked.) I just want to make sure I don't do something dumb and cause a problem with my workflow down the line.
Thanks so much!
I tried putting the key.pem file in various locations that I thought might work:
C:\Users\*Username*\Documents\PlatformIO\Projects\ - (Similar to sketchbook folder where it lives with the Arduino IDE)
*\Projects\MV_Controller_SureServo2\.pio\build\teensy41\ - (Where the regular hex file gets saved normally)
C:\Users\*Username*\.platformio\packages\tool-teensy - (Where the teensy.exe lives)
But I don't get an EHEX file.
Also what about the Fuse Write Sketch, Verify Sketch, and Lock Security Sketches? I can save all these out from the "Teensy 4 Security" interface, but will they be usable with multiple boards? I see that the lock sketch references a serial number, which may only work with the current board I'm testing (purely conjecture on my part here.) I know of course that I need to keep the fuse write sketch as safe and secure as my key.pem, but will it work to keep using that same sketch with different boards? I only have the one lockable teensy to play with right now, so I haven't done anything to it yet (still fully unlocked.) I just want to make sure I don't do something dumb and cause a problem with my workflow down the line.
Thanks so much!