Forum >BLE beacon upload sketch problems
Bluno General Arduino

BLE beacon upload sketch problems

userHead kevindekemele 2016-10-10 04:49:38 4936 Views5 Replies
Hello,

I've bought a BLE beacon from you guys and at first it worked great make_clickable_callback(MAGIC_URL_FULL, '(', 'https://www.dfrobot.com/wiki/index.php/DF-Beacon_EVB_SKU:_TEL0086', '', ' class="postlink"'))
I could connect my phone, communicate with the virtual terminal of Arduino IDE and upload a sketch.

Now the first two features still work, but uploading a sketch has become impossible. While my PC still recognized the arduino, and I can still communicate using the 'AT' command with a terminal

The errors I receive are always the same:
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x94

the number after resp=0x94 sometimes differs, but you get the pint.

I tried many solutions similar problems on these forums did not solve.

I updated the firmware to 1.97 (1.94 was on it) as described bymake_clickable_callback(MAGIC_URL_FULL, ' ', 'https://www.dfrobot.com/wiki/index.php/Bluno_SKU:DFR0267#Update_BLE_Firmware_on_Bluno.EF.BC.88AT.2BVERSION_to_check_the_version.EF.BC.89', '', ' class="postlink"')


and installed bootloader 2.0:make_clickable_callback(MAGIC_URL_LOCAL, ' ', 'https://www.dfrobot.com/forum', 'viewtopic.php?f=18&t=1733', ' class="postlink-local"')

Does anybody know what the problem could be?
It worked just fine yesterday!
2016-10-24 23:30:59 Hi kevindekemele,

In theory, you can program the Bluno beetle to send AT commands to the BLE micro, but there seems to be a little difficult, we dont have this aspect of tutorial. Here is a post link, maybe you can make a refernence:make_clickable_callback(MAGIC_URL_LOCAL, ' ', 'https://www.dfrobot.com/forum', 'viewtopic.php?f=2&t=1368#p7188', ' class="postlink-local"')
userHeadPic Wendy.Hu
2016-10-21 01:50:34 Hello Wendy,

When it worked, I was using several Arduinos, and may have had the impression that the BLE micro was printing to the serial monitor, but probably it was an arduino then!
Anyway, I also have a Bluno beetle, which is 100% programmable. I have linked bluno beetle and BLE micro. Can I program the Bluno beetle to send AT commands to the BLE micro? In this way the BLE micro would be programmable to a degree.
userHeadPic kevindekemele
2016-10-21 00:32:47 I know which product you are talking about and I also look at the schematic before. The outputs on the BLE micro are not digital ports, they are just the pins of the BLE chip-CC2540, can be used for BLE development.

Yes, it does have a USB, which can be connected to the PC, you can use it to set the BLE to AT mode,etc. And I did a test to upload the code to the board, there was a error when uploading. So I'm really curious about how you did it.

Actually it can not upload the program indeed. Of course, you can use it for wireless programming.
userHeadPic Wendy.Hu
2016-10-20 22:11:14 It has a micro USB, and is recognized as an Arduino uno by my PC.
I just uploaded a sketch before, and it worked (just printing stuff to serial monitor..).

By the way, if you look at the link, the BLE micro has a lot of digital outputs, how can it not be programmable?
userHeadPic kevindekemele
2016-10-15 01:38:05 Hi Sir,

A little strange, the blemcro is just a ble board, no mcu, so cant upload the code. How did you upload the code?
userHeadPic Wendy.Hu