×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Aug 2006
    Posts
    14

    Talking Nokia N80 crashes and reboots.

    Hi all,

    I've found something that really messes up the Nokia N80 I am developing on.
    What I begun with was how to find a way to get RDebug to print out on the N80's internal serial port.
    (See this thread for further information )
    http://discussion.forum.nokia.com/fo...ghlight=rdebug
    Which has not been successful so far.

    So I made some testcode to just see if I could access the internal serial port, and write some data to it.
    Code:
    void CPortMeAppUi::TestThis( void )
    {
        RCommServ tComServ;
        RComm tComPort;
        TInt tError;
        TRequestStatus tRequest;
    
        tError = tComServ.Connect();
    
        if( tError == KErrNone )
        {
            tError = tComServ.LoadCommModule( _L("ECUART") );
        }
    
        if( tError == KErrNone )
        {
            tError = tComPort.Open( tComServ, _L("COMM::0"), ECommExclusive, ECommRoleDTE );
        }
    
        if( tError == KErrNone )
        {
            TBuf8<50> tBuffer;
            tBuffer.Copy( _L8("Writing data") );
    	for( TInt tLoop = 0; tLoop < 100; tLoop++ )
    	{
    		tComPort.Write( tRequest, tBuffer );
    		User::WaitForRequest( tRequest );
    	}
        }
        tComPort.Close();
        tComServ.Close();
    }
    With this code the "open" command returns KErrNoMemory, which really does not give me any idea about what I am doing wrong.

    So I tried changing the port I am trying to open, just to see if I would get another error code.
    Code:
    tError = tComPort.Open( tComServ, _L("COMM::1"), ECommExclusive, ECommRoleDTE );
    The result of this code running in the Nokia N80 causes the application and complete phone to freeze. When calling to the phone it does not ring, nor display anything at all. All keys are dead.
    After looking at the dead phone for about 30 seconds to one minute it restarts.

    I know that you can with C++ write some really horrible code that can cause havoc even in the most stable systems, but in this code I do not see anything that could cause those symptoms.

    So, any comments anyone?

    Regards,
    ddskani

  2. #2
    Nokia Developer Champion
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,545

    Re: Nokia N80 crashes and reboots.

    If you update the N80 to whatever is the latest phone software (firmware), is the problem still there or gone?

    http://www.europe.nokia.com/softwareupdate

Similar Threads

  1. Bug in Nokia 6230i
    By linewaver in forum General Development Questions
    Replies: 5
    Last Post: 2005-06-29, 09:38
  2. Series 60 Emulator Crashes my PC
    By mwebbgv in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2004-10-09, 19:52
  3. Probelms with Nokia 6220 and OMA DRM Separate delivery
    By flersch in forum Digital Rights Management & Content Downloading
    Replies: 1
    Last Post: 2004-03-09, 15:41
  4. C++ Bluetooth Application crashes phone if sending too much and/or too often?
    By The.French.DJ in forum Symbian Networking & Messaging (Closed)
    Replies: 5
    Last Post: 2003-08-15, 16:45
  5. Replies: 0
    Last Post: 2003-08-13, 23:21

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •