Search results

  1. C

    Teensy 4.1 USB Host with Two Ultrastik 360's

    You have to connect a single stick with the Ultrmap software and you can then assign it as Stick 2 (product ID 0512). Then you can connect the other stick and it will id as Stick 1 (0511). So I presume it reprograms the NV memory it the stick to change its ID as it remembers it until it is changed.
  2. C

    Teensy 4.1 USB Host with Two Ultrastik 360's

    You are correct. If I only ever connect the sticks to the PC one at a time they both ID as 0511. Then when I connect both to the Teensy they both still ID as 0511. It's when you run their Ultramap software on the PC with both sticks plugged in the second stick gets changed to 0512. Having put...
  3. C

    Teensy 4.1 USB Host with Two Ultrastik 360's

    Good point. It's been a long time since I made the panel up with both sticks in and I have certainly used the PC app with them. It certainly didn't come up with a Change ID option but could well have done it automatically. I need to reflash one of the extra sticks I have here back to the USB...
  4. C

    Teensy 4.1 USB Host with Two Ultrastik 360's

    My first thought was this so I powered the hub & sticks independently only taking the D+/- from the Teensy. Still got the same issue. I do have another pair of Ultrastik360's and a different hub somewhere just need to find it. May be just the hub causing the issue. But with the pointer check in...
  5. C

    Teensy 4.1 USB Host with Two Ultrastik 360's

    The hub is just a generic chineese USB 2 one and the joysticks are 2 x Ultimarc Ultrastik 360's. Joystick link It was failing to boot cleanly about 50% of the time, the delay would take around 3-4 seconds. The reset must have been caused by de-referencing the halted pipe's null pointer in a...
  6. C

    Teensy 4.1 USB Host with Two Ultrastik 360's

    Well a bit more reading of the code and I realised I needed to check the "haltedpipe" pointer. It was NULL even though the next portion of code relied on it being a valid pointer. I then added a check for "haltedpipe" being NULL and bypassed the next while loop and if condition. This then stops...
  7. C

    Teensy 4.1 USB Host with Two Ultrastik 360's

    ok. I have been adding extra debug lines to "void USBHost::followup_Error(void)" in ehci.cpp It seems the "While (p)" at line 927 never exits even though p gets sets to NULL ERROR Followup remove from followup list not halted 20005180 next2 20003160 not halted 20003160 next2...
  8. C

    Teensy 4.1 USB Host with Two Ultrastik 360's

    I didn't make this clear in the last post, but it does boot on occasions fine without the reset. I have turned on USB Debug Msgs and here is the later stages of the log which shows the error msgs when it goes wrong and hangs for a reset. The second example is when it boots fine first time...
  9. C

    Teensy 4.1 USB Host with Two Ultrastik 360's

    I am updating my Ultragun Arcade controller to use a Teensy 4.1 instead of an Arduino Due with USB Host board. After much head scratching I now have both joysticks working fine except for startup which seems to reset the Teensy after the first joystick has been ID'd. The joysticks individually...
  10. C

    ILI9488_t3 - Support for the ILI9488 on T3.x and beyond...

    Am currently using the 7 memory lines as I still want SD card access, it's just fiddly having to add the 7 wires and not so neat ;) The project is an IC tester for up to 42 pin DIPS of all types, for some I need speed to test and others I need to simulate clocks etc which is why I haven't gone...
  11. C

    ILI9488_t3 - Support for the ILI9488 on T3.x and beyond...

    Yes, that still works perfectly. Thanks for taking the time to reply and for the speed of your response. I have used Teensy's since the original and must say I am loving the speed of the 4.1 and the USB host just wish it had another 8 I/O pins ;).
  12. C

    ILI9488_t3 - Support for the ILI9488 on T3.x and beyond...

    Thanks for the reply. I was planning on doing this but as the corruption was so random it may have been hard to reproduce. It was corrupting the CRC32 routine before I added the touch input check, then it was corrupting the Z value so my presumption was it was corrupting the stack. Anyway, I...
  13. C

    ILI9488_t3 - Support for the ILI9488 on T3.x and beyond...

    I have an app on a Teensy4.1 that I am developing that has problems which seem to be related to the font drawing routine. // Tft.setTextColor(ILI9488_CYAN, ILI9488_BLACK); Tft.setTextColor(ILI9488_CYAN); Tft.setFont(ComicSansMS_20); If I use...
  14. C

    Teensy 4.1 extra pins

    Thanks for all the replies. I will already be using some MCP23017 for voltage switching. I thought that might be the case with the SD card slot. Kind of annoying that the ram/flash pins are played with at boot but not a deal breaker for me. To explain my project better: I am developing an IC...
  15. C

    Teensy 4.1 extra pins

    Not sure if I have been looking in the wrong places but I am trying to find out how to get access to the extra 13 pins on the reverse of the 4.1 board. I have looked at the schematics and can clearly see how to pick up on the 7 lines that terminate at the extra ram/flash pads but I cannot see...
  16. C

    Teensy 3.5 Ultra Fast Digital Input

    Thanks, thats a very useful link. This morning though my teensy 3.5 decided to die on me, only used it for 2 days! It won't ID as a windows device and it gets very hot near the USB connector, is this common? Never really had any issues with the 3.2's. Anyway, I've swapped to the 3.6 and had to...
  17. C

    Teensy 3.5 Ultra Fast Digital Input

    Thanks for all the useful info/suggestions. Funny thing is now I am having trouble getting the same response times that I had earlier when first trying unrolling the test 100 iterations loop. I did realise Port B had 16 but this includes pins 0 & 1 which I believe are used for the Arduino serial...
  18. C

    Teensy 3.5 Ultra Fast Digital Input

    I did understand what he was getting at, but I had already tried that and found no difference with the speed. I do have a Teensy 3.6 here which is clocked faster and I think I read somewhere that it has a cache where the 3.5 doesn't. I may give it a try, although it's not 5v tolerant and as such...
  19. C

    Teensy 3.5 Ultra Fast Digital Input

    Yes, as I am only interested in the lower 16 bits of each port. I did try using a pointer version, it basically gains me around 0.5ns when reading both ports. The big trouble I have is that the compiler appears to be crashing with anything other than 'debug' optimizations and when using 'debug'...
  20. C

    Teensy 3.5 Ultra Fast Digital Input

    I didn't think to try that! Just did and the time it takes to read both ports 100 times is down to 1.69us or 17ns per time :) In the actual program I need to read them 40,000 times so not sure how the compiler will handle it but a curious thing is that I am using the 'Fastest' optimization...
  21. C

    Teensy 3.5 Ultra Fast Digital Input

    Hi, Probably a question for Paul, but others may be able to help me to I am hoping! I am trying to use the Teensy3.5 as an in circuit TTL tester using upto 20 digital IO pins. I have grouped the pins to use PortC0-11 and PortD0-7. I had thought that at 120Mhz it would be quick enough for my...
  22. C

    1000+ LED single ws2811b string, octows2811 usable?

    I have just completed an install of 8192 leds using the OctoWS2811 adapter. It was broken down into 32 blocks of 256 leds. Data connections between the blocks were around 1m with every fourth block being fed from the Octo board. The longest run from the Octo was around 14m. For the data cables...
Back
Top