Forum Rule: Always post complete source code & details to reproduce any issue!
Tab Content
  • KurtE's Avatar
    Today, 01:22 AM
    Have you tried running the USB Host example sketches? Like the mouse.ino? I know there should be one specific for keyboard... keyboard1.attachPress(OnPress); keyboard1.attachExtrasPress(OnHIDExtrasPress); ...
    21 replies | 5077 view(s)
  • KurtE's Avatar
    Today, 01:13 AM
    Actually I have two of them around here... But as mentioned converted most of my testing to Paul's board and my own, which has some issues... Problem for me with Sparkfun boards is none of them had all of the things...
    5 replies | 11 view(s)
  • KurtE's Avatar
    Today, 12:55 AM
    Note: During the MicroMod Teensy beta - one of the main board I used was the ATP board. The board is fine for Teensy without changes> If you are looking at the thing on their page: I know you can read this two...
    5 replies | 11 view(s)
  • KurtE's Avatar
    Yesterday, 07:33 PM
    Sounds like a good wining in your case! Forgot to mention in my previous post, there is an a1) version which may be better for some: That is create the file: platform.local.txt with the contents like: # #...
    27 replies | 574 view(s)
  • KurtE's Avatar
    Yesterday, 07:13 PM
    Hello Paul, Personally don't have issue with this either way. I have never noticed that as the biggest bottleneck, but I don't often build giant programs. I also don't use the .lst files that often.... So maybe...
    27 replies | 574 view(s)
  • KurtE's Avatar
    Yesterday, 03:37 PM
    Actually they are not removed, but simply not generated. From previous beta cycle: I believe some people complained how long a build was taking in the final stages, especially very very large files. So the step...
    27 replies | 574 view(s)
  • KurtE's Avatar
    Yesterday, 01:45 PM
    Sorry I have not been following the thread as much lately... But remember with DMA you have to deal with the screwiness of DMAMEM Things like: at least in some cases, it wants the memory to be aligned to 32...
    66 replies | 8308 view(s)
  • KurtE's Avatar
    Yesterday, 01:28 PM
    Maybe, but it would probably have to come with a bunch of caveats... Like it might not fully undo the effects of undoing what was changed/added by a later install. That is for example if this release puts in a new...
    96 replies | 6798 view(s)
  • KurtE's Avatar
    Yesterday, 12:31 PM
    I wonder if this has anything to do with which version of Arduino and Teensydunino? Or simply that this line was added in hist last commit to this library on September 7th?
    27 replies | 574 view(s)
  • KurtE's Avatar
    Yesterday, 12:12 PM
    Typically Go to where you downloaded 155, and copy the link, paste the address into address bar and edit 55 to 54...
    96 replies | 6798 view(s)
  • KurtE's Avatar
    09-16-2021, 07:00 PM
    KurtE replied to a thread MK20DX256 CS Pin in Project Guidance
    It really depends... Chip Select for what? To be used as??? If you are using SPI as the master device, the majority of libraries simply use any digital IO pin, and drive them using something like digitalWrite......
    2 replies | 92 view(s)
  • KurtE's Avatar
    09-16-2021, 06:42 PM
    Glad to hear that... @Paul - Issued PR... https://github.com/PaulStoffregen/USBHost_t36/pull/71 Right now adds extra 64 byte buffer. Could hack it that only will create 2nd transfer if the transfer size < half...
    34 replies | 2797 view(s)
  • KurtE's Avatar
    09-16-2021, 05:39 PM
    For what it is worth, I pushed up a new Branch of USBHost_t36: https://github.com/KurtE/USBHost_t36/tree/USBHidParser_2_input_transfers Where I added second buffer (Record2) and an extra InputTransfer. And...
    34 replies | 2797 view(s)
  • KurtE's Avatar
    09-16-2021, 04:30 PM
    As I mentioned in the previous post, that the USBHostappears to only returning 500hz... Sorry, it has not been a high priority item for me, So hopefully Paul will find a solution. There is one thing I am curious...
    34 replies | 2797 view(s)
  • KurtE's Avatar
    09-16-2021, 01:32 PM
    Quick update from yesterday: LittleFS was also updated to build with Dates and Times defined within FS.h... Still does not maintain them... Someone who understands LittleFS better should probably do it. I also...
    19 replies | 589 view(s)
  • KurtE's Avatar
    09-16-2021, 12:28 PM
    Display board - I did not get one... For same reasons... Felt expensive for what it was and... Three ways I would checkout how the pin numbers map: a) I added pages to my excel document up on my github under...
    972 replies | 44524 view(s)
  • KurtE's Avatar
    09-15-2021, 10:49 PM
    Paul, For what it is worth, I was hacking around with a simple sketch: #include <USBHost_t36.h> USBHost usb_host; USBHIDParser hid1(usb_host); USBHIDParser hid2(usb_host); USBHub hub(usb_host);
    34 replies | 2797 view(s)
  • KurtE's Avatar
    09-15-2021, 09:32 PM
    As the person who created this thread, that their issue was resolved and that maybe you should create your own thread with as much information as possible. Again with things like: I am pretty sure you are not...
    34 replies | 2797 view(s)
  • KurtE's Avatar
    09-15-2021, 05:09 PM
    Now that TD 1.55 is released :D I have started updating several of the FS_Integration forks/branches to be up to date with the current released... That is I rebased the changes to the current...
    19 replies | 589 view(s)
  • KurtE's Avatar
    09-15-2021, 03:54 PM
    Great work Paul! Just installed on Windows 10 machine and looks like it is working. Also installed ON OLD mac (Early 2013)MacBook running Catalina 10.15.7... And so far so good...
    27 replies | 574 view(s)
  • KurtE's Avatar
    09-15-2021, 01:16 PM
    You might look at this constructor: Adafruit_SSD1306::Adafruit_SSD1306(uint8_t w, uint8_t h, SPIClass *spi, int8_t dc_pin, int8_t rst_pin, int8_t cs_pin, ...
    6 replies | 226 view(s)
  • KurtE's Avatar
    09-15-2021, 12:49 PM
    When I was playing around, I had better luck with the Sparkfun larger board: https://www.sparkfun.com/products/9947
    41 replies | 26848 view(s)
  • KurtE's Avatar
    09-15-2021, 12:47 PM
    I could probably always think of things I might want ;) .... But I don't see anything that should hold up releasing 1.55
    55 replies | 1113 view(s)
  • KurtE's Avatar
    09-14-2021, 04:13 PM
    The couple times I saw this, it was probably something similar... That is for example, I just now, did a build for locked T4 where it was running Triple Serial sketch and then I built a sketch for MTP... And build...
    55 replies | 1113 view(s)
  • KurtE's Avatar
    09-13-2021, 10:12 PM
    Paul and all, As @mjs513 mentioned, we have been testing out lots of the LittleFS versions, as well as some SD card stuff. And as mentioned doing most of it with T4 and T4.1 as to compare locked version versus...
    55 replies | 1113 view(s)
  • KurtE's Avatar
    09-13-2021, 08:06 PM
    Sounds like a fun project, although I am not sure how much help I would be. Also you mention using either Arduino Uno or Due and neither of these are PJRC products. I also don't know anything about those...
    14 replies | 283 view(s)
  • KurtE's Avatar
    09-13-2021, 04:24 PM
    Thanks, I went ahead and created a PR: https://github.com/PaulStoffregen/cores/pull/608 Edit: I meant to also mention I tried running the same sketch with T3.6, but it does not show the same delays. Also does...
    55 replies | 1113 view(s)
  • KurtE's Avatar
    09-13-2021, 03:47 PM
    MTP Disk - startup timing differences... Figured out what was different, between then and now. I believe I mentioned I had a modified usb_desc.h file that I was trying. That I changed it to be closer to Audio......
    55 replies | 1113 view(s)
  • KurtE's Avatar
    09-13-2021, 01:55 PM
    Maybe you are overwriting memory... Sometimes when you have stuff that for example writes outside of array boundaries, may seem to work OK and then you add code which realigns stuff in memory and causes issues. Other...
    5 replies | 146 view(s)
  • KurtE's Avatar
    09-13-2021, 01:37 PM
    That one was Windows 10... Note on MAC it was about 300ms... But I am not sure if MAC has any MTP stuff built in... At one point was playing with OpenMTP... But... Sorry Paul, I know this is not an MTP...
    55 replies | 1113 view(s)
  • KurtE's Avatar
    09-13-2021, 01:16 PM
    Just ran on Ubuntu machine and with Beta2 and latest, timing was about 880ms with Beta3 about 990... Not sure if real difference or just slight delta... Will see how it runs on MAC next
    55 replies | 1113 view(s)
  • KurtE's Avatar
    09-13-2021, 12:50 PM
    Sounds interesting... But don't know anything much about EXT4.. Like what is an image file?
    19 replies | 589 view(s)
  • KurtE's Avatar
    09-13-2021, 12:46 PM
    Really hard to say without additional information. And often times the answer is: It depends.... And saying it malfunctions does not give any clues. I am assuming when you say Serial.print that is literal so USB not...
    5 replies | 146 view(s)
  • KurtE's Avatar
    09-13-2021, 12:28 PM
    Morning all, Installed latest beta... I am not sure if the SEREMU fix is working properly now in this build? That is I build MTPD sketch (using the in build MTP Disk) and lost most of the startup output and also...
    55 replies | 1113 view(s)
  • KurtE's Avatar
    09-12-2021, 01:50 PM
    Sorry, I have been distracted.. My assumption as well that Shifters 4-7 do not have DMA Source associated with them. Also note: That there are only two DMA Sources on FlexIO1 and 2 on Flex IO2 and none on FlexIO3...
    66 replies | 8308 view(s)
  • KurtE's Avatar
    09-12-2021, 01:30 PM
    Thanks Paul, Wondering if some of this behavioral differences this should be mentioned on the page: https://www.pjrc.com/teensy/td_code_security.html Maybe it is, but I don't think I saw the word LED on the page...
    74 replies | 2436 view(s)
  • KurtE's Avatar
    09-12-2021, 01:20 PM
    Ram1 which is 512KB is actually something like 16*32kb chunks of memory where each chunk can be configured to be data (DTCM) or Code/Instructions (ITCM).. So what it saying is you have 292344 bytes of code space......
    3 replies | 148 view(s)
  • KurtE's Avatar
    09-12-2021, 12:59 PM
    Paul, Not sure if this has been mentioned and/or has been covered somewhere... Sometimes I also lose the trees in the forest :D Should a locked T4 act differently then a normal older T4 when you press the program...
    74 replies | 2436 view(s)
  • KurtE's Avatar
    09-12-2021, 12:38 PM
    Sometimes hard to say without better seeing the wiring. That is the one image shows there are wires going to T4. Are whatever the pins you are using soldered somehow... Probably. Double check the wiring. What is...
    4 replies | 153 view(s)
  • KurtE's Avatar
    09-11-2021, 08:36 PM
    I second everything Paul says... Another option: I have seen and have played with a little, is to try to change to a way such that each of the pins generate their own hopefully unique interrupt, so you can reduce the...
    6 replies | 264 view(s)
  • KurtE's Avatar
    09-11-2021, 08:05 PM
    Glad you have it working... Note: With your code: while (Serial.available()){ String a = Serial.readString(); Serial.println("Received Signal: "+a); handleCommand(a); } }
    5 replies | 126 view(s)
  • KurtE's Avatar
    09-11-2021, 07:18 PM
    Paul, As mentioned I believe the MTP Disk with Serial Should Wait and if deemed appropriate that it it get its own PID and not take over the Everything one... Simple follow on to what I and @mjs513 mentioned about,...
    425 replies | 8656 view(s)
  • KurtE's Avatar
    09-11-2021, 03:35 PM
    Sorry I updated the posting earlier it now says: I always figured it was deliberate as change to while loop would fix it: And it also shows the change from do{}while to just while{}
    68 replies | 1548 view(s)
  • KurtE's Avatar
    09-11-2021, 02:09 PM
    I always figured it was deliberate as change to while loop would fix it: Edit: sorry tablet typing before: Meant to say change: __attribute__((always_inline, unused)) static inline void arm_dcache_delete(void...
    68 replies | 1548 view(s)
  • KurtE's Avatar
    09-11-2021, 01:58 PM
    Totally agree! Question is more is it worth investigating why it leaves the Serial Terminal disabled.
    425 replies | 8656 view(s)
  • KurtE's Avatar
    09-11-2021, 01:42 PM
    Paul - Thanks! Note: we still have the issue with adding in the MTP Disk Serial USB Type. Which is not part of the build: With this you need to install his(WMXZ) or my version of the patches: That is by...
    425 replies | 8656 view(s)
  • KurtE's Avatar
    09-11-2021, 01:30 PM
    Yes :D that does appear to help!
    425 replies | 8656 view(s)
  • KurtE's Avatar
    09-11-2021, 12:56 PM
    Actually not sure, probably not... Just building with USB type of MTP Disk is probably sufficient.
    425 replies | 8656 view(s)
  • KurtE's Avatar
    09-11-2021, 12:55 PM
    Quick note: running on Ubuntu... We will need to work through some of the differences to make it work reasonably under Ubuntu: Note: I believe I used the command sudo apt-get install mtp-tools To install some...
    19 replies | 589 view(s)
  • KurtE's Avatar
    09-11-2021, 12:32 PM
    @Paul, @mjs513 - I verified that Ubuntu will print out the Crash of that test case. Note: MTP I don't believe is installed by default on Ubuntu: At least I believe to get any of it to work on it, I believe I...
    425 replies | 8656 view(s)
  • KurtE's Avatar
    09-10-2021, 11:42 PM
    @defragster @Paul @mjs513... Sorry I know I may not be explaining this very well. But I was simply trying to give a minimal case that shows, that if you do not make the MTP USB interface happy and respond to a...
    425 replies | 8656 view(s)
  • KurtE's Avatar
    09-10-2021, 11:05 PM
    If you run the sketch with the Serial Termainal window open. Nothing exciting: Noticed it is connected, but empty after a bit put the mouse cursor into the area type something and hit enter.. It will then fault...
    425 replies | 8656 view(s)
  • KurtE's Avatar
    09-10-2021, 10:43 PM
    Try removing all header files except MTP.h... The others were simply extras from current stuff...
    425 replies | 8656 view(s)
  • KurtE's Avatar
    09-10-2021, 08:46 PM
    Paul - follow on to the above posting about not seeing crash report... Here is a stupid simple sketch: #include <LFS_MTP_Callback.h> #include <MTP.h> #include <SDMTPClass.h> #include <Storage.h> #include...
    425 replies | 8656 view(s)
  • KurtE's Avatar
    09-10-2021, 07:59 PM
    Hi Paul, This I believe is very specific to MTP and it's interactions with Serial or Serial Emualtion... I have discussed more of it in the thread:...
    425 replies | 8656 view(s)
  • KurtE's Avatar
    09-10-2021, 02:38 PM
    So you have RESET connected to pin 6, what happens if you change the code you posted to pass in this pin number to the constructor? ILI9341_t3 tft = ILI9341_t3(TFT_CS, TFT_DC, 6); Or better create a define like...
    4 replies | 153 view(s)
  • KurtE's Avatar
    09-10-2021, 01:29 PM
    Good Morning Paul, PRs... and Update libraries a) Not sure if you want to update SDFat to his latest stuff... He allows some of the settings to be pre-set somehow and if set does not override... Mostly for...
    74 replies | 2436 view(s)
  • KurtE's Avatar
    09-09-2021, 08:02 PM
    Quick update: I have been hacking around and pushed up a new MTP branch: FS_Integration_debug Which I have been playing with different approaches to try to get MTP and MTP with Serial to come up quicker with Serial...
    19 replies | 589 view(s)
  • KurtE's Avatar
    09-09-2021, 06:46 PM
    Paul - I have been doing program loading and the like on Locked T4, running MTP test code... So far everything appears to work well. I did however have one time, when I hit the Program button on the T4, and then...
    74 replies | 2436 view(s)
  • KurtE's Avatar
    09-09-2021, 02:09 PM
    Paul, not sure what you mean here. Currently the code is setup to convert the raw scan code keyboard data using the keylayouts stuff in core, which I believe should use the keyboard layout option in the tools menu. ...
    6 replies | 269 view(s)
  • KurtE's Avatar
    09-09-2021, 12:28 PM
    Thanks @mjs513 - might be good if we can move this message up to the top (more or less) :D In my last post/update yesterday, I mentioned something I want to try to see if it helps with the Serial/MTP startup (both...
    19 replies | 589 view(s)
  • KurtE's Avatar
    09-09-2021, 12:53 AM
    @Paul @mjs513 and others... Expanding on my first issue in the 2nd post about MTP working with Serial or emulated Serial. That is how MTP and Serial or Emulated Serial don't like to work with each other very...
    19 replies | 589 view(s)
  • KurtE's Avatar
    09-08-2021, 08:29 PM
    Yes... Try looking at the Raw keystrokes... // Simple test of USB Host Mouse/Keyboard // // This example is in the public domain #include "USBHost_t36.h" USBHost myusb; USBHub hub1(myusb);
    6 replies | 269 view(s)
  • KurtE's Avatar
    09-08-2021, 07:24 PM
    Have you tried the DMA examples that are part of the ADC library. I know that we had/have it working. Note: The registers and the like for the T4.x are completely different than for the Then for the T3.x......
    2 replies | 155 view(s)
  • KurtE's Avatar
    09-08-2021, 06:35 PM
    @BriComp - As @defragster mentioned... In fact I just put some stuff into 2nd post. Things like: Asking an Fat32 partition on an SDCard for how clusters are in use, could take a very long time. There are ways we could...
    19 replies | 589 view(s)
  • KurtE's Avatar
    09-08-2021, 01:50 PM
    <place holder> testing results
    19 replies | 589 view(s)
  • KurtE's Avatar
    09-08-2021, 01:50 PM
    Direct or Related issues and things to investigate: Note: Currently working/testing mostly with T4.x MTP integration with Serial and Emulated Serial and maybe other USB types a) The only semi-setup in builds is...
    19 replies | 589 view(s)
  • KurtE's Avatar
    09-08-2021, 01:49 PM
    As has been mentioned in several threads, a few of us have been experimenting with for awhile now. This is sort of a continuation of the thread:...
    19 replies | 589 view(s)
  • KurtE's Avatar
    09-08-2021, 01:13 AM
    Thanks will start playing/testing with the MSC stuff soon. I am seeing these issues with SD cards plugged in with SPI. Yes with MSC we played with a few different ways. Will see how hard it will be to try it here as...
    512 replies | 18698 view(s)
  • KurtE's Avatar
    09-07-2021, 08:40 PM
    The list I believe is reasonably up to date. At times hard to say when my fork or @mjs513 fork are more up to date, but we usually keep reasonably in sync. I should also mention so far have not done any...
    91 replies | 1678 view(s)
  • KurtE's Avatar
    09-07-2021, 08:27 PM
    Quick follow up here. As I mentioned we experimented some with the Information sector. The code is in the MSC stuff: UsbMscFat\src\PFsLib\pfsvolume.cpp uint32_t PFsVolume::getFSInfoSectorFreeClusterCount() { ...
    512 replies | 18698 view(s)
  • KurtE's Avatar
    09-07-2021, 07:01 PM
    @Paul ... I too have also playing with an MTPD sketch similar to @mjs513 (with external SD, PROGRAM, RAM)... I also went ahead and locked the 2nd board, which I am using on this one. I have had a couple of...
    74 replies | 2436 view(s)
  • KurtE's Avatar
    09-07-2021, 02:04 PM
    Sorry I am not a total expert on constructor ordering. Hopefully someone can/will give you a more definitive answer on it. But in my experience, I have always found this to be pot luck. Maybe it depends on the...
    2 replies | 188 view(s)
  • KurtE's Avatar
    09-07-2021, 01:44 PM
    Installed Mac version of beta... copied security key from PC to MAC. Ran the Verify secure sketch on the locked T4: Verify secure code is running properly Pass: Bus Encryption Engine is active Pass:...
    74 replies | 2436 view(s)
  • KurtE's Avatar
    09-06-2021, 10:11 PM
    I now have tried running the verify sketch on the newer T4... Did not double check but assuming it loaded the .hex file: Verify secure code is running properly Fail: Bus Encryption Engine is not active Fail:...
    74 replies | 2436 view(s)
  • KurtE's Avatar
    09-06-2021, 01:34 PM
    @Paul - As for T4 not loading ehex and differences between the New T4 and the older OSHPark Purple T4: There is additional information up on the Beta1 thread starting I think at:...
    74 replies | 2436 view(s)
  • KurtE's Avatar
    09-06-2021, 01:07 PM
    Downloaded, installed over 1.8.16, verified the test program for ST7735 runs on T4 (lockable not locked) 05:57:06.888 (loader): using encrypted ehex (optional - secure mode not yet locked) 05:57:06.930 (loader): begin...
    74 replies | 2436 view(s)
  • KurtE's Avatar
    09-06-2021, 12:06 AM
    Sorry I received the TFT from ebay and just soldered up the pins. and connected it up to a T4 I loaded up Graphic test in the ST7735_t3 library. Edited it to say I am using #define TFT_DC 9 #define TFT_CS ...
    6 replies | 315 view(s)
  • KurtE's Avatar
    09-05-2021, 12:49 PM
    Good morning all including(@PaulStoffregen, @Frank B, @defragster, @mjs513.....) Paul, At this point, I personally believe there is enough stuff here for you to wade through when you gets time. So until then I...
    68 replies | 1548 view(s)
  • KurtE's Avatar
    09-05-2021, 02:02 AM
    Follow on: using my later version (fixing the wrong ; on while statement) #include <DMAChannel.h> DMAChannel dma; DMAMEM char *ptr1; DMAMEM char dmaBuffer; DMAMEM char *ptr2; char low_buffer; ...
    68 replies | 1548 view(s)
  • KurtE's Avatar
    09-05-2021, 01:49 AM
    Follow on to this: I tried first pass at implementing the triggerContinously... void triggerContinuously(void) { // TODO: update this for IMXRT. On Kinetis, a small handful // of DMAMUX slots were dedicated...
    68 replies | 1548 view(s)
  • KurtE's Avatar
    09-04-2021, 10:30 PM
    @mjs513 sounds like some more fun reading. I wanted to next test doing an DMA operation to that memory to see what makes it through. But so far not having luck with DMA memory to memory... #include <DMAChannel.h>...
    68 replies | 1548 view(s)
  • KurtE's Avatar
    09-04-2021, 09:50 PM
    Thanks @defragster, I had not posted that test case yet, but was pass one of some testing I have been doing. It was also suggested that I go ahead and post some some stuff from email as well... Minus the email...
    68 replies | 1548 view(s)
  • KurtE's Avatar
    09-04-2021, 01:12 AM
    KurtE replied to a thread Goodbye in General Discussion
    Frank, I second what Mike said! I will be sorry to see you go. Hopefully not for too long. You have contributed a lot of great things here. I can understand your frustrations. At times I go off to do other...
    14 replies | 1300 view(s)
  • KurtE's Avatar
    09-03-2021, 03:25 PM
    One possible update: __attribute__((always_inline, unused)) static inline void arm_dcache_delete(void *addr, uint32_t size) { if (((uint32_t)addr | size) & 0x1f) { arm_dcache_flush_delete(addr, size);...
    68 replies | 1548 view(s)
  • KurtE's Avatar
    09-03-2021, 12:53 PM
    If by you mean that you don't have the option to have MTP with Serial ... If that is the issue you need to follow the instructions in the readme file: - If you wanted to use USB_MTP_SERIAL - T4.x edit...
    96 replies | 6798 view(s)
  • KurtE's Avatar
    09-02-2021, 11:06 PM
    @frank/@Paul - I am curious if there is some documentation (RM or??) on the SCB_CACHE_DCIMVAC I know from source code that it is: #define SCB_CACHE_DCIMVAC (*(volatile uint32_t *)0xE000EF5C) My guess is says to...
    68 replies | 1548 view(s)
  • KurtE's Avatar
    09-02-2021, 05:21 PM
    Secondary note in our current sets of code base I now have in the code: #include <SDMTPClass.h> #include <mscFS.h> #if defined(MAINTAIN_FREE_CLUSTER_COUNT) && (MAINTAIN_FREE_CLUSTER_COUNT == 0) #warning...
    512 replies | 18698 view(s)
More Activity
About KurtE

Basic Information

Statistics


Total Posts
Total Posts
9,402
Posts Per Day
3.35
Last Post
USB keyboard hardware proxy Today 01:22 AM
General Information
Last Activity
Today 01:22 AM
Join Date
01-12-2014