Okay, so I’m finally getting around to trying out more of the modules I bought during the Christmas sale (since taylorza helped me resolve the issues I had with the hub and motor driver)
Now I’m trying very very basic things, and failing miserably again
First, I tried just capturing images from the SerialCameraL1 Module, and displaying the images on the t43 module.
This was a disaster. Just having the T43 module connected caused the raptor (and then the hydra) to reboot frequently.
I checked the current draw, and most of the time it would max out around 420mA, but sometimes it would go up to 610-620 mA. (all I have attached to the raptor is the t43 module, serialcamera and usbclientdp)
So I suspect I simply cant use the t43 module if I am debugging via standard (500ma) USB port.
But even trying to deploy code to use it without the display module attached, then attaching the t43, then switching power to a 2.1A USB Battery, it still seemed to be rebooting.
Ive tried other USB ports just in case, but no difference. Ive also tried other power modules (usbDP and usbSP both). Ive tried other USB cables. Ive tried changing Sockets. Ivew tried powering the usbDP with just USB, with just the DC connector, and with both.
The docs for ther T43 and n18 are a little muddled - the first set is marked “Obsolete” and the 2nd set talks about needing to configure the display prior to use.
Ive tried using fez config, however this is problematic because of the reboots when connected to my PC. Also, a note says that configurations written by fez config are overwritten and lost on program execution anyway…
There is an example showing how to configure in code, but this example uses namespaces (GHI.Processor) that I cant resolve… So “Display.Populate()” is not found. I suspect this is also outdated/obsolete documentation. Is there anything up to date? or am I missing something? Is this necessary?
So I moved onto the N18 module (less power, seemingly no need to configure?)
Now I notice that the serialcameral1 module seems to be unpredictable as to if it ever has NewImageReady=true. I’ve gone through as many posts in the forum as I can find, and tried every suggestion I could find, and even the ones that seem to fix the problems for others seem to fail for me.
When I am occasionally able to get an image from the sercam, if I try to display it on the N18 module, I get either an exception, or a screen full of multicolor static snow. I cant find any documentation about scaling or cropping the image…
Combine this with the fact that when I deploy from visual studio, half the time it fails, and only eventually succeeds by plugging/unplugging/fingers crossing…this is with both the raptor, and the Hydra (although it is much worse with the hydra+)
Im thinking there -has- to be something obvious, some single root cause for all of my issues.
As far as I can tell, I have the latest software/firmware for everything,
GHI Elections NetMF SDK 2014.5.0.0 (R5)
NetMF Gadgeteer Core 2.43.10000.0
NetMF SDK 4.3 (SDK-R2-Beta) (4.3.2)
Visual Studio 2012 Professional Update 4
(And Visual Studio 2013 Professional Update 4)
So I have some basic questions, to see if I am missing something:
1: All of these things are supposed to work with the latest SW right? NetMF 4.3 is tested, and not some sort of unstable beta that people are just now trying out, right? Most people can get it to work normally, right?
2: How do you use display modules with the raptor/hyrdra, etc? DO you need to configure with Fez Config? Do you need to pre-configure and save this configuration in code? Does it matter? Why does the sample the web site directs us to, at https://www.ghielectronics.com/docs/34/graphics, not compile? “using GHI.Processor?” “Display.Populate()?”
3: Has anyone been able to use the T43 module on a raptor? On a standard 500mA usb port?
4: has anyone been able to get the SerialCameraL1 module to stream images reliably?
5: Are there more complete documents anywhere? Is there a recent/working example of code showing streaming from a serialcameraL1 to a display module (N18, T43?) I found a thread with fragments, and someone “demanding” a response, and understandable reactions to that, but even the supplied responses refer to older APIs, and wont compile on the recent/latest software. Also, SetRatio is documented as “sets the ratio” - but I still cant discover what ratio is being talked about. The samples shown in the “developers guide” compile, but even with the 100ms timer, “newImageReady” never (or extremely rarely) becomes true.
6: All of this struggling has taken a toll on my confidence as an embedded engineer. Why cant I get -any- of these things to work reliably? I’m a former Sr Microsoft engineer, I’ve been using Visual Studio since 1.0, .Net since it came our. I’ve written NetMF device drivers for my own commercial hardware (RFID devices)…I’ve been employed as an embedded firmware engineer for the past 10+ years… I’m a big fan of NetMF - but I cant get the serial camera or display modules to work.
Maybe I should pack it in and become a tomato farmer.