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.04 seconds.

  1. @luni - Thanks, I sort of remembered having...

    @luni - Thanks,

    I sort of remembered having issues if two files included eeprom.h...

    Example sketch:

    #include <EEPROM.h>
    extern void donothing();

    int i=0;
  2. Sorry, I may not be too much help when using...

    Sorry, I may not be too much help when using those new fangled c++ things like templates ;) I am still more used to using stones and chisels :D

    it is complaining by the different times the...
  3. Replies
    636
    Views
    57,851

    Slight update to the previous post: Yes the...

    Slight update to the previous post:
    Yes the using larger buffers for SD does appear to have a good speedup for the transfer of files to SD Cards. I have not tried yet to see if there are...
  4. Replies
    24
    Views
    2,934

    It often helps to have additional information,...

    It often helps to have additional information, like: Arduino version, Teensyduino version, what SD library are you using? Are you using the SD on the T4.1?

    My assumption is you are using SD...
  5. Sorry not really sure what would work for you...

    Sorry not really sure what would work for you here. Hopefully others have better ideas. But if it were me, some things I might look at include:
    a) an array of Time Of Flight (TOF) sensors,...
  6. Replies
    636
    Views
    57,851

    @WMXZ (and others) - I hacked up a bool like I...

    @WMXZ (and others) - I hacked up a bool like I mentioned, which I have not pushed up yet in my WIP branch. I May push it also into the branch that I have an OpenPR on.

    Still playing some with...
  7. Replies
    2
    Views
    75

    Again not fully knowing your setup. You can...

    Again not fully knowing your setup.

    You can setup a host USB connector to the T3.6.

    The simplest way to try it out is using the USB Host cable:...
  8. Glad you got it working. Was going to mention...

    Glad you got it working.

    Was going to mention that you did not have a Serial1.begin...
  9. Replies
    8
    Views
    182

    Take this with a grain of salt, as I never use...

    Take this with a grain of salt, as I never use Eagle and the version I have is really old (6.6.0) and may not have read everything properly

    But when I looked at your T4.1 board, it almost looks...
  10. Replies
    15
    Views
    220

    It is showing you where the matching brace is to...

    It is showing you where the matching brace is to the brace next to text curser
  11. Replies
    102
    Views
    2,808

    Note: you have to order them in groups of 480

    Note: you have to order them in groups of 480
  12. Replies
    636
    Views
    57,851

    I was wondering if we should build that...

    I was wondering if we should build that capability into the mtp object?


    That is do like we do in the USB Host cases or the !Serial type cases...

    That is maybe add a member to MTPD:

    Sort of...
  13. Replies
    16
    Views
    223

    Sorry not enough info to guess. What os?What...

    Sorry not enough info to guess. What os?What version of arduino was installed. What version of teensyduino did you try to install?
  14. Replies
    102
    Views
    2,808

    I also ordered a couple of them from Sparkfun......

    I also ordered a couple of them from Sparkfun... Out of curiosity.

    But I will probably not comment much here as if I do start playing with them at all, will probably look at the Pico pages up on...
  15. Replies
    7
    Views
    165

    Works on the T4.1 I just tried... Pin 3 and 9 are...

    Works on the T4.1 I just tried... Pin 3 and 9 are fine.
  16. Replies
    2
    Views
    121

    I believe the that library supports changing...

    I believe the that library supports changing which SPI on the begin method...

    That is if you do something like:

    XPT2046_Touchscreen ts(CS_PIN, TIRQ_PIN); // Param 2 - Touch IRQ Pin - interrupt...
  17. Replies
    4
    Views
    105

    Yes, the T4 and T4.1 actually have a few SPI...

    Yes, the T4 and T4.1 actually have a few SPI buses.

    23368

    They are shown on the released card as well as my excel document and photo made from it:
    SPI1 has a few alternate pins for some of...
  18. Replies
    106
    Views
    12,870

    Sounds like you are making great progress!

    Sounds like you are making great progress!
  19. Replies
    2
    Views
    83

    May depend on which library you use. But I...

    May depend on which library you use.

    But I think your commented code is wrong above: TFT_MOSI should be TFT_MISO

    Note: Most of the libraries will do something like SPI.begin() and while doing...
  20. Replies
    636
    Views
    57,851

    The interesting thing is I tried the simple...

    The interesting thing is I tried the simple version that crashed after 3 plus seconds to Flash to go instead to SDIO. Again 512 bytes at a time.

    CMD: 100c(SEND_OBJECT_INFO)l: 20 T:299 : 1...
  21. Replies
    22
    Views
    1,315

    XBAR - for me it was reading the manual a few...

    XBAR - for me it was reading the manual a few times.. (sometimes more than a few)... Note: So far when playing with DMA, I have mainly needed to have some understanding of XBAR for GPIO and for...
  22. Replies
    636
    Views
    57,851

    Totally understand.... Pretty frustrating. ...

    Totally understand.... Pretty frustrating.

    This morning I decided to waste some time and see if going at this completely wrong. So tried a KISS version of the code...

    bool...
  23. Replies
    4
    Views
    130

    In many cases like this, it is often easiest to...

    In many cases like this, it is often easiest to look at code that ships with the Teensyduino release, at least to get ideas, even if you may be the type who who wants to write everything from...
  24. Replies
    22
    Views
    1,315

    Nice write up - Puts a lot of the details into...

    Nice write up - Puts a lot of the details into one place which is great.

    Note: another gotcha you may run into with DMA is with caching.

    That is with the example above you are using the...
  25. Are you using the library:...

    Are you using the library: https://github.com/robopeak/rplidar_arduino

    It looks like your code is pretty close to their example: simple_connect?

    If I am looking at their documents correctly:...
  26. Replies
    636
    Views
    57,851

    Morning - Right now playing in the branch:...

    Morning - Right now playing in the branch: MEM_send_object_large
  27. Replies
    636
    Views
    57,851

    @Paul - sounds great @mjs513 - Did you have...

    @Paul - sounds great

    @mjs513 - Did you have enough memory PSRAM available to be able to allocated that large of a file? Right now I try to allocate the whole thing with extmem_alloc. So if that...
  28. Replies
    636
    Views
    57,851

    I know ... talking to myself ;) Just pushed...

    I know ... talking to myself ;)

    Just pushed up a WIP version of the MTP send object code, that in addition of trying to allocate a full size buffer for the file. Once the whole file has been...
  29. Note: the Teensy boards will not show up as a USB...

    Note: the Teensy boards will not show up as a USB Serial device, unless you program them to do so.

    What I typically do with a new teensy, is to load up a simple sketch like the example blink,...
  30. Replies
    334
    Views
    15,236

    Hopefully someone one will be able to help you...

    Hopefully someone one will be able to help you here. I personally have not tried any of the RA8875/76 custom font stuff, nor any of their ROM chips.

    What we have done when we were playing with...
  31. Replies
    810
    Views
    20,349

    @mjs513 Sounds like you have been busy! What...

    @mjs513 Sounds like you have been busy!

    What about Teensy 2? ;) (Just kidding)
  32. Replies
    8
    Views
    1,062

    Yes it would be great if there was some tutorial...

    Yes it would be great if there was some tutorial or web page, that discuss DMA for the different Teensy boards. There have been several threads talking about DMA with GPIO on T4.x, that you can get...
  33. Replies
    636
    Views
    57,851

    Another quick update: I have been playing...

    Another quick update:

    I have been playing around with my USBHost MTP code and communicating with Kindle Fire. Note: The connection with Kindle Fire (Android) is a bit touchy. Sometimes works...
  34. Replies
    283
    Views
    15,985

    Sorry I really don't know the RA887x that well to...

    Sorry I really don't know the RA887x that well to know how all of the different fonts work or not. I believe this is NOT a system font so we are simply drawing the bits.
    Again I also mostly just...
  35. Replies
    26
    Views
    2,932

    The same ways as you would with a Teensy 4. ...

    The same ways as you would with a Teensy 4.

    There are many ways to do so.
    The Dynamixel is a half duplex serial protocol, which specification says the TTL signal is 5v, although I have never...
  36. Replies
    186
    Views
    10,954

    As for best way to uininstall a version. ...

    As for best way to uininstall a version.

    First I reboot to make sure I don't have any Arduino things opened up and running.

    I will often just delete the arduino (actually I rename it to some...
  37. Replies
    636
    Views
    57,851

    Internet has been up and down... Can not complain...

    Internet has been up and down... Can not complain too much as it looks like lots are still without power.

    I pushed up a WIP branch MEM_send_object_large which is based off of the branch I still...
  38. Replies
    636
    Views
    57,851

    Afternoon - Internet back, we are lucky, looking...

    Afternoon - Internet back, we are lucky, looking at the power outage map, it looks like a lot of areas are without power.
    Wind was really strong overnight. It moved and flipped a trailer we pull...
  39. Replies
    636
    Views
    57,851

    Sorry internet down, so by cell... I noticed...

    Sorry internet down, so by cell...

    I noticed this morning that a case statement missing

    About line 844 mtp.cpp above sendobjectinfo should be case: ox100c:

    Not sure if that is what you are...
  40. Replies
    636
    Views
    57,851

    Hi again @mjs513 - I have not tried with 3.5,...

    Hi again @mjs513 - I have not tried with 3.5, maybe should. I did build for 3.6.

    Note: I am building for MTP with using SEREMU... If you are building for MTP + Serial, did you update the...
  41. Replies
    636
    Views
    57,851

    As I think I posted above, it looks like the T3.x...

    As I think I posted above, it looks like the T3.x does real simple for USB packet it gets it does a write.

    I have not tried that way yet.

    I did try some code that, if the file is greater than...
  42. Replies
    810
    Views
    20,349

    @defragster - Sorry not really sure what is going...

    @defragster - Sorry not really sure what is going on, just that when I saw stuff about configuring some pins for I2S where are not I2S pins, It made me suspicious that maybe some of the other...
  43. Replies
    636
    Views
    57,851

    Quick update to above, and with the current...

    Quick update to above, and with the current caching code I still get timeouts, depending more on the state of the File writes I think...
    Example I did a copy of 341024 bytes long and debug output:...
  44. Replies
    636
    Views
    57,851

    Me too, So I am starting to play again of...

    Me too,

    So I am starting to play again of moving over the code I have in other branch.

    But also wondering about the differences in the two current versions of the sendObject code:

    The one...
  45. Replies
    810
    Views
    20,349

    Good morning, I will have to play later....

    Good morning,

    I will have to play later. Looking at larger files receive... More on other thread.
    I assume you have already tested that creating a directory works in a simple case.

    What...
  46. Replies
    4
    Views
    118

    Sorry, I am not much of an I2C person so I...

    Sorry,

    I am not much of an I2C person so I normally just use Wire library when I need I2C support. It would be probably easy to get most of the Master mode support in, but would take someone who...
  47. Replies
    636
    Views
    57,851

    @WMXZ/Paul and others - As for MTP and things...

    @WMXZ/Paul and others - As for MTP and things like Modify date, I put questions and suggestions on the beta 5 thread.

    Things like does LittleFS keep any dates anywhere?

    FS/FILE - We don't...
  48. Replies
    4
    Views
    118

    I could be wrong, but the last time I looked this...

    I could be wrong, but the last time I looked this library was not yet supported on a Teensy 4.x

    The last post from him (@nox771) on that was back near the end of 2019 and his last changes to the...
  49. Fixed: for some reason we had the checking for...

    Fixed: for some reason we had the checking for bounds in the Pixel function commented out.
    We called this with a negative value that in the case of frame buffer just overwrote random memory.

    Fix...
  50. It appears to be blowing up in the 5 degree...

    It appears to be blowing up in the 5 degree drawing...
    Probably on the 2nd draw line where maybe we are not detecting the negative number in some spot:
    Here is my current instrumented version of...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4