Hello. By the first, sorry for my english.
My modem is m1306b, and the Hello_world example works normally in both modes.
But my program based on the Duplex_data and using UART1 flow control works normally in RTE mode, but in Target there is a problem. I download the program using Hiperterminal, and it looks like:
The last some strings comes in a 1-2 minutes after the befores. And there is no more action, but should be, and it answeres on AT-comands, but shouldn’t…
Does anybody knows, what the problem is?
Thank you.
I expect the program to send some trace and AT messages (like in a “Hello_world” example, which works normally). And then modem should switch to DATA mode, and as a result it shouldn’t answer AT-comands…
Sure, somewhere I read, that if the application works before I download and type CFUN=1 command to reset - the new application should run automatically.
So, anyway I tryed different variants, also with using AT+WOPEN=1 command, but get old situation: “Hello_world” downloads and works normally, but my program not
Download Over The Air (a slight misnomer, as it can also be done over any available interface!)
See the section “Application & Data Storage” in the ADL User Guide.
With DOTA, once you’ve downloaded your application, you install it with adl_adInstall - and that does cause the unit to reboot and automatoically start the new application.
Perhaps you saw that, and assumed (incorrectly, as it turns out) that it also applied to downloads using AT+WDWL ?
It’s interest, but no. I don’t use such commands as “adl_adInstall”
By the way, I found, that my program, based on “sms_automaton” example also works only in RTE mode!..
Similar in these two programs is that its sources contained two files: Main.c (which contained function ma_LoadApplication() ) and one_more_file.c May it cause my problem?..
Well I’ll try now to rewrite my program in one file…
Thank you!!! And I’m a fool. I really forgot about AT+DATASTART=1 command, which is needed in my applycation!
Hm… But if I’m not mistaken I didn’t use this command in RTE mode too… Strange. But it works and ok!