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
    5
    Views
    131

    Like float, an 'int' is 32 bit? To be sure user...

    Like float, an 'int' is 32 bit? To be sure user int32_t. If everything is 4 bytes it will stack okay.

    Offhand ... without seeing the whole of the usage needs ... not sure of a neat way that...
  2. Okay, good luck. p#3 suggested " intervalTimer...

    Okay, good luck.

    p#3 suggested " intervalTimer to Toggle " LED = if it was in loop() then that was still running - suggest something is trashing USB Stack if that stops.

    Using the intervaltimer...
  3. That is a new feature AFAIK brought in with the...

    That is a new feature AFAIK brought in with the change to SdFat inclusion and indeed @PaulStoffregen did well to exemplify its usage.

    Hope it helps.
  4. Comforting ... but disturbing to have the blink...

    Comforting ... but disturbing to have the blink ...

    Not sure what _isr() looks like for the blink. Sounds like it is working as intended.

    Again, the watchdog code was not suggesting you needed...
  5. Replies
    5
    Views
    79

    The pjrc.com site for the REV D Audio board the...

    The pjrc.com site for the REV D Audio board the T_4.1 needs shows the required pins for given functions.

    It will use the i2c pins to start the audio chip. But the SPI pins for SD card and memory...
  6. Check out included example :...

    Check out included example : ...\hardware\teensy\avr\libraries\SD\examples\SdFat_Usage\SdFat_Usage.ino

    Maybe the the right size of : if (myfile.preAllocate(40*1024*1024)) {

    Would work in...
  7. Replies
    24
    Views
    249

    NXP publishes a doc on temp effect on expected...

    NXP publishes a doc on temp effect on expected lifetime - there was a post some months back with discussion on it.

    Is the T_4.1 the primary heat source in the box or are there other heat makers in...
  8. Replies
    5
    Views
    79

    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...
  9. Replies
    967
    Views
    64,088

    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...
  10. Replies
    967
    Views
    64,088

    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 ...
  11. Replies
    932
    Views
    51,737

    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...
  12. 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...
  13. Replies
    4
    Views
    93

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


    ...
  15. Replies
    967
    Views
    64,088

    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...
  16. Replies
    162
    Views
    14,986

    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.
  17. 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...
  18. Replies
    932
    Views
    51,737

    :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...
  19. 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...
  20. Replies
    5
    Views
    131

    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...
  21. 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...
  22. Replies
    5
    Views
    131

    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...
  23. Replies
    932
    Views
    51,737

    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
    ...
  24. Replies
    932
    Views
    51,737

    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,...
  25. Replies
    932
    Views
    51,737

    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...
  26. Replies
    967
    Views
    64,088

    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:
  27. Replies
    967
    Views
    64,088

    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.
  28. Replies
    932
    Views
    51,737

    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 ...
  29. Replies
    932
    Views
    51,737

    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...
  30. Replies
    932
    Views
    51,737

    {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:

    ...
  31. Replies
    932
    Views
    51,737

    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...
  32. Replies
    8
    Views
    193

    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++)
    {
  33. Replies
    8
    Views
    193

    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...
  34. Replies
    8
    Views
    193

    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...
  35. Replies
    932
    Views
    51,737

    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...
  36. Replies
    932
    Views
    51,737

    @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"...
  37. 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...
  38. 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...
  39. Replies
    932
    Views
    51,737

    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...
  40. 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()...
  41. Replies
    932
    Views
    51,737

    From quoted linked post:

    From quoted linked post:
  42. @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...
  43. Replies
    43
    Views
    795

    @tonton81 made this :...

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

    It might offer a robust solution?
  44. Replies
    944
    Views
    36,823

    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...
  45. Replies
    10
    Views
    244

    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...
  46. Replies
    967
    Views
    64,088

    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...
  47. Replies
    967
    Views
    64,088

    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?
  48. Replies
    967
    Views
    64,088

    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...
  49. Replies
    944
    Views
    36,823

    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...
  50. Replies
    46
    Views
    2,218

    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...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4