Forum Rule: Always post complete source code & details to reproduce any issue!
Tab Content
  • KurtE's Avatar
    Today, 02:21 PM
    @all just pushed the WIP stuff for DMA up to new branch dma_full_sensor Still not fully working with the full frame 324x244 things are out of sync... Will play a little more, will pull most out of main branch. ...
    389 replies | 5346 view(s)
  • KurtE's Avatar
    Today, 01:37 PM
    :o ;) - That way I can pack up my bags and go home :D Will stash my changes in holding area and probably expunge. Edit: Forgot to mention, it is working on my ILI9341...
    389 replies | 5346 view(s)
  • KurtE's Avatar
    Today, 01:00 PM
    Maybe Reset Pin? I will switch back over.
    389 replies | 5346 view(s)
  • KurtE's Avatar
    Today, 12:59 PM
    Morning All, Will have to play... I did/do have DMA with FlexIO when making a Serial port, for doing RX in the background. May have to compare. Also once FlexIO is working wonder if we/I should pull out the...
    389 replies | 5346 view(s)
  • KurtE's Avatar
    Today, 12:39 AM
    I am playing with the DMA code some more. I put in new command 'f' - read in one frame using DMA and then output it... It verified that the data in the frame is not coming back correctly. So digging some more.
    389 replies | 5346 view(s)
  • KurtE's Avatar
    Yesterday, 09:52 PM
    @mjs513 yes probably the same, simply update some of the names and the like I pushed the changes up to github in my char_bounds branch, which is now part of the current Pull request back to Paul:...
    389 replies | 5346 view(s)
  • KurtE's Avatar
    Yesterday, 09:34 PM
    I have a version that builds with the writeRect8BPP (as well as 4 2 1 and N) So may need to grab adafruit display and try it.
    389 replies | 5346 view(s)
  • KurtE's Avatar
    Yesterday, 09:09 PM
    Afternoon all (I think), Been outside playing (Planting Peas...) I have not fully resolved the DMA stuff yet. FYI - I pushed up a WIP of my FlexIO test code... Will test out some of my Serial drivers on...
    389 replies | 5346 view(s)
  • KurtE's Avatar
    Yesterday, 07:01 PM
    Thanks, was wondering if you somehow hooked up using the board you showed in the post: https://forum.pjrc.com/threads/66771-MicroMod-Beta-Testing?p=276171&viewfull=1#post276171 that you tried with Teensy 4.1 ...
    389 replies | 5346 view(s)
  • KurtE's Avatar
    Yesterday, 05:48 PM
    @Paul - looks like you are making good progress with it. Does your wiring do anything special? Or did your board just breakout the pins of the ribbon? @mjs513 not much progress yet with DMA... But did do an...
    389 replies | 5346 view(s)
  • KurtE's Avatar
    Yesterday, 04:14 PM
    @mjs513 - you might push up what you have, either in main or some temporary branch and I will take a look. Could be several things like: maybe I am not responding quick enough for the VSYNC to turn on the DMA. ...
    389 replies | 5346 view(s)
  • KurtE's Avatar
    Yesterday, 02:49 PM
    With the HiLow test, I don't see you actually trying to run a probe from either 3.3v or GND depending on which way, and touch other side to a pin. Note: you need to hit enter to change modes. For example I ran it...
    28 replies | 1081 view(s)
  • KurtE's Avatar
    Yesterday, 01:37 PM
    @mjs513 - I never went through to see how many rows we ignored. Will be obvious when I can hook up LA to it... Or could write some extra code, probably like you did. I did find out about the number of columns, by...
    389 replies | 5346 view(s)
  • KurtE's Avatar
    Yesterday, 01:15 PM
    Sorry to hear that. Again I would still be tempted to maybe post a picture of it, and probably double/triple check wiring. If it were me, I would probably run something like what I call the HiLow test sketch. I...
    28 replies | 1081 view(s)
  • KurtE's Avatar
    Yesterday, 01:02 PM
    You would need to edit the section that looks like: while (sd.exists(fileName)) { if (fileName != '9') { fileName++; } else if (fileName != '9') { fileName = '0'; fileName++; }...
    2 replies | 56 view(s)
  • KurtE's Avatar
    04-10-2021, 11:23 PM
    Good question/point! As mentioned by Frank, he did increase the refresh rate to a higher speed. As I mentioned in the previous post, the question is how much time to take to polish some of this stuff. If the idea...
    389 replies | 5346 view(s)
  • KurtE's Avatar
    04-10-2021, 10:08 PM
    Hi Paul, With the DMA stuff I found I needed to ignore 4 pixel clocks per HSYNC. I do it at the end of the row, not sure if best to split? Or not. Keep meaning to update my internal FlexIO library to work with...
    389 replies | 5346 view(s)
  • KurtE's Avatar
    04-10-2021, 08:31 PM
    I know typically can not push it much especially over jumper wires. If we really need to get it faster... We probably need a setup where camera and display are plugged in. But not sure at this point how far to...
    389 replies | 5346 view(s)
  • KurtE's Avatar
    04-10-2021, 07:16 PM
    @mjs513 - Those values appear to work nicely. Wonder if it is the DMA or the update to the screen or??? That is can the ILI9341 display display 60 full frames per second? That is assuming 0 overhead each frame...
    389 replies | 5346 view(s)
  • KurtE's Avatar
    04-10-2021, 05:27 PM
    Sorrry, I am not sure I can give you a complete list of projects, that use the USB Host, but off the top of my head here are a few devices and the like that we have code support for: Simple HID (Human Interface...
    1 replies | 56 view(s)
  • KurtE's Avatar
    04-10-2021, 04:58 PM
    Hopefully Paul or someone who uses Linux and Makefiles a lot can give you a decent answer. If I were wanting to do this, I would probably tend to have sort of recursive makefiles. That is for each library and core...
    7 replies | 168 view(s)
  • KurtE's Avatar
    04-10-2021, 04:45 PM
    Sort of a random question/observation, not just tied to MM but all T4.x... How best to put infrequently used tables with stings into flash memory so it does not eat up ITCM space.... I wanted a table of Register...
    389 replies | 5346 view(s)
  • KurtE's Avatar
    04-10-2021, 04:32 PM
    @mjs513 - I pushed the current stuff as a PR so you can play along also.... Also forgot to mention, made the build with SerialUSB1 optional, if you use the command that needs USB1 it will print an error message if...
    389 replies | 5346 view(s)
  • KurtE's Avatar
    04-10-2021, 02:46 PM
    Good morning again, Playing with sketch in new branch: dma_frame_8bit, where I removed the conversion from 8 bits to 565 in the DMA code and instead returned the 8 bit frame data, which to display you do the same...
    389 replies | 5346 view(s)
  • KurtE's Avatar
    04-10-2021, 01:35 PM
    Namespace makes sense... MMODPIN::D0 or whatever your namespace is called would make it convenient for C++. There may still be issues for users like: Serial2 is actually on pins marked like I2S SDO I2S SDI...
    389 replies | 5346 view(s)
  • KurtE's Avatar
    04-10-2021, 01:08 PM
    Morning all, Looks like all are still having fun. Wondering with my DMA stuff, for the heck of it, I converted the one byte data into 565 format like @mjs513 code was doing external for single frame. Wondering if...
    389 replies | 5346 view(s)
  • KurtE's Avatar
    04-09-2021, 09:08 PM
    OK I pushed up a PR to you. Still not 100% but at least it is showing signs of seeing full DMA image. We may still want to combine buffers. Like you have that new double one. I have double as well, although one of...
    389 replies | 5346 view(s)
  • KurtE's Avatar
    04-09-2021, 08:31 PM
    I have a DMA version that is actually showing the images, Right now try to rebase, hopefully not totally screw up)... Made copy before trying. Note it builds again, I had several conflicts, but see several warnings,...
    389 replies | 5346 view(s)
  • KurtE's Avatar
    04-09-2021, 07:24 PM
    Wonder if maybe there should be a different mode? And/Or simply remove the grayscale test?
    389 replies | 5346 view(s)
  • KurtE's Avatar
    04-09-2021, 07:22 PM
    @pretty cool, sure does look like it would make things easier to debug!
    389 replies | 5346 view(s)
  • KurtE's Avatar
    04-09-2021, 04:58 PM
    @mjs513 - I was about to edit my response, and noticed you had edited yours. I was going to mention, that you might be able to use the other way, if you do something like SD.sdfs.open(...) I think you can then pass...
    389 replies | 5346 view(s)
  • KurtE's Avatar
    04-09-2021, 03:36 PM
    @mjs513 - Does SD.open take all of those flags? these days?
    389 replies | 5346 view(s)
  • KurtE's Avatar
    04-09-2021, 01:45 PM
    Sorry I have not played with the makefiles in a very long time... But one key thing is to make sure you have the right USB type selected. That is in the makefile you pointed to you see: OPTIONS = -DF_CPU=600000000...
    7 replies | 168 view(s)
  • KurtE's Avatar
    04-09-2021, 01:19 PM
    Sorry I am not really sure what you are asking here? Or what your setup is or the like. Or see any of your code or ... Or what is working for you and what is not. Example is the Linux your main PC that you wish...
    7 replies | 168 view(s)
  • KurtE's Avatar
    04-09-2021, 12:56 PM
    Thanks, I have been playing with this, and it does shrink down the number of stuff going into dma. I still am getting a few at start and the like that do not have the HSYNC bit set. Sort of had this with OV7670...
    389 replies | 5346 view(s)
  • KurtE's Avatar
    04-09-2021, 12:51 AM
    Often times if the display works sometimes and not others and/or different libraries, I would be tempted to see what SPI speed they are outputting at. And then maybe lower the speed a bit and see if that helps. ...
    389 replies | 5346 view(s)
  • KurtE's Avatar
    04-08-2021, 09:28 PM
    Afternoon/evening all - Been playing some, @mjs513 I pushed up a DMA branch on a fork... Not working yet, but it does get some stuff to screen. I know one issue is my current DMA code was setup for the other camera...
    389 replies | 5346 view(s)
  • KurtE's Avatar
    04-08-2021, 06:55 PM
    FYI - I have mine currently setup with ILI9341 (_t3n) library so it should work fine for you. I would not suggest ILI9488 yet as lots of memory used don't have PSRAM so can not run a full Frame buffer so everything...
    389 replies | 5346 view(s)
  • KurtE's Avatar
    04-08-2021, 05:11 PM
    It worked: picture going up from desk... Note: It took a couple of attempts to make sure I got all of the jumper wires correct, so I hacked your sketch to startup sort of like my other with, I defined more colors...
    389 replies | 5346 view(s)
  • KurtE's Avatar
    04-08-2021, 03:19 PM
    @mjs513 in the process of setting up for that camera on the Machine learning... Brought down you updated version, plus @defragsters... May grab an ILI9341 display.. I noticed he used _t3 and not _t3n so can not use...
    389 replies | 5346 view(s)
  • KurtE's Avatar
    04-08-2021, 03:11 PM
    Good point. I was also going to suggest that he double check his wiring, plus not knowing which devices he has, check to make there is some Pull UP resistors. on the pins. And maybe post photo of setup. Maybe the...
    28 replies | 1081 view(s)
  • KurtE's Avatar
    04-08-2021, 02:10 PM
    Morning all, I have not tried it yet with ILI... Was playing with ST7789 as @mjs513 was using the ST7... and it was convenient to use the Adafruit display as I also wanted SD card on pin 10, so just took one extra...
    389 replies | 5346 view(s)
  • KurtE's Avatar
    04-08-2021, 12:41 PM
    Wire1 works just fine on T4.1... Here is a test setup that Paul setup earlier, where we can choose several devices and which Wire buss they are on. Here is a Wire scanner program version that I have, that does all...
    28 replies | 1081 view(s)
  • KurtE's Avatar
    04-07-2021, 10:55 PM
    @mjs513 Looking like progress! :D Today I am having a lower productivity day with this. I am playing with the OV7670 DMA input. Having some progress, finding out that the ST7735 code may have some issues or...
    389 replies | 5346 view(s)
  • KurtE's Avatar
    04-07-2021, 08:30 PM
    Note with the OV7670 and test code, after it receives the bytes, it needed to swap the bytes for each pixel... Not sure about this one... Also again maybe it is my jumper cords or the OV76 or... but the VSync signal...
    389 replies | 5346 view(s)
  • KurtE's Avatar
    04-07-2021, 05:32 PM
    Different hardware Wire versus SPI and yes lots of libraries do not support specifying which bus. In your above case not really using library... For the scanner there if you wish to use that code just change...
    28 replies | 1081 view(s)
  • KurtE's Avatar
    04-07-2021, 05:04 PM
    Quick FYI - I have issued PR to Adafruit, will see how well this one goes through. https://github.com/adafruit/Adafruit_MAX31856/pull/28
    28 replies | 1081 view(s)
  • KurtE's Avatar
    04-07-2021, 04:37 PM
    Know the feeling, but with the Adafruit board just needed one extra one ;) Starting to update the DMA code in that library to the right pins, ... Once that looks reasonable, then may try something completely...
    389 replies | 5346 view(s)
  • KurtE's Avatar
    04-07-2021, 03:56 PM
    I think we cross posted... Pushed up branch with those functions. At some point soon, may switch to ILI9341, but started with Adafruit board as I also have the SD card setup for MTP, MSC... Paul, I am...
    389 replies | 5346 view(s)
  • KurtE's Avatar
    04-07-2021, 02:28 PM
    Morning again, Yeah I probably should go back to using ILI9341 library on it... But as you were doing ST... I hooked up ST and starting adding support for it. I have version of ST7735_t3 with the subrect stuff...
    389 replies | 5346 view(s)
  • KurtE's Avatar
    04-07-2021, 01:49 PM
    Morning all, I have not ordered one of those yet, especially since it is easier to debug using other OV... camera hooked up to external pins. Looks like other options to order those, like ebay:...
    389 replies | 5346 view(s)
  • KurtE's Avatar
    04-07-2021, 01:37 PM
    Yes it looks like Adafruit has not updated their AD31856 library... Would not be hard. Someone needs to make the same changes I made for AD31855 library, which is trivial. That is: change their header file:...
    28 replies | 1081 view(s)
  • KurtE's Avatar
    04-07-2021, 04:02 AM
    I wonder if their camera connector was setup for ov7670 like https://smile.amazon.com/Quickbuying-Camera-Module-OV7670-2-5V-3-0V/dp/B07H3QXZH9/ The other sparkfun board that mentions the camera......
    389 replies | 5346 view(s)
  • KurtE's Avatar
    04-07-2021, 03:10 AM
    Sounds like a pain. I just pushed up my changes to OV7670 for reading parallel... Still not 100% correct, but fixed the sync to the start of frame... https://github.com/KurtE/Arduino_OV767X/tree/teensy_micromod ...
    389 replies | 5346 view(s)
  • KurtE's Avatar
    04-06-2021, 07:43 PM
    @Paul @mjs... I am playing now with OV7670 and I know I ran into this also earlier where the VSYNC line is glitchy... If I turn on the glitch filter in LA it does not show it, but turned off I do... I think I need...
    389 replies | 5346 view(s)
  • KurtE's Avatar
    04-06-2021, 04:59 PM
    @defragster I am guessing, that yes if you went to USB-C you would probably need/want to change what the USB Host power circuit might be. That is I think the T4.1 and probably this one is using...
    389 replies | 5346 view(s)
  • KurtE's Avatar
    04-06-2021, 02:58 PM
    @Paul - Not sure if you want to pick this up soon or not... But there is a new update to: https://github.com/greiman/SdFat-beta It now supports UTF-8 filenames... Plus he update the configuration file where it...
    77 replies | 5049 view(s)
  • KurtE's Avatar
    04-06-2021, 02:51 PM
    @Paul - looks good. For my own debug stuff I often like the two USB Host pins with spots that I can solder in pins... Makes it easier to hook up LA to see what new devices are doing.
    389 replies | 5346 view(s)
  • KurtE's Avatar
    04-06-2021, 02:46 PM
    Sorry, I am probably not much help here. I don't see anywhere that the attributes are exported that way or ways to control it. But I am looking at it more from using it with other things like MTP and/or MSC type stuff...
    3 replies | 88 view(s)
  • KurtE's Avatar
    04-06-2021, 02:12 PM
    Quick update: Pushed up MTP change to define SD_DAT3 for Micromod, which is same pin as T4. I don't have a carrier board setup to test to see if that part works or not.
    475 replies | 5667 view(s)
  • KurtE's Avatar
    04-06-2021, 02:10 PM
    I should mention, that I had sort of dropped working on the OV7670 code that was GPIO based and was earlier then spending more times on the CSI version for the T4.1... So may also want to look back at the CSI code to...
    389 replies | 5346 view(s)
  • KurtE's Avatar
    04-06-2021, 01:57 PM
    @mjs513 Good morning to you as well. I think my clock was doing OK like colors are wrong. I probably need/want to solder on male pins on the outside of the ATP to make it easier to hookup logic analyzer and then I can...
    389 replies | 5346 view(s)
  • KurtE's Avatar
    04-06-2021, 01:37 PM
    Paul, I assume you have seen all of their stuff on Sparkfun, like the M.2 connectors: https://www.sparkfun.com/products/16549 With their datasheet...
    389 replies | 5346 view(s)
  • KurtE's Avatar
    04-06-2021, 01:17 PM
    Dito, hard to help without more details. Like which teensy... But Assuming 4.1 by title of thread. Pin numbers should work for T4 or T4.1... This has been talked about in a couple of threads including:...
    28 replies | 1081 view(s)
  • KurtE's Avatar
    04-06-2021, 12:58 PM
    Morning all, Most of the SD cards stuff use the simple if it begins it adds it to the list... For the SDIO, I have code in place like: if(cs == BUILTIN_SDCARD) { ...
    475 replies | 5667 view(s)
  • KurtE's Avatar
    04-06-2021, 01:42 AM
    @mjs513 and @wwatson - I second what @mjs513 said... As for the RED, sometimes I think this is when the SD card is not ready or not inserted... I am sort of torn on what to do with some of these drives when they...
    475 replies | 5667 view(s)
  • KurtE's Avatar
    04-06-2021, 01:35 AM
    This afternoon I started playing with the ATP board with the MicroMod... I first hooked up an ST7735 display along with its SD card reader. Got that to work, with the non standard pins. Left pin 10 for CD so it would...
    389 replies | 5346 view(s)
  • KurtE's Avatar
    04-05-2021, 07:41 PM
    I just pushed up updates to the MTP and MSC github projects, that slightly changed the PFSLib formatter method to return a bool for success and to default most of parameters. You just need to pass in PFSVolume object....
    475 replies | 5667 view(s)
  • KurtE's Avatar
    04-05-2021, 06:42 PM
    Just looked that the Big display Carrier board does use the SDIO pins :D Don't have one... Note: their schematic and parts don't show anything for insert pin connection... So probably not.
    389 replies | 5346 view(s)
  • KurtE's Avatar
    04-05-2021, 06:09 PM
    Side note/question: I am 99% sure I know the answer, but that I would ask. Is there a known way to detect which host board your MM board is plugged into... I am almost certain: NO. Several years ago, I know I...
    389 replies | 5346 view(s)
  • KurtE's Avatar
    04-05-2021, 06:06 PM
    @all sounds good. @mjs513 yes cross posted... I am about to switch back over to ATP board to start playing. Will cable in SDCard (Don't have the SDIO version yet. Could adapt something.. Working on MTP stuff,...
    389 replies | 5346 view(s)
  • KurtE's Avatar
    04-05-2021, 04:15 PM
    Thanks @luni, May have to try it. I was wondering if there were index pins. Should have looked more carefully. Still think one good out of two or three may be as good as I will get... But then if I order 10 boards,...
    389 replies | 5346 view(s)
  • KurtE's Avatar
    04-05-2021, 03:06 PM
    My problem for me with this, is that I am not sure how much of us Hobby people can hand solder one of their connectors, so it may limit how many people make breakouts... And I wish they had some carrier board, that...
    389 replies | 5346 view(s)
  • KurtE's Avatar
    04-05-2021, 01:56 PM
    I have a Build for Windows X64 that I built with Micromod, I put up a zip file up on my OneDrive: https://1drv.ms/u/s!Aj13xDWYbgPjibsEjQWATocwfaVTtA?e=KO8zmd Which has those files in it. I don't know if your Virus...
    389 replies | 5346 view(s)
  • KurtE's Avatar
    04-05-2021, 01:32 PM
    Morning @mjs513 and all: Camera: As I mentioned elsewhere, I think, I may try with different camera (OV7670) as there is a lot more information publicly available, and I have DMA code that worked OK for it on T4.1...
    389 replies | 5346 view(s)
  • KurtE's Avatar
    04-04-2021, 07:22 PM
    Just pushed up a fix to UsbMscFat (FS_DATES) branch to pass through the timestamp from the MTP... So it now appears like when I copy a file into the MTP folder, it shows with the proper dates, and still shows up if your...
    475 replies | 5667 view(s)
  • KurtE's Avatar
    04-04-2021, 06:32 PM
    Yes - I have done this for running Servos on a robot. I sense the battery voltage (usually one of two ways). Some of the Servos sense voltage and you can ask them for their voltage, which then I may alternate around...
    57 replies | 33533 view(s)
  • KurtE's Avatar
    04-04-2021, 05:47 PM
    I moved my changes for the Teensy_loader_cli to the Ubuntu box and built it... I then put in a hex file for blink on the MicroMod and was able to reprogram it... So Issued PR:...
    389 replies | 5346 view(s)
  • KurtE's Avatar
    04-04-2021, 04:29 PM
    @... Sounds good. I will sink up to your stuff, soon, Also I need to double check that I put in the timestamp code into the MSC drives. I was mostly testing on SDCards. The MTP-Test on MM I have mine hacked...
    475 replies | 5667 view(s)
  • KurtE's Avatar
    04-04-2021, 03:51 PM
    Hi @mjs513 - Will take a look at it soon. Right now debugging TyTools...
    389 replies | 5346 view(s)
  • KurtE's Avatar
    04-04-2021, 12:59 PM
    @defragster and all - My update to the last post was not typed correctly - It should have said I needed to change the debug to release in order to get it to build correctly... Here is a run of on my machine is the...
    389 replies | 5346 view(s)
  • KurtE's Avatar
    04-04-2021, 12:42 PM
    @defragster @wwatson and all- looks like we need some more testing/debugging it is possible that when we reuse some devices, that when the previous device goes away we (I) did not clear out some of the status correctly...
    475 replies | 5667 view(s)
  • KurtE's Avatar
    04-04-2021, 02:48 AM
    Qt builds now. Will test tomorrow. Need to change build to release instead of debug
    389 replies | 5346 view(s)
  • KurtE's Avatar
    04-04-2021, 12:42 AM
    I just pushed up some changes that I can not build yet... But I think it has most if not all of the changes need in TyTools. I also added a line to the Teensy_loader_cli code for the MicroMod. Again I have not...
    389 replies | 5346 view(s)
  • KurtE's Avatar
    04-03-2021, 10:44 PM
    I believe the source code changes are trivial. The difficulty is getting my setup to work again. I think QT library stuff is confused or the like. May have to start from scratch and see about building a static...
    389 replies | 5346 view(s)
  • KurtE's Avatar
    04-03-2021, 08:00 PM
    @mjs513 @defragster. The two QWIIC connectors are on two different Wire objects. As you can see in their schematic:
    389 replies | 5346 view(s)
  • KurtE's Avatar
    04-03-2021, 04:43 PM
    @mjs513 I now have my nice new shiny MM plugged into my PC and it is blinking its little blue led... Do you have a sketch for that zip file? Looks like I need to do some soldering! And @defragster that camera is...
    389 replies | 5346 view(s)
  • KurtE's Avatar
    04-03-2021, 02:43 PM
    Now if anyone would like to try out my current WIP code, I have pushed up all of the changes to the appropriate libraries with all of them using a new branch: FS_DATES This includes: cores (FS.h), SD (note my fork...
    475 replies | 5667 view(s)
  • KurtE's Avatar
    04-03-2021, 01:43 PM
    @mjs513 @PaulStoffregen @WMXZ @wwatson ... LittleFS - I have not started yet, maybe today on trying to add the Modify date... I had another distraction on this (and external) and now that I show dates and time...
    475 replies | 5667 view(s)
  • KurtE's Avatar
    04-03-2021, 12:38 PM
    I have used adapters like that (https://www.sparkfun.com/products/9419) and in fact have made my own breakout boards. When I get hangs/crashes like this I often add in Serial.flush() statements to force output. As...
    17 replies | 255 view(s)
More Activity
About KurtE

Basic Information

Statistics


Total Posts
Total Posts
8,848
Posts Per Day
3.34
Last Post
MicroMod Beta Testing Today 02:21 PM
General Information
Last Activity
Today 02:50 PM
Join Date
01-12-2014