Page 1 of 1

Bluetooth programming with Bluno giving sync errors.

Unread postPosted:Fri Jun 20, 2014 12:26 am
by bikeben
Hello
I am struggling to get the two Bluno's I have to be able to program the peripheral Bluno. I get the error:

avrdude: stk500_getsync(): not in sync: resp=0x00

I've tried all AT commands, changed all possible settings and upgraded the firmware, no luck.

Any help would be greatly appreciated.

Thanks!

Re: Bluetooth programming with Bluno giving sync errors.

Unread postPosted:Fri Jun 20, 2014 1:05 am
by visualxl
Have the 2 BLUNOs been configured to connect to each other?

Were they powered up at the same time, and is the "LINK" light on when you tried to upload the sketch?

Re: Bluetooth programming with Bluno giving sync errors.

Unread postPosted:Fri Jun 20, 2014 2:03 am
by Grey.CC
Hello bikeben,

Yeah, like what visualxl said, the link LEDs should be turn on when they are connecting.
Are you using the newest firmware v1.8E?

Is there anything occupying the "RX" and "TX"? Like some shield is plugged on the bluno.
Generally, STK500...0x00 means the Serial port has been using, or sometimes it has been occupied by other device like wireless module.

Re: Bluetooth programming with Bluno giving sync errors.

Unread postPosted:Fri Jun 20, 2014 2:39 am
by visualxl
One more thing is that, if both BLUNOs has been configured to connect to each other, and you are trying to upload a sketch when they are still in connected state, often you will get errors unless if you power off one of them.

Re: Bluetooth programming with Bluno giving sync errors.

Unread postPosted:Fri Jun 20, 2014 7:33 am
by Grey.CC
Really?

Are you using PERIPHERAL to upload the sketch to CENTRAL, when you get this ERROR?

Because only CENTRAL could upload the sketch to PERIPHERAL one, the CENTRAL usb port has high permission to access CC2540 bluetooth communication. So for the wireless programming, we often plug CENTRAL to the PC USB port.

Hey bikeben,
Could you exchange two device? using CENTRAL device to upload sketch to the PerIPHERAL one?

Re: Bluetooth programming with Bluno giving sync errors.

Unread postPosted:Fri Jun 20, 2014 8:30 am
by visualxl
err... Grey,

What I meant was that uploading the sketch to a CENTRAL/PERIPHERAL though a USB cable when both of them are connected via BLE link.

BLUNO central can upload a sketch to BLUNO peripheral wirelessly?? How is that possible?

Re: Bluetooth programming with Bluno giving sync errors.

Unread postPosted:Fri Jun 20, 2014 9:54 am
by Grey.CC
Of course, yes

You could have a try. 8) It is very easy. like you could use ble link to make a wireless programming. it is same in theory.

I know what your mean, yes, if you want to download the sketch via usb, it requires cut connection first.