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 47 minute(s) ago.

  1. Replies
    120
    Views
    30,693

    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...
  2. Replies
    120
    Views
    30,693

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

    @Frank - did you see that KurtE updated github.com/KurtE/imxrt-size that you originally made?
  5. 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...
  6. 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...
  7. 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...
  8. 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...
  9. 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...
  10. 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...
  11. 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...
  12. 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...
  13. 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...
  14. 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...
  15. 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...
  16. 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?
  17. 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 =...
  18. 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...
  19. Replies
    7
    Views
    158

    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
  20. @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...
  21. 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.
  22. Is TeensyDuino 1.49 installed? There was a...

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

    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...
  25. Replies
    71
    Views
    861

    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...
  26. Replies
    71
    Views
    861

    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;
    }...
  27. Replies
    71
    Views
    861

    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...
  28. 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...
  29. Replies
    406
    Views
    24,869

    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...
  30. Replies
    8
    Views
    152

    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...
  31. Replies
    33
    Views
    1,384

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

    I wondered about that when I visited the first post ...
  32. Replies
    8
    Views
    152

    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...
  33. Replies
    20
    Views
    179

    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...
  34. 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.
  35. Replies
    71
    Views
    861

    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...
  36. Replies
    20
    Views
    179

    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...
  37. Replies
    20
    Views
    179

    Is this somehow right - with the bits in the...

    Is this somehow right - with the bits in the right order and location?


    /*
    #define CORE_PIN18_PORTREG GPIO6_DR
    #define CORE_PIN19_PORTREG GPIO6_DR

    #define CORE_PIN18_BIT ...
  38. Replies
    20
    Views
    179

    Put this in copy here and on T4 versus T_3.6 it...

    Put this in copy here and on T4 versus T_3.6 it is missing many of the i2c address values as '3c' to the SSD1306. Showing as : 28,6f,51,3b,24,a,73,3f,0,other. There were some few odd #'s using...
  39. Replies
    33
    Views
    1,384

    Sticky: it is in :...

    it is in : ...\hardware\teensy\avr\cores\teensy4\pwm.c

    Part of PWM code for analogWrite and analogWriteFrequency

    // ...
    void quadtimerWrite(IMXRT_TMR_t *p, unsigned int submodule, uint16_t...
  40. Replies
    71
    Views
    861

    I certainly meant for it to be read that way :) -...

    I certainly meant for it to be read that way :) - it's the only inc in the code … post updated

    Looks like very good work, and a great example of TeensyTimerTool#callback-functions sending in...
  41. Replies
    20
    Views
    179

    Running it against i2c SSD1306 OLED at 100 MHz...

    Running it against i2c SSD1306 OLED at 100 MHz and it looks to be catching data - mostly works if bumped to 400 MHz - but that will not sample at right rate and enough at 1 us - and it hangs after...
  42. Replies
    34
    Views
    568

    Wow - that is a long time! I ordered a set of...

    Wow - that is a long time! I ordered a set of OSH T4 PT8211's Jan 1st and got them in good time this past week.
  43. Replies
    71
    Views
    861

    More ODDNESS? Not helpful - just shows there is...

    More ODDNESS? Not helpful - just shows there is something unhandled or errata going on?

    When writing the micros() using the systick millis and ARM_DWT_CYCCNT combined Frank pointed to this that...
  44. Replies
    71
    Views
    861

    I did that too - moved the dsb around - moving...

    I did that too - moved the dsb around - moving BEFORE The timer clear results in NO PRINT from while(1).

    The problem is the non-atomic INCREMENT of the Count in loop() and then the ZERO in the...
  45. Replies
    71
    Views
    861

    Got the same number/behavior with p#19 code. ...

    Got the same number/behavior with p#19 code.

    Moved the print from _isr and it never printed until DSB or DMB were added - ISB didn't do anything in quick glance?

    Moving the print to the...
  46. Replies
    71
    Views
    861

    Scanned the code and found that yield() after...

    Scanned the code and found that yield() after first post here - expected it was calling back to the PJRC yield() but didn't find that - so it just replaced it as needed?
    - it is a meaningless piece...
  47. Replies
    71
    Views
    861

    Thanks Frank - added above - that was needed in...

    Thanks Frank - added above - that was needed in the callback()

    >> asm volatile ("dsb"); // otherwise it doubles

    As noted - _isr() code gets ODD!

    How can one tell if the dsb is needed? ...
  48. Replies
    71
    Views
    861

    Shows the trouble of uning _isr()'s :( - as does...

    Shows the trouble of uning _isr()'s :( - as does the following - shows the value of the TCK software 'polling' for end use predictability.

    Question: Is there a TTT_yield() to call that will ping...
  49. To add to what Pete posted … Teensy when compiled...

    To add to what Pete posted … Teensy when compiled with USB Always starts it - however depending on PC connection time and when SerMon is ready it can be in setup() and beyond before USN connect is...
  50. A quick test compile/upload a simple BLINK...

    A quick test compile/upload a simple BLINK sketch. Assuming that runs when all the other lights and hardware are disabled - it should act normally given a good cable and healthy T_3.6

    Not a...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4