WinCE8 - Adding WiFi support for the iMX6 board based on LM006 USB - Need help

Hello support!
Please help to add a support for LM006 USB WiFi under WinCE8 for Colibri iMX6 board properly.
So far I was able to:

  1. New image, using WinCE8 BSP and Workspace is created. In the new image everything left by default (as in workspace).

  2. The following was added to image:

  3. Device Drivers/Networking/Realtek8188CU ← this driver should be okay for LM006 USB WiFi module

  4. Communication Services and Networking/Networking Local Area Network/Wirelss LAN 802.11 STA ← this should add a WiFi control panel to image

  5. In VS2015 Build/Advanced Build Commands/Clean Sysgen ← building new image
    and after that Build/Make Runtime image

  6. Copied new image file NK.bin using SD card to Colibri iMX6

Image starts up okay. After connecting of the USB WiFi module it recognized and driver correctly set for it.

Problems:

  • In control panel there is no WiFi connectivity icon added!
  • In Windows folder there are few files related to WiFi added (WiFiCpl.exe, wlanext.exe)
    After starting up WiFiSpl.exe I am getting WiFi connectivity display and I can see WiFi networks which are available for connection in my area
    Whenever I attempt to choose any network from the list module immediately restarts.

Tried many times to recreate image and it happens each time.
Also there is no Network icon for LAN network (Ethernet) in the Windows taskbar in the bottom right side - why ?
What do I do wrong ?

Below is the info from debug until WiFI network is selected and module reboot itself.

IMAGE(CE8): 1.0 BETA 6
Colibri iMX6 DualLite 512MB
SMP support enabled
Detected 2 CPUs
Waiting for 2 CPUs
CPU0 is started
CPU1 is started
PID:00400003 TID:00560002 Registry - loading version 2 from 17920.
PID:00400003 TID:00560002 Registry - loading version 2 from 17920.
PID:00400003 TID:00560002 Registry - loading version 2 from 17920.
PID:00400002 TID:00B1004A Port is used for OS debug!
PID:00400002 TID:00B1004A DllMain(): DEBUGMSG LLTD dll attach.
PID:00400002 TID:00B1004A DllMain RETAILMSG RSPNDR_DLL_PROCESS_ATTACH…PID:00400002 TID:00B1004A RSPNDR_Init… wm7 PID:00400002 TID:00B1004A +++ TopEnableRspndrPolicyCallback: NdisRegisterProtocolDriver Status : 0 PID:00400003 TID:00B1004A RSPNDR_Init: DriverEntry succeeded.PID:00400002 TID:00B1004A Waiting for flash disk \FlashDisk for 60 seconds
PID:00400002 TID:00B1004A Folder mounted
PID:01D3004A TID:00B1004A DOT11MSM: End Initializing Security with status: !status!
PID:00400003 TID:00B1004A GALCORE 4.6.9(9754) (Sep 19 2014 12:04:16)
PID:00400002 TID:00B1004A Major GPU: SysIntr=30 MemBases=0x130000 MMU Version=0
PID:00400002 TID:00B1004A 2D GPU: SysIntr=31 MemBases=0x134000 MMU Version=0
PID:00400002 TID:00B1004A VG GPU: SysIntr=32 MemBases=0x2204000
PID:00400002 TID:00B1004A Video memory: BaseAddress=0x0 PhysBase=0x2548a000 size=0x3000000 physSize=0x0
PID:00400003 TID:047E0042 DI Clock source from PLL5 PixelClock=25175000 ClkDiv=8,ClkSrcFreq=805600000
PID:00400003 TID:047E0042 freq: 805600000 - pre_div_rate:805600000 - parent_rate: 24000000 - div: 33 - mfn: 566666 - mfd: 1000000 - extradiv 1
PID:00400002 TID:047E0042 PLL video - 0001100c - MISC2 - 3f676767
PID:00400002 TID:047E0042 PLL video - 0001100c - MISC2 - 3f676767
PID:00400002 TID:047E0042 Maximum Allowed Error 5:
PID:00400002 TID:00560002 SoftRTC disabled
PID:0207001F TID:0291001A RTC Time restored (28.03.2016 00:59:39)
PID:0207001E TID:0291001A RTCSync: Completed.
PID:06060002 TID:06080002 Desktop Window QI, Unknown interfacePID:06060002 TID:06080002 Desktop Window QI, Unknown interfacePID:06060002 TID:07B8000E Explorer(V2.0) taskbar thread started.
PID:07AD001E TID:07BD001E RTC Time set (28.03.2016 00:59:43)
PID:07AD001E TID:07BD001E RTCSync: Completed.
PID:07BB003A TID:0791003A ERROR: indent=0
PID:07BB003A TID:0791003A -----[ EXECUTION STATISTICS for FRONT-END COMPILER ]-----
PID:07BB003A TID:0791003A Time : 31.517758 ms
PID:07BB003A TID:0791003A -----[ MEMORY STATISTICS for FRONT-END COMPILER ]-----
PID:07BB003B TID:0791003A Allocation count : 0 for 0 bytes
PID:07BB003B TID:0791003A Maximum allocation : 0 bytes
PID:07BB003B TID:0791003A Free count : 0 for 0 bytes
PID:07BB003A TID:0791003A -----[ EXECUTION STATISTICS for FRONT-END COMPILER ]-----
PID:07BB003A TID:0791003A Time : 33.611591 ms
PID:07BB003B TID:0791003A -----[ MEMORY STATISTICS for FRONT-END COMPILER ]-----
PID:07BB003A TID:0791003A Allocation count : 0 for 0 bytes
PID:07BB003A TID:0791003A Maximum allocation : 0 bytes
PID:07BB003A TID:0791003A Free count : 0 for 0 bytes
PID:07BB003A TID:0791003A -----[ EXECUTION STATISTICS for BACK-END LINKER ]-----
PID:07BB003A TID:0791003A Time : 3.478273 ms
PID:07BB003A TID:0791003A -----[ MEMORY STATISTICS for BACK-END LINKER ]-----
PID:07BB003A TID:0791003A Allocation count : 0 for 0 bytes
PID:07BB003A TID:0791003A Maximum allocation : 0 bytes
PID:07BB003A TID:0791003A Free count : 0 for 0 bytes

Support, can you please answer with some details:

What needs to be done in order to add the WiFi LM006 donlge purchased from your company to the Workspace for WinCE2013 provided by your company for Colibrin iMX6 module ?
We really need to get proper WiFi support but so far no matter what we do as soon as we select WiFi network in WinCE2013 image which we build with your BSP and Workspace the module reboots.

Please answer this question and provide some guidance. This is very important moment which I hope you may help to your customers with.
Thank you,
Vlad

I built an image with the same components you selected.
When I connect the LM006 or when I boot my device with the module inserted the system shows the dialog box that allows me to connect to a wi-fi lan. I was able to connect with no reboot using our EVB. What board are you using for testing? It may be an issue with power supply that fails when the USB wi-fi adapter starts to drain more current, but this is just an hypotesys.
You should also be able to see the new connection in the network applet inside control panel and configure it there.
Here:
https://share.toradex.com/7p53kr64xlqrz68
you can find an image that includes the driver (it’s a temporary test image I quickly generated, so it may have other issues), you can use it to test if it behaves differently from the one you built.
If it does and if that is not an issue for you, you may upload your own nk.bin on share.toradex.com so I can compare it with the one I have to try to find differences.
Our build system is updated to january 2016 release of WEC2013.

Sorry for the delay in my reply, it took some time to build a test image.

Thank you for your answer,
I was trying to download this quick image but unfortunately your link does not work anymore.
Can I ask you to repost this image in new link again for me ?
I would like to test your image and see if WiFi works okay there. In case if I compare and find that our image behaves differently I will upload our image and will ask your help,
Thank you,
Vlad

Please repost this image again. Your link does not work.
Thank you very much.

Here’s a new link, sorry for the issue

download

Please consider that this image is provided only for debugging, don’t use this an official release.

Thank you. Your link does not work. Tried on two different machines, both give a white (blank) page once clicked. Used Explorer and Chrome browsers. Can you please check and repost the link which is functional?

Sorry, there was an issue attaching the URL.
This
https://share.toradex.com/usg9l2b93ssos34
address should work (you’ve to copy and paste it manually on some browsers).

Valter, this link DOES NOT work either.
Link opens another window with Download button however after pressing on it there is again white (blank) window and no option to download or get file.
We have tested it from 3 different PCs in our office under Chrome and Internet Explorer - all failed to download.
Can you PLEASE verify the link and post the one which works ? Please simply click on it and make sure that you can download this file.
I hope we can get this file downloaded as we already trying it for almost a week with no luck.
Thank you
Vlad

Valter, this link DOES NOT work either. Link opens another window with Download button however after pressing on it there is again white (blank) window and no option to download or get file. We have tested it from 3 different PCs in our office under Chrome and Internet Explorer - all failed to download. Can you PLEASE verify the link and post the one which works ? Please simply click on it and make sure that you can download this file. I hope we can get this file downloaded as we already trying it for almost a week with no luck. Thank you Vlad

Any updates on this please ?
So far your link, after pressing the download button, points to this link:
https://share.toradex.com/upload/downloadFile?key=usg9l2b93ssos34
This link opens a blank page in all known to me internet browsers, so I assume this is not the issue with the browser but at your server side.

Sorry, I tried the link after the upload and it was working.
I’m currently out of office with a very limited internet connection.
I’ll try to upload the file as soon as possible.

Hi Vinzer,

We built an image with the same components you selected and verified LM006 WiFi works on our evaluation board with iMX6 module. Please download the test image from here.
Please let me know is this works for you?

Hello Raja,

Thank you very much! Now we were able successfully download the image. We will do the test of the image in order to see the results of WiFi functionality.
I will write back tomorrow once test is done.

Thank you,
Vlad

Good day!
We have tested your image and I can confirm that with use of Colibri iMX6 board we were able to communicate with WiFi dongle properly. WiFi connection was correctly established and no glitches similar to what we experiencing with our own image built from your Workspace (provided with the original image) are found.

Support, please share your Workspace files which were used for this particular image build.
We want to try to use your workspace project with BSP which provided for Colibri iMX6 board in order to achieve same result of proper WiFi functionality.

Please download the workspace from here. Please note, this workspace is provided “as-is” and we don’t provide any special support for it.