Forum Rule: Always post complete source code & details to reproduce any issue!
Tab Content
  • KurtE's Avatar
    Today, 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...
    315 replies | 4482 view(s)
  • KurtE's Avatar
    Today, 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...
    315 replies | 4482 view(s)
  • KurtE's Avatar
    Today, 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...
    315 replies | 4482 view(s)
  • KurtE's Avatar
    Yesterday, 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...
    315 replies | 4482 view(s)
  • KurtE's Avatar
    Yesterday, 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,...
    315 replies | 4482 view(s)
  • KurtE's Avatar
    Yesterday, 07:24 PM
    Wonder if maybe there should be a different mode? And/Or simply remove the grayscale test?
    315 replies | 4482 view(s)
  • KurtE's Avatar
    Yesterday, 07:22 PM
    @pretty cool, sure does look like it would make things easier to debug!
    315 replies | 4482 view(s)
  • KurtE's Avatar
    Yesterday, 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...
    315 replies | 4482 view(s)
  • KurtE's Avatar
    Yesterday, 03:36 PM
    @mjs513 - Does SD.open take all of those flags? these days?
    315 replies | 4482 view(s)
  • KurtE's Avatar
    Yesterday, 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...
    4 replies | 80 view(s)
  • KurtE's Avatar
    Yesterday, 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...
    4 replies | 80 view(s)
  • KurtE's Avatar
    Yesterday, 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...
    315 replies | 4482 view(s)
  • KurtE's Avatar
    Yesterday, 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. ...
    315 replies | 4482 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...
    315 replies | 4482 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...
    315 replies | 4482 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...
    315 replies | 4482 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...
    315 replies | 4482 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...
    23 replies | 979 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...
    315 replies | 4482 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...
    23 replies | 979 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...
    315 replies | 4482 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...
    315 replies | 4482 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...
    23 replies | 979 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
    23 replies | 979 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...
    315 replies | 4482 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...
    315 replies | 4482 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...
    315 replies | 4482 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:...
    315 replies | 4482 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:...
    23 replies | 979 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......
    315 replies | 4482 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 ...
    315 replies | 4482 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...
    315 replies | 4482 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...
    315 replies | 4482 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 | 4886 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.
    315 replies | 4482 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 | 78 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 | 5521 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...
    315 replies | 4482 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...
    315 replies | 4482 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...
    315 replies | 4482 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:...
    23 replies | 979 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 | 5521 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 | 5521 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...
    315 replies | 4482 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 | 5521 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.
    315 replies | 4482 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...
    315 replies | 4482 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,...
    315 replies | 4482 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,...
    315 replies | 4482 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...
    315 replies | 4482 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...
    315 replies | 4482 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...
    315 replies | 4482 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 | 5521 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 | 33512 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:...
    315 replies | 4482 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 | 5521 view(s)
  • KurtE's Avatar
    04-04-2021, 03:51 PM
    Hi @mjs513 - Will take a look at it soon. Right now debugging TyTools...
    315 replies | 4482 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...
    315 replies | 4482 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 | 5521 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
    315 replies | 4482 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...
    315 replies | 4482 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...
    315 replies | 4482 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:
    315 replies | 4482 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...
    315 replies | 4482 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 | 5521 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 | 5521 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 | 232 view(s)
  • KurtE's Avatar
    04-03-2021, 12:13 PM
    @WMXZ Looks like the same code that is in my current branch... Sort of sounded familiar, looking at my current branch which is now something like: 43 changes ahead and 6 behind: looks like I fixed it two months ago, in...
    33 replies | 382 view(s)
  • KurtE's Avatar
    04-02-2021, 10:48 PM
    Good luck, just got back from first dosage...
    315 replies | 4482 view(s)
  • KurtE's Avatar
    04-02-2021, 05:41 PM
    @mjs513 - So far have not started that part on LittleFS yet. Now that I have dates and Times showing, it is obvious we are not preserving any of the dates/times when we for example copy a picture from your PC to a...
    475 replies | 5521 view(s)
  • KurtE's Avatar
    04-02-2021, 04:15 PM
    The USBC is on the carrier boards. The USB signals are then brought to the processor boards. You might want to look at the getting Started to MicroMod stuff up on Sparkfun:...
    315 replies | 4482 view(s)
  • KurtE's Avatar
    04-02-2021, 04:05 PM
    It should be interesting! Will be fun to see what your adapter is: I (and @mjs513) ordered a ribbon adapter from Amazon: https://smile.amazon.com/gp/product/B07RWMSVNH Will be fun to play along, once I get to...
    315 replies | 4482 view(s)
  • KurtE's Avatar
    04-02-2021, 03:50 PM
    Sorry I know I am late to the party. I am mostly working with T4.x with MTP, and have lots of changes going on, which may or may not make it into the system. So again what version of things are you running? ...
    33 replies | 382 view(s)
  • KurtE's Avatar
    04-02-2021, 03:38 PM
    Think that is right. Unless of course you wish to play with the stuff I am playing with... But I have not pushed any of it up yet. Cores, SD, LittleFs, USBHost(no changes from the above), MSC, MTP,
    315 replies | 4482 view(s)
  • KurtE's Avatar
    04-02-2021, 03:34 PM
    @mjs513 - I think I will do a couple of experiments and see what happens. What is the worst that can happen, the chip melt ;) But again I have not done much with LittleFs on the inside, mostly bothered you with the...
    475 replies | 5521 view(s)
  • KurtE's Avatar
    04-02-2021, 01:39 PM
    @wwatson - First I hope you back is getting better. And your lwext4 sounds interesting. I have not had as much interest in this FS mainly because it is not used on Windows.... Although I do stuff on some Linux boxes...
    475 replies | 5521 view(s)
  • KurtE's Avatar
    04-02-2021, 01:15 PM
    Thanks, I should have verified those as well. I did verify that the D pins were all on one GPIO port, so could do DMA, and as PCLK is on an XBAR pin, another option was to use the DMA code we were playing with for the...
    315 replies | 4482 view(s)
  • KurtE's Avatar
    04-01-2021, 11:16 PM
    Afternoon/evening all - Still have not made it to town... So playing with MTP support... What do you think? So far I have only setup to pass through the Modify Date, can also do create date. Not too bad: I...
    475 replies | 5521 view(s)
  • KurtE's Avatar
    04-01-2021, 09:19 PM
    Been there, done that ;) (Again) I thought I had it handled as my two Ipads use the USB-c, but they have it for both ends... So I now have an Amazon Basic... Sorry I have not been to town to pick it up, so playing...
    315 replies | 4482 view(s)
  • KurtE's Avatar
    04-01-2021, 07:18 PM
    Been there, found that out when I purchased my first carrier board with the ESP :D
    315 replies | 4482 view(s)
  • KurtE's Avatar
    04-01-2021, 05:15 PM
    just ordered one...
    315 replies | 4482 view(s)
  • KurtE's Avatar
    04-01-2021, 04:48 PM
    Me a hard time ;) ... I honestly did not give it a second thought... I take it as something for SPARKFUN. I did most of the hacking for some of these changes after Paul added the Pin definitions for this board to...
    315 replies | 4482 view(s)
  • KurtE's Avatar
    04-01-2021, 03:50 PM
    Yes - we should probably add that. I don't think anywhere in our imxrt code actually looks at that define but should add for consistency. As for The Wire3 object, I think it is correct, obviously may need to hook...
    315 replies | 4482 view(s)
  • KurtE's Avatar
    04-01-2021, 03:28 PM
    There may be other Micromods, but these names, like: ARDUINO_TEENSY40, ARDUINO_TEENSY41, ARDUINO_TEENSY_MICROMOD Are names that come directly out of boards.txt and platform.txt That is in Platform.txt we have: ##...
    315 replies | 4482 view(s)
  • KurtE's Avatar
    04-01-2021, 01:48 PM
    What will be interesting is testing Wire3 pins as we don't have Wire3 on T4 or 4.1...
    315 replies | 4482 view(s)
  • KurtE's Avatar
    04-01-2021, 01:31 PM
    Most of the display libraries that we updated to do things like: // Now validate the pins if (spi_port->pinIsMOSI(_mosi) && spi_port->pinIsSCK(_sclk)) { //spi_port= &SPI;...
    315 replies | 4482 view(s)
  • KurtE's Avatar
    04-01-2021, 01:22 PM
    Yep - May order one at some point, not sure where yet, looks like digikey has them... Can always test the boards SDIO with the data logger board or the machine learning board. however the interesting thing with...
    315 replies | 4482 view(s)
  • KurtE's Avatar
    04-01-2021, 12:58 PM
    My MMOD is in town now at our mail box. Hopefully get there in the next few days... Have a few things going on here at home, so not sure which day. RTS/CTS - I don't know why they did not bring out some Teensy pins...
    315 replies | 4482 view(s)
  • KurtE's Avatar
    04-01-2021, 04:39 AM
    Rts cts pins show unconnected on schematic on first post
    315 replies | 4482 view(s)
  • KurtE's Avatar
    03-31-2021, 11:24 PM
    An interesting fun is going to be: looking at these carrier boards like the ATP board, and when I look at a pin labeled G10, having to translate that every time to know that is probably Teensy pin: 33 Again I added the...
    315 replies | 4482 view(s)
More Activity
About KurtE

Basic Information

Statistics


Total Posts
Total Posts
8,825
Posts Per Day
3.34
Last Post
MicroMod Beta Testing Today 02:46 PM
General Information
Last Activity
Today 03:33 PM
Join Date
01-12-2014