Did it download correctly?
Did you remember to start the Open-AT Application?
AT+WOPEN=1
Did it download correctly?
Did you remember to start the Open-AT Application?
AT+WOPEN=1
Yes of course.
But I see nothing exept “+WIND 13” on terminal. No byte of data from fcmSend.
Then I make “+++, at+wopen=0,at+wopen=3, at+wopen=4”… I suppose I know how to download/start/stop/erase program in Target mode.
So it works in RTE… And I think the program should do exactly what you want… It’s pretty simple… So why doesn’t it work in target mode? This is really a good question, and the only things I can think of are timing and memory issues (these can differ quite a bit in target versus debug mode).
You can’t do much about the timing, and I don’t think the stack size is too small, but I would give it a try anyway to increase the stack size. Maybe make it twice as big and see if that makes a difference…
Best Regards,
Jan
I try various stack size - 512,1024,2048, …8192. It doesn’t work.
I notice something strange. I start My program in RTE and i see in Terminal Emulator few “+WIND” messages:
And my program works correct in RTE.
If i download to modem samle program (Hello_World) and start it in TARGET mode i see the same "+WIND: 13 …1 …16 …4 …10… ect
And Sample program works fine.
BUT! If i download My program, and start it in Target mode i see only one message “+WIND: 13”. Like this:
Are you expecting to see the TRACE?
You won’t see that just looking at the serial port with Hypoterminal or whatever.
You need to connect it to the Target Monitoring Tool and then you need to enable the traces using the TMT menus…
No. I expecting to see data from adl_fcmSend().
I already got traces in Target Monitoring Tool in RTE mode.