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

  1. 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:...
  2. Replies
    625
    Views
    56,926

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

    Morning - Right now playing in the branch: MEM_send_object_large
  3. Replies
    625
    Views
    56,926

    @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...
  4. Replies
    625
    Views
    56,926

    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...
  5. 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,...
  6. Replies
    334
    Views
    14,998

    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...
  7. Replies
    810
    Views
    19,582

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

    @mjs513 Sounds like you have been busy!

    What about Teensy 2? ;) (Just kidding)
  8. Replies
    8
    Views
    968

    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...
  9. Replies
    625
    Views
    56,926

    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...
  10. Replies
    283
    Views
    15,718

    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...
  11. Replies
    26
    Views
    2,895

    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...
  12. Replies
    184
    Views
    9,873

    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...
  13. Replies
    625
    Views
    56,926

    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...
  14. Replies
    625
    Views
    56,926

    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...
  15. Replies
    625
    Views
    56,926

    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...
  16. Replies
    625
    Views
    56,926

    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...
  17. Replies
    625
    Views
    56,926

    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...
  18. Replies
    810
    Views
    19,582

    @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...
  19. Replies
    625
    Views
    56,926

    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:...
  20. Replies
    625
    Views
    56,926

    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...
  21. Replies
    810
    Views
    19,582

    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...
  22. Replies
    4
    Views
    109

    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...
  23. Replies
    625
    Views
    56,926

    @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...
  24. Replies
    4
    Views
    109

    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...
  25. 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...
  26. 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...
  27. Replies
    184
    Views
    9,873

    @Paul @WMXZ @mjs513 @defragster... and all: ...

    @Paul @WMXZ @mjs513 @defragster... and all:

    As has been mentioned up in the MTP thread, it would probably be a good thing, that when possible MTP would be able to tell the Host the dates and...
  28. Replies
    625
    Views
    56,926

    @WMXZ - Sounds good. Note: I do think it is...

    @WMXZ - Sounds good.
    Note: I do think it is good that one can get some of the simple events working for those who might care about it, and in other cases as you mentioned you can use the sledge...
  29. Thanks, I am not sure if I have that IMU here...

    Thanks,

    I am not sure if I have that IMU here or not. I have few but not sure about that one. Also that new code is depending on two more external files... So again harder to setup and test it. ...
  30. Replies
    800
    Views
    53,779

    @defragster - Who knows? But with two different...

    @defragster - Who knows? But with two different ones. I think there may be some interesting timing issue, that I am running into. Will look into it again at some point, but right now looks like we...
  31. Replies
    625
    Views
    56,926

    Good Morning, Not sure about why different...

    Good Morning,

    Not sure about why different files work differently. I suspect it is more on what the writing to the chips are doing. If with yours and Defragsters changes it finds enough already...
  32. Sorry, I have not had much of a chance to look...

    Sorry, I have not had much of a chance to look through this code.

    I did try to compile it and it fails as it is missing probably some header files or the like that define: setupIMU() and...
  33. Replies
    625
    Views
    56,926

    @wmxz and @mjs513 and ... I pushed up the next...

    @wmxz and @mjs513 and ...

    I pushed up the next set of changes to the branch with the Pull Request.

    I am properly generating the object added events for the new files created in your 'a'...
  34. Sounds like it or pieces of it would be a good...

    Sounds like it or pieces of it would be a good addition to the core!
  35. There are probably many different ways to answer...

    There are probably many different ways to answer this question.

    can a T4.1 run 5 servos at 125hz. The answer is probably yes, not sure to what end or what means. That is I have my doubts that...
  36. Replies
    625
    Views
    56,926

    Note: I implemented some of the simple query...

    Note: I implemented some of the simple query functions I mentioned above... And pushed up.
  37. Replies
    625
    Views
    56,926

    Yes - So far I have not had any luck with larger...

    Yes - So far I have not had any luck with larger files on slower devices. It feels like if a transfer takes over a certain amount of time that the MTP connection will get killed...
    I have the...
  38. Replies
    625
    Views
    56,926

    Morning! Yes that is the current stuff I am...

    Morning!

    Yes that is the current stuff I am working off of. My LittleFS is still off of LFSinterity/PlusNAND
  39. Replies
    625
    Views
    56,926

    @WMXZ and others wanting to play - I started...

    @WMXZ and others wanting to play - I started playing some more yesterday and I am in the process of starting again from your current (master) code and adding in some of the changes I have done.

    I...
  40. Replies
    4
    Views
    132

    If your code is still what you pointed to: That...

    If your code is still what you pointed to: That has:

    #define RA8875_CS 9 // not connected
    #define RA8875_RESET 25
    #define RA8875_INT 7 // not...
  41. Replies
    10
    Views
    250

    One option we have is to develop a WIFI driver...

    One option we have is to develop a WIFI driver for some standard USB dongle that plugs into either T3.6 or T4.x. My guess is it would be a lot of work, but would be nice.

    We do have some...
  42. Replies
    21
    Views
    340

    There are times I have wondered how much it would...

    There are times I have wondered how much it would work in cases like this, if we did something like:

    #define SPI_MODE_SLOWCS 0x80

    So maybe one could do something like:...
  43. Replies
    21
    Views
    340

    Sorry I missed it was the CPU speed. I assume...

    Sorry I missed it was the CPU speed.

    I assume that you saw there is a Pull Request, waiting to be pulled in by @mjs513...

    https://github.com/bolderflight/MPU9250/pull/64

    It is typically not...
  44. Again this only works if that hub1 is actually...

    Again this only works if that hub1 is actually connected as a USBHub. AND that it actually has a name that they put into their USB Descriptor, which is optional. Some devices do not.

    From your...
  45. Replies
    21
    Views
    340

    Again not sure where you are getting 150Mhz? ...

    Again not sure where you are getting 150Mhz?

    From the header file of that library:


    const uint32_t SPI_LS_CLOCK = 1000000; // 1 MHz
    const uint32_t SPI_HS_CLOCK = 15000000; // 15 MHz...
  46. Replies
    810
    Views
    19,582

    Sounds good. Maybe time to do PR back into...

    Sounds good.

    Maybe time to do PR back into LittleFS?
  47. If you wish to get the product name of a device...

    If you wish to get the product name of a device that has connected to one of your USB Host objects, there are methods on them to do so:

    Most of the examples with the library have code like:

    ...
  48. good Work... I will be picking my Sparkfun one up...

    good Work... I will be picking my Sparkfun one up probably in the next hour.
  49. Replies
    4
    Views
    132

    Hard to say. For example how is it wired up?...

    Hard to say.

    For example how is it wired up? Is it configured to run on 3,3v or 5v. What software?
    I just hooked up one that was the lower resolution. RA8875_480x272
    And it is working
    ...
  50. @mjs513 - Me too. I have probably done something...

    @mjs513 - Me too. I have probably done something stupid. I may try again. First I may try some mix and match of components.

    That is with the Dual one (currently on PSRAM) plug into breadboard...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4