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

Search:

Type: Posts; User: Frank B

Page 1 of 10 1 2 3 4

Search: Search took 0.05 seconds.

  1. @wwatson: free ram :...

    @wwatson: free ram : https://forum.pjrc.com/threads/57326-T4-0-Memory-trying-to-make-sense-of-the-different-regions?p=227539#post227539
  2. @DD4WH, others: here is a better (more exact)...

    @DD4WH, others:
    here is a better (more exact) version of the Runtime-Ram-Info:


    /*
    (c) Frank B, 2020
    License: MIT
    Please keep this info.
    */
  3. Replies
    25
    Views
    4,017

    Paul is the only developer - all others here are...

    Paul is the only developer - all others here are hobbyists, not getting any cent for their contributions and are happy with that.
    Pauls just don't have enough time to fullfill all requests. There...
  4. ..ah, ok, I typed my #ifdef question before you...

    ..ah, ok, I typed my #ifdef question before you edited your answer.

    ok, I'll find a other way :)
  5. Ah, ok , good to know. Thank you :) Is there a...

    Ah, ok , good to know. Thank you :)
    Is there a way (for annyoing users like me) to change this without patching teensyduino? Or can be added a "#ifdef" for that?
  6. When did it happen that OCRAM is in use in a...

    When did it happen that OCRAM is in use in a blank program, and what uses OCRAM here?
    My RAM-Info says, 12384 bytes are not available.

    I tried to use a 512kB Block.. and was sure that it is free..
  7. Replies
    11
    Views
    2,168

    Cool.. i ever wanted that, but never found the...

    Cool.. i ever wanted that, but never found the time.
    Do you have the encoder, too? Is the sampling-rate conversion working?
  8. @BardPedersen, is it possible for me to...

    @BardPedersen,

    is it possible for me to request a few samples? I'd be interested in the larger SOIC packes (they are more "maker" friendly")

    I've writen some code to interface some other chips...
  9. Replies
    7
    Views
    53

    Oh, Linux. I don't know.

    Oh, Linux. I don't know.
  10. Replies
    7
    Views
    53

    Just install - exactly as you did the 1st time. ...

    Just install - exactly as you did the 1st time.
    first: arduino
    second: teensyduino 1.49
  11. Reminds me of my T3.x USB-problems with HUBs I ...

    Reminds me of my T3.x USB-problems with HUBs I had ...
    Since T4 they are gone :)

    Edit: I'm glad that the watchdog works now. It would have been real pain for serious software without...
  12. @Paul, I tried tonton81's watchdog code for T4...

    @Paul, I tried tonton81's watchdog code for T4 -works perfect now. (Needs a minor edit: add "#define WDOG_WCR_WT 0xff00")
    https://github.com/tonton81/Watchdog_t4
  13. Hm, for me it works.. ?!? I tried your sketch...

    Hm, for me it works.. ?!? I tried your sketch (post #32), Tim. Reset is fast, and USB reconnects.
  14. That's the 2nd undocument bit we found :) Great....

    That's the 2nd undocument bit we found :)
    Great.
    Or... not great. I wonder how many undocumented "features" the "reference manual" (<-???) really hides.

    Wonder if it makes sense to look at the...
  15. I've fixed the "pwr-button failure after reset"...

    I've fixed the "pwr-button failure after reset" (-without callback) issue.

    Class constructors are called before setup(). I've used this feature to save and reset SNVS_LPSR.
    (did not want to mess...
  16. @Defragster: yup - i can confirm this. If you...

    @Defragster:
    yup - i can confirm this.
    If you just add the callback in the library, it works ;) An empty function is enough.
    I think I can fix it for the case without the callback, but we're going...
  17. You could try to connect a headphone. Can you...

    You could try to connect a headphone.
    Can you post a photo of your boards and the connections?
  18. Would you mind to give it a short test with my...

    Would you mind to give it a short test with my lib?
    I can't try it right now.
  19. Does it? I did not notice that so far.

    Does it? I did not notice that so far.
  20. Replies
    70
    Views
    791

    Yup, on a single core, it's just a...

    Yup, on a single core, it's just a interrupt-detection-tool. The "dummy" variable was a simple way to use it this way.
  21. It can take up to 2 seconds until the rtc alarm...

    It can take up to 2 seconds until the rtc alarm fires and switches the Teensy on.
    Then, minor reason, it kills any existing rtc alarm and so it must be rewritten after restart - but that's solvable.
  22. Replies
    70
    Views
    791

    +1. Yes, for sure. Execution time might rise a...

    +1. Yes, for sure.
    Execution time might rise a little bit. But better that than bugs and increased jitter.
    One of the main reasons for using Microcontrollers without OS is the low, fixed response...
  23. Replies
    70
    Views
    791

    I wonder how ldrex/strex will work on imxrt 1170...

    I wonder how ldrex/strex will work on imxrt 1170 - shouldn't it detect writes by the 2nd core, too? Disabling the interrupts will not work anymore on the shared memory.
  24. I'm sure it's on his list already. The priority...

    I'm sure it's on his list already. The priority might not be very high - as there IS a way to reset (although I don't like it, too)
  25. Replies
    25
    Views
    4,017

    The best would be to write your own code! This...

    The best would be to write your own code! This whole hobby lives from writing code and learning howto... :)

    There is a dirty hack: You can just change the working frequency of the whole...
  26. Replies
    70
    Views
    791

    For dSb: I now read again (completely forgot...

    For dSb: I now read again (completely forgot about that - it was several month ago) that it does not help in any case. It just helps because it adds execution time. A ARM employee wrote this.
    ...
  27. Replies
    70
    Views
    791

    The c++ atomic adds code to the reads, too. In...

    The c++ atomic adds code to the reads, too. In the ISR there are some "dmb".
    You might want to take a look at the disassembly (can't post it now, I'm away from my arduino workplace at home)

    I'm...
  28. Yes, it might be that we just have to set or...

    Yes, it might be that we just have to set or reset some bits to make AIRCR work. But without knowing what happens exactly we can only do blind guesses. It worked on the betas.
  29. I haven't looked now at the details of coremark,...

    I haven't looked now at the details of coremark, but I think that I remember it's small and fits into the cache completely(?) So it wouldn't be a good test for memory speed, and you might get even...
  30. Replies
    5
    Views
    109

    I'm using Eagle and since a few years it is...

    I'm using Eagle and since a few years it is really good.
    As hobbyist, I never needed more than the free edition and if I ever need - my son is a student and as such can obtain the professional ...
  31. This lib has a reset: ...

    This lib has a reset:
    https://github.com/FrankBoesing/T4_PowerButton

    AIRCR does not work - it may reset the processor, but seems to confuse the power distribution of all the rest.
  32. Replies
    70
    Views
    791

    Yes. There are no such loops. And if it was used...

    Yes. There are no such loops. And if it was used consequently, and in the core, too, the overall-experience would be even better and have less jitter.
  33. Replies
    163
    Views
    86,180

    Well, as we don't have real competitors here in...

    Well, as we don't have real competitors here in Germany, and even OSH's "superswift" is super-slow with luxury price($$) compared to china companies, I don't mind to say: Look in china :)
    I even...
  34. Replies
    70
    Views
    791

    Wow, the c++'atomic' header is a good find - I...

    Wow, the c++'atomic' header is a good find - I should read more about c++ and use it.. :)

    It uses ldrex/strex , too (see the disassembly) - but is easier to use.
  35. Or just a sd card, if the inbuilt eeprom is not...

    Or just a sd card, if the inbuilt eeprom is not enough.
  36. Thread: BOM Teensy 4.0

    by Frank B
    Replies
    9
    Views
    229

    If you overclock the board a little bit, it heats...

    If you overclock the board a little bit, it heats up quite a bit. So in a well insulated case it might work - as long as it doesn't get so cold when switched off.
  37. You can use the eeprom library....

    You can use the eeprom library.
    https://www.pjrc.com/teensy/td_libs_EEPROM.html

    Edit.. lol, crosspost, thebigg was faster:)
  38. Replies
    34
    Views
    556

    BTW, I've ordered purple boards along with a T4 -...

    BTW, I've ordered purple boards along with a T4 - OSH told me they'll upgrade to "superswift" . That was mid december.
    Boards + T4 still not here :( I hope they are not lost..... it's more than a...
  39. Replies
    34
    Views
    556

    T4 can run two PT8211 simultanously :) I don't...

    T4 can run two PT8211 simultanously :)

    I don't know why poeple try such things and spend hours but don't find the time to read the docs - where they can find the missing parts / "japanese" flags....
  40. Replies
    70
    Views
    791

    Prost - hau wech :) Ich hole mir auch ein Bier....

    Prost - hau wech :) Ich hole mir auch ein Bier. Feierabend!
  41. Replies
    34
    Views
    556

    He wants to run the code on a unknown arduino.

    He wants to run the code on a unknown arduino.
  42. Replies
    70
    Views
    791

    Spamming here... :) TMR1_COMP10 = 29'296;...

    Spamming here... :)


    TMR1_COMP10 = 29'296; // 25ms
    TMR1_CMPLD10 = 29'296+1;

    Does help greatly - in most cases.

    But.. it in one of 10 resets the result is even more...
  43. Replies
    70
    Views
    791

    err... no... sometimes it helps, sometimes not.

    err... no... sometimes it helps, sometimes not.
  44. Replies
    70
    Views
    791

    It is stable - for me - under the following...

    It is stable - for me - under the following condition:

    1. Tims code with dsb
    2. Connect Teensy with button pressed - upload occurs
    -> data stable

    Not with:
    3. Re-Upload during program run...
  45. Replies
    70
    Views
    791

    This is from an old document, whicht mentions M4...

    This is from an old document, whicht mentions M4 only - but it's the same errata.
    From: https://www.nxp.com.cn/docs/en/errata/IMX8MDQLQ_0N14W.pdf
  46. Replies
    70
    Views
    791

    Luni - is this with all timers (that use...

    Luni - is this with all timers (that use interrupts)?
  47. Replies
    70
    Views
    791

    Hm.. not sure if this is the case here - and i...

    Hm.. not sure if this is the case here - and i can't find the document.
    NXP adds this to every interrupt (and maybe more places - don't remember and I havn't the code anymore)


    /* Add for ARM...
  48. Replies
    70
    Views
    791

    The systick does not have a "dsb", too" :) ...

    The systick does not have a "dsb", too" :)

    Tims, code gets pretty stable with the DSB immedately after
    TMR1_CSCTRL0 &= ~TMR_CSCTRL_TCF1; // clear the timer flag




    void isr()
    {
  49. Replies
    70
    Views
    791

    Well.. there is still a little chance that the...

    Well.. there is still a little chance that the reason is USB or the eventresponder (which even gets called in the systick!) - all this adds not reproducable timings.
    All these interrupt-disables...
  50. Replies
    70
    Views
    791

    oops... weird. I can confirm this.

    oops... weird.
    I can confirm this.
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4