Jump to content
afonso360

Burning a bootloader into an arduino

Recommended Posts

Hello, i bought my msp430 about 6~ months ago, i bought it because i liked the price 4.30$ is really good for a dev board, and now im looking at arduinos, of course i dont want to spent 25-30$ on a board and have been reading about buying just the chip and some other components , slap it on a breadboard and using it that way but the problem is that the atmega328 and pretty much any chip needs to be burned with a bootloader, i read that it could be done from another arduino, but can i do it from an msp430?

Share this post


Link to post
Share on other sites

Probably.  You'd have to look at the "Arduino as ISP" arduino sketch and see if it can be adapted for Energia.  It would only work with an atmega328 running at 3.3V level of course.

The problem is where do i get the bootloader and how do i burn it, there is no "Tools > board" menu in energia to flash

Share this post


Link to post
Share on other sites

Nah, without modification Energia can not burn an Arduino Bootloader on an Atmega328.
However, you can try to adapt the ArduinoISP sketch to Energia.

 

Burning the Arduino Bootloader on a bare chip utilizing another Arduino works by loading the ArduinoISP sketch on the working Arduino, and connecting the bare chip to this Arduino. This way, the Arduino acts as a programmer to burn all the necessary bits and bytes on the bare chip to make it an Arduino, too.

What you want to do can be described as following:
You want to make the ArduinoISP sketch work in Energia, so you can program the MSP430 on your Launchpad with it.
Your Launchpad now acts as an Arduino with the ArduinoISP sketch loaded on it. It is an AVR ISP programmer now. Therefore you should be able to burn the Arduino bootloader on an blank Atmega328 with the stock Arduino IDE (pc software). 

The question is if the ArduinoISP sketch can be adapted to Energia.

Share this post


Link to post
Share on other sites

I don't know if it can be used to program the arduino bootloader, but this project uses the launchpad to program some AVR chips.

 

Edit: btw, you can find an arduino pro mini clone on ebay for less than $4 shipped, I supposed that comes with the bootloader already in place.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...