B4R Question GSM Example error

Discussion in 'B4R Questions' started by Beja, May 12, 2019.

  1. Beja

    Beja Expert Licensed User

    Hi All,

    Tried to use the GSM example and. please see the logs.

    B4R Version: 2.51
    Parsing code. (0.02s)
    Compiling code. (0.07s)
    Building project (0.08s)
    Compiling & deploying Ino project (Arduino/Genuino Uno - COM8) Error
    Loading configuration...
    Initializing packages...
    Preparing boards...
    Verifying...
    Uploading...
    avrdude: Version 6.3, compiled on Jan 17 2017 at 12:00:53
    Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
    Copyright (c) 2007-2014 Joerg Wunsch
    System wide configuration file is "C:\Arduino\B4R\Arduino\hardware\tools\avr/etc/avrdude.conf"
    Using Port : COM8
    Using Programmer : arduino
    Overriding Baud Rate : 115200
    avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x41
    avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x70
    avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x70
    avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x53
    avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x74
    avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x61
    avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x72
    avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x74
    avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x0d
    avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x0a
    avrdude done. Thank you.
    An error occurred while uploading the sketch
     
    Last edited: May 13, 2019
  2. Erel

    Erel Administrator Staff Member Licensed User

    The error doesn't seem to be related to the GSM example. What happens when you try to run other programs on this board? Are you sure that COM8 is the correct port?
     
    Beja likes this.
  3. Beja

    Beja Expert Licensed User

    Com8 is correct.. It was selected by the IDE.
    Will try to run another app that's already tested and get back. Thanks Erel.
     
  4. Beja

    Beja Expert Licensed User

    Hi Erel
    Tested the button example and it's working fine. (COM8)
     
  5. Beja

    Beja Expert Licensed User

    I can upload the project if it helps.
     
  6. Erel

    Erel Administrator Staff Member Licensed User

    Make sure not to connect anything to pins 0 and 1.

    Does it compile if nothing is connected to the Aduino Uno?
     
  7. Beja

    Beja Expert Licensed User

    Yes.
    In fact a gsm shield (was connected to 0 and 1) when the error occurred . I took it off and tested the button example and it worked. But the project is all about the GSM communication
     
  8. Beja

    Beja Expert Licensed User

    Somthing weird..
    The same project that produced the above error was apploaded successfully after removing the rxtx connectors to the gsm module
     
  9. Erel

    Erel Administrator Staff Member Licensed User

    You need to use the software serial pins instead of 0 and 1.
     
    Beja likes this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice