Last days I had strange problems, it sometimes take very long time to deploy and debug code, I can’t get network to work. Ex If I run the simple “clock” code (MS sample) I get error “ASSERT” on screen when connecting network cable… I have had network working before.
OK, so I did a proper update of firmware, following GHI guide “4. TinyBooter And Firmware Update”.
All went fine with update of TinyBooter and firmware. BUT I still cant use network. **** ASSERT **** is what my screen shows after a few seconds (properly when getting IP address)
So it was working fine before and now it gives these errors?
First, update your network settings using MFDeploy (MAC, static IP address…).
Then test a NETMF example as is. Do you get errors?
What example did you try so we can test it here.
Yes Cobra and network works just fine before, only thing I have add a RFID reader (ID-12) to COM3 but I don’t see how that could affect this.
I have tried to set IP to static and enable DHCP with MFDeploy.
The example I use is “Clock” that comes with .NET Framework. Path: “C:\Users\YourName\Documents\Microsoft .NET Micro Framework 4.1\Samples\Clock”
Clock runs fine, but after a few seconds the app crash and display says with small letters ***** ASSERT ***** No error or hang in Debuger, just crashing the app.
So you have cobra with nothing connected and then you see this error? This is good in a way! Email us your test application so we can run it on our Cobra to see if we get same results
Please let us look into this and get back to you. If there is a problem, it is related to the time service driver. You can use all other networking functionality.
Yes I did the E command when updating Firmware. I now power Cobra with USB and a 6V power supply.
Actually the Time example kind of work… Now the app freeze for 30 sec when calling “TimeService.UpdateNow” then I get the black screen with *** ASSERT ***, but after 30 seconds the app resume and display new time. (before I pull the plug when ASSERT was displayed)
So in a way it works but take way to long time…
Do you have any code example I can try on my Cobra for further tests?
There is a problem in the time service driver. You can use other networking functionalities. Try the client, server,http examples…etc
If time synch is a must, I think it can be done easily in C#.
Please make a new thread for other problems.
Make sure nothing is connected to the Cobra not even ethernet cable and do not put any software on it. Let it sit for 30 minutes. Does it get hot?