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.

  1. Replies
    171
    Views
    31,016

    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...
  2. Replies
    171
    Views
    31,016

    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:...
  3. Replies
    57
    Views
    4,341

    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...
  4. Replies
    171
    Views
    31,016

    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...
  5. Replies
    57
    Views
    4,341

    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...
  6. Replies
    171
    Views
    31,016

    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 " ...
  7. Replies
    171
    Views
    31,016

    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...
  8. 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


    ...
  9. 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 -...
  10. Replies
    171
    Views
    31,016

    @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...
  11. Replies
    171
    Views
    31,016

    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 ...
  12. @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?
  13. 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...
  14. Replies
    171
    Views
    31,016

    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...
  15. Replies
    171
    Views
    31,016

    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...
  16. Replies
    171
    Views
    31,016

    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 ...
  17. 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...
  18. @Frank - did you see that KurtE updated...

    @Frank - did you see that KurtE updated github.com/KurtE/imxrt-size that you originally made?
  19. 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...
  20. 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...
  21. 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...
  22. 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...
  23. 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...
  24. 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...
  25. 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...
  26. 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...
  27. 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...
  28. 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...
  29. 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...
  30. 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?
  31. 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 =...
  32. 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...
  33. Replies
    7
    Views
    179

    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
  34. @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...
  35. 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.
  36. Is TeensyDuino 1.49 installed? There was a...

    Is TeensyDuino 1.49 installed? There was a recent change that fixed this.
  37. 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...
  38. Replies
    71
    Views
    910

    That instruction was added ~7 years back - on all...

    That instruction was added ~7 years back - on all M4's {and Frank noted that Atomic uses it} - so it pre-dates multicore on these MCU's. How synchronization will work across the 1170 asymmetric...
  39. Replies
    71
    Views
    910

    Good point Frank - atomic on the variable could...

    Good point Frank - atomic on the variable could affect ANY use of that variable that 'compiler thinks' needs to be protected - rather than just where it is known to be needed as where above it is...
  40. Replies
    71
    Views
    910

    I figured CLOCK res could be a factor - but I saw...

    I figured CLOCK res could be a factor - but I saw it and had to make note of it in case there was some off by 1.

    As far as:

    do
    {
    newValue = __LDREXW(&loopCnt) + 1;
    }...
  41. Replies
    71
    Views
    910

    I FIGURED IT OUT! I considered this doing the...

    I FIGURED IT OUT! I considered this doing the micros() edit - and it just came back to me as I put a log in the woodstove ...

    When doing micros() I didn't have any side effects reading two DWORDS...
  42. Safe to assume nothing is connected to pins...

    Safe to assume nothing is connected to pins 18/19? And they are properly soldered connected and not shorted. If that is the problem Paul's test will show voltage.

    I ran that sample on T4 with...
  43. Replies
    406
    Views
    24,996

    Good job, I think I posted I built one of the...

    Good job, I think I posted I built one of the second betas to work. Just used a hand iron and solder wire this time.

    I noticed the 1220 cell on my first Beta board was dead. Since I put headers...
  44. Replies
    9
    Views
    176

    Pete: Kurt posted an updated imxrt-size on his...

    Pete:
    Kurt posted an updated imxrt-size on his github. It gives better feedback - here is the last compile done here:

    FlexRAM section ITCM+DTCM = 512 KB
    Config : aaaaaaab
    ITCM : 28752...
  45. Replies
    33
    Views
    1,446

    Sticky: I wondered about that when I visited the first...

    I wondered about that when I visited the first post ...
  46. Replies
    9
    Views
    176

    T4 RAM is two blocks of 512 KB. Low RAM1 block...

    T4 RAM is two blocks of 512 KB. Low RAM1 block of 512KB holds code and compile allocs and runs at CPU Speed. Upper RAM2 holds DMA memory and dynamic allocs - and runs at CPU/4 speed.

    See Memory...
  47. Replies
    20
    Views
    191

    Mike - that is running sniffer on T4? If so...

    Mike - that is running sniffer on T4? If so using which version of the SCL/SDA read p#12 or p#13?

    For 'text' transfer devices it might be handy to have the typical HEX/ASCII table dump for...
  48. Paul seemed to expect the SCB_AIRCR to work as...

    Paul seemed to expect the SCB_AIRCR to work as well. There maybe be something fixable in the bootloader catching it that Paul may address in future if possible.
  49. Replies
    71
    Views
    910

    Interesting. The " ldrex/strex " was used in...

    Interesting. The " ldrex/strex " was used in micros() because we needed to protect read TWO DWORD values. Test code made some millions likely of repeat calls and without it the millisecond timer...
  50. Replies
    20
    Views
    191

    Using the port read in p#12 with an altered test...

    Using the port read in p#12 with an altered test SSD1306 code not slamming the display I get:


    494522 I2C(3c) Wr 5 B to 0... 22 0 ff 21 0 . Done
    494522 I2C(3c) Wr 1 B to 0... 7f . Done
    494522...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4