Dear friends~ I got a EB066 GSM block yesterday, and plug to my pervious EB006 with 16F1937 on board multiprogrammer. I followed the factory test routine to connect them, not transfer the GSM.hex to EB006, but transfer the phone_04.fcf by Flowcode-V5 to EB006.
However, the GSM block seems dose not work all the time (The led on EB066 never flash, but I acturally can hear a sound from the head set, which like 'mi fa so' musical notes). That is the problem I met.
what should I do, please help me. next week is the due of my midterm report of FYP, with many thanks.
Connection problem with EB066
-
- Posts: 9
- Joined: Tue Oct 21, 2014 7:09 am
- Been thanked: 1 time
- Contact:
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Connection problem with EB066
Hello,
The latest EB066 boards will not flash the LED by default, you must send this AT command in your program to start the LED flashing.
AT#SLED=2
Here is our test routine for the board which contains the LED flash command.
Let us know how you get on.
The latest EB066 boards will not flash the LED by default, you must send this AT command in your program to start the LED flashing.
AT#SLED=2
Here is our test routine for the board which contains the LED flash command.
Let us know how you get on.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 9
- Joined: Tue Oct 21, 2014 7:09 am
- Been thanked: 1 time
- Contact:
Re: Connection problem with EB066
Dear Benj
I am sorry. I think the GSM_Test2.fcf you send to me does not solve my problem.
If I use Flowcode V5 to compile and transfer it to chip, result shows that:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% program memory check failed %
% (NOTE: if the PIC is code-protected, this message will be %
% displayed even if the program has been sent correctly) %
% That took 13.369 seconds %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
But actually, I did disable the code-protected in PPP
If I use Flowcode V6 to compile and transfer it to chip, result turns:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% GSM_Test2_v6.c : 1 : error : Too few parameters: v5__gsm0::ReadString %
% GSM_Test2_v6.c : 2046 : error : Too few parameters: v5__gsm0::ReadString %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Below it the components I have, as well as the connection. Hope you can help me to check that's wrong with my operation or programming setting.
Components:
1. EB-006-00-8, 16F1937 (USB power supply);
2. EB014-00-1 (PORT D);
3. EB066-00-2 (PORT C);
4. EB-005-00-3 (PORT B);
(actually, I have a EB066-00-1, which working correctly, but receiver can not hear what I said during voice call connection. so, I want use EB006-00-2);
Connection:
+V on EB-006-00-8 to +V of LCD and GSM;
+14V to VPWR of GSM;
I am sorry. I think the GSM_Test2.fcf you send to me does not solve my problem.
If I use Flowcode V5 to compile and transfer it to chip, result shows that:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% program memory check failed %
% (NOTE: if the PIC is code-protected, this message will be %
% displayed even if the program has been sent correctly) %
% That took 13.369 seconds %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
But actually, I did disable the code-protected in PPP
If I use Flowcode V6 to compile and transfer it to chip, result turns:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% GSM_Test2_v6.c : 1 : error : Too few parameters: v5__gsm0::ReadString %
% GSM_Test2_v6.c : 2046 : error : Too few parameters: v5__gsm0::ReadString %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Below it the components I have, as well as the connection. Hope you can help me to check that's wrong with my operation or programming setting.
Components:
1. EB-006-00-8, 16F1937 (USB power supply);
2. EB014-00-1 (PORT D);
3. EB066-00-2 (PORT C);
4. EB-005-00-3 (PORT B);
(actually, I have a EB066-00-1, which working correctly, but receiver can not hear what I said during voice call connection. so, I want use EB006-00-2);
Connection:
+V on EB-006-00-8 to +V of LCD and GSM;
+14V to VPWR of GSM;
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Connection problem with EB066
Hello,
The program was setup for a 16F877A chip so I have changed it to a 16F1937 for you now which is why you are getting the memory check errors. Hopefully the v5 program should now work and the v6 program will need a slight change to add the missing parameter to overcome the compile error.
The program was setup for a 16F877A chip so I have changed it to a 16F1937 for you now which is why you are getting the memory check errors. Hopefully the v5 program should now work and the v6 program will need a slight change to add the missing parameter to overcome the compile error.
- Attachments
-
- GSM_Test2.fcf
- (39.75 KiB) Downloaded 377 times
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 9
- Joined: Tue Oct 21, 2014 7:09 am
- Been thanked: 1 time
- Contact:
Re: Connection problem with EB066
Dear Benj
thanks a lot and sorry for reply so late, and may interrupt your holiday. now Flowcode v5 can compile and transfer GSM_Test2.fcf to chip with no question, but the LCD keep display just like following figure. (After display 'starting' string)
I cannot fully understand all the flowcharts in your file, and also don't know my new GSM board can work or not. I can ensure my SIM card is suitble, beacuse it can work on EB066-1. because I only have 16F1937, so the official test routine is not help, want can i do now?
thanks a lot and sorry for reply so late, and may interrupt your holiday. now Flowcode v5 can compile and transfer GSM_Test2.fcf to chip with no question, but the LCD keep display just like following figure. (After display 'starting' string)
I cannot fully understand all the flowcharts in your file, and also don't know my new GSM board can work or not. I can ensure my SIM card is suitble, beacuse it can work on EB066-1. because I only have 16F1937, so the official test routine is not help, want can i do now?