GSM does not respond Flowcode V5

For questions and comments on programming in general. And for any items that don't fit into the forums below.

Moderators: Benj, Mods

Post Reply
waligator
Posts: 36
Joined: Mon Mar 12, 2012 9:14 pm
Has thanked: 5 times
Been thanked: 7 times
Contact:

GSM does not respond Flowcode V5

Post by waligator »

Hello,
Sorry for the English translation

GSM functions no longer work on version 5 of Flowcode.
Ex: Macro Initialize always return 255. I view the tranfer between the PIC and the GSM, the command is passed but nothing in return.
No problems with the V4 :? .
Pic: 16F1936, RTS = PORTC-2, CTS = PORTC-5.

Can you help me. thank you
Steve

User avatar
DavidA
Matrix Staff
Posts: 1076
Joined: Fri Apr 23, 2010 2:18 pm
Location: Matrix Multimedia Ltd
Has thanked: 58 times
Been thanked: 258 times
Contact:

Re: GSM does not respond Flowcode V5

Post by DavidA »

Hi,

Did you have any customised code in your V4 program? Have you tried creating a new project with a GSM module and does it still return 255?

waligator
Posts: 36
Joined: Mon Mar 12, 2012 9:14 pm
Has thanked: 5 times
Been thanked: 7 times
Contact:

Re: GSM does not respond Flowcode V5

Post by waligator »

Hi

No, I used macros without change. Yes, I created a new project in V5.
When I DISCONNECTED PIC, GSM returns "OK" on my sniffer. As if the PIC be blocked.

User avatar
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: GSM does not respond Flowcode V5

Post by Benj »

Hello,

Please can you post up your v5 program and I will look into this for you.

waligator
Posts: 36
Joined: Mon Mar 12, 2012 9:14 pm
Has thanked: 5 times
Been thanked: 7 times
Contact:

Re: GSM does not respond Flowcode V5

Post by waligator »

Hello,

It's just a piece of code to test my GSM.
thank you for your help.
Attachments
GSM test2 V5.fcf
(8.5 KiB) Downloaded 472 times

waligator
Posts: 36
Joined: Mon Mar 12, 2012 9:14 pm
Has thanked: 5 times
Been thanked: 7 times
Contact:

Re: GSM does not respond Flowcode V5

Post by waligator »

hello,

I analyzed the dialogue on the serial port.

Flowcode V4: AT+CMGF=1<CR><CR><LF>OK<CR><LF> :D
Flowcode V5: AT+CMGF=1<CR> :(

Thank you for your help

waligator
Posts: 36
Joined: Mon Mar 12, 2012 9:14 pm
Has thanked: 5 times
Been thanked: 7 times
Contact:

Re: GSM does not respond Flowcode V5

Post by waligator »

Hello,

No solutions to my problem? Or is this a bad configuration on my part?
The problem is the same with other commands. Ex: AT + CSQ, ........ No return of GSM

User avatar
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: GSM does not respond Flowcode V5

Post by Benj »

Hello,

What version of Flowcode v5 are you using? If you are not using v5.1 then I would recommend upgrading to this.

I have tested your program here and it seems to be working well though my component code is slightly updated.

If your still having problems using v5.1 then let me know and I will send you the updated files.

Flowcode should always send this.
AT+CMGF=1<CR>

A valid response from the module then looks like this.
AT+CMGF=1<CR><CR><LF>OK<CR><LF>

waligator
Posts: 36
Joined: Mon Mar 12, 2012 9:14 pm
Has thanked: 5 times
Been thanked: 7 times
Contact:

Re: GSM does not respond Flowcode V5

Post by waligator »

The version of Flowcode (about tab): Pro version V5.1.0.0 (02/10/2012). But when I click "view updates" page indicates Matrix: Your current version is: 5.01
Your version of Flowcode_PIC is up to date. ???

Yes, Flowcode sending AT+CMGF=1<CR>. But I never receive a response from the GSM

User avatar
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: GSM does not respond Flowcode V5

Post by Benj »

Right here are the current files I am using.

Please note that unless you are experiencing problems with a UART component in v5 I would advise to wait for the official update to ensure we do not break any of the other UART components.

Cal file goes into "Flowcode/v5/CAL/PIC"
PIC_CAL_UART.c
(19.85 KiB) Downloaded 379 times
Component file goes into "Flowcode/v5/Components"
FC5_PIC_GSM.c
(22.13 KiB) Downloaded 408 times
Might be worth testing the component with flow control disabled before you try switching the files.

waligator
Posts: 36
Joined: Mon Mar 12, 2012 9:14 pm
Has thanked: 5 times
Been thanked: 7 times
Contact:

Re: GSM does not respond Flowcode V5

Post by waligator »

Hello Benj,

Thank you for the files.

I also had to disable flow control on my GSM module (Wavecom) and now all my projects running again. :D

So the function of flow control with V5 is not supported?

Again thank you for your advice :)

Steve

Post Reply