Page 1 of 2

WiFi Card & GPS Card on same Motherboard

Posted: Mon Mar 16, 2015 8:05 pm
by Echow
Hello everybody ! (Sorry for my bad english, I'm french. But I think I've more chance to find an answer here ! :) )

Here's my problem :

I work in class on a project which lead me to the e-Block card. Basically I build a "Watter scanner" which have to be able to do some measure (pH, temperature...) and to send them to my Laptop. To do this I use a Sensor Interface Card (I've no problem with it ^^) and a WiFi card (no problem either !). The problems is I want to localize my measure, so to do this I bought the GPS card. Actually I'm using a pic 16F877A and I didn't find any solutions to connect at the same time my WiFi card and GPS card (when I read the Datasheet I need to connect both card on C port...).

Even if I managed to solve this problem, my 16F877A has not enough space to store all my program (280% use...), because of the GPS and ADC macros which are really fat :(

I though about two solutions :
- Using two motherboard and make them communicate on my "Watter Scanner", one with GPS card, the other with WiFi card.
- Buy a new Pic Micro that would able me to solve my problems (I have no idea what to choose, I though about a 32 bits one... Help me !)

If someone could help me, give me another solution or say me what pic I need to buy I would be really greatfull.

Thanks !

Re: WiFi Card & GPS Card on same Motherboard

Posted: Tue Mar 17, 2015 12:00 pm
by Benj
Hello,

Here are some chips which are pin compatible with the 16F877A, have two on-board UART peripherals and additional memory.

16F1946, 16F1947

Re: WiFi Card & GPS Card on same Motherboard

Posted: Thu Mar 19, 2015 3:32 pm
by Echow
Thank you for this quick answer !
I looked at these two pics but it seems they are 64 pins and I only have 40 on my Eblock motherboard... (EB006)

Re: WiFi Card & GPS Card on same Motherboard

Posted: Tue Mar 24, 2015 6:53 pm
by Echow
Do someone have an idea ? I'm running out of time, and I looked all other the web, I found this chip :
http://www.microchip.com/wwwproducts/De ... PIC16F1719

Which doesn't have double UART but which has a lot more memory (I'll try to use the patch system to use UART on both card on only Port C)
But Flowcode doesn't take it...

Help ! :(

Re: WiFi Card & GPS Card on same Motherboard

Posted: Wed Mar 25, 2015 12:11 pm
by Benj
Sorry I thought those chips were also available in DILs but obviously not.

Maybe this chip would work: PIC18F23K22

You would need the latest version of mLoader and maybe also to upgrade the firmware on your EB006.

As a second option what about moving to our ECIO40P16 device on an EB061 Application board? This device features 4 UARTs.

Maybe there is an add on E-block we can create that does something like convert SPI into multiple UARTs?

Re: WiFi Card & GPS Card on same Motherboard

Posted: Wed Apr 01, 2015 4:23 pm
by Echow
No problem man ^^

I think I will buy the ECIO40P16 and its application board, I just wanted to be sure that I'll be able to use my E-Block GPS, Wifi, Sensors, relay cards on it ^^ (I don't want to waste money...)
I use Flowcode v6 to program my current EB006, I won't have any problem with it ?

Thanks again, I'll command this when you'll say me it's okay ^^

Re: WiFi Card & GPS Card on same Motherboard

Posted: Thu Apr 02, 2015 11:02 am
by Benj
I don't think you will have any problems with the ECIO40P16, hopefully any bugs have now been discovered and fixed. I have used it in a few project so far as have a few of our customers so I am fairly confident you should be fine to proceed.

One potential problem may be that you need the dsPIC/PIC24 chip pack as this device is not included in the PIC chip pack.

Any problems then please let us know and we will investigate.

Re: WiFi Card & GPS Card on same Motherboard

Posted: Sat Apr 11, 2015 3:05 pm
by Echow
Hi, I just received my ECIO40P16 !

I just have a problem, on my "Home" computer, which use Windows 7, mLoader works and I can use the bootloader of the ECIO to send program !
On my laptop, mLoader doesn't worh, it is a Windows 8.1 :
- First the program says : "USB is not open"
- Then I have an other window wwith Runtime error!

Do you have any solutions to fix this problem ? Cause I really need to be able to travel and to program my ECIO on my laptop...

Re: WiFi Card & GPS Card on same Motherboard

Posted: Sat Apr 11, 2015 9:29 pm
by Echow
Well I started to work on my home computer, and I fell on a very strange problem...

When I do a very basic program like turn on some Port, everything is okya ! :D
But when I add WLAN EB061 to my project and I only put the macro 'Initialize' in the algorythm. Well, when I try to compile I got a lot of warning and errors :

Flowcode4.c:219: error: conflicting types for 'FCD_01521_WLAN1__SendHTMLString'
SAFE.c:162: error: previous declaration of 'FCD_01521_WLAN1__SendHTMLString' was here

I checked the C file and the 'FCD_01521_WLAN1__SendHTMLString' is defined 4 times one after the other...

I guess the problem comes from the C creator (I don't know the official name ^^), I'm running Flowcode V6.1.1.0.

Any ideas ? ^^

Re: WiFi Card & GPS Card on same Motherboard

Posted: Sat Apr 11, 2015 10:09 pm
by kersing
This is a known issue with the WLAN component. The code generated by Flowcode for this component is not correct. Matrix TSL will need to provide an updated component to solve this issue.

Re: WiFi Card & GPS Card on same Motherboard

Posted: Sun Apr 12, 2015 3:42 pm
by Echow
Ohhh.. And is there any way to fix this ? :/ I kind of really need this...
I asked if I wouldn't have any problems exactly for this, and I fall on an huge problem, 110€ spent for nothing...

Re: WiFi Card & GPS Card on same Motherboard

Posted: Sun Apr 12, 2015 5:54 pm
by kersing
For Matrix it is a 15 minute fix. As we (users) do not have the source for the component we can not fix it.

You did not spend your money for nothing, I expect a solution to be available in a few days.

Re: WiFi Card & GPS Card on same Motherboard

Posted: Sun Apr 12, 2015 6:41 pm
by Echow
Okay I hope they will fix it fast then ^^ Cause I'm running out of time !
Thank you for your answer ! :D

Re: WiFi Card & GPS Card on same Motherboard

Posted: Mon Apr 13, 2015 10:35 am
by Benj
Hello,

What version of Flowcode are you using? I've just tried this here and it is working ok for me so may already have been fixed.

The file needs to be copied here "C:\Program Files (x86)\Flowcode 6\components"
WLAN.fcpx
(22.35 KiB) Downloaded 478 times

Re: WiFi Card & GPS Card on same Motherboard

Posted: Mon Apr 13, 2015 4:31 pm
by Echow
I'm using Flowcode v6.1.1.0.
Your fix worked ! Thanks a lot !!! :D

Do you have any idea for mLoader on Windows 8.1 ?

Re: WiFi Card & GPS Card on same Motherboard

Posted: Tue Apr 14, 2015 5:16 pm
by Benj
Hello,

Regarding Windows 8.1 please can you try this latest version of mLoader available from here and see how you get on.

http://www.matrixtsl.com/resources/getr ... php?id=884

If your using mLoader with Flowcode then you can simply overwrite the mLoader version in the following directory with the latest files: "C:\Program Files (x86)\Flowcode 6\tools\mLoader"

Re: WiFi Card & GPS Card on same Motherboard

Posted: Tue Apr 14, 2015 5:31 pm
by Echow
I already had the newest version, I download your's just to be sure and I still have my problem...
Here is the error I get :
Capture.PNG
(15.17 KiB) Downloaded 13941 times
Capture2.PNG
(14.49 KiB) Downloaded 13941 times

Re: WiFi Card & GPS Card on same Motherboard

Posted: Tue Apr 14, 2015 5:53 pm
by kersing
Do you have any other HID USB devices connected? I've seen issues with leap motion devices and Fitbit Bluetooth dongles connected.

Re: WiFi Card & GPS Card on same Motherboard

Posted: Tue Apr 14, 2015 5:59 pm
by Echow
No it my ECIO is the only USB I have on my laptop... I have a Lenovo Yoga 2, maybe one of the Lenovo software block mLoader ?

Re: WiFi Card & GPS Card on same Motherboard

Posted: Wed Apr 15, 2015 12:54 pm
by Benj
Hello,

We are looking into the problem for you now.

Re: WiFi Card & GPS Card on same Motherboard

Posted: Wed Apr 15, 2015 1:32 pm
by Steve
Hi Echow,

The VID/PID in your screenshot is not our device (ours is VID_12BF & PID_00E1) and so there is another piece of hardware interfering with ours. Do you know what it could be?

Unplugging this other device (temporarily) should allow you to send the program to our ECIO device.

I have an idea of a more permanent fix for mLoader to avoid this issue altogether, but it might take a little longer to implement.

With regards,
Steve.

Re: WiFi Card & GPS Card on same Motherboard

Posted: Sun Apr 19, 2015 8:19 am
by Echow
Hello,

I found out what is the piece of hardware which interfering with the ECIO is the "Collection de capteur HID" in french, which means all the sensors which allow my laptop to adapt the luminosity of the screen, to rotate it automaticly... So this hardware is obvioulsy inside my laptop, I'll try to find out how disable it temporarly !

Re: WiFi Card & GPS Card on same Motherboard

Posted: Sun Apr 19, 2015 8:28 am
by Echow
I founf it out !!!! I went to my drivers configuration and simply found "Collection des capteurs HID", I disabled it, and it works perfectly !
Thank you so much for helping me guys, I'm very thankful :D

Re: WiFi Card & GPS Card on same Motherboard

Posted: Sun Apr 19, 2015 10:44 am
by kersing
I'm glad you found a way forward. I've created a bug report for mLoader hoping Matrix will be able to solve this in the near future.

Re: WiFi Card & GPS Card on same Motherboard

Posted: Mon Apr 27, 2015 11:25 am
by Benj
Hello,

We have now hopefully rectified the problem.

Echow, please can you try this latest version of our mLoader software with the "Collection des capteurs HID" device re-enabled.

If you want to update the mLoader version in Flowcode 6 then you can do so by extracting the files here "C:\Program Files (x86)\Flowcode 6\tools\mLoader"

Let us know how you get on and if this resolves the issue you were having with the last version.