Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: jcw

Search: Search took 0.00 seconds.

  1. Replies
    21
    Views
    1,833

    Yes, good catch. I tried w/ bytes() as well, same...

    Yes, good catch. I tried w/ bytes() as well, same result alas. It's unfortunate (but understandable) that the HalfKay sources are not available, now it's down to guesswork on what it's expecting. The...
  2. Replies
    21
    Views
    1,833

    Yep, that's the first thing I tried: ...

    Yep, that's the first thing I tried:

    AttributeError: module 'hid' has no attribute 'Device'

    I'm on MacOS. I don't know how to get at version info, this is all I have:

    >>> hid.__file__...
  3. Replies
    21
    Views
    1,833

    I'm trying to limit dependencies. The Teensy...

    I'm trying to limit dependencies. The Teensy setup in PlatformIO already includes "teensy_{reboot,restart,serialmon}". There's also "teensy_loader_cli" which is fine for regular uploads, but won't...
  4. Replies
    21
    Views
    1,833

    Oh, wow, thanks for that. I've looked at the C#...

    Oh, wow, thanks for that. I've looked at the C# link, but then forgot to look a bit better at TyTools.
    I'm aiming for all cmd-line/scripted, i.e. just editing and (auto-) saving files, everything...
  5. Replies
    21
    Views
    1,833

    Yes, I'm on 1.54 - great, so state 4 should be...

    Yes, I'm on 1.54 - great, so state 4 should be rare. Good to know.
    And "teensy_loader_cli --mcu=TEENSY41 -b" will also get me from state 3 to 1.
    Looks like that should cover all the cases. Perfect....
  6. Replies
    21
    Views
    1,833

    To follow up ... in what I have so far, the...

    To follow up ... in what I have so far, the Teensy can be in one of four states:

    1. started up, and waiting for hex input
    2. running the ram-application code (it'll go back to 1 if the app ends...
  7. Replies
    21
    Views
    1,833

    Thanks, that explains the NOEXEC. The devil is in...

    Thanks, that explains the NOEXEC. The devil is in the detail, here's the workflow I have so far, which is already workable:

    * one shell window open on the flash-based core "bios" app, using...
  8. Replies
    21
    Views
    1,833

    Ok, the basic mechanism works, but it's rather...

    Ok, the basic mechanism works, but it's rather nasty: I have to reserve a generous area in ITCM as it looks like code cannot (?) execute in DTCM or in RAM2 (a bit surprising, perhaps due to a...
  9. Replies
    21
    Views
    1,833

    Thanks @luni, that should help a lot to...

    Thanks @luni, that should help a lot to streamline the process once I get the uploads going. Appreciated.
  10. Replies
    21
    Views
    1,833

    Thank you @brtaylor - that's quite a bit of...

    Thank you @brtaylor - that's quite a bit of reading but it looks like it will get me up to date on all the options and solutions so far. Perfect. I also suspect that the HalfKay loader is flash-only...
  11. Replies
    21
    Views
    1,833

    To follow up, I'm not able to find the source...

    To follow up, I'm not able to find the source code for "teensy_reset" and "teensy_serial" - are these online somewhere?
  12. Replies
    21
    Views
    1,833

    Launching RAM-based applications

    I'd like to reproduce a workflow on the Teensy 4 which I've been using on STM32's: place a "BIOS-like" application in flash, with a variety of libraries and drivers included, which checks for the...
Results 1 to 12 of 12