nice board Kurt.Sorry been screwing around today...
Quick and dirty so far, need to add labels...
SENSOR DETECTED :-) MODEL HM01B0
SENSOR DETECTED :-) MODEL HM01B0
SENSOR DETECTED :-) MODEL HM01B0
SENSOR DETECTED :-) MODEL HM01B0
SENSOR DETECTED :-) MODEL HM01B0
SENSOR DETECTED :-) MODEL HM01B0
SENSOR DETECTED :-) MODEL HM01B0
SENSOR DETECTED :-) MODEL HM01B0
SENSOR DETECTED :-) MODEL HM01B0
SENSOR DETECTED :-) MODEL HM01B0
SENSOR DETECTED :-) MODEL HM01B0
SENSOR DETECTED :-) MODEL HM01B0
SENSOR DETECTED :-) MODEL HM01B0
SENSOR DETECTED :-) MODEL HM01B0
SENSOR DETECTED :-) MODEL HM01B0
SENSOR DETECTED :-) MODEL HM01B0
SENSOR DETECTED :-) MODEL HM01B0
SENSOR DETECTED :-) MODEL HM01B0
SENSOR DETECTED :-) MODEL HM01B0
SENSOR DETECTED :-) MODEL HM01B0
SENSOR DETECTED :-) MODEL HM01B0
SENSOR DETECTED :-) MODEL HM01B0
SENSOR DETECTED :-) MODEL HM01B0
SENSOR DETECTED :-) MODEL HM01B0
SENSOR DETECTED :-) MODEL HM01B0
SENSOR DETECTED :-) MODEL HM01B0
SENSOR DETECTED :-) MODEL HM01B0
SENSOR DETECTED :-) MODEL HM01B0
SENSOR DETECTED :-) MODEL HM01B0
SENSOR DETECTED :-) MODEL HM01B0
SENSOR DETECTED :-) MODEL HM01B0
SENSOR DETECTED :-) MODEL HM01B0
SENSOR DETECTED :-) MODEL HM01B0
SENSOR DETECTED :-) MODEL HM01B0
SENSOR DETECTED :-) MODEL HM01B0
SENSOR DETECTED :-) MODEL HM01B0
SENSOR DETECTED :-) MODEL HM01B0
SENSOR DETECTED :-) MODEL HM01B0
SENSOR DETECTED :-) MODEL HM01B0
SENSOR DETECTED :-) MODEL HM01B0
SENSOR DETECTED :-) MODEL HM01B0
SENSOR DETECTED :-) MODEL HM01B0
nice board Kurt.
After testing been messing around myself. Think going to play with tensorflow until I get the parts.
Tim. Had a thought that you can test. Think spec says at 4bit camera power is about half, on phone now so can’t verify. If you run you board with 4bit you should see a power drop. If test runs for then another clue to the puzzle.
Hopefully will get parts next week
Using SDCARD - Initializing
initialization done.
HM01B0 Camera Test
[B]HM01B0_FLEXIO_CUSTOM_LIKE_4_BIT[/B]
------------------
START Fill Cache :: 3454
END Fill Cache :: Last is 82813 @ 3501
T:\tCode\libraries\HM01B0\examples\HM01B0_example2\HM01B0_example2.ino May 1 2021 22:03:48
Send the 'f' character to read a frame using FlexIO (changes hardware setup!)
// HELP HERE
[B]SENSOR DETECTED :-) MODEL HM01B0[/B]
OSC_CLK_DIV: 0x29
ImageSize (w,h): 324, 244
Reading frame
[ATTACH]24686._xfImport[/ATTACH]
Quick note for post #855: HM01B0_FLEXIO_CUSTOM_LIKE_4_BIT
LP#=35 Pisr#=112826 lastPR=107586641 ms=38917407 ipCyc%=59.69 S5#=0 51C
LP#=35 Pisr#=112816 lastPR=107586641 ms=38918407 ipCyc%=59.61 S5#=0 51C
Still running this time with only altered code? ? ? - a record 10.8 hours and counting ???
All systems powered and looking right
Morning all,
@defragster - I have not run any tests yet today, but it looks like you have been busy.
When mine was resetting I put my finger on Teensy and VR... and did not feel anything overly warm. That is why I started to think maybe it is the camera setup...
So I started playing with a quick and dirty adapter for converting the HIMAX camera ribbon to something I could probably plug into some test boards setup for the OV7670 camera
which I would prefer to use so far anyway...
As I mentioned yesterday started to do a quick and dirty layout, which is maybe close enough for now to maybe order ones and see what they do...
View attachment 24691View attachment 24692
There are some simple questions, like the first 2x8 pins are the same... The RST/Shutdn don't exist on the ribbon, but the two VRs have an enable pin, so far I have
wired both up to RST pin with PU resistor... Could have gone to Shutdown instead... Added extra 2 pins for TRG/INT In case ever wish to experiment... My current boards don't
have matching pins.
But assuming I do this, would be able to test camera on CSI pins on T4.1...
Well that's good news. Now wondering if your camera is seated good in the 8-bit port of the breakout that might be causing you some of the issues. Remember when I was having problems with the ML carrier, it would work in 4bit mode the giving me headaches in 8bit - problem was that the camera just wasn't seated correctly. That's one of reasons I like that board Kurt is designing or premade ones
Still might be power related though if 4bit actually draw less current.
LP#=35 Pisr#=112816 lastPR=107586641 ms=50789616 ipCyc%=59.48 S5#=0 52C
LP#=35 Pisr#=112750 lastPR=107586503 ms=50790643 ipCyc%=59.65 S5#=0 51C
LP#=34 Pisr#=111448 lastPR=107583841 ms=204745 ipCyc%=59.34 S5#=0 51C
LP#=34 Pisr#=111419 lastPR=107583841 ms=205731 ipCyc%=59.42 S5#=0 52C
HM01B0_FLEXIO_CUSTOM_LIKE_8_BIT
...
LP#=34 Pisr#=111436 lastPR=107583841 ms=123147 ipCyc%=59.40 S5#=0 51C
LP#=34 Pisr#=111514 lastPR=107584021 ms=124159 ipCyc%=59.23 S5#=0 52C
LP#=33 Pisr#=111506 lastPR=107584021 ms=10443269 ipCyc%=59.23 S5#=0 53C
LP#=35 Pisr#=111433 lastPR=107583841 ms=10444281 ipCyc%=59.50 S5#=0 52C
Yeah - was thinking that with that kind of adapter you would be able to do a bit more with on the T4.x
@defragster - sounds like you are having fun testing.
...
LP#=34 Pisr#=111417 lastPR=107583841 ms=6176002 ipCyc%=59.71 S5#=0 52C
LP#=35 Pisr#=111439 lastPR=107583841 ms=6177015 ipCyc%=59.79 S5#=0 53C
LP#=34 Pisr#=111518 lastPR=107584021 ms=1187233 ipCyc%=59.62 S5#=0 53C
LP#=34 Pisr#=111421 lastPR=107583841 ms=1188245 ipCyc%=59.20 S5#=0 53C
setup(){
// ...
while (!Serial) ;
Serial.println("HM01B0 Camera Test");
Serial.println( hmConfig[_hmConfig] );
Serial.println("------------------");
//hm01b0.init();
delay(500);
tft.fillScreen(TFT_BLACK);
setupPR();
showCommandList();
}
void camStart () {
static int runOnce = 1;
if ( runOnce != 1 ) return;
runOnce = 0;
uint16_t ModelID;
ModelID = hm01b0.get_modelid();
// ...
}
@mjs513 - Sounds like you have been busy! At some point may take a look, but math makes my head hurt
Side note: I did order a set of 3 MMOD boards from OSHPark as well as 3 of the Himax to OV7670 adapters...
Will be interesting to see if I can solder any of them
Makes may head hurts as well - thats why I just converted the 3 examples - have no clue how to set it up from scratch but am sure some folks are interested
Cool that you ordered the adapters - should be interesting to see how it works out.
Good Morning all,
@mjs513 - Looks like fun... Downloaded and builds Will have to play later.
The last few days started to do some more needed outside work, and did some mowing, and some hand brush clearing along edge of trails. Lots more to go, as the berry vines want to completely take over, and there are areas where some of the vines appear to grow something like a foot a day.
Plus spending time trying to better understand some Lynxmotion Smart Servos...
Back to playing and infusion of coffee
ldflags=-lm
includes=TensorFlowLite.h
precompiled=full