Forum Rule: Always post complete source code & details to reproduce any issue!
Tab Content
  • mjs513's Avatar
    Today, 07:28 PM
    Glad you got it working :). Was getting me worried.
    882 replies | 42514 view(s)
  • mjs513's Avatar
    Today, 07:26 PM
    Think I was keeping it separate for devel and not corrupt the LittleFS header. To be honest probably should have merged the too. Would keep the .cpp's separate though as you said. Ok - on my to do list. whats your...
    882 replies | 42514 view(s)
  • mjs513's Avatar
    Today, 10:54 AM
    Ok - installed 1.54b10 over 154b9 on Win10 home x64 with no issues. This time I didn;t even get the windows block install screen :) Tried to duplicate on a T4.0 and can't seem to duplicate the issue. Filled T4...
    5 replies | 192 view(s)
  • mjs513's Avatar
    Today, 10:34 AM
    @defragster - @Paul - @all Downloaded the beta10 and installed over 1.54beta9. Loaded up the LFSIntegrity sketch in previous post and ran it on both a T4.1 and Teensy MicroMod. Then for using: Tested EXTMEM,...
    882 replies | 42514 view(s)
  • mjs513's Avatar
    Yesterday, 10:20 PM
    As @defragster mentioned - LittleFS wasn't tested with Teensythreads. The SD card operates differently than a flash chip. Can you post the code so we can either test or see if there is anything obvious. Without...
    882 replies | 42514 view(s)
  • mjs513's Avatar
    Yesterday, 10:11 AM
    Good morning all Just gave the fix a quick try on the MM and the 4.0. The worked like a charm. No hangs my little test sketch from post...
    882 replies | 42514 view(s)
  • mjs513's Avatar
    Yesterday, 01:57 AM
    Rabbit holes …. Late for me to start playing but want to hook up a spi flash and see if there is a further problem or just the use of dmamem. Tim forgot if you tested with program mem. Eyes are crossed now.
    882 replies | 42514 view(s)
  • mjs513's Avatar
    Yesterday, 01:26 AM
    @PaulStoffregen - @defragster - @KurtE Not sure you reverted the 1k boundaries completely from the core for the 1062. This is still in imxrt1052.ld .text.csf : { FILL(0xFF) . = ALIGN(1024);
    882 replies | 42514 view(s)
  • mjs513's Avatar
    Yesterday, 01:19 AM
    @PaulStoffregen - @defragster Don't think its an issue with LittleFS believe its something that changed in the core between 1.54beta8 and beta9. Why do I say this - I went back to previous commits - back to feb 23,...
    882 replies | 42514 view(s)
  • mjs513's Avatar
    Yesterday, 01:05 AM
    Just tried Teensy Micromod with my test sketch: 1. Hangs with 1.54bet9 on 1.8.15 but 2. Works with 1.54beta8 with IDE1.8.14 3. T4.0 works as well with beta8
    882 replies | 42514 view(s)
  • mjs513's Avatar
    Yesterday, 12:23 AM
    @PaulStoffregen - @defragster Ran it on a T3.5 with DMAMEM char buf;; // USE DMAMEM for more memory than ITCM allows - or remove and my last posted test program and it seems to be working - no hangs!...
    882 replies | 42514 view(s)
  • mjs513's Avatar
    Yesterday, 12:16 AM
    Yep it sure is crashing on T4.0. Even if I revert the changes that @defragster just made it crashes.. Testing with DMAMEM for a quick and dirty test.
    882 replies | 42514 view(s)
  • mjs513's Avatar
    06-17-2021, 11:25 PM
    Sounds like a plan!
    28 replies | 226 view(s)
  • mjs513's Avatar
    06-17-2021, 11:17 PM
    Agreed go for it - Also ordered myself some of those chips to test as well. Don't think you are going to be able to change the .ld.
    28 replies | 226 view(s)
  • mjs513's Avatar
    06-17-2021, 10:45 PM
    Well, looks like the option to pass in *Serial has been incorporated: bool lowLevelFormat(char progressChar=0, Print* pr=&Serial); This is what is up at:...
    28 replies | 226 view(s)
  • mjs513's Avatar
    06-17-2021, 10:26 PM
    @defragster. First your modified LittleFS.h is throwing errors on lowlevelFormat. So I used codecompare and updated the one the is bundled with Teensyduino1.54b9. See attached. I took a slightly different...
    28 replies | 226 view(s)
  • mjs513's Avatar
    06-17-2021, 09:44 PM
    Usually not bored, only sometimes. Definitely think its worth trying and adding if it works. I will download and give the new LittleFS.h a try that you posted in #16
    28 replies | 226 view(s)
  • mjs513's Avatar
    06-17-2021, 07:05 PM
    Thanks for the clarification will have pick up a few :)
    28 replies | 226 view(s)
  • mjs513's Avatar
    06-17-2021, 07:04 PM
    @defragster Will take a look at that. Didnít do much with the psram. That chuck was Paul. Canít remember about spiffs Ö was way too long ago now.
    28 replies | 226 view(s)
  • mjs513's Avatar
    06-17-2021, 05:45 PM
    the one difference I see in the from looking at the datasheets is the max clock speed. It looks like for the Lyontek LY68L6400S the clock is maxed at 100Mhz while for the ESP its at 133 Mhz. This shouldn't be a...
    28 replies | 226 view(s)
  • mjs513's Avatar
    06-17-2021, 02:51 PM
    Reading the issue on github that you referenced it doesn't appear to be a I2C problem but a library issue. Since they are using the lib for the two different sensors. ladyada came back and said: So you could try...
    34 replies | 2301 view(s)
  • mjs513's Avatar
    06-12-2021, 02:56 PM
    Morning @Sandro First you don't need to copy LittleFS or copy the .h file to the cores. I would revert what you did. If you installed Teendsyduino 1.54beta9 or even 1.54beta8 LittleFS is installed as part of the...
    2 replies | 104 view(s)
  • mjs513's Avatar
    06-12-2021, 10:29 AM
    As @defragster mentioned the SPIFFS_T4 library is no longer supported and unfortunately I don't remember enough off the top of my head to provide any advice. Would have to go back and look at the code again to see what...
    71 replies | 5192 view(s)
  • mjs513's Avatar
    06-10-2021, 11:14 PM
    Not that I am aware. At the moment BT 5.0 dongles are not supported.
    948 replies | 57925 view(s)
  • mjs513's Avatar
    06-10-2021, 11:13 PM
    @Fluxanode Did you remember to change the USB Type to MTP Disk (Experimental) from the Tools -> USB Type dropdown when did compile and upload?
    928 replies | 85337 view(s)
  • mjs513's Avatar
    06-03-2021, 06:06 PM
    Not a problem - wanted to get what I was seeing while it was still fresh in my head as well. As you said back to other diversions.
    948 replies | 57925 view(s)
  • mjs513's Avatar
    06-03-2021, 11:38 AM
    Good Morning @KurtE Decided to start going through PS3 dumps again and bounce it against the SSP web site. And from what I see it hanging while the ps3 is waiting for a IO capability response before SSP pairing...
    948 replies | 57925 view(s)
  • mjs513's Avatar
    06-02-2021, 02:35 PM
    @tonton81 did a lot of explaining about mutex and scope locks in the primary thread on TeensyThreads. YOu can start here...
    24 replies | 694 view(s)
  • mjs513's Avatar
    06-02-2021, 12:53 AM
    actually suspend does work but not with the way you are using it. 1. create a global variable: int PZEM; 2. in setup do: PZEM = threads.addThread(ReadPZEM); 3. Then you can use suspend like this...
    24 replies | 694 view(s)
  • mjs513's Avatar
    06-01-2021, 07:47 PM
    @KurtE Been going through the PS4 wireshark dump from my Linux laptop and comparing to what I am seeing from trying to pair the PS4 "Blue" controller with USBHost so here goes 1. <<(01):2F FF 01 DF 40 7E E9 B6 98 01...
    948 replies | 57925 view(s)
  • mjs513's Avatar
    05-31-2021, 07:15 PM
    That is correct. The problem was an issue with the breakout board I was using so I switch to this board":https://www.pjrc.com/breakout-board-for-teensy-4-0/ and it worked both at 600Mhz and 150Mhz. As far I can see...
    19 replies | 857 view(s)
  • mjs513's Avatar
    05-31-2021, 05:49 PM
    Neither am I but following you guidance got my dump and going to see whats going on. Interesting the first think I noticed with the blue controller is that it actually shows up as a Sony Wireless controller - going to...
    948 replies | 57925 view(s)
  • mjs513's Avatar
    05-31-2021, 04:43 PM
    Out of frustration I took the Blue controller over to a my Ubuntu laptop and it connected right up. I then installed wireshark and was able to see the connection packets but how the heck do you save it so you can the...
    948 replies | 57925 view(s)
  • mjs513's Avatar
    05-31-2021, 03:20 PM
    Take a look at this site: http://www.yts.rdy.jp/pic/GB002/GB002.html, good info on SDP and SPP integration!
    948 replies | 57925 view(s)
  • mjs513's Avatar
    05-31-2021, 01:33 PM
    @KurtE Getting ready to go make another pot of coffee - been up since early this morning :) Anyways - do you have the link to the Bluetooth Core Spec - can't seem to find a good one to get me to the right place?...
    948 replies | 57925 view(s)
  • mjs513's Avatar
    05-31-2021, 11:21 AM
    Part 2 For that other PS4 controller I have it is very similar but the key request is slightly different; HCI version: 06 Wait For Incoming Connection Request >>(00,000007DE1A 0C 01 02 <<(01,00000BB1):0E 04 01...
    948 replies | 57925 view(s)
  • mjs513's Avatar
    05-31-2021, 11:16 AM
    Good Morning @KurtE Ok went back to UHS2 and tried something with the blue controller. Used pairing mode and received a "Pairing Successful Message" and then it pretty much dies at the same spot that I showed...
    948 replies | 57925 view(s)
  • mjs513's Avatar
    05-30-2021, 11:28 PM
    Yeah that's pretty much what I was seeing when I attached it to my android phone :) Notice the SDP and GAP stuff buried in there :(
    948 replies | 57925 view(s)
  • mjs513's Avatar
    05-30-2021, 08:59 PM
    Tried those 2 ps4 controllers that I have with the ESP32 library I mentioned in post #923 and no luck - can't seem to get them connected to anything. Good luck...
    948 replies | 57925 view(s)
  • mjs513's Avatar
    05-30-2021, 04:24 PM
    @tonton81 and @KurtE Was thinking that it could the clock settings as well. @KurtE - yep understood what you saying, I think, thanks for code snippet made it easier since I am feeling a bit under the weather today...
    19 replies | 857 view(s)
  • mjs513's Avatar
    05-30-2021, 01:27 PM
    @rohitas Well using a SparkFun microSD Sniffer I hooked up the Sparkfun BNO080 and using a slightly modified sketch you posted - using SPI2 as default and CS as pin 36: #include <SPI.h> // include the new SPI...
    19 replies | 857 view(s)
  • mjs513's Avatar
    05-29-2021, 11:53 PM
    Sorry for the late response but I had to ask. Since not planning on soldering those little wires (I did that once to get access to the FLASH pins on the under side so..) but tomorrow I have an adapter that I can slip...
    19 replies | 857 view(s)
  • mjs513's Avatar
    05-29-2021, 06:24 PM
    @guihome Out of curiosity how are you getting access to SPI2 on the Teensy 4.0 since they are associated with the SD card pins on the underside of the board and not brought out to the edge like on the Teensy 4.1? ...
    19 replies | 857 view(s)
  • mjs513's Avatar
    05-29-2021, 05:58 PM
    Just noticed .... my self been busy with other distractions.
    948 replies | 57925 view(s)
  • mjs513's Avatar
    05-29-2021, 02:32 PM
    Morning @KurtE :) Working with the Blue PS4 - the same one that you have. If that is any help.
    948 replies | 57925 view(s)
  • mjs513's Avatar
    05-29-2021, 11:01 AM
    @KurtE For the PS4 you might want to take a look for the ESP32, uses both SPP and Classic BT gap: https://techtutorialsx.com/2020/02/16/esp32-ps4-controller-connection-event/ and his library:...
    948 replies | 57925 view(s)
  • mjs513's Avatar
    05-29-2021, 05:03 AM
    @kurte Could wait to see what happened with the debug for USBHost using the blue controller I am not getting the same responses that you are seeing: *** Device Bluet a5c:21e8 - connected *** manufacturer: Broadcom...
    948 replies | 57925 view(s)
  • mjs513's Avatar
    05-25-2021, 04:26 PM
    @KurtE Good luck. With my 2 PS4 clones it shows Pair successful but no data :( and then the sketch hangs.
    948 replies | 57925 view(s)
  • mjs513's Avatar
    05-25-2021, 03:16 PM
    @KurtE Just tried it with my 2 controllers and both still do not connect - tried a couple of different dongles as well. So.....
    948 replies | 57925 view(s)
  • mjs513's Avatar
    05-25-2021, 01:07 AM
    @KurtE Remember that PS4 developer's wiki we were looking at that is no longer available .. here is the cached version:...
    948 replies | 57925 view(s)
  • mjs513's Avatar
    05-24-2021, 09:22 PM
    @passerby2021 First I want to say I am sorry that you have been ill for long time and still sick. I pray for a full recovery. No youth - think most of us can understand that as I am not young anymore either. Time...
    948 replies | 57925 view(s)
  • mjs513's Avatar
    05-24-2021, 06:43 PM
    @KurtE For simple pairing: I was searching through the thread where we first talked about implementing it to find the reference. Could find it but did find the reference in my bookmarks. It was the USBHostShield...
    948 replies | 57925 view(s)
  • mjs513's Avatar
    05-24-2021, 11:34 AM
    Don't think I have a Adafruit LIS3DH board that I can test with. Wondering if it might be a problem with some setting in their SPI library? I do see that they have ifdef for fastSPI_IO but not sure if thats a...
    19 replies | 575 view(s)
  • mjs513's Avatar
    05-24-2021, 12:27 AM
    @KurtE - you may want to check this link out: https://techtutorialsx.com/2020/02/15/esp32-connecting-a-ps4-controller/, about setting up the PS4 controller, Sound familiar :) EDIT: their library has also...
    948 replies | 57925 view(s)
  • mjs513's Avatar
    05-24-2021, 12:15 AM
    Have a feeling its all related to the same issue - in otherwords fix one you fix them all :)
    948 replies | 57925 view(s)
  • mjs513's Avatar
    05-23-2021, 06:06 PM
    @KurtE Took break to play with PS4 again since I received the new PS4 clone. Seems to hang the USBHost_t36 and I have to hit the pgm button to upload the sketch again: *** Device Bluet a5c:21e8 - connected *** ...
    948 replies | 57925 view(s)
  • mjs513's Avatar
    05-22-2021, 10:05 PM
    Wondering if we have to do a kludge that it reads joystick name as Ninetendo or RDATech its really a PS4 but that just doesn't feel right to me for some reason.
    948 replies | 57925 view(s)
  • mjs513's Avatar
    05-22-2021, 07:31 PM
    @KurtE Yes I noticed it said Ninetendo :), Saw the same thing when I paired with my android phone and dumped the HCI log. Curious.....
    948 replies | 57925 view(s)
  • mjs513's Avatar
    05-22-2021, 03:11 PM
    @KurtE Ordered one of these PS4 controllers; https://www.amazon.com/gp/product/B07WG62V61/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1. Should have tomorrow sometime so will see if it connects :)
    948 replies | 57925 view(s)
  • mjs513's Avatar
    05-21-2021, 05:24 PM
    @KurtE See you have been busy = had to run out and do a few errands. Anyway it appears that the red Voyee controller is no longer available on Amazon - went to get one but link is broke. Also, just tried to get...
    948 replies | 57925 view(s)
  • mjs513's Avatar
    05-21-2021, 01:34 PM
    To answer some of your questions. 1. XBOX - yep it works. They added in support for SPP/SDP so that now works 2. PS4 Clone = Nope not the ones we have. I tried see my last post - first part. Did some poking...
    948 replies | 57925 view(s)
  • mjs513's Avatar
    05-21-2021, 01:14 PM
    @KurtE Was playing around a little more with the blue Teiros PS4 clone. Hooked it up again to the hostShiled2.0 and tried to connect but no luck: Gamepad is connecting Incoming Connection Request Remote Name:...
    948 replies | 57925 view(s)
  • mjs513's Avatar
    05-21-2021, 12:17 PM
    @KurtE Was playing some more with the PS4 and the T4.1. All seems good with the driver. One thing I noticed this morning is that once and a while it will pick up the PS4 as a PS3Motion Timer controller if you upload...
    948 replies | 57925 view(s)
  • mjs513's Avatar
    05-21-2021, 02:31 AM
    Don’t think Paul is going to update the compiler anytime soon... I don’t think it was just something that came up in the beta9 thread
    948 replies | 57925 view(s)
  • mjs513's Avatar
    05-21-2021, 01:24 AM
    @wwatson No warnings - the problem was on my part. I was doing some testing with arm9 compiler and forgot to change it back before trying usbhost_t36 it with 1.8.14b8. I really thought I had - eyes must have been...
    948 replies | 57925 view(s)
  • mjs513's Avatar
    05-21-2021, 12:42 AM
    Ok. Just rechecked beta8 to make sure I wasn't using arm9 - turns out I was - must be going crossed eyed. I recopied the latest Usbhost to beta8 and it compiled no errors and output data was good. All the data looked...
    948 replies | 57925 view(s)
  • mjs513's Avatar
    05-20-2021, 11:33 PM
    I also remember testing it with your branch before it merged and thought it worked? Ok going back through the core changes decided to test on a T4.0 and guess what it worked as expected. EDIT: Ok reloaded beta9 and...
    948 replies | 57925 view(s)
  • mjs513's Avatar
    05-20-2021, 09:24 PM
    @KurtE Just backed out the last commit made to the library: https://github.com/PaulStoffregen/USBHost_t36/pull/58. Used the version prior to the commit and the PS4 worked as expected with 1.8.15.
    948 replies | 57925 view(s)
  • mjs513's Avatar
    05-20-2021, 08:41 PM
    Using standard arm no arm9.
    948 replies | 57925 view(s)
  • mjs513's Avatar
    05-20-2021, 07:39 PM
    @KurtE You are right, something strange going on with USBHost_t36 with 1.8.15beta9. Axes were messed up and not reading correctly. So I went back to 1.8.14beta8 and PS4BT is working as it should. Something...
    948 replies | 57925 view(s)
  • mjs513's Avatar
    05-19-2021, 07:38 PM
    Just as a follow to @Silverlock post with the picture disappearing after upload. Tried it on windows10x64 and after upload picture does not disappear. Pi3b or linux issue?
    86 replies | 7169 view(s)
  • mjs513's Avatar
    05-19-2021, 01:02 PM
    @PaulStoffregen Back when we were testing Beta7 I had an issue with SerialMonitor hanging (reference: https://forum.pjrc.com/threads/66357-Teensyduino-1-54-Beta-7?p=271493&viewfull=1#post271493), @defragster...
    86 replies | 7169 view(s)
  • mjs513's Avatar
    05-19-2021, 11:36 AM
    System: Windows PC Win10x64 using 1.8.15b9..... Loaded up the sketch on a T4.1. Waited about 10 seconds but only the first line showed up: first line ... it I only wait for about 1 second: first line .....second...
    86 replies | 7169 view(s)
  • mjs513's Avatar
    05-18-2021, 04:16 PM
    Ok - just retested with 1.8.14b8 and 1.8.15b9 with GCC9 and yes it does fail to compile but as you said it compiles fine with the default gcc. Saw they GCC10 is out as well. So tempted.
    58 replies | 3234 view(s)
  • mjs513's Avatar
    05-18-2021, 01:27 PM
    @Paul Installed 1.8.15 and latest beta9 on a windows10x64 desktop. Besides the normal issue with windows wanting to block TD install went without a hitch. Re-ran the sample sketch for memcpy crossing boundary to...
    86 replies | 7169 view(s)
  • mjs513's Avatar
    05-18-2021, 11:31 AM
    @luni Followed the instructions to install arm9 (installed the 9-2020-q2-update) and changed the following in the boards.txt file to #teensy41.build.toolchain=arm/bin/ teensy41.build.toolchain=arm9/bin/ using IDE...
    58 replies | 3234 view(s)
  • mjs513's Avatar
    05-18-2021, 10:59 AM
    Thanks for the link. Lot easier than I thought it was going to be :)
    58 replies | 3234 view(s)
  • mjs513's Avatar
    05-18-2021, 10:17 AM
    Ok have to ask - how do you update the toolchain to GCC9. Did it once a long time ago but can't remember how I did it?
    58 replies | 3234 view(s)
  • mjs513's Avatar
    05-17-2021, 04:31 PM
    Not an expert here especially with MicroPython, but the question would also be what is MicroPython doing on booth. Does it write anything to flash or .. I have seen implementations for CircuitPython but not for...
    13 replies | 584 view(s)
  • mjs513's Avatar
    05-14-2021, 02:00 AM
    Yep. Found that site as well the other day but forgot to post believe it or not. Too many distractions.
    948 replies | 57925 view(s)
  • mjs513's Avatar
    05-14-2021, 01:27 AM
    @KurtE Yeah that's exactly what I found as well with Blue one that I tried. The real PS4 DualShock and Teiros PS4 both work now issue wired. Issue is with BT. I did try it with USBHost Shield and it did seem to...
    948 replies | 57925 view(s)
  • mjs513's Avatar
    05-14-2021, 01:24 AM
    Sorry late to the party. Just updated EEPROM.cpp and it does compile for Teensy++2.0 as well as T4.1 and T3.5. Also tried compiling 3 other sketches that use the EEPROM library and they all seem to compile fine.
    58 replies | 3234 view(s)
  • mjs513's Avatar
    05-13-2021, 12:37 AM
    Almost forgot but I just compiled another sketch for obstacle avoidance for the micromod and memory usage now works. So that change definitely took: ^ Opening Teensy Loader... Memory Usage on Teensy...
    58 replies | 3234 view(s)
  • mjs513's Avatar
    05-12-2021, 07:40 PM
    Downloaded the new IDE as as well as teensyduino. Microsoft edge decided to block and had to explicitly tell it to keep the file. I also reported it as safe. However if I download it with Firefox it will download...
    58 replies | 3234 view(s)
  • mjs513's Avatar
    05-10-2021, 10:46 PM
    Eagles are rather majestic aren't they. Anyway, the regulator is a 3.3v 1A regulator just don't know if the caps are sufficient - maybe Paul or Kurt can tell you. Not an EE here :)
    888 replies | 30570 view(s)
  • mjs513's Avatar
    05-10-2021, 10:44 PM
    We do like our rabbit holes don't we. But, at least USB host libv2 has the SDP stuff incorporarted. But not - I can't get it to connect with that lib either so something else up with it as well.
    948 replies | 57925 view(s)
  • mjs513's Avatar
    05-10-2021, 07:30 PM
    @KurtE Think you may have picked the wrong PS4 clone. Just dump the HCI log from connecting to my android and not really like what I am seeing Reading the specs a bit more it says it Bluetooth 4.2. You...
    948 replies | 57925 view(s)
  • mjs513's Avatar
    05-10-2021, 06:33 PM
    Think that's because I am in NY and I think Amazon has a warehouse in NJ - think I read that someplace. Was reading and saw the same thing that some of these want to paired via wire first then can connect via BT. ...
    948 replies | 57925 view(s)
  • mjs513's Avatar
    05-10-2021, 04:31 PM
    Afternoon now for me but just got the blue controller and as expected didn't work BT out of the box - but did when wired. Seems to hang when trying to connect: *** Device Bluet a5c:21e8 - connected *** ...
    948 replies | 57925 view(s)
  • mjs513's Avatar
    05-10-2021, 04:19 PM
    Using 1A MCP regulator just unsoldered the old one and solder on the new one. Wonder is the color mapping issue is related to power? Who know for sure.
    888 replies | 30570 view(s)
More Activity
About mjs513

Basic Information

About mjs513
Location:
New York
Interests:
Robotics, Image Processing
Occupation:
Aerospace Eng (Retired)

Statistics


Total Posts
Total Posts
7,051
Posts Per Day
2.77
Last Post
LittleFS port to Teensy/SPIFlash Today 07:28 PM
General Information
Last Activity
Today 07:28 PM
Join Date
07-01-2014