Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[General] Can we upgrade/change Microcontroller firmware Over the Air through Bluetooth?

Status
Not open for further replies.

emb

Newbie level 4
Joined
Jul 14, 2015
Messages
6
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
59
I have seen some posts discussing Over the Air firmware upgrade through WiFi.

Is it possible to upgrade a Microcontroller firmware through a Bluetooth (Smart) technology?

Thanks in advance.
 

KlausST

Super Moderator
Staff member
Joined
Apr 17, 2014
Messages
19,719
Helped
4,343
Reputation
8,695
Reaction score
4,304
Trophy points
1,393
Activity points
130,532
Hi,

yes, if you have a bootloader installed...

Klaus
 

emb

Newbie level 4
Joined
Jul 14, 2015
Messages
6
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
59
Hi Klaus,

Thank you for the prompt reply.

I have one more question: Can we capture a system's data (such as Status Registers, Data Logs, Waveform data, etc..) from the System (which has an MCU + some Bluetooth Smart device) to a Bluetooth enabled device such as a Smartphone?

My questions may look simple as I am a newbie to the Embedded Systems and Bluetooth technology with a decade of experience in another domain.

Thanks.
 

KlausST

Super Moderator
Staff member
Joined
Apr 17, 2014
Messages
19,719
Helped
4,343
Reputation
8,695
Reaction score
4,304
Trophy points
1,393
Activity points
130,532
Hi,

in general you can transmit all data via bluetooth. It doesn´t mind if it is data, or code.

But you need software to send and receive data on both sides of the bluetooth channel.
One side could be a microcontroller, the other side could be a cellular phone.

Klaus
 
  • Like
Reactions: emb

    emb

    Points: 2
    Helpful Answer Positive Rating

doraemon

Super Moderator
Staff member
Joined
Jun 21, 2009
Messages
1,068
Helped
273
Reputation
554
Reaction score
248
Trophy points
1,343
Location
Japan
Activity points
10,597
Hello!

Yes, it's possible. I'm doing it.
But what you have to be careful about is that a radio path has some non negligible error rates.
It will therefore depend on what BT you are using, etc.
I have an external flash for LCD data, and I am using a part of this flash to temporarily store the
firmware. As long as the firmware and its checksum don't match, I don't upgrade.

If your system involves an SD card, then you can also use it a a temporary storage.

Just in case, I don't use the chip's bootloader, I wrote a second one in program flash.

Dora.
 
  • Like
Reactions: emb

    emb

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top