| View previous topic :: View next topic   | 
	
	
	
		| Author | 
		Message | 
	
	
		ptyhon
 
 
  Joined: 06 Jan 2010 Posts: 15
 
  | 
		
			
				 Posted: Tue May 24, 2011 9:54 am    Post subject: Help needed for using stk_thread () function | 
				     | 
			 
			
				
  | 
			 
			
				Hi,
 
 
Anyone has problem calling stk_thread() when developing application for turbosim? In my program whenever stk_thread was executed, the phone will reset the SIM card. | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		pz
 
 
  Joined: 12 Mar 2004 Posts: 1161
 
  | 
		
			
				 Posted: Mon May 30, 2011 5:43 am    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				Very strange. the stk_thread() is core function, used in almost every app.
 
 
1. What phone is this?
 
 
2. Can you do the debug of ME-SIM communication?
 
 
3. Have you tested the prebuilt helloworld.trb? | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		ptyhon
 
 
  Joined: 06 Jan 2010 Posts: 15
 
  | 
		
			
				 Posted: Mon May 30, 2011 5:47 pm    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				I am using blackberry storm 9500.
 
Yes I can also do ME-SIM communication debug. And I saw the message "RESET" when the stk_thread function was called. 
 
The same observation was also seen when running the helloworld.trb | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		pz
 
 
  Joined: 12 Mar 2004 Posts: 1161
 
  | 
		
			
				 Posted: Wed Jun 01, 2011 1:10 pm    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				Mmm, strange. What if you go to STK menu e.g. Setup->About?
 
 
Can you take TL2 with debug kernel, reset it with cemu --reset, load helloworld and log ME-SIM communication? | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		 |