Target mode problems - Why won't it run hello world?


#1

I figure I’m probably being dumb, but I was able to run my application in rte mode, but not target mode.
I tried with hello world and was still having problems. The ‘gcc_Sms_Automaton_1MB+.dwl’ and ‘gcc_Sms_Automaton_1MB+.wpb.dwl’ appear to build fine, but don’t seem to run.

The device is the fastrack supreme 20.

I’ve been following the tutorial to the T, and this is what I get:

at+wopen=0         //stop the application

OK  

+WIND: 13         

+WIND: 12,0           

+WIND: 1        

+WIND: 15,4,"08/08/23,23:20:31-28",6,"1"                                        

+WIND: 7        
at+wopen=4          //delete the application
OK  

+WIND: 13         

+WIND: 12,0           

+WIND: 1        

+WIND: 15,4,"08/08/23,23:20:53-28",6,"1"                                        

+WIND: 7    



//then I copy the application hello world
    
at+wdwl       
+WDWL: 0        
at+cfun=1           //restart                                           
OK  

+WIND: 13         

+WIND: 12,0           

+WIND: 1        

+WIND: 15,4,"08/08/23,23:23:07-28",6,"1"                                        

+WIND: 7        
at+wopen=1          //open the program and get nothing
OK  

+WIND: 13         

+WIND: 12,0           

+WIND: 1        

+WIND: 15,4,"08/08/23,23:23:26-28",6,"1"                                        

+WIND: 7        

+WIND: 16         
at+wopen=1          //open again
OK  

+WIND: 4        

+WIND: 10,"SM",0,"FD",0,"ON",1,"EN",0                                     

+WIND: 11,,,"B1D91ED03277647C9FEF8F561DEE27C8",,"4E2C88543C21FBC2B01C9D6A303D794                                                                                
C","6B2D34F5446007A96AECA6E24E2A2D50"                                     
at   
OK  
at+wopen=4          //check to make sure it's running by trying to delete it (would be OK) if it was stopped
ERROR     
at+wopen=0          //stop the application
OK  

+WIND: 13         

+WIND: 12,0           

+WIND: 1        

+WIND: 15,4,"08/08/23,23:25:27-28",6,"1"                                        

+WIND: 7        

+WIND: 16         
at+wopen=2          //get version numbers
+WOPEN: 2,"AT  v04.20","AT  v04.23"                                   

OK  

+WIND: 4        

+WIND: 10,"SM",0,"FD",0,"ON",1,"EN",0                                     

+WIND: 11,,,"B1D91ED03277647C9FEF8F561DEE27C8",,"F88E7C394940086997EFAA5A8A420A5
C","B795D0CB3D091293D58F7D698482F62E"
at+wopen=1	//tried to run it again
OK

+WIND: 13

+WIND: 12,0

+WIND: 1

+WIND: 15,4,"08/08/23,23:26:16-28",6,"1"

+WIND: 7

+WIND: 16

+WIND: 4

+WIND: 10,"SM",0,"FD",0,"ON",1,"EN",0

+WIND: 11,,,"B1D91ED03277647C9FEF8F561DEE27C8",,"B9722CB58BD2804CFC953000640A181
1","DDC1CC5EAA5E55894C93F7D34206D85E"

what on earth am I doing wrong?

again the calls are:
at+wdwl (to transfer the program)
at+cfun=1(to restart the device)
at+wopen=1 (to start the program)

Ideas and suggestions would be appreciated.


#2
at+wopen=7
+WOPEN: 7,8

OK

AT+WOPEN=7 Open AT® application current state

state 8 presumably:
link issue
The application global variables area initialization is
impossible.


#3

I found out the problem is actually related to the memory type in the project wizard. Hello world works in 256KB, but not 1MB+.
I’m going to be refering to:
http://www.wavecom.com/modules/movie/scenes/forums/viewtopic.php?f=19&t=2359&p=8711&hilit=The+application+global+variables+area+initialization+is#p8711