Pages: [1]   Go Down
Author Topic: uninstall firmware from arduino  (Read 576 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 7
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have an prusa i3 3d printer, which has a Mega 2560 r3 control board, Ramps 1.4 shield. I have the wrong firmware installed on it. How do I remove that firmware so I can install new firmware?
Logged

Scotland
Offline Offline
Edison Member
*
Karma: 26
Posts: 1341
Have you had your Arduino fix today?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

It is removed when you write the new firmware automatically.
Logged

Drew.
http://www.uk-pcb.co.uk - My UK Based PCB Fab & Assembly Company
Design work undertaken
SMD & Thru-Hole assembly

North Queensland, Australia
Offline Offline
Edison Member
*
Karma: 74
Posts: 2220
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

If you mean the bootloader:

You can simply upload the new bootloader ( using an ISP & IDE ).
If you do not use a bootloader ( ISP using AVR tools ) it should erase the flash before upload anyway, but not important.

ISP: In system programmer: https://www.google.com/search?q=in+system+programmer+avr

Or if you are referring to the actual sketch, simply hit the upload button.

Give  a bit more information into what exactly you need to do. Do you have a copy of the Arduino IDE & code for the 3d printer? Have you used Arduino before or is this completely new to you ( have no idea where to start )?

Logged


Offline Offline
Newbie
*
Karma: 0
Posts: 7
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

This is all new to me. I don't now anything about programming. I thought it would be nice to get a 3d printer and see what it would do. I fooled around with it for over a week. Go so fustrated, took it to a computer shop, paid good money and he put frimware on for another board. What do you mean by a bootloader?
Thank, Ed
« Last Edit: May 05, 2014, 08:29:28 am by tobig11 » Logged

North Queensland, Australia
Offline Offline
Edison Member
*
Karma: 74
Posts: 2220
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Do you have the firmware, either a compiled .hex file or the source code which needs to be compiled?
Logged


Offline Offline
Newbie
*
Karma: 0
Posts: 7
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm not sure what you mean. I just downloaded the firmware, from the place I got the printer from, and installed it. Its readerable and I think you can change setting in concerning the printer. I think you would call it a compiled. hex file.
Logged

North Queensland, Australia
Offline Offline
Edison Member
*
Karma: 74
Posts: 2220
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

If you have the .hex file. One way is probably to download the Arduino IDE.
It can't upload hex files itself, however its packaged with AVR tools with which you can upload the hex file. However this needs a ISP, you can't use the USB for this.


I just found this (never tried ) but it looks like a good alternative http://www.hobbytronics.co.uk/arduino-xloader It will allow you to use the USB.

However if you have the human readable code ( .h &.cpp, not .hex ) then you can use the IDE very easily, and also modify the code to your configuration.

IDE can be found here: http://arduino.cc/en/Main/Software
Logged


Offline Offline
Newbie
*
Karma: 0
Posts: 7
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm going to switch computer. I have the arduino ide program on my compute, but have not installed it yet. Will work on trying to setup again, on my other computer, in a few days
When I install the Marlin firmware do you know what file to use to upload it. Is it prusa i3 with extension. ion, or is it the Marlin pde file?
Ed
Logged

North Queensland, Australia
Offline Offline
Edison Member
*
Karma: 74
Posts: 2220
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

The .pde is the sketch, rename it to .ino for the new IDE. There may be other files with the sketch too ( .h, .cpp, .c )

Also use the search feature to check that the old include "WProgram.h" is changed to the newer "Arduino.h"

If you have troubles, post the firmware package and me or someone else can compile it for you.
Once compiled the IDE can be used to upload. Or that xloader app I linked will upload the .hex made by the IDE
Logged


Pages: [1]   Go Up
Jump to: