Forum Rule: Always post complete source code & details to reproduce any issue!
Tab Content
  • mjs513's Avatar
    Today, 05:53 AM
    No INO changes in progress - still using the last one posted, at least not for now. Getting ready to go back and get some more zzzz's. There was one thing that was bothering me. The license for the Arducam...
    599 replies | 10138 view(s)
  • mjs513's Avatar
    Today, 05:19 AM
    Good very early morning all Well FlexIO4bit is actually working. Got up and turned the TMM on and voila image was perfect for FlexIO4bit. Haven't seen it in such a long time I forgot. But if you get an image like...
    599 replies | 10138 view(s)
  • mjs513's Avatar
    Today, 01:22 AM
    Thought crossed my mind especially when I saw a nibble swap shiftbuffer register right after the timercfg register in the rm. have try in the morning to tell the camera to use lab first and try it that way. It’s...
    599 replies | 10138 view(s)
  • mjs513's Avatar
    Yesterday, 11:44 PM
    Evening all Just changed it and yeah getting different garbage but not skipping columns :) Looks like its close though. Just as a goof to save a screen shot I sent it to the Arducam App. Was a little surprised when...
    599 replies | 10138 view(s)
  • mjs513's Avatar
    Yesterday, 08:59 PM
    Oh ok. That doesn’t sound like an issue with the lib. Think in the ardu lib when the do a capture they added a bit of a delay. But at least you got it working
    599 replies | 10138 view(s)
  • mjs513's Avatar
    Yesterday, 08:45 PM
    Funny what mode are you using. Haven't seen any torn images with those settings. Tested with FlexIO, DMA and GPIO (4 and 8bit)?
    599 replies | 10138 view(s)
  • mjs513's Avatar
    Yesterday, 08:37 PM
    Nope. Don't need dual serial for use with arducam. matter of fact for Arducam use just compile with serial. Keep serial monitor closed when using arducam app. Then just connect with the app, select set to BMP and...
    599 replies | 10138 view(s)
  • mjs513's Avatar
    Yesterday, 08:26 PM
    Yep - just copy and pasted into my local copy. You must be reading my mind. Will push in a bit :)
    599 replies | 10138 view(s)
  • mjs513's Avatar
    Yesterday, 08:02 PM
    4-40's: now you know why I asked :) Funny Arducam isn't working for you. This Arducam in GPIO4bit that I am getting: Just tried the Processing sketch - see what you mean about the blue. Tried in in GPIO8bit: ...
    599 replies | 10138 view(s)
  • mjs513's Avatar
    Yesterday, 07:27 PM
    Thank you.
    599 replies | 10138 view(s)
  • mjs513's Avatar
    Yesterday, 06:52 PM
    Bad news just tried it and no-joy. Just get a blank screen.
    599 replies | 10138 view(s)
  • mjs513's Avatar
    Yesterday, 06:25 PM
    By the way - what size standoffs are on the board - M4's?
    599 replies | 10138 view(s)
  • mjs513's Avatar
    Yesterday, 06:21 PM
    @defragster Did catch and made the change to test for MM_ML for SD.begin. Left the ML stuff in. '_hmConfig 0' - GPIO8bit: 'f' works fine. Been running 'F' quite a while no with no finger tearing noticable. ...
    599 replies | 10138 view(s)
  • mjs513's Avatar
    Yesterday, 03:55 PM
    Just got the new breakout board and gave FlexIO a try and in the image below you can see what the problem is - reading the 4bits but skipping every other one so shading will be off: Not sure how to fix this one.
    599 replies | 10138 view(s)
  • mjs513's Avatar
    Yesterday, 02:59 PM
    Well that change alone seems to work but the data transfer has to be modified since its only set up for Bytes. Not sure how to do that one :) EDIT: Will push what I have up that I did with the Flexio and maybe you...
    599 replies | 10138 view(s)
  • mjs513's Avatar
    Yesterday, 02:36 PM
    Cool - glad its working. Now trying to figure this one out: FLEXIO_SHIFTCFG_PWIDTH(7); think it just needs to get changed to FLEXIO_SHIFTCFG_PWIDTH(3); and of course use only 4 pins.
    599 replies | 10138 view(s)
  • mjs513's Avatar
    Yesterday, 02:10 PM
    Morning Kurt 4bit mode for me anyway means that it just takes 2 reads to get the 8bits for the each pixel. First transfer gets you the upper 4bits of the pixel and the second transfer gets you the lower 4bits of the...
    599 replies | 10138 view(s)
  • mjs513's Avatar
    Yesterday, 01:42 PM
    @KurtE - @defragster Just pushed a bunch of changes to the API-rework branch to test 4-bit mode in GPIO mode only. Pretty sure its working. @defragster - incorporated some your changes - example 'F' now works in...
    599 replies | 10138 view(s)
  • mjs513's Avatar
    Yesterday, 01:09 PM
    Morning @KurtE - well. I can confirm that 4-bit mode works. Just kludged up my local copy to try 4-bit using GPIO only. Only register that needs to changed it seems is 0x3059 (BIT control) so bit 6 is set to 1 and...
    599 replies | 10138 view(s)
  • mjs513's Avatar
    Yesterday, 11:17 AM
    @defragster I merged your pull request then noticed that you deleted some stuff that is needed for GPIO continuous mode. Have to go over it in more detail after I have my coffee. EDIT: this is the latest card...
    599 replies | 10138 view(s)
  • mjs513's Avatar
    Yesterday, 11:12 AM
    @luni Thanks for the detailed explanation - learning something new everyday - you know one of these days something like this should be written up and put on the wiki (I know have checked lately) since I think I have...
    599 replies | 10138 view(s)
  • mjs513's Avatar
    Yesterday, 02:20 AM
    Yeah didn’t mention it but you can save to sd, send to the processing sketch or use the arducam app to see the image without the display in all modes selected :) gpio, small or flex
    599 replies | 10138 view(s)
  • mjs513's Avatar
    Yesterday, 01:43 AM
    Ok trying to figure out how to just read 4-bits instead of 8 and didn't want to admit that I have very little clue what this is doing: uint32_t in = (GPIO7_PSR >> 4); // read all bits in parallel but if you indulge...
    599 replies | 10138 view(s)
  • mjs513's Avatar
    Yesterday, 01:04 AM
    I think the OV camera's work in 4-bit mode either. When I was saying common denominator I was talking about between MM, T4.1 and T4.0. I wasn't suggesting between cameras. Personally I like the OV cameras better as...
    599 replies | 10138 view(s)
  • mjs513's Avatar
    04-21-2021, 11:01 PM
    Evening all. Paul - not a problem. Didn't miss much except me playing with library to get a jump on reorganizing. You are probably right about 8-bit being redundant but guess will see how 4-bit works compared...
    599 replies | 10138 view(s)
  • mjs513's Avatar
    04-21-2021, 01:05 PM
    Morning @KurtE :) Funny you should mention about CSI/OV7670 was just looking at that this morning. Great minds. Anyway for now think I have gone about as far as I can go with mods - still don't know why "V" mode...
    599 replies | 10138 view(s)
  • mjs513's Avatar
    04-21-2021, 10:44 AM
    Thanks @defragster. Now that there is some life I think I may know what the problem may be. EDIT: Nope what I thought may be wrong looks correct. But I did add my change to get GPIO 'F' working and pushed both...
    599 replies | 10138 view(s)
  • mjs513's Avatar
    04-21-2021, 02:07 AM
    Thanks for checking - have to retest. Yes 'f' only in GPIO-8bit for now - that's on the todo list to fix Yep - VID only works in DMA mode as it did before but 'F' and 'f' works with FlexIO as before. Have to try...
    599 replies | 10138 view(s)
  • mjs513's Avatar
    04-21-2021, 01:43 AM
    Yep 'f' - single shot, 'F'-continuous (still not working if in DMA_8BIT mode but it does give you what you describe - what about 'V' ideo ? That's the one I am curious about. NOTE: I haven't been getting any...
    599 replies | 10138 view(s)
  • mjs513's Avatar
    04-21-2021, 01:26 AM
    Thanks would appreciate - all else seems to be working with DMA though. Already created WIP branch on github: https://github.com/mjs513/TMM-HB01B0...ree/API-Rework
    599 replies | 10138 view(s)
  • mjs513's Avatar
    04-21-2021, 01:15 AM
    Just a quick update. Been trying to figure it out most of the day. Found a couple errors but still no luck with video mode. So I bypassed my readframe's etc and used direct calls but no luck. Not sure if its...
    599 replies | 10138 view(s)
  • mjs513's Avatar
    04-20-2021, 04:42 PM
    As a test I just pushed some more changes to the API_rework branch: https://github.com/mjs513/TMM-HB01B0-Camera/tree/API-Rework I supports 3 cases for the Mircomod only: /* * HM01B0_TEENSY_MICROMOD_GPIO_8BIT, *...
    599 replies | 10138 view(s)
  • mjs513's Avatar
    04-20-2021, 02:05 PM
    @KurtE Forgot about the table you have in the FlexIO library - was actually looking to create one - sort of. Right now the way it looks is the DMA is used for both for DMA mode and FlexIO mode (works better). The...
    599 replies | 10138 view(s)
  • mjs513's Avatar
    04-20-2021, 11:35 AM
    Now for instance. For DMA I see that the function: startReadFrameDMA(bool(*callback)(void *frame_buffer), uint8_t *fb1, uint8_t *fb2) does setup framebuffers if fb1 and fb2 are not specified. So that leaves how to...
    599 replies | 10138 view(s)
  • mjs513's Avatar
    04-20-2021, 11:19 AM
    Good Morning all Started work on mods to the lib. Created the following in the lib: typedef enum { HM01B0_SPARKFUN_ML_CARRIER = 0, HM01B0_TEENSY_MICROMOD_GPIO_8BIT, HM01B0_TEENSY_MICROMOD_FLEXIO_8BIT,...
    599 replies | 10138 view(s)
  • mjs513's Avatar
    04-17-2021, 02:21 PM
    @All Good Morning. Decided to play a bit more with the camera so I ported over the CMSIS NN example using CIFAR10 example that identifies several objects. Did have to reduce the size of the image down to 32x32 to...
    599 replies | 10138 view(s)
  • mjs513's Avatar
    04-17-2021, 11:23 AM
    Actually yes, on and off thought about but something always distracted me. Just took another look and found this one as well: https://create.stephan-brumme.com/toojpeg/ == it has some good references.
    599 replies | 10138 view(s)
  • mjs513's Avatar
    04-16-2021, 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 :)
    599 replies | 10138 view(s)
  • mjs513's Avatar
    04-16-2021, 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
    599 replies | 10138 view(s)
  • mjs513's Avatar
    04-16-2021, 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...
    599 replies | 10138 view(s)
  • mjs513's Avatar
    04-16-2021, 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...
    599 replies | 10138 view(s)
  • mjs513's Avatar
    04-16-2021, 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.
    599 replies | 10138 view(s)
  • mjs513's Avatar
    04-16-2021, 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...
    599 replies | 10138 view(s)
  • mjs513's Avatar
    04-16-2021, 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...
    599 replies | 10138 view(s)
  • mjs513's Avatar
    04-16-2021, 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...
    599 replies | 10138 view(s)
  • mjs513's Avatar
    04-16-2021, 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...
    599 replies | 10138 view(s)
  • mjs513's Avatar
    04-16-2021, 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. ...
    599 replies | 10138 view(s)
  • mjs513's Avatar
    04-16-2021, 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...
    599 replies | 10138 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...
    599 replies | 10138 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...
    599 replies | 10138 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.
    599 replies | 10138 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...
    599 replies | 10138 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....
    599 replies | 10138 view(s)
  • mjs513's Avatar
    04-15-2021, 01:03 PM
    Exact same one - will arrive this afternoon probably :)
    599 replies | 10138 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...
    599 replies | 10138 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
    599 replies | 10138 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...
    599 replies | 10138 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...
    599 replies | 10138 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...
    599 replies | 10138 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. ...
    599 replies | 10138 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...
    599 replies | 10138 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.
    599 replies | 10138 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...
    599 replies | 10138 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...
    599 replies | 10138 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...
    599 replies | 10138 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.
    599 replies | 10138 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...
    599 replies | 10138 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.
    599 replies | 10138 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.
    599 replies | 10138 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...
    599 replies | 10138 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...
    599 replies | 10138 view(s)
  • mjs513's Avatar
    04-13-2021, 01:36 PM
    Noticed - PR already merged :) Just downloaded it and now to play again.
    599 replies | 10138 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.
    599 replies | 10138 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...
    599 replies | 10138 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...
    599 replies | 10138 view(s)
  • mjs513's Avatar
    04-13-2021, 12:22 PM
    Kurt - ignore this - got myself confused again.
    599 replies | 10138 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*)' ...
    599 replies | 10138 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.
    599 replies | 10138 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...
    599 replies | 10138 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...
    599 replies | 10138 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*)':...
    599 replies | 10138 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.
    599 replies | 10138 view(s)
  • mjs513's Avatar
    04-13-2021, 01:25 AM
    @KurtE Just did the merge - glad I waited on downloading your branch :)
    599 replies | 10138 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...
    599 replies | 10138 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.
    599 replies | 10138 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...
    599 replies | 10138 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 | 495 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...
    599 replies | 10138 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
    599 replies | 10138 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.
    599 replies | 10138 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,831
Posts Per Day
2.75
Last Post
MicroMod Beta Testing Today 05:53 AM
General Information
Last Activity
Today 11:22 AM
Join Date
07-01-2014