Libelium is offering new technical support channels, to contact with de Technical Support team to solve any issue our doubt please contact with your sales agent or visit our contact site



Post a new topicPost a reply Page 1 of 1   [ 3 posts ]
Author Message
 Post subject: Problems when uploading sketch
PostPosted: Tue Aug 09, 2011 11:43 am 

Joined: Tue Aug 09, 2011 10:51 am
Posts: 3
Hello,

I am doing some test with an Arduino One with an Xbee Shield and the RFID module that is sold there, in coocking hacks. I have found a problem when uploading the application code to the arduino board. When the RFID module is not connected, there is no problem, but when it is plugged I get the following error:

avrdude: stk500_getsync(): not in sync: resp=0xe0
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0xe0

I have seen several people with this problem on other forums but no solution proposed seems to work for me. It is strange because every time I disconnect the RFID module (or the Xbee shield), the squetch loading works perfectly again.

Has anyone found also with this problem?

Thanks in advance.


Dani


Top
 Profile  
 
 Post subject: Re: Problems when uploading sketch
PostPosted: Tue Aug 09, 2011 3:46 pm 

Joined: Mon Sep 28, 2009 12:06 pm
Posts: 11366
Hello Dani,

What you explain is normal: it is just not possible to upload code to Arduino while the RFid module is plugged. It is not possible if an XBee is plugged either.

The reason why is that the RFid (or XBee module) shares with the USB line the same microcontroller's UART so that there can be collisions that avoid the proper code upload to Arduino.

The solution is that you should unplug the RFid before uploading code.

Cheers


Top
 Profile  
 
 Post subject: Re: Problems when uploading sketch
PostPosted: Thu Aug 11, 2011 10:33 pm 

Joined: Tue Aug 09, 2011 10:51 am
Posts: 3
Thank you very much!

Dani


Top
 Profile  
 
Display posts from previous:  Sort by  
Post a new topicPost a reply Page 1 of 1   [ 3 posts ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
cron


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Libelium theme based on 610nm Style by Daniel St. Jules of http://www.gamexe.net


© Libelium Comunicaciones Distribuidas S.L. | Terms of use.