Forum Rule: Always post complete source code & details to reproduce any issue!
Tab Content
  • 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 | 69 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 | 5042 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 | 56818 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?
    927 replies | 84086 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 | 56818 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 | 56818 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 | 607 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 | 607 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 | 56818 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 | 797 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 | 56818 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 | 56818 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 | 56818 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 | 56818 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 | 56818 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 | 56818 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 | 56818 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 | 56818 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 | 797 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 | 797 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 | 797 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 | 797 view(s)
  • mjs513's Avatar
    05-29-2021, 05:58 PM
    Just noticed .... my self been busy with other distractions.
    948 replies | 56818 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 | 56818 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 | 56818 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 | 56818 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 | 56818 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 | 56818 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 | 56818 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 | 56818 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 | 56818 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 | 544 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 | 56818 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 | 56818 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 | 56818 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 | 56818 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 | 56818 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 | 56818 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 | 56818 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 | 56818 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 | 56818 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 | 56818 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 | 56818 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 | 56818 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 | 56818 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 | 56818 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 | 56818 view(s)
  • mjs513's Avatar
    05-20-2021, 08:41 PM
    Using standard arm no arm9.
    948 replies | 56818 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 | 56818 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 | 6433 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 | 6433 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 | 6433 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 | 3096 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 | 6433 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 | 3096 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 | 3096 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 | 3096 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 | 563 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 | 56818 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 | 56818 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 | 3096 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 | 3096 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 | 3096 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 | 29706 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 | 56818 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 | 56818 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 | 56818 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 | 56818 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 | 29706 view(s)
  • mjs513's Avatar
    05-10-2021, 02:09 PM
    I ordered mine direct from UCTRONICS but it ships from China not from the US. Think it should be here today if I am reading the tracking right. Did notice that the Tindie site is already out of stock again on the...
    888 replies | 29706 view(s)
  • mjs513's Avatar
    05-10-2021, 01:58 PM
    Me neither - got the parts sorted so figured I'd better change it before I forgot and knock one more thing off the list before getting distracted again with other projects :) Going to play with it a bit more later have...
    888 replies | 29706 view(s)
  • mjs513's Avatar
    05-10-2021, 01:38 PM
    @KurtE - @defragster This morning I finally got around to replacing the regulator on the PJRC BB, i.e., new 1a, regulator. Reran the Zelda sketch to see if we would still get that popping/distortion when running...
    888 replies | 29706 view(s)
  • mjs513's Avatar
    05-07-2021, 11:35 AM
    Very cool Brian. Eventually may get back to this one when other distractions settle down. Think you know how that goes :)
    11 replies | 2578 view(s)
  • mjs513's Avatar
    05-05-2021, 12:57 PM
    Morning @KurtE Was kind of fun tying the camera stuff in with TensorFlowLite. Sounds like you are having a lot of fun as well. A couple of notes: 1. Just realized that the library.properties has a couple of...
    888 replies | 29706 view(s)
  • mjs513's Avatar
    05-05-2021, 12:04 PM
    @zumdar Just pushed the fix up to https://github.com/mjs513/NewPing_t4/tree/TimerCorrection_WIP branch. Should be working for you now. Let me know how it goes
    5 replies | 278 view(s)
  • mjs513's Avatar
    05-04-2021, 11:31 PM
    @defragster - @KurtE If you want a little distraction attached is a working copy of the tensorflow lite person detection using a HB01B0 on the ML board. Not sure I did the image crop code correctly but seems to work...
    888 replies | 29706 view(s)
  • mjs513's Avatar
    05-04-2021, 10:55 PM
    Ok know what the problem is but going to take a bit for me to rework it :)
    5 replies | 278 view(s)
  • mjs513's Avatar
    05-04-2021, 11:48 AM
    @zumdar Just took a look at the library again after 2 years. Found a couple of errors/typos that were preventing enabling the timer code from ever executing. I created a new branch of the newping_t4 library:...
    5 replies | 278 view(s)
  • mjs513's Avatar
    05-03-2021, 04:00 PM
    Makes may head hurts as well - thats why I just converted the 3 examples - have no clue how to set it up from scratch but am sure some folks are interested :) Cool that you ordered the adapters - should be...
    888 replies | 29706 view(s)
  • mjs513's Avatar
    05-03-2021, 11:43 AM
    TENSORFLOWLITE Ok all just pushed my updated copy of the Arduino_tensorflowlite library and 3 working examples: 1. micro_speech - need the audio shield and microphone:...
    888 replies | 29706 view(s)
  • mjs513's Avatar
    05-02-2021, 11:16 PM
    @defragster - sounds like you are having fun testing. Anyway, kind of going to be done testing the camera for until new parts arrive. So in the meantime spent the day getting Tensorflow Lite working with the TMM. ...
    888 replies | 29706 view(s)
  • mjs513's Avatar
    05-02-2021, 06:11 PM
    Yeah - was thinking that with that kind of adapter you would be able to do a bit more with on the T4.x
    888 replies | 29706 view(s)
  • mjs513's Avatar
    05-02-2021, 05:51 PM
    Well that's good news. Now wondering if your camera is seated good in the 8-bit port of the breakout that might be causing you some of the issues. Remember when I was having problems with the ML carrier, it would work...
    888 replies | 29706 view(s)
  • mjs513's Avatar
    05-02-2021, 01:56 AM
    nice board Kurt. After testing been messing around myself. Think going to play with tensorflow until I get the parts. Tim. Had a thought that you can test. Think spec says at 4bit camera power is about half,...
    888 replies | 29706 view(s)
  • mjs513's Avatar
    05-02-2021, 01:07 AM
    Tim - Kurt From my post #826 my PJRC.BB died at approximately same 3 1/2 hour mark. Difference was after letting sit for a few minutes unpowered, then restarted, I let it run for 1 hour then did a power cycle with...
    888 replies | 29706 view(s)
  • mjs513's Avatar
    05-01-2021, 08:09 PM
    For me the image was a beautiful grayscale image until the reset at 3.5 hours. No issues whatsoever up until that point. Right now on the ML Carrier up to 128 minutes without any adverse effects you mentioned. ...
    888 replies | 29706 view(s)
  • mjs513's Avatar
    05-01-2021, 07:02 PM
    Found this but looks like they are sticking with 4bit mode; https://www.uctronics.com/arducam-hm01b0-qvga-spi-camera-module-for-raspberry-pi-pico.html. Same as for the Tindie as well - good thing we implemented 4bits :)
    888 replies | 29706 view(s)
  • mjs513's Avatar
    05-01-2021, 06:41 PM
    Hate to say this but I think I agree with you. Looking at not the Ov7670 and the that tindie board they all have the 2.8 and 1.8v regulators
    888 replies | 29706 view(s)
  • mjs513's Avatar
    05-01-2021, 06:25 PM
    @Tim Ok got the ML working again. Reseated the camera for about the 4th time and now seems to be working in both 8bit and 4bit modes. :) Yea! For hmconfig = 2; rerunning example2 with an SD Card in the adapter. ...
    888 replies | 29706 view(s)
  • mjs513's Avatar
    05-01-2021, 05:23 PM
    Hi all, just came across this on Tindie by accident :) https://www.tindie.com/products/uctronics/hm01b0-qvga-spi-camera-module-for-rpi-pico/
    888 replies | 29706 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,030
Posts Per Day
2.77
Last Post
LittleFS for Winbond W25Q128 flash memory 06-12-2021 02:56 PM
General Information
Last Activity
Today 11:25 AM
Join Date
07-01-2014