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

Search:

Type: Posts; User: defragster

Page 1 of 10 1 2 3 4

Search: Search took 0.07 seconds; generated 14 minute(s) ago.

  1. Persistent interrupt a pain - but makes sense -...

    Persistent interrupt a pain - but makes sense - it could be polled in loop just as well then.

    When seen in either case - record first time and temp - drop CPU speed or other effort to drop the...
  2. Replies
    33
    Views
    336

    @luni: This file :...

    @luni: This file : T:\arduino-1.8.9\hardware\teensy\avr\cores\teensy4\clockspeed.c - about line 148 for the divisor change. It is expected this might allow this I/O {digitalWriteFast(1,...
  3. Replies
    33
    Views
    336

    Using the ipg=4 - also failed to print a couple...

    Using the ipg=4 - also failed to print a couple times. Perhaps because the timers were left running. I edited the code to .end() them after each test pass. I also wondered if the template code...
  4. Replies
    33
    Views
    336

    First look - p#27 code fails to print with :: if...

    First look - p#27 code fails to print with :: if (div_ipg > 3) div_ipg = 3;

    Restoring the 4 divisor gets similar results to the posting. ...
  5. Replies
    33
    Views
    336

    @luni - re #2: Code I first see above p#7...

    @luni - re #2:

    Code I first see above p#7 doesn't have the "dsb": can you locate the code of interest and assure it has that and retest?

    back to short off topic - clock speed … as noted by...
  6. Has post #7 been consulted or added? That is not...

    Has post #7 been consulted or added? That is not indicated in p#10 code. Teensy will enter setup and appear to print nothing if that happens before USB Serial is established.

    If pin 13 is free...
  7. Replies
    5
    Views
    57

    Changing things like digitalRead(dataPin) to...

    Changing things like digitalRead(dataPin) to digitalReadFast(dataPin) is the first step - it will get some cycles back.

    Aassuming the gatePin is not part the problem and just a 'slow' toggle? ...
  8. Replies
    33
    Views
    336

    Using the value of 2 as above code below should...

    Using the value of 2 as above code below should show the numbers above. I hacked out the other part that tested RAM and the Free ITCM area above allocated code.

    PROBLEM:: Opps - In running this...
  9. I've seen that as well - seems it was more...

    I've seen that as well - seems it was more intermittent so continue code and printing and see what happens - but generally worked. Not sure if T4 is spec'd to have USB at 24 MHz - Paul will likely...
  10. Replies
    33
    Views
    336

    Indeed: Paul set it that way for some good...

    Indeed: Paul set it that way for some good reason. Maybe it is spec and like doubling F_BUS on T_3.x is OC, though there might be something specific that breaks I didn't test.
  11. Replies
    33
    Views
    336

    First was just the sketch I had open - testing...

    First was just the sketch I had open - testing IntervalTimer down to 0.73 us interrupts. KurtE has the _isr toggle a pin with each interrupt - and I added a pin read in each of the 6M++ loop()'s per...
  12. Replies
    33
    Views
    336

    I don't recall seeing that go by Frank. This...

    I don't recall seeing that go by Frank. This code does I/O Read/Write.

    FRANK: This takes DMAMEM access to FCPU/2 from FCPU/4! … below

    Just edited that and the above changes loop()/sec...
  13. Replies
    33
    Views
    336

    Looking at @KurtE's PR for faster timer I updated...

    Looking at @KurtE's PR for faster timer I updated cores and played with p#4 sketch.

    StanfordEE: if this " asm("dsb"); " is not in the callback _isr() it seems to run at the indicated freq - but...
  14. Replies
    173
    Views
    31,204

    Should this work in :...

    Should this work in : usb_string_serial_number_default.wString

    Those "DIR >" were to NEW files? - unless file was closed and opened for each packet? I didn't stare at contents - funny looking...
  15. Replies
    173
    Views
    31,204

    FYI: I downloaded the trial MTPdrive - scanned...

    FYI: I downloaded the trial MTPdrive - scanned and it looked clean. And installed.

    It starts up looking good showing the Teensy as as "Teensy (#???)" - but the UI to associate a drive letter { Z:...
  16. Replies
    58
    Views
    4,503

    C looks like an unfair comparison :) - I didn't...

    C looks like an unfair comparison :) - I didn't expect it to be that extreme. Will be interesting to see how T4 comes along. I saw linked table that includes T_3.x's - odd they don't stand out...
  17. Replies
    173
    Views
    31,204

    For me it doesn't cause trouble having the...

    For me it doesn't cause trouble having the 'sdfat-beta.h > sdfat.h ' file copied instead of renamed to build both.

    Nice that KurtE sees it working.

    @KurtE - I'm not sure about command line use...
  18. Replies
    58
    Views
    4,503

    Will be cool to see the numbers with improved...

    Will be cool to see the numbers with improved build in the table.
    @manitou - can you note if High/Low is better for each subset.

    Would be interesting to see something of the same benchmark using...
  19. Replies
    173
    Views
    31,204

    Good - assume SDIO has been seen to work? I...

    Good - assume SDIO has been seen to work? I tested mine back a few p#119? when it failed with the sdfat-Beta diskinfo sketch.

    Downloaded Now 6 hr old update MTP:: made the MTP_config.h edit " ...
  20. Replies
    173
    Views
    31,204

    What SD connect is there on T4? Not SDIO? I...

    What SD connect is there on T4? Not SDIO? I didn't get today's update yet but yesterday it was coded to use standard SPI SD.

    Serial1 is uart on pins 0/1 - would feed to a USB adapter or a second...
  21. Found it - short thread from 2018 that user got...

    Found it - short thread from 2018 that user got it working with EEPROM selectivity to toggle second usb_descriptor_list_t : pjrc.com/threads/53608-Configure-USB-after-sketch-has-already-loaded


    ...
  22. As Paul noted this isn't trivial - it will take...

    As Paul noted this isn't trivial - it will take core edits and care if no conflicts. If that post referred to in p#2 were found many of those issues were resolved to a working dual boot solution -...
  23. Replies
    173
    Views
    31,204

    @mjs_513 - bummer you didn't see my post #119...

    @mjs_513 - bummer you didn't see my post #119 to start where I found the missing pieces - most of which were on the github readme.

    As noted I've been watching this thread with interest - but no...
  24. Replies
    173
    Views
    31,204

    Nice, will update and try soon. Hit github and...

    Nice, will update and try soon.

    Hit github and paused long enough to read and see the SDIO note there. :)

    BTW: if the SDFAT.h file is renamed the sdfat-beta code won't build - if copied to ...
  25. @mjs513 - I passed code you wrote recently that...

    @mjs513 - I passed code you wrote recently that decoded the boot state/history registers already? Maybe you can find that?
  26. The only close thing I saw was during boot the...

    The only close thing I saw was during boot the Teensy decided which set of device descriptors to present.

    After boot the USB is established using those parameters and there is no provision AFAIK...
  27. Replies
    173
    Views
    31,204

    With current code TyCommander can connect to...

    With current code TyCommander can connect to Serial 'Seremu' and get sketch output - Cool - except it is just a boring repeat print of : "loop"

    ( apologies for noob'ness - p#119 above edited for...
  28. Replies
    173
    Views
    31,204

    THAT DID IT :: #define USE_SDIO 1 I now...

    THAT DID IT :: #define USE_SDIO 1

    I now see my disk - left pane or 'This PC' in file explorer:
    18860

    No DRIVE LETTER - but through file explorer the directory can be walked and files...
  29. Replies
    173
    Views
    31,204

    I get a valid HEX, but nothing showing on Win 10...

    I get a valid HEX, but nothing showing on Win 10 PC - except if I connect TyCommander it shows: Teensy MTP Disk {Seremu ...
  30. I still use it - added it to TSet so it is there...

    I still use it - added it to TSet so it is there on every build as needed for reference - and not tied to TeensyDuino/Arduino install/build. It was updated to match changing T4's 1062 from original...
  31. @Frank - did you see that KurtE updated...

    @Frank - did you see that KurtE updated github.com/KurtE/imxrt-size that you originally made?
  32. Yes that is true, that space is build dependant. ...

    Yes that is true, that space is build dependant. But at runtime when RAM is short the size might be enough to avoid a malloc() of 4 times slower RAM that would end up polluting the DMAMEM/RAM2 cache...
  33. Okay, Here is what I did - added to your code...

    Okay, Here is what I did - added to your code here with call to getFreeITCM():

    #if defined(__IMXRT1062__) // Get Pointer to FREE ITCM
    uint32_t *ptrFreeITCM; // Set to Usable ITCM free RAM...
  34. Good MemInfo Frank. needs line added in...

    Good MemInfo Frank.

    needs line added in setup():

    void setup() {
    while (!Serial && millis() < 4000);
    flexRamInfo();


    I did a sketch that gets the used ITCM boundary and gets a pointer...
  35. Using the 'Rosewill RHB-330 Hub' With a fresh T4...

    Using the 'Rosewill RHB-330 Hub' With a fresh T4 wired to alternate PC USB port it works FIRST TIME (maybe two) after plugging it in and returns to USB, hitting SEND again Resets and then never...
  36. Those #ifdef's look usable and clear. Will that...

    Those #ifdef's look usable and clear. Will that just cover the 4.x Teensys - or include the 3.x's as well? And indeed keeping same pin numbers makes sense

    From p#1 : 'Another feature I'm...
  37. Certainly would, already going to post office...

    Certainly would, already going to post office tomorrow. Just got a box I can use to send it in, will be there early next week.

    btw - as far as TD 1.49 and i2c - I got a group of i2c hardware today...
  38. Paul - assuming you might be trying a hub or two?...

    Paul - assuming you might be trying a hub or two? Windows?

    Not sure what else I can do. The reboot takes a long time on the hub and no sign or effort to rejoin USB.

    If I plug the USB HUB HDD...
  39. Those 7 hub ports have been central to all I did...

    Those 7 hub ports have been central to all I did the last year with T4 since Beta. The unit is powered and long and slender and fits on my monitor stand, and 2 on and 5 switched was handy at times...
  40. Tried another Powered HUB - USB3 HUB with...

    Tried another Powered HUB - USB3 HUB with embedded HDD I used for USB testing. Plug that into PC - plug T4 into HUB/DRIVE and it works fine there too.

    The USB2 HUB that troubles is a...
  41. UPDATE: I had it plugged through the POWERED HUB...

    UPDATE:
    I had it plugged through the POWERED HUB I've been using for year +

    Plugged USB to TOP ports on DELL and TWO T4's work perfectly FAST

    Back to that HUB and - Slow and NO USB behavior...
  42. Nothing but Windows … Win 10 I was using...

    Nothing but Windows … Win 10

    I was using TyComm SerMon - built with IDE 1.8.9 - opened and used Teensy Ports SerMon - Same thing.

    Built with IDE and uploaded with TeensyLoader - IDE SerMon Send...
  43. Okay - then why does sketch above restart and not...

    Okay - then why does sketch above restart and not USB connect? Is that the behavior you see? More work to do?

    Also the 2 second Sleep restart is faster than this 4 second reset?
  44. Paul: Is there more to it than this? Does it...

    Paul:
    Is there more to it than this? Does it take a bootloader change?:

    void ResetHandler(void)
    {
    unsigned int i;

    #if defined(__IMXRT1062__)
    IOMUXC_GPR_GPR17 =...
  45. Yes, Seems to work right. Good Fix and very...

    Yes, Seems to work right. Good Fix and very 'classy' : __class_reset_snvs_psr

    >> Only way it causes trouble is: after shutdown with 'arm_reset()', the Program is held/touched on Power On and new...
  46. Replies
    11
    Views
    300

    Any worthwhile updates included in 1.8.11? I...

    Any worthwhile updates included in 1.8.11? I just went back to 1.8.9 …

    Only first thing (updated MOD page p#2) : make the 1008 OC build set that speed not 996 MHz
  47. @Frank - I was on my way to Zzzzz I realized I...

    @Frank - I was on my way to Zzzzz I realized I should have added after send, glad you tested. - Glad/Sad my recollection was correct :)/:(. That thread where I chimed in started with that or similar...
  48. If the restart timer is not cancelled on the next...

    If the restart timer is not cancelled on the next start - do Power Off button - the timer will bring it back again if I'm remembering the right thing from the thread where I first tried it.
  49. Is TeensyDuino 1.49 installed? There was a...

    Is TeensyDuino 1.49 installed? There was a recent change that fixed this.
  50. Seems I saw it noted that it was on his list - if...

    Seems I saw it noted that it was on his list - if a bootloader change can address it and be found I suppose as time allows.



    I pulled the lib down Frank - but haven't gotten to it yet. I see...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4