[Home] [Downloads] [Search] [Help/forum]

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  Electronics
. -> [Folder]  Microprocessors
. . -> [Subject]  Problem converting bootloader codes
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

Problem converting bootloader codes

Postings by administrators only.

[Refresh] Refresh page


Posted by Anish   (3 posts)  [Biography] 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
[Go to top] top

Posted by Nick Gammon   Australia  (21,675 posts)  [Biography] 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
[Go to top] top

Posted by Anish   (3 posts)  [Biography] 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 ?
[Go to top] top

Posted by Nick Gammon   Australia  (21,675 posts)  [Biography] 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
[Go to top] top

Posted by Anish   (3 posts)  [Biography] 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
[Go to top] 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.


3,566 views.

Postings by administrators only.

[Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

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

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]