Forum Rule: Always post complete source code & details to reproduce any issue!
Tab Content
  • KurtE's Avatar
    Today, 02:55 PM
    Sorry off doing other stuff. Plus limiting time on keyboard... My excel document for T4.x pins up on github (https://github.com/KurtE/TeensyDocuments/blob/master/Teensy4%20Pins.xlsx) has lot of information about the...
    15 replies | 136 view(s)
  • KurtE's Avatar
    Today, 12:49 PM
    Actually mine just arrived yesterday... (Actually day before at my PMB in town)... But running my HID info sketch: USB HID Device Info Program This Sketch shows information about plugged in HID devices ***...
    13 replies | 1214 view(s)
  • KurtE's Avatar
    Today, 11:46 AM
    Glad you found it! I wonder if it was like the Uncanny eyes code that tried to estimate how much memory we used so walked from top of memory to stack pointer finding out where memory changed. And I think it was Frank...
    864 replies | 42070 view(s)
  • KurtE's Avatar
    Today, 02:18 AM
    Which sketch? Does it have spi flash ram? Does the 4.1 have psram… which would turn into dammed usage without?
    864 replies | 42070 view(s)
  • KurtE's Avatar
    Today, 01:30 AM
    @all - Sorry head in different ... Mike and I have been chatting as part of Hexapod stuff... I wondered about maybe core changes to align memory to some alignments in flash... And wondered if maybe something...
    864 replies | 42070 view(s)
  • KurtE's Avatar
    06-14-2021, 12:37 PM
    Again sort of hard to follow your wiring through the pictures. Sorry it is early in morning for me. Eyes are not seeing straight yet. But I would double check the wiring. That is I know I have screwed up before,...
    15 replies | 267 view(s)
  • KurtE's Avatar
    06-10-2021, 01:24 PM
    There are a few different options that I know of. There are makefiles that can build teensy sketches. I have not tried them in awhile or know how well they are working on windows... But they are found in your...
    2 replies | 101 view(s)
  • KurtE's Avatar
    06-09-2021, 10:20 PM
    Sorry I have not had a chance to look at their source code or look at the devices manual to know what the timing requirements are. Some of the things I would look at include: Does the code use SPI transactions? ...
    5 replies | 212 view(s)
  • KurtE's Avatar
    06-09-2021, 08:42 PM
    There as many different options on doing things. Also there are two completely different SPI systems on the IMXRT chip, for full details see the reference manual that you can download from the T4.1 product page... ...
    4 replies | 139 view(s)
  • KurtE's Avatar
    06-09-2021, 07:38 PM
    If it were me, I would try it running on Arduino, like 15... Along with the latest Teensyduino beta, which can be downloaded from the thread: https://forum.pjrc.com/threads/67252-Teensyduino-1-54-Beta-9 The older SD...
    4 replies | 123 view(s)
  • KurtE's Avatar
    06-09-2021, 07:33 PM
    Sorry, I am not seeing that Adafruit library anywhere... At least the library manager does not show it nor does quick look on github. Is this part of a different Adafruit library? Could be something like a timing...
    5 replies | 212 view(s)
  • KurtE's Avatar
    06-08-2021, 01:59 AM
    So it looks like it is a HID device, which is good. I did order one, but my guess it may be next week before it arrives.
    13 replies | 1214 view(s)
  • KurtE's Avatar
    06-07-2021, 09:42 PM
    Might help to know exactly which mouse this is. Something like: https://www.amazon.com/Glorious-Gaming-PC-Mac-Linux-Unix/dp/B07MCRPSP3 ? Might also help if you try running the example sketch HIDDeviceInfo for the...
    13 replies | 1214 view(s)
  • KurtE's Avatar
    06-07-2021, 03:10 PM
    Sorry, I have not played much with doing much low energy stuff, but I assume you are connecting up to the ENABLE pin of the RFM95? And then pulling that signal low when you are wanting to snooze? I probably missed...
    5 replies | 221 view(s)
  • KurtE's Avatar
    06-06-2021, 12:32 PM
    Sorry been busy on some other things. I know that ILI9341_t3n should support all of the functions like drawChar in addition to to print and println as the class is derived from class Print. Yes there can be...
    624 replies | 354799 view(s)
  • KurtE's Avatar
    06-03-2021, 04:45 PM
    Morning/afternoon @mjs513 - Thanks Mike, earlier I had used google translate to the site but I am not sure where I saved it too ;) Will take a look at it again soon. The first place with my current stuff where we...
    948 replies | 57751 view(s)
  • KurtE's Avatar
    06-01-2021, 05:32 PM
    Sorry I have not studied all of your code in details. For other reasons like display drivers and the like, at times I update the Source or Destination at run time. But I have not typically done so directly or while...
    4 replies | 196 view(s)
  • KurtE's Avatar
    06-01-2021, 03:52 PM
    Hi and Welcome, I don't speak for PJRC as I am just another customer. But for me, the best way I have been able to make a few contributions. Is by finding things that interest me and try to help fix existing code...
    6 replies | 324 view(s)
  • KurtE's Avatar
    05-31-2021, 05:15 PM
    I am back and starting to play again. I find that site sort of hard to read ;) Probably easier with the translated version :D I am totally NOT a Wireshark expert!, But what I did for the versions I posted was...
    948 replies | 57751 view(s)
  • KurtE's Avatar
    05-31-2021, 03:15 PM
    Quick update, will try soon, but have some other distractions. Ends with us getting an SDP disconnect request... We need to send a response I think...
    948 replies | 57751 view(s)
  • KurtE's Avatar
    05-31-2021, 02:52 PM
    I think I just sent you a link to a copy I have on my machine (onedrive) But in case from some of my saved links I have: https://www.bluetooth.com/specifications/specs/core-specification/ Note: I have made a...
    948 replies | 57751 view(s)
  • KurtE's Avatar
    05-31-2021, 11:58 AM
    Morning @mjs513, Just getting first coffee infusion. I pushed up WIP, which is not working yet But starting on the SDP stuff. Debug output so far:
    948 replies | 57751 view(s)
  • KurtE's Avatar
    05-31-2021, 12:39 AM
    For what it is worth, I have my own version of the library: ILI9341_t3n https://github.com/KurtE/ILI9341_t3n Which has some additional capabilities. This include using the ILI9341_t3 fonts and/or the GFX fonts. ...
    624 replies | 354799 view(s)
  • KurtE's Avatar
    05-30-2021, 09:44 PM
    The Blue one I believe connected on Linux... I think I posted this one earlier, but the edited WireShark capture from that: controller host HCI_EVT 12 Rcvd Connect Request 0000 ...
    948 replies | 57751 view(s)
  • KurtE's Avatar
    05-30-2021, 09:42 PM
    Note the ILI9341_t3 library is not 100% compatible with the Adafruit library. A lot of it is the same. Also for which Teensy? What you typically do, is to: Replace the header file in your code: So instead of:...
    624 replies | 354799 view(s)
  • KurtE's Avatar
    05-30-2021, 03:53 PM
    Blue one still dies pretty quick!: USB Host Testing 960 BluetoothController claim this=200051e0 vid:pid=a12:1 9 4 0 0 3 e0 1 1 0 7 5 81 3 10 0 1 7 5 2 2 40 0 1 7 5 82 2 40 0 1 9 4 1 0 2 e0 1 1 0 7 5 3 1 0 0...
    948 replies | 57751 view(s)
  • KurtE's Avatar
    05-30-2021, 03:49 PM
    Morning other lost dogs :D As I believe I mentioned, yesterday did see a difference in our output to the PS4 controllers from that of the HS2... in particular when we detected it was a PS4 (by Bluetooth name)... ...
    948 replies | 57751 view(s)
  • KurtE's Avatar
    05-30-2021, 02:58 PM
    Follow on to previous post, in case I was not very clear (likely) In the code like: try: #ifdef EXT_USES_SPI2 Serial.println("setting up SPI2"); //SPI2.setMOSI(imuCOPIPin); //SPI2.setMISO(imuCIPOPin); ...
    19 replies | 848 view(s)
  • KurtE's Avatar
    05-30-2021, 02:01 PM
    I know I have some BNO080 around in my electronics hoarding mess here :lol: But may take awhile to do enough of an archeological dig to find one. The interesting thing is I don't know of any fundamental difference...
    19 replies | 848 view(s)
  • KurtE's Avatar
    05-30-2021, 02:03 AM
    It is but is not instantaneous. Again the first test was to show that Serial.flush2() is working properly. Again what is happening between your two lines has very little to do with printf versus println here. What...
    86 replies | 7062 view(s)
  • KurtE's Avatar
    05-29-2021, 08:54 PM
    Here is a quick and dirty version of your sketch. Note: I did include Serial1 here.... void setup() { pinMode(2, OUTPUT); digitalWriteFast(2, LOW); pinMode(3, OUTPUT); Serial2.begin(115200); } void...
    86 replies | 7062 view(s)
  • KurtE's Avatar
    05-29-2021, 05:21 PM
    Thanks, I will take a look again at that one soon. Been sort of distracted today :D
    948 replies | 57751 view(s)
  • KurtE's Avatar
    05-29-2021, 05:19 PM
    Actually it may be the other way around... That is Serial.print/write/printf.. Simply put the stuff into a software output queue, and then interrupt happens and one or more bytes are transferred to the uarts...
    86 replies | 7062 view(s)
  • KurtE's Avatar
    05-29-2021, 01:03 PM
    Sorry, I am not seeing anything obvious in my first look through. For example I did not see anywhere where you still had a hard coded reference to the main SPI object or any reference to internal registers. And...
    19 replies | 848 view(s)
  • KurtE's Avatar
    05-29-2021, 12:27 PM
    @mjs513 - Morning! Yes May have to try out some of the ESP32 stuff. I believe the last message you are seeing, is a: EV_NUM_COMPLETE_PKT= 0x13 Which If I remember correctly just says, that a number of packets...
    948 replies | 57751 view(s)
  • KurtE's Avatar
    05-27-2021, 02:02 PM
    Thanks :D I received the low temp solder paste from Amazon yesterday, today I believe the package from OSH Stencil should arrive in town, probably pickup tomorrow or next day. And then maybe try a few different ways...
    17 replies | 792 view(s)
  • KurtE's Avatar
    05-26-2021, 09:47 PM
    I believe what Frank B is commenting on, is if you have a sketch that calls: usb_rawhid_recv(myBuffer, 100); They were expecting the code to wait for up to a 100ms or a tenth of a second to receive a packet, with...
    4 replies | 250 view(s)
  • KurtE's Avatar
    05-26-2021, 01:49 PM
    Note renaming a usb_desc.c to usb_desc_d.c Makes 0 differences to the build. You could call it foo.c and it would still build. The build system will compile every .c .cpp file within that directory. If you...
    206 replies | 234009 view(s)
  • KurtE's Avatar
    05-26-2021, 12:52 PM
    I think this is the same question you asked in the usb descriptor fun thread... If building for Teensy 4.x you use the files in cores\teensy4 If you delete the files I doubt it will build The joystick stuff...
    206 replies | 234009 view(s)
  • KurtE's Avatar
    05-26-2021, 12:40 PM
    Sorry it is sort of hard to know what is going on without all of the information. Simple things like what is: JOYSTICK_SIZE defined as ? What do you expect to be different? that is if you only changed it such that...
    10 replies | 2096 view(s)
  • KurtE's Avatar
    05-25-2021, 07:05 PM
    I know the feeling... I keep adding some more debug output to the USB Host Shield code... First I am already outputting the PIN code of 0000 The next relevant thing I am seeing between our code and HS2 is:...
    948 replies | 57751 view(s)
  • KurtE's Avatar
    05-25-2021, 03:49 PM
    Morning again, Playing again a little with the "Red" one (YOYEE) as it looked closest to working... It actually worked when we did a BIND operation, but not without... When I captured debug data for the Voyee...
    948 replies | 57751 view(s)
  • KurtE's Avatar
    05-25-2021, 01:25 PM
    Thanks, good to find a place to get it again. For the heck of it I got out my Sparkfun USB Host shield and thought I would try it out again. At first could not get it to work at all. But then went in and changed...
    948 replies | 57751 view(s)
  • KurtE's Avatar
    05-24-2021, 07:42 PM
    @passerby2021 - I am glad you have it working. Also hope you get well soon. And again if you are playing with Teensy boards and with play along that is great. As I mentioned when we last looked at supporting the...
    948 replies | 57751 view(s)
  • KurtE's Avatar
    05-24-2021, 06:03 PM
    Thanks Passerby... Actually we have supported several different controllers and the like with Bluetooth, like PS3 and PS4... For example we do have code built in for PS3, that if you plug it in after we have seen...
    948 replies | 57751 view(s)
  • KurtE's Avatar
    05-24-2021, 01:19 PM
    Morning all: Some of the PS4 documentation stuff, talked about two types of paring. The first to console, which is done by plugging it in and I don't remember if that was automatic or if you had to turn the PS4 on...
    948 replies | 57751 view(s)
  • KurtE's Avatar
    05-24-2021, 12:39 AM
    Note: Teensy 3.x, LC, and T4.x are all ARM based processors not AVR, so a different version of the library would be used.
    3 replies | 180 view(s)
  • KurtE's Avatar
    05-23-2021, 11:02 PM
    Sorry, not sure where you are seeing that definition: char * strcasestr (const char *, const char *) __ATTR_PURE__ I don't see anywhere within the Arduino install for Teensy or arm that uses __ATTR_PURE__ I do...
    3 replies | 180 view(s)
  • KurtE's Avatar
    05-23-2021, 09:04 PM
    Oh Boy... More debugging!
    948 replies | 57751 view(s)
  • KurtE's Avatar
    05-23-2021, 04:46 PM
    Thanks everyone... And hopefully those to come. I went ahead and ordered a couple of Solder masks from OSH Stencil as well as their lead free Solder paste. I also ordered some low melt stuff from Amazon:...
    17 replies | 792 view(s)
  • KurtE's Avatar
    05-23-2021, 03:09 PM
    Note: There was a recent thread: https://forum.pjrc.com/threads/67247-Teensy-4-0-DMA-SPI that talked about non-blocking transfers That talked some about doing DMA transfers... Note: The SPI library has a...
    1 replies | 164 view(s)
  • KurtE's Avatar
    05-23-2021, 02:02 PM
    Personally I think this is a wrong approach, unless there is a real strong reason on why one needs to setup their code this way. It is sort of like the old days on limited processors I used to write self modifying...
    19 replies | 625 view(s)
  • KurtE's Avatar
    05-22-2021, 08:58 PM
    I also tried it with the "Red one" and will try to compare with the one USBHost code showed controller host HCI_EVT 12 Rcvd Connect Request 0000 04 0a 14 38 db f2 41 8c 08 05 00...
    948 replies | 57751 view(s)
  • KurtE's Avatar
    05-22-2021, 07:55 PM
    I am not sure what state the CSI library is in... probably best for the owner of it to answer. I will be trying some of it out again at some point with the Himax monochrome, more out of curiosity.
    4 replies | 248 view(s)
  • KurtE's Avatar
    05-22-2021, 05:37 PM
    I know it is probably just me, as growing up, my brother would kid me that I was ambidextrous: Equally uncoordinated with both hands :D And now after my hands have had years (decades) of abuse with RSI or CTD ... At...
    17 replies | 792 view(s)
  • KurtE's Avatar
    05-22-2021, 05:07 PM
    @mjs513 sounds good. It is sort of interesting looking at the connection data on the PC from wireshark... I sort of messaged it some and starting to compare to what debug output we are generating... It sort of...
    948 replies | 57751 view(s)
  • KurtE's Avatar
    05-22-2021, 02:29 PM
    You might look at some of the forum threads that talk about some cameras like the OV7670. Like: https://forum.pjrc.com/threads/63195-Problem-trying-to-read-OV7670-camera-under-IRQ-Teensy-4-0...
    4 replies | 248 view(s)
  • KurtE's Avatar
    05-22-2021, 01:40 PM
    PS4 controllers - Pairing - Right now pairing is sort of kludgy as you probably know. That is you have to build the code with the pairing version of Bluetooth object and then hopefully at the start of running the...
    948 replies | 57751 view(s)
  • KurtE's Avatar
    05-22-2021, 01:05 PM
    A couple of quick notes, when you do something like this: uint32_t ArrowBig(uint16_t c) { uint32_t ArrowBig = { 0b00000000000000011000000000000000, ...
    42 replies | 1119 view(s)
  • KurtE's Avatar
    05-22-2021, 12:51 PM
    Sorry, it is really unclear to me what you are actually asking for. So it is hard to know how best to try to answer. You say you did something like this with another micro. But it is unclear from this if your...
    19 replies | 625 view(s)
  • KurtE's Avatar
    05-22-2021, 01:38 AM
    Still no WireShark expert, but I think this text output gives me some data to comb through.. 1 0.000000 HCI_MON 40 Sent Adapter Id: 65535, Opcode: Unknown ...
    948 replies | 57751 view(s)
  • KurtE's Avatar
    05-21-2021, 10:22 PM
    Afternoon/evening: Yes that link no longer works. They do sell a couple of other PS4 controllers in the cheap range. Probably most of the same thing. Been away from computer as well. With the Blue one I am...
    948 replies | 57751 view(s)
  • KurtE's Avatar
    05-21-2021, 04:16 PM
    For the fun of it, I then took the BT dongle and joystick to my Ubuntu machine and used it's BT settings to make a connection to the device. Which it appeared to do. I then brought both back to T4.1 configured to...
    948 replies | 57751 view(s)
  • KurtE's Avatar
    05-21-2021, 03:49 PM
    For the Blue one: as you mentioned the pairing does not go very far: USB Host Testing 960 USB2 PLL running reset waited 6 USBHS_ASYNCLISTADDR = 0 USBHS_PERIODICLISTBASE = 20008000 periodictable = 20008000
    948 replies | 57751 view(s)
  • KurtE's Avatar
    05-21-2021, 03:33 PM
    Thanks @mjs513 So I will have to get out my XBOX1 and setup for Shield... And see what they changed. Last time I tried it with their wip branch for XBOX it was not working yet... So will be interesting to see how...
    948 replies | 57751 view(s)
  • KurtE's Avatar
    05-21-2021, 01:26 PM
    Morning @mjs513 - Need to get my head back more into this stuff :D So far I have just been trying to answer a few questions up here. Yesterday I noticed that the USBHost Shield 2 code base changed a lot since I...
    948 replies | 57751 view(s)
  • KurtE's Avatar
    05-21-2021, 01:17 PM
    As I believe I mentioned you will see code that uses: 0 or NULL, or nullptr. I believe at times, just passing 0 may have created warning messages about conversions... So for example if the first argument passed...
    42 replies | 1119 view(s)
  • KurtE's Avatar
    05-21-2021, 12:26 PM
    You are welcome, and I do not consider it a waste of time. I enjoy trying to help out as I can. Especially when you are doing a great job on trying to get things to work. Sometimes I will get strange USB data out...
    35 replies | 6261 view(s)
  • KurtE's Avatar
    05-21-2021, 12:08 PM
    Yes, there is very little documentation on EventResonder... Paul was defining and creating it at the time I was playing with adding the Asynchronous transfer support to SPI. My original code simply had a callback...
    42 replies | 1119 view(s)
  • KurtE's Avatar
    05-21-2021, 12:46 AM
    Looking at the sources, it looks like we accidentally left the debug code turned on in bluetooth.cpp #define DEBUG_BT One of my clones appeared to connect ok the first time with the pairing stuff turned on. But...
    948 replies | 57751 view(s)
  • KurtE's Avatar
    05-21-2021, 12:23 AM
    I am assuming you are meaning to say JoystickBT.ino... Note: I am not seeing any warning like you showed. Note I am still compiling against my github project, but I am in master branch and winMerge does not show any...
    948 replies | 57751 view(s)
  • KurtE's Avatar
    05-20-2021, 11:42 PM
    Simply look at the sources for the Hardware Serial ports. In this case: in <arduino install>\hardware\teensy\avr\cores\teensy4\hardwareSerial.cpp (.h for class definition). Look at the method...
    19 replies | 625 view(s)
  • KurtE's Avatar
    05-20-2021, 11:18 PM
    Something feels a bit strange with this? That PR only changed msController class (MSC) so not sure why it would impact the PS4?
    948 replies | 57751 view(s)
  • KurtE's Avatar
    05-20-2021, 08:34 PM
    I will also take a look, are you using gcc that we normally use or the arm9 stuff?
    948 replies | 57751 view(s)
  • KurtE's Avatar
    05-20-2021, 01:41 PM
    Maybe show some pictures of the Teensy boards? Yes Arduino 1.8.13 and 1.53 should work fine with each other. Try a different machine to see if it works there? Maybe something corrupted on your PC? Wipe of...
    35 replies | 6261 view(s)
  • KurtE's Avatar
    05-20-2021, 12:27 PM
    Paul already answered this, but thought I would mention that when you are wondering about the options for configuring the clocks associated with different sub-systems. I will often look at the CCM Clock Tree (Section...
    3 replies | 178 view(s)
  • KurtE's Avatar
    05-19-2021, 10:12 PM
    I installed on an RPI4 and installed Arduino 15 and this beta and so far it has worked... Did not run into issues of teensyduino sketch not showing image...
    86 replies | 7062 view(s)
  • KurtE's Avatar
    05-19-2021, 08:20 PM
    As I mentioned, I did not look very hard. Was just trying to do a quick check to confirm what I suspected. Previous compiled file... Is normal. It says that no source files changed that would require spi to...
    42 replies | 1119 view(s)
  • KurtE's Avatar
    05-19-2021, 07:46 PM
    It might be curious to pull out one of my RPIs... and try. Wonder if maybe some form of resource issue, like maybe CPU running at full speed...
    86 replies | 7062 view(s)
  • KurtE's Avatar
    05-19-2021, 06:35 PM
    uint16_t drawScreen() { uint16_t pixCount; uint8_t updatedLines; uint8_t updates; //update only lines that have updates. updates = 0; for (int y = 0; y < 240; y++) { updatedLines = 0;
    42 replies | 1119 view(s)
  • KurtE's Avatar
    05-19-2021, 05:22 PM
    Sorry, but it is hard to tell you what is going with little bits and pieces of code, which don't show things like how things are defined and the like. Also helps to use the code markers (#) instead of quote as to...
    42 replies | 1119 view(s)
  • KurtE's Avatar
    05-19-2021, 04:13 PM
    As I was trying to say there really is not a concept of SPI DMA memory. DMA in simple terms simply copies something from one address to another address. Again there are options then on if the address of either...
    42 replies | 1119 view(s)
  • KurtE's Avatar
    05-19-2021, 02:08 PM
    Sorry I know that DMA can be a total pain in the ... I feel your pain. When I first started doing some stuff with DMA first with some of these display drivers, I found every chip was different, sometimes in very...
    42 replies | 1119 view(s)
  • KurtE's Avatar
    05-19-2021, 01:11 PM
    As you mentioned it looked like there may be some solution there. The issue is the itcm stuff contains addresses that need to be patched up and there is a jump greater than max of 0x3FFF_FFFF. It mentions cause is...
    86 replies | 7062 view(s)
  • KurtE's Avatar
    05-19-2021, 01:02 PM
    I tried it with T4.1 currently have integrated with TyCommander... If I have the Commander open with Serial.open() first line .....second line .....third line .....fourth line...
    86 replies | 7062 view(s)
  • KurtE's Avatar
    05-18-2021, 11:21 PM
    Another maybe interesting data for the R_ARM_PREL31 is from an NXP page: https://community.nxp.com/t5/i-MX-RT/RT1064-How-to-solve-gcc-linker-error-ARM-exidx-0x0-relocation/td-p/981181
    86 replies | 7062 view(s)
  • KurtE's Avatar
    05-18-2021, 11:07 PM
    Continue from Beta #8 and GCC 9... When I build the simple program: Archiving built core (caching) in: C:\Users\kurte\AppData\Local\Temp\arduino_cache_384166\core\core_25376d0426ffc526bfc9b59b374b7afb.a Linking...
    86 replies | 7062 view(s)
  • KurtE's Avatar
    05-18-2021, 09:56 PM
    So far I have installed on both my main PC (Windows 10) and my old Mac notebook pro and both are working. I did not see any java error when I ran it on mac.
    86 replies | 7062 view(s)
  • KurtE's Avatar
    05-18-2021, 06:52 PM
    Thanks, I just redid it following the instructions... And now it fails the same way you mentioned :D
    58 replies | 3187 view(s)
More Activity
About KurtE

Basic Information

Statistics


Total Posts
Total Posts
9,122
Posts Per Day
3.36
Last Post
DMA/eDMA Guidance Today 02:55 PM
General Information
Last Activity
Today 08:53 PM
Join Date
01-12-2014