Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ Electronics ➜ Microprocessors ➜ Problem converting bootloader codes

Problem converting bootloader codes

Postings by administrators only.

Refresh page


Posted by Anish   (3 posts)  Bio
Date Thu 16 Aug 2012 03:47 PM (UTC)
Message
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
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #1 on Fri 17 Aug 2012 12:43 AM (UTC)
Message
Change this line:


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


to:



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


I'll amend the other thread.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Anish   (3 posts)  Bio
Date Reply #2 on Fri 17 Aug 2012 09:05 AM (UTC)

Amended on Fri 17 Aug 2012 12:32 PM (UTC) by Anish

Message
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 ?
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #3 on Sun 19 Aug 2012 10:42 PM (UTC)
Message
Version 1.0+ of the IDE opens .ino files rather than .pde files.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Anish   (3 posts)  Bio
Date Reply #4 on Mon 20 Aug 2012 01:38 PM (UTC)
Message
Hi
I got it running .
Thanks for the help
Cheers
Anish
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


16,838 views.

Postings by administrators only.

Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.