Problem converting bootloader codes

Posted by Anish on Thu 16 Aug 2012 03:47 PM — 5 posts, 22,800 views.

#0
Hi all
I am trying to implement the Arduino bootloader Programmer given in this link
http://www.gammon.com.au/forum/?id=11635

I am using Arduino uno to burn bootloader into Arduino Mega 2560.

But I have problems with my MUSHclient . I am gettin this error :


string "Immediate"]:83: bad argument #6 to 'ColourNote' (string expected, got no value)
stack traceback:
[C]: in function 'ColourNote'
[string "Immediate"]:83: in main chunk

What do I do to resolve this so I can convert my hex files .

Anish
Australia Forum Administrator #1
Change this line:


    ColourNote ("red", "", "Discarded line:", line)


to:



    ColourNote ("red", "", "Discarded line: " .. line)


I'll amend the other thread.
#2
Hi Nick ,

oh Thanks .

But I guess I am implementing it wrong .

Im not sure by what program i am supposed to upload to the uno .

I see a lot of .h files ,one .ino file and one .c file in the http://gammon.com.au/Arduino/Atmega_Board_Programmer.zip
folder.

How and what file do I upload to the arduino uno.
Is there a .pde file missing in the above mentioned folder ?
Amended on Fri 17 Aug 2012 12:32 PM by Anish
Australia Forum Administrator #3
Version 1.0+ of the IDE opens .ino files rather than .pde files.
#4
Hi
I got it running .
Thanks for the help
Cheers
Anish