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

Search:

Type: Posts; User: KurtE

Page 1 of 10 1 2 3 4

Search: Search took 0.06 seconds.

  1. @Paul and others - sorry about previous book ;) ...

    @Paul and others - sorry about previous book ;)

    I am just sort of wanting to get the startup code to not totally hang for 5 seconds if possible. I was going to mention that the interval timer or...
  2. Not a problem, I meant to do that... But is again...

    Not a problem, I meant to do that... But is again more of a generic question, is there any way to do this Automatically in Arduino? More or less asking is there a way to say open this file if you...
  3. Agree and on surface sounds simple, BUT... We...

    Agree and on surface sounds simple, BUT... We currently have a few chicken and egg issue here.

    For example: I may not want to call mtp.loop() unless mtp is connected, but currently mtp.loop()...
  4. Sorry @mjs513 and myself are having too much fun...

    Sorry @mjs513 and myself are having too much fun playing with image viewer...

    I just pushed up changes to it, that Mike added usage of the Jpeg decoder library...
    Which I then made a few...
  5. Some of this stuff goes related with the stuff I...

    Some of this stuff goes related with the stuff I was asking a coupole days ago in the thread
    https://forum.pjrc.com/threads/69234-Teensy-4-x-F()-how-to-keep-strings-in-flash-and-not-in-the-ITCM
    ...
  6. Lots of fun. I copied it into mine and having...

    Lots of fun. I copied it into mine and having some fun. Need to do some tweaking so both expect the images in the same orientation

    Will play more tomorrow. I know in one of these libraries or...
  7. Lots of fun. I copied it into mine and having...

    Lots of fun. I copied it into mine and having some fun. Need to do some tweaking so both expect the images in the same orientation

    Will play more tomorrow. I know in one of these libraries or...
  8. If you are using SPI1. Pins you need to use the...

    If you are using SPI1. Pins you need to use the SPI1 object not SPI
  9. Here is a real basic version of the spitftbitmap...

    Here is a real basic version of the spitftbitmap sketch that was changed to look at sd card for *.bmp files and display them...
    Note: I have 3 Annie Pictures and 1 Laik on it :lol:

    ...
  10. Maybe, but I am guessing !MTP would be more...

    Maybe, but I am guessing !MTP would be more consistent.


    Yes we had running into this for a long time with SEREMU, it would not start working until MTP was happy...

    It was better with USB...
  11. On a different integration subject: Suppose, I...

    On a different integration subject:

    Suppose, I setup a Teensy with lets say an ILI9341 display (could be music), that I have as a electronic picture frame or some such thing. Suppose it cycles...
  12. Yep - been there and pulled hair out... But is...

    Yep - been there and pulled hair out... But is it still true with current code? Two parts:
    a) LittleFS on these chips will have problems with to many dirty blocks... - Would still be true.
    b) If...
  13. I just merged it into main branch

    I just merged it into main branch
  14. In this case and like many others with these...

    In this case and like many others with these individual components plus the integration, I wonder if there any one specific generalization of what the expected user patterns will be, and as such how...
  15. Likewise, I was also taking a quick look, but...

    Likewise, I was also taking a quick look, but far to much code to navigate easily to see what might be happening...

    Also a few details may be helpful, like which version of Arduino and...
  16. My guess probably your best bet, as there is not...

    My guess probably your best bet, as there is not anywhere enough information here for any of us to try to reproduce the issue and or know specific things to suggest, so we are left with throwing...
  17. Think fixed... Problem was I reduced the size of...

    Think fixed... Problem was I reduced the size of some of the fields, like parent and sibling from 32 bits to 16 bits... But I also did it for child. Problem is when not a directory, child is...
  18. Just a quick update: I added code in to handle...

    Just a quick update:

    I added code in to handle the rename of files to different name lengths and did a little testing. It is not foolproof, but it tries to pack as many records it can into each...
  19. :D I have been playing more with storage and...

    :D

    I have been playing more with storage and buffering into blocks (2k).. There is still a couple of things to finish, but appears to be working pretty well.
    That is I played with setup with...
  20. I have it now doing such like: const char *...

    I have it now doing such like:

    const char * getPN() {
    PROGMEM static const char pn_name[] = "PROGRAM";
    return pn_name;
    }


    And have output:
  21. Hard at times to say, without lots more details. ...

    Hard at times to say, without lots more details. like maybe what IMU, code that demonstrates what you are doing...

    Things like: do both devices communicate using the same SPI mode? Sounds like...
  22. Thanks Paul, but not sure what the F() is doing,...

    Thanks Paul, but not sure what the F() is doing, for example in the sketch I mentioned...

    I would have thought that:

    const __FlashStringHelper *pf = F("ijkl");
    Serial.printf("%p - %s\n", ...
  23. Teensy 4.x: F() ? how to keep strings in flash and not in the ITCM?

    Supposed we have a constant table of items that also contain strings, that we would like to keep out of the ITCM or DTCM memory how best to do it?

    Example:

    PROGMEM static const struct chipinfo...
  24. Yep having some fun... Mike, Paul, ... I did a...

    Yep having some fun...

    Mike, Paul, ... I did a PR back to your PartNumber branch with some edits to make it a virtual function to LittleFS added it to the wrapper classes, plus moved all strings...
  25. The other thing to mention, is with longer wires...

    The other thing to mention, is with longer wires and going through multiple connections (like breadboard) signals can get get weaker...
    Also some breadboards and wires make bad connections.

    But...
  26. Replies
    9
    Views
    205

    If it were me, and the pins rang through (And I...

    If it were me, and the pins rang through (And I would check at the SD connector)

    I would also try a different test then card info... I have never used it
    and wonder about the line: if...
  27. Me too, especially when I have a few different...

    Me too, especially when I have a few different versions soldered up....

    Thanks
  28. Replies
    8
    Views
    1,898

    FWIW - I never click on these (unless by...

    FWIW - I never click on these (unless by accident) as I assume it is there for no good...

    And I would like to say: Thanks Robin!
  29. Replies
    9
    Views
    205

    As Paul mentioned, if it were me, would try with...

    As Paul mentioned, if it were me, would try with the most recent Arduino and Teensyduinio and see if the basics work.

    It looks like an interesting Tindie board.

    When you ordered it assembled,...
  30. Might help to see a picture of your setup. For...

    Might help to see a picture of your setup. For example it might show if there is a bad soldering joint or the like. For example we have several times
    when people use a breadboard and the Teensy...
  31. Thanks, I am not sad to abandon the simple cache...

    Thanks, I am not sad to abandon the simple cache of lets say 8 items. Yes it did help, but I still not like using all of the space, and have that space so sparsely used. That is for an 8 record...
  32. Just a quick update, I tossed the N record cache...

    Just a quick update, I tossed the N record cache code, figured it did not give enough payback for the overhead...

    So started a different approach of grouping groups of items into blocks of...
  33. Will play later, trying to fix some cache block...

    Will play later, trying to fix some cache block code... So it does not go boom...
  34. Sorry I don't have the T4 version board, I did...

    Sorry I don't have the T4 version board, I did have an older kit for t3.x in box of spare stuff...
    But I will assume that is same except: what is shown in the product page:


    Again if you look at...
  35. This is probably something that only Paul could...

    This is probably something that only Paul could fully answer,

    As mentioned the product page does mention Schematic... to do.

    But I am wondering more specifically what you are asking.

    If...
  36. Morning all as well, What I don't understand...

    Morning all as well,

    What I don't understand fully is the LittleFS configuration for these chips:
    Specifically what is the logical SectorSize...

    My quick look at data table is:
    {{0xEF, 0xAA,...
  37. Replies
    3
    Views
    123

    My guess is that it is needing to read in the...

    My guess is that it is needing to read in the next sector from the SD card.

    That is storage on SD cards or stored in sectors of clusters... The size of each depends on how much storage is on the...
  38. Just an FYI update, I pushed up some changes to...

    Just an FYI update, I pushed up some changes to my fork/branch (cache_storage_records) which still has the same 8 record cache...
    Only differences is that I changed the max file name length to be...
  39. Replies
    2
    Views
    201

    There are a few different ways that people gained...

    There are a few different ways that people gained access to these pins during the T4 beta..

    A couple of adapter boards like:
    27168
    But that probably won't help you much on the space issue.

    ...
  40. Thanks, that is answering some of the reals...

    Thanks, that is answering some of the reals basics which is a good thing.

    I totally agree that large tests are great for doing system wide stress tests. Unit tests and Component tests are also...
  41. @Paul - good luck! I can imagine you have your...

    @Paul - good luck! I can imagine you have your hands pretty full!

    @all - Sort of wondering what the normal usage patterns that are expected to work with MTP? For me, I see it as a way to get a...
  42. It does look interesting: Like it does put Z on...

    It does look interesting:
    Like it does put Z on 0x32 (0x10032)

    And like the Glorious ... Mouse I showed above, both of these mice have 16 bit values for X, Y and in your case Z

    They show...
  43. Looks like everyone has been busy... Yes,...

    Looks like everyone has been busy...



    Yes, I added the timer earlier on, to see what messages we absolutely had to respond to in a timely manor at startup, or nothing USB works...

    That was...
  44. Sorry have been distracted from trying to many...

    Sorry have been distracted from trying to many different tests today.

    I have been playing with a straw man WIP record cache with 8 records (except on T3.2 turned off).
    Not sure about LC? Are we...
  45. Sounds great... Is it time to start playing yet...

    Sounds great... Is it time to start playing yet :D

    Since you were/are busy with the MTP_Teensy files, I thought I would again take a look again at how it uses the Storage Index file... I have...
  46. Replies
    6
    Views
    218

    Sorry I am a software guy not an EE so not an...

    Sorry I am a software guy not an EE so not an expert in ESD and the like. Hopefully one understands this will answer.

    A couple of from the gut comments.

    If you are worried at all about running...
  47. Replies
    6
    Views
    218

    If you look at cores\teensy3\core_pins.h you will...

    If you look at cores\teensy3\core_pins.h you will see there are defines already for this:

    #elif defined(__MK64FX512__)
    #define CORE_NUM_TOTAL_PINS 64
    #define CORE_NUM_DIGITAL 64...
  48. Note I have not tried it with hex output, but...

    Note I have not tried it with hex output, but have output unsigned.. like:


    DBGSerial.printf("Storage %d %s %llu %llu\n", ii, qnspi_str[ii], totalSize, usedSize);

    Notice the %llu which...
  49. Yes that is a sketch I put together to help...

    Yes that is a sketch I put together to help figure out how to add support for some additional devices within that library.

    Note: I also used Ubuntu utilities to get lots of data as well:...
  50. I don't know if you are int the minority or...

    I don't know if you are int the minority or not...

    What I don't know is if Windows and/or linux and or MAC have support in their device driver to support additional axis and if there is a...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4