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
    3
    Views
    31

    This ? : axoloti.com/product/axoloti-core/...

    This ? : axoloti.com/product/axoloti-core/

    T_3.6 is similar and faster processor to that board - has USB host and the most pins and two onboard DAC's and has faster SD onboard with SDIO.

    As...
  2. Replies
    967
    Views
    63,834

    can't find Dongle item #1 listed : CSR 4.0 But...

    can't find Dongle item #1 listed : CSR 4.0

    But I did find the second : PANBT400 Plugable Bt 4.0 Low Energy { LINK STILL ACTIVE }

    It worked USB POWERED. Type Pad doesn't seem to always sends...
  3. Replies
    967
    Views
    63,834

    Thanks, unit unboxed and charged yesterday - but...

    Thanks, unit unboxed and charged yesterday - but not gotten time for more than that.

    Will have to locate the Bt dongle part ...
  4. Replies
    932
    Views
    51,447

    No, Thanks, p#929 is after I got it sorted and...

    No, Thanks, p#929 is after I got it sorted and that posted code was tested to work - just took a bit of extra time ... undoing all the 'cleanup' only then to see the misplaced "/" ... and redo all...
  5. Part xxxxA has been replaced by xxxxB So "A"...

    Part xxxxA has been replaced by xxxxB

    So "A" is EOL

    Newer T_4.x's will use the "B" part and Paul noted they have been tested to work ...

    See : pjrc.com/store/ic_mkl02_t4.html


    Supported...
  6. Replies
    4
    Views
    70

    Adjust the : adc->adc0->setAveraging(0); ...

    Adjust the : adc->adc0->setAveraging(0); // set number of averages

    It will sit longer taking multiple readings to average if that is higher - not sure of the...
  7. Wasn't sure what was happening as far as timing...

    Wasn't sure what was happening as far as timing and T_4.1 was at hand.

    Just for fun with :: unsigned int blockLength = 8*4096; // 2048; // Number of characters to log in a block


    ...
  8. Replies
    967
    Views
    63,834

    Type Pad arrived ... annoying wings to blend into...

    Type Pad arrived ... annoying wings to blend into the controller ... and that audio jack it seemed might fold away.

    What code is WIP to work with? Want to see what happens when LiPo powered to Bt...
  9. Replies
    162
    Views
    14,917

    This page: pjrc.com/teensy/td_pulse.html...

    This page: pjrc.com/teensy/td_pulse.html

    Has this text that doesn't include T_4.x (T_MM):


    Teensy LC & 3.x support the analogWriteFrequency(pin, frequency) function to easily configure the PWM.
  10. Nice TD 1.54 in use. Might help to bump T_3.5...

    Nice TD 1.54 in use. Might help to bump T_3.5 F_CPU ...

    It might also be the SD card in use where the AData one here is happy to cooperate at good speed.

    Never worked much with T_3.5 ... at...
  11. Replies
    932
    Views
    51,447

    :cool: Awesome- thx for testing/confirming! ...

    :cool: Awesome- thx for testing/confirming!

    ... on returning to cleanup/test/upload I must have hit UNDO ... the "/" line went back ... unseen ... and I pulled out all the extra print()'s and...
  12. RUN data may only be semi responsive, given it is...

    RUN data may only be semi responsive, given it is using the T_4.1 with SD card already plugged in.

    This is IDE 1.8.15 and TD 1.54 with the newer faster SdFat code supporting the SD code. Is TD...
  13. Replies
    3
    Views
    83

    Cool - glad issue popped out when I looked. That...

    Cool - glad issue popped out when I looked. That was just a HACK Test ...

    Indeed as noted GET and PUT index and work the same - but the code only showed .put()'s.

    Note:: that 'solution' only...
  14. See here : LittleFS-port-to-Teensy-SPIFlash >>...

    See here : LittleFS-port-to-Teensy-SPIFlash >> LittleFS media data Save or Restore from SD card

    As far as file access : AFAIK anything that works as FILE from SD card will work when passed a FILE...
  15. Replies
    3
    Views
    83

    EEPROM indexes are to single BYTES - as indicated...

    EEPROM indexes are to single BYTES - as indicated in the posted code comment :: appropriate byte of the EEPROM.

    .put() and .get() are sizeof() aware and will write the four BYTES of the float...
  16. Replies
    932
    Views
    51,447

    LittleFS media data Save or Restore from SD card

    Using one of these two commented xferSD() calls:


    #define destLFS 1
    #define destSD 2
    // xferSD( destSD ); // do MediaTransfer LFS TO SD
    // xferSD( destLFS ); // do MediaTransfer SD TO LFS
    ...
  17. Replies
    932
    Views
    51,447

    Figured it out - can't ask LFS mkdir to make a...

    Figured it out - can't ask LFS mkdir to make a dir with a trailing "/" - works on SD but not LFS.

    This change makes it work BOTH to SD and to LFS !!!!

    BAD:


    strcat( szNewDir,...
  18. Replies
    932
    Views
    51,447

    Odd situation - since it isn't working the...

    Odd situation - since it isn't working the obvious way in process - it exists in source media - and likely not in the dest media.

    With recursion the processing may be going funny - but what works...
  19. Replies
    967
    Views
    63,834

    Very cool yours worked too. Just clicked order...

    Very cool yours worked too. Just clicked order to arrive tomorrow.

    @mjs513 - @kdharbert : question above was running the Teensy from LiPo - meaing the Dongle wouldn't have 5V ... does it work:
  20. Replies
    967
    Views
    63,834

    That looks promising! Similar function to the...

    That looks promising! Similar function to the "Rii mini i8"?

    Do you have a way to power that from a LiPo cell? Recent post #952, wondered if the Bt dongle running on less than 5V would function.
  21. Replies
    932
    Views
    51,447

    Interesting - time was short took exist(dir) at...

    Interesting - time was short took exist(dir) at face value - it gave expected results - because they don't exist when done either :(

    Will see if I get back to it before your day gets there ...
  22. Replies
    932
    Views
    51,447

    Back to this > The DIR does not exist when the...

    Back to this > The DIR does not exist when the recursion process passes through the Dir Walk as written.

    Also what works for "Going TO" SD does NOT work coming "BACK TO" LittleFS media - so...
  23. Replies
    932
    Views
    51,447

    {edit NOT} IT WORKS!!!! At least to PSRAM ......

    {edit NOT} IT WORKS!!!! At least to PSRAM ...
    No it doesn't work on copy back - must have a param wrong ...
    >> Looked at the DIR of SD not the DIR of LFS :(

    In main sketch use ONE of these:

    ...
  24. Replies
    932
    Views
    51,447

    Good feedback - thanks for looking. I was between...

    Good feedback - thanks for looking. I was between things and had time to do what I did but not look deeper.

    ... that gives me the clue I needed ... READ my own code :(

    DOH ... OPPS ... I went...
  25. Replies
    8
    Views
    170

    Easy to do using ARM_DWT_CYCCNT which is already...

    Easy to do using ARM_DWT_CYCCNT which is already running on T_4.x.



    uint32_t start;
    uint32_t end;

    start = ARM_DWT_CYCCNT;
    for (unsigned i = 0; i < 100; i++)
    {
  26. Replies
    8
    Views
    170

    Paul has digitalWriteFast( Const pin#, high/low )...

    Paul has digitalWriteFast( Const pin#, high/low ) resolve out to the fastest raw write in inline code on Output pins.

    Setting all desired Input pins with pinMode will assure they are right for...
  27. Replies
    8
    Views
    170

    Each Teensy 4.x port can read all of its pins...

    Each Teensy 4.x port can read all of its pins with a single read of 32 bits - where the pins will be 'distributed'.

    Looking at the PJRC posted schematic or other info will show what pins are on...
  28. Replies
    932
    Views
    51,447

    SD files copy Save/Restore to LittleFS Media

    A quick edit to the "\libraries\LittleFS\examples\Integrity" example of choice should work with this setup mod.
    Add the BOLD lines in place above the RED lines in the Example. This code uncommented...
  29. Replies
    932
    Views
    51,447

    @Paul: : Not made a repro - maybe it was...

    @Paul: <EDIT> : Not made a repro - maybe it was a one off or something else ...

    Will post code shortly - using a T_4.1 a PSRAM disk was made with files including ~4MB "B" bigfile and a 2MB "S"...
  30. Those Media specific versions were split out at...

    Those Media specific versions were split out at the last. The Larger Integrity had an awkward name and even worse user experience with the "#ifdef HELL" nature of usage as it grew to allow use of...
  31. The watchdog was just incidental to that example...

    The watchdog was just incidental to that example showing after restart DMAMEM can hold usable information if there is something that can be pulled from memory if saved.

    It was the intervalTimer...
  32. Replies
    932
    Views
    51,447

    Started a quick write of the p#916 code - it...

    Started a quick write of the p#916 code - it copies root files form PSRAM to SD card root - and makes the root dirs on SD.

    Need to create SD dir for the copy and have the recursive code maintain...
  33. As noted TD 1.54 CrashReport can be handy if the...

    As noted TD 1.54 CrashReport can be handy if the code faults, and on ones it can handle it will pause 8 secs. Some can InstaReboot around it - but that doesn't seem the case here.

    Have seen loop()...
  34. Replies
    932
    Views
    51,447

    From quoted linked post:

    From quoted linked post:
  35. @Sandro /@all - With released TD 1.54 each "Media...

    @Sandro /@all - With released TD 1.54 each "Media Type" is in its own sketch folder:


    T:\arduino-1.8.15\hardware\teensy\avr\libraries\LittleFS\examples\Integrity\MRAMSPI...
  36. Replies
    43
    Views
    785

    @tonton81 made this :...

    @tonton81 made this : github.com/tonton81/Circular_Buffer

    It might offer a robust solution?
  37. Replies
    944
    Views
    36,439

    Note - the @luni : ...

    Note - the @luni :
    github.com/luni64/TeensyHelpers/.../src/MicroMod/MicroModT4.h

    header file exists with namespace MMT to map SFUN names to Teensy Pins:


    namespace MMT
    {
    //GPIO...
  38. Replies
    10
    Views
    223

    Posted code works on a @loglow TALLDOG adapted...

    Posted code works on a @loglow TALLDOG adapted T_4.0 - except the hour is off by one? Showing file time of 3:56 PM when computer is showing 4:56PM.

    This is because TyCommander is doing the...
  39. Replies
    967
    Views
    63,834

    Hi Mike, seemed it was self powered and stand...

    Hi Mike, seemed it was self powered and stand alone - just injects Audio to the controller ?

    Searching thread not finding link - but a note the RED was no longer there?

    This search shows two...
  40. Replies
    967
    Views
    63,834

    Does that "Type Pad" work stand alone or, and/or...

    Does that "Type Pad" work stand alone or, and/or in combo with : PlayStation DualShock 4 Controller.

    Never picked up a PS4 controller as they were WIP ... is there one that is a good start?
  41. Replies
    967
    Views
    63,834

    WOW! - Running at 0.00 C !!! Saw one fault...

    WOW! - Running at 0.00 C !!! Saw one fault expose that as some version of NAN for that float, not sure why it would fail to return vlaid numbers from the TempCall? But it is packed under CRC - so...
  42. Replies
    944
    Views
    36,439

    Two Teensy_MMods arrived Monday ... finally put...

    Two Teensy_MMods arrived Monday ... finally put one on the Display Carrier.

    The sparkfun.com/tutorials/sparkfun-micromod-input-and-display-carrier-board-hookup-guide almost useless ???

    Nothing...
  43. Replies
    45
    Views
    2,095

    Sticky: The TD 1.54 Blog article looks great...

    The TD 1.54 Blog article looks great

    Re:


    RTC RAM
    16 bytes of memory are located within the RTC. If a coin cell is connected to VBAT, contents of
    this memory is preserved while power is...
  44. Posted p#22 with minor edits Here ::...

    Posted p#22 with minor edits Here :: github.com/TeensyUser/doc/wiki/The-Watchdog-timer
  45. Replies
    967
    Views
    63,834

    This didn't get looked at yet with the release of...

    This didn't get looked at yet with the release of TD 1.54.

    Wondering if the Bt4.0 dongle tested to work functioned when running off a LiPo cell ...
  46. Yes, all in the user Sketch code. And you can...

    Yes, all in the user Sketch code. And you can see the killer of the watchdog update is stopping on Serial.available() - then the CallBack is where the string input is actually read into the 'static'...
  47. Here is that example with a bit more of a show of...

    Here is that example with a bit more of a show of it working.

    This output from sending this to the running sketch: "Mary Had a Little Lamb"


    Begin......
    PRIOR Loop Count = 0
    PRIOR Feed...
  48. Here is a modified version of ::...

    Here is a modified version of :: WDT_T4-master\examples\watchdog3_demo\watchdog3_demo.ino

    The CrashReport is in to see if Watchdog restart is trapped - and it is not.


    #include "Watchdog_t4.h"...
  49. DMAMEM is 'just a name' for the OCRAM 2nd 512KB...

    DMAMEM is 'just a name' for the OCRAM 2nd 512KB of the 1062's RAM2 region.

    I put this quick page up :: github.com/TeensyUser/doc/wiki/The-Watchdog-timer
  50. @tonton81 - could the use of DMAMEM (post #5) be...

    @tonton81 - could the use of DMAMEM (post #5) be integrated into your examples or documented in some way?


    void myCallback() {
    Serial.println("FEED THE DOG SOON, OR RESET!");

    and

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