Forum Rule: Always post complete source code & details to reproduce any issue!
Tab Content
  • mjs513's Avatar
    Yesterday, 09:21 PM
    @luni Nice toy. Must be nice to have room for things like that :) Guess I will have to see about about sending a continuous stream to the PC :)
    521 replies | 8218 view(s)
  • mjs513's Avatar
    Yesterday, 07:13 PM
    No - you are going to be in trouble if you use that one. Down the version I am using from here: https://github.com/ArduCAM/Arduino/tree/master/ArduCAM/examples/host_app/ArduCAM_Host_V2.0_Windows
    521 replies | 8218 view(s)
  • mjs513's Avatar
    Yesterday, 03:27 PM
    Actually not really. FlexIO is so intertwined with the DMA stuff that 98% of its still being called for flexIO dma. :) which I chose to leave in. That caused me some problems when doing that :) Oh - just tried you...
    521 replies | 8218 view(s)
  • mjs513's Avatar
    Yesterday, 02:28 PM
    Got it. I wouldn't hold it up either. It does seem to be working. @Paul - @defragster I did just make a few changes in prep for final release. I add 3 defines (at least for now) in the HM01B01 file: // Camera...
    521 replies | 8218 view(s)
  • mjs513's Avatar
    Yesterday, 01:48 PM
    I just tried it with your change and saw the same thing but only if I changed the default size "Arial_10_Bold", otherwise it hung after only 1 cycle.
    521 replies | 8218 view(s)
  • mjs513's Avatar
    Yesterday, 12:46 PM
    Not a problem, just wanted to let you know. Took a while to find a display that you didn't test with - saw you tested with the 240x240 and the 320x240. One curious thing about the HM01B0. Was reading on the their...
    521 replies | 8218 view(s)
  • mjs513's Avatar
    Yesterday, 11:27 AM
    Just tested your latest changes on a T4.1 with a Adafruit 128x128 display. Starts up fine and display looks good however after I toggle updates off screen stops but I can't seem to toggle it back on. Seems to hang the...
    521 replies | 8218 view(s)
  • mjs513's Avatar
    Yesterday, 09:44 AM
    Morning all @KurtE - Just downloaded your updates from last night and yep resolved the compile issue. Did you sort out your compile issue? @ecurtz Your guess was pretty good. With a couple of tweaks it worked...
    521 replies | 8218 view(s)
  • mjs513's Avatar
    Yesterday, 01:19 AM
    @KurtE Think your latest rounds of updates to the 7735 lib broke something in the HM01b0 library: C:\Users\Merli\AppData\Local\Temp\arduino_build_418531\libraries\ST7735_t3-t4x_dma_no_copy\ST7735_t3.cpp.o: In function...
    521 replies | 8218 view(s)
  • mjs513's Avatar
    Yesterday, 01:18 AM
    @KurtE Ok I give up. Got be doing something wrong someplace and not sure where. What I am trying to duplicate is what we did in your CSI_41_main in the send_image function. But just can't seem to get it right. ...
    521 replies | 8218 view(s)
  • mjs513's Avatar
    Yesterday, 01:06 AM
    No comment on git :) Any I just compile the test sketch that you posted with the latest updates to the ST7735 library and got no errors. I tried 7789 only, 9341 only, and both uncommented still no compile issues. I...
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-15-2021, 09:45 PM
    Afternoon @KurtE Thanks for the references on the regulators - now have no idea which to put on the breakout board :) Any suggestions. Leaning to the 1.5 amp one just in case :) I'll give the ST7735 a test as soon...
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-15-2021, 07:25 PM
    Got a side question on regulators for the T4.1 breakout board. Someone gave me a link for 5v VIN reg (https://www.ezsbc.com/product/psu5-2/ or I was looking at https://www.ezsbc.com/product/psu5-nonoise/), obviously...
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-15-2021, 07:16 PM
    Ok - thats strange would have thought it would have worked. Not having much luck with my project. Think going to ditch it. Something is off have I can't figure it out.
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-15-2021, 05:25 PM
    @KurtE - glad all is working. The testing I did was on the 320 display and just waiting for the mail to hook it up to the T4.1 display adapter I have. Will let you know when I get it. Rainy cool day here today and...
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-15-2021, 01:33 PM
    Yesterday and this morning was working on sending an image to Arducam Imaging App. The app takes images - bmp or video and displays it rathe quickly. But looks like I have to resize from down to 320x240 from 324x244....
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-15-2021, 01:03 PM
    Exact same one - will arrive this afternoon probably :)
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-15-2021, 12:12 PM
    Morning @KurtE Just got my coffee then downloaded your updated lib and tried on the Micromod - seems to be working as far as I can see - toggled the updates on/off several times and no issues. I ordered an extra...
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-14-2021, 08:49 PM
    You know never thought about looking up the ascii character - no wonder I was having a problem - thanks :) So obvious after the fact
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-14-2021, 07:37 PM
    Nope: hm01b0_testv3:503: error: duplicate case value case 48: ^ hm01b0_testv3:489: error: previously used here case '0': ^ only wants single characters - maybe redo section for way it...
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-14-2021, 07:26 PM
    @KurtE Just gave your 'V' mode a try with the ST7789 and.... 1. Sparkfun config - worked very nicely, however when I exited video mode the TMM was basically hung. Could not enter any other commands and had to do a...
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-14-2021, 06:56 PM
    Afternoon all @KurtE - looks like you been busy this morning and afternoon between the new board design and fixing ST7735 lib. Kind of been a bit distracted with running errands again and in backyard :) Will give it...
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-14-2021, 01:41 PM
    Good luck @KurtE. Be interesting see how it works. Thinking about changing the name of the test sketch in prep for release to: HM01B0-KitchenSink :) Then start breaking some of the code out for demo purposes. ...
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-14-2021, 11:41 AM
    The last PR incorporated from @KurtE included the 'V'ideo command. Tested with both Sparkfun and non-Sparkfun. Only thing is for DMA video/continuous it does take a while for the image to synch into a image stream...
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-14-2021, 11:38 AM
    Good Morning all Just gave our latest set of updates a spin. Tested the same as @defragster and agree all is working well. The only thing not tested was the 'z' command.
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-13-2021, 11:47 PM
    All Had a strange thought - not sure where it came from must have been a nightmare. With the lack of PSRAM on the MM board is there a way to use the SDIO pins to simulate having a PSRAM and maybe telling the core to...
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-13-2021, 11:19 PM
    Didn't play much today just on and off. As you said it was a nice day. Day is pretty much done here now and they are talking rain for tomorrow so probably will play some more tomorrow. One thing I noticed is that...
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-13-2021, 09:43 PM
    Yeah broke down and tested the Sparkfun Input/Display Carrier board. The display is 9341 compatible. Did get it working with the 9341 library but had to add a command - invert display on, then it worked with what we...
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-13-2021, 09:17 PM
    Merge completed - good timing was doing @defragster's merge. Have to figure out my 9341 - really giving me a hard time working.
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-13-2021, 05:28 PM
    Downloaded the latest set of changes. No change to the way normal and DMA versions work. Same as last revision. With the latest fixes for FlexIO it kind of works but only a few rows on top of the screen are seen...
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-13-2021, 05:13 PM
    PR just merged. Sorry for the delay - had to run out and do a few errands.
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-13-2021, 02:34 PM
    My turn for Oops - missed that in the PR was looking at the changes more :) I don't mind the debug stuff.
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-13-2021, 02:10 PM
    @KurtE Just merged your PR :) EDIT: Just tested it and something strange going on with continuous mode. For the first bunch of frames the images are totally out of synch then all of sudden it settles down and...
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-13-2021, 01:53 PM
    @PaulStoffregen - Just gave it a quick test spin using 'f' and continuous "F" mode. "f" works as well as before however "F" is having issues. The image seems to be loosing synch. Another run had it totally out of...
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-13-2021, 01:36 PM
    Noticed - PR already merged :) Just downloaded it and now to play again.
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-13-2021, 12:54 PM
    @KurtE Once things settle down will have to go play with SublimeText and TSET again. Always something going on.
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-13-2021, 12:33 PM
    Work with v3. The only difference between v2 and v3 is the 'z' command for saving the last buffered image. Just tested it and its seems to be working with 's', 'D' and 'f' snapshots with hard faulting as @defragster...
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-13-2021, 12:30 PM
    Nice cheat. Anyway to the point. Just got rid of the last use of imageBuffer so deleting that one. As for the sendImageBuf that's really only used for when you are sending images to the Processing sketch. To...
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-13-2021, 12:22 PM
    Kurt - ignore this - got myself confused again.
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-13-2021, 11:47 AM
    @KurtE - just noticed I am getting a warning message: D:\Users\Merli\Documents\Arduino\hm01b0_testv2\hm01b0_testv2.ino:360:85: warning: invalid conversion from 'void (*)(void*)' to 'bool (*)(void*)' ...
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-13-2021, 11:40 AM
    My guess is that its suppose to be on the imageBuffer since its being used for DMA along with frameBuffer2.
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-13-2021, 11:21 AM
    Morning all - just having first cup of coffee. Did the merge for v3 test sketch haven't had a chance to check it out yet. After I read the post of tearing in post I can't seem to duplicate it either using "f"rame or...
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-13-2021, 02:30 AM
    @PaulStoffregen - @KurtE - @defragster Ok finally got sorted out on my end (Past my bed time on the east coast) :) Anyway just ran the updates using Sparkfun and non-Sparkfun configs at frameRate(30). DMA single...
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-13-2021, 02:06 AM
    Just downloaded and am getting an error message: D:\Users\Merli\Documents\Arduino\libraries\TMM-HM01B0\src\HM01B0.cpp: In member function 'bool HM01B0::startReadFrameDMA(bool (*)(void*), uint8_t*, uint8_t*)':...
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-13-2021, 02:00 AM
    Ok - just merged. Saw that but didn't register how that worked - now I do.
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-13-2021, 01:25 AM
    @KurtE Just did the merge - glad I waited on downloading your branch :)
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-13-2021, 12:37 AM
    @KurtE That might be why it would work in single frame mode but not continuous - how to do you fix it. Try commenting out the line in the sketch for framesize and uncomment Sparkfun. If you do that it will put it...
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-12-2021, 10:26 PM
    As usual yes it make sense when you explain it - I just need to do some more homework on the TCD setups. Going to be a long process.
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-12-2021, 10:23 PM
    No problem - been doing some other things as well. Just when I get back on I'm on for a while. Been spending time going down the rabbit hole. Funny that's exactly what I am seeing with FlexIO. With...
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-12-2021, 09:50 PM
    Looking the schematic I see that you have MISO/MOSI shared between the touch and LCD. Can't remember but you may have a tristate buffer issue. Take a look at step 2 of PJRC's Better SPI Bus Design in 3 Steps. You...
    9 replies | 417 view(s)
  • mjs513's Avatar
    04-12-2021, 08:47 PM
    @Paul - @KurtE The more I read the more confused I get. Was looking at AN12686, pg13 and what @KurtE was DMA stuff. On pg 13 for DMA setup the last 2 bullets: • Last destination address adjustment: 0, which means no...
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-12-2021, 05:26 PM
    @defragster Going to put the timings back in since I know what to expect now. Was driving me crazy when it FPS going down to 16 but think that was display connection issue
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-12-2021, 05:21 PM
    Set up releases for the library and that code is permanently there as Release v1.0.0. The flexIO changes will be in v1.1 I guess. Just trying to keep what works.
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-12-2021, 05:11 PM
    @defragster Also think the timing prints were getting me confused. Also playing with some settings for brightness and exposure. With the lights on my image tended to be basically showing glare. Went to the openmv...
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-12-2021, 04:50 PM
    @defragster Think I was running into the problems you just described plus issues with the display connections. Also I changed the "F" movie function to this if ( g_continuous_flex_mode ) { ...
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-12-2021, 02:05 PM
    As they say keep dreaming :) Just tried it on the ST7789 and seems to be working there as well. Although trying to use for video don't work too well. Works a bit better on 9341. Think maybe it will work better...
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-12-2021, 01:05 PM
    Think I agree - doesn't make sense to keep DMA using GPIO. To be honest I would hold off on trying to get it working with GPIO for the HM01b0
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-12-2021, 01:03 PM
    @PaulStoffregen Was going through your DMA code (you guys are bringing me down another rabbit hole with DMA) :) Anyway think this is the function that controls dma h/w trigger: // Use a hardware trigger to make...
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-12-2021, 12:39 PM
    Thats strange, I only get that when my pin assignment is off - know this is going to be a silly question but did you remember (1) to change the pin assignments in the graphicstest, and (2) make sure you have ILI9341...
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-12-2021, 12:33 PM
    Here's what I am using as of this morning after your changes:
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-12-2021, 11:53 AM
    PR was merged. Just downloaded it and see what you mean. Started reading FlexIO once :) Guess I will have to pull the manual out again. For some reason having trouble with @defragsters sketch - not sure why so...
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-12-2021, 11:36 AM
    Merge done.
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-12-2021, 11:05 AM
    @Paul - @KurtE - @defragster Did a couple more tests with FlexIO. Test 1: Tried changing the frameRate from 30fps to 60fps. At 30 "F" (flexIO continuous) using @defragster's updated sketch, runs fine picture quality...
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-12-2021, 10:36 AM
    Morning All Merged the changes into the github repository and just start playing but my display is acting up - wire connections with jumpers Argh! Anyway ran 'f'lexio using Sparkfun and non-sparkfun configs. Both...
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-12-2021, 02:36 AM
    Was thinking that maybe need to lower the SPI Clock setting
    40 replies | 1314 view(s)
  • mjs513's Avatar
    04-12-2021, 02:33 AM
    Was just about to post - but the other one should have worked as well. Going to delete it - probably easier that figuring out the differences.
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-12-2021, 02:23 AM
    Should just need ILI9341_t3n library. 's' is pretty standard and seems to have always worked. The latest TMM-HB01B0-Camera is set up for 324x224 but 's' works for Sparkfun or non-Sparkfun configs. I know every...
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-12-2021, 12:43 AM
    Probably not the problem but wanted to ask. In the .h file enum {DMABUFFER_SIZE=1280}; // 640x480 so 640*2*2 the 1280 probably needs to be changed to 324*2*2 = 1296
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-11-2021, 09:53 PM
    Cool. Sounds like you had fun planting - rainy and cold here so good day to stay inside.
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-11-2021, 09:46 PM
    Just tested the mods I just made and it works :) You want me to push it to you or you can just use what you have - probably the same since I just copied it from ILI9341_t3n
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-11-2021, 09:36 PM
    Just made the changes for 8 and 4 and was going to try out - should have known better :) EDIT: Is it posted - I will give it a try
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-11-2021, 08:15 PM
    @KurtE Looks like we are going to have to edit the ST7789 library to add in read8pp as well since I don't think it currently supports it.
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-11-2021, 08:14 PM
    Easy answer - yes. See page 16.
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-11-2021, 07:43 PM
    That was the change from last night and this morning. So yes first 2 pixels and last 2 pixels. Edit: Kurt's original DMA code skipped the 1st 4 pixels and what I went to this morning was using the subwriteRect that...
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-11-2021, 06:53 PM
    With the change that Kurt made to the 's' decided to see if the other frameSizes would work as well: /* * FRAMESIZE_INVALID = 0, * VGA Resolutions * FRAMESIZE_QQVGA, // 160x120 * FRAMESIZE_QVGA, ...
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-11-2021, 06:32 PM
    @Paul Very cool that you got some life with using FlexIO. Was looking at Kurt's lib this morning and my head hurt :). Oh just one thing the 4pixels is a 2 pixel border around the actual 320x240 image. A quick...
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-11-2021, 05:01 PM
    Yeah was going way deeper originally to see what was going on so started with Vsync. Want to see what you did and see I can merge but really distracted. I did remember to update the PDE to 324/244 though. But to...
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-11-2021, 04:54 PM
    @KurtE Updates are already pushed to repository, see post 342, right before yours. 99% sure that the writeSubImageRect is working correctly because I am now using it for 's'napshot and 'continuous modes and its...
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-11-2021, 03:14 PM
    Just pushed the current changes using subWriteRect and QVGA = 324x244. One other thing - took setpixformat out of the sketch and called it directly from init since this camera only supports grayscale. Also added a v2...
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-11-2021, 02:20 PM
    Morning @KurtE Yep - tried just making _frame_ignore_cols = 0 but the image messed up. Agree - not sure why you are multiplying by 2 since we only have grayscale. The *2 in the original readFrame was for color...
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-11-2021, 12:01 PM
    @KurtE I found the issue that you were having with having to skip 4 pixels. Turns out that the actual image size for QQVGA is 324x244 and not 320x240. The extra 4 pixels seem to be just border pixels. So I tested...
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-11-2021, 11:26 AM
    @KurtE - @Paul - @defragster - @all More discoveries, realizations and decisions. Doing some digging it appears that the framerate is dependent on 3 settings: 1. clock - osc_div which is done we use the function...
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-11-2021, 12:50 AM
    Just to satisfy my curiosity I put back into the loop Paul's vsych timing code and sure enough, whatever combination of settings Sparkfun is using seems off: Using the 6Mhz clock and only changing frameRate to 30 and...
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-10-2021, 11:33 PM
    Did a little bit more testing and one thing I noticed is that the framerate when set to 60 seems alot slower using the Sparkfun config rather than the default config. With the default config the osc_div is set to 2B...
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-10-2021, 11:12 PM
    Found it. 3, 0xb1, 0x00, 0x10, // FrameRate Control 119Hz its in both the ILI8341_t3 and _t3n libraries.
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-10-2021, 10:14 PM
    Hi all @KurtE beat me to it - was going to mention that @KurtE did a lot of work with FlexIO and he a library set up for it - not sure where the whole discussion is on the forum anymore I'll second what Kurt said...
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-10-2021, 07:35 PM
    @KurtE Can't seem to push the SPI Clock over 30Mhz for the ILI9341 - just shows a white screen if I do. Just an FYI
    521 replies | 8218 view(s)
  • mjs513's Avatar
    04-10-2021, 07:26 PM
    I'll go ahead and push the changes I have so we will in synch again. then you can change the handshake. You know never thought about about how fast the screen can update. Don't remember what SPI we defaulted to in...
    521 replies | 8218 view(s)
  • mjs513's Avatar
    3 replies | 94 view(s)
More Activity
About mjs513

Basic Information

About mjs513
Location:
New York
Interests:
Robotics, Image Processing
Occupation:
Aerospace Eng (Retired)

Statistics


Total Posts
Total Posts
6,794
Posts Per Day
2.74
Last Post
MicroMod Beta Testing Yesterday 09:21 PM
General Information
Last Activity
Today 01:12 AM
Join Date
07-01-2014