I am new to the Fez and to the MS Micro framework.
I have been able to run the simple console and blinky applications, however when I try to run a project with a few more assemblies (e.g the USB host demo) the program exits without reaching Main():
“The program ‘[6] Micro Framework application: Managed’ has exited with code 0 (0x0).”
This happens even if I run a working blinky project, and add a couple of assemblies that I don’t need (without even changing the code). It doesn’t appear to be a specific assembly causing the problem. It looks like some sort of memory problem, but the programs are actually pretty tiny.
I am not sure why many are missing the firmware update step! There is a large red alert pointing this out and we make it very clear in the “first power up” video.
The good news is that the production release is out now and all FEZ devices are now shipping with the productions release so there is no need for firmware update…for the next few months at least
Ok, that’ll teach me to dive forward before reading the (not so) fine print. It’s working now. Thanks for taking the time to answer such a dumb question.
You are not the only one to miss it so this i snot a dumb problem at all. We are trying to see how can we come around this so it is more clear to new users
It’s not an error, it means that your program has finished running the main() method. If you are doing something where you subscribed to USB events and don’t do anything more in main(), you need to add Thread.Sleep(timeout.infinite); to the end of the method, after your USB subscription code.
I’ve got an idea to help make people remember to do their firmware updates.
In the signup for the forum, put a checkbox next to a big red alert image that says “I’ve updated my firmware and I’m not going to ask a question about a “problem” that is caused by me not updating my firmware” and a link to the video.
At least it’s the right point in time when people are thinking about their error and are signing up going to ask that question
I think that there to many different descriptions on how to get started. There are two different pdf’s and at least one video, maybe more? And when I set up my board I got the firmware update right, but missed the information regarding inclusion of assemblies, which I think differ a bit between these documents.
One way to solve the problem could be to ship the boards without firmware.