Assembler Developer

Moderators: None (Apply to moderate this forum)
Number of threads: 1030
Number of posts: 1832

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
How to burn a code into a microprocessor Posted by bodhi2016 on 26 Oct 2008 at 8:49 AM
I joined college this year and i also joined robotics club thinking that they will teach how to programme in asm .They are using a compiler called bascom for programming atmega16 microprocessor in basic.But i want to programme a robot in asm or c.So what compiler should i use and how do i burn the programme in microprocessor.I heard of programmer .What is it.Is it a cable used to transfer the programme in the microprocessor
After writing a programme in a baascom the demonstrater clicked a option called burn inm the bascom compiler.The PCB board was connected to a microprocessor with a cable which went behind the CPU where the printer goes .Is that cable called a programmer.But if i amake a programme for a line follwer in my dev c++ compiler how do i transfer it to the microprocessor because in Dev c++ we dont have a burn option.
Report
Re: How to burn a code into a microprocessor Posted by Cseh on 7 Nov 2008 at 11:37 AM
: I joined college this year and i also joined robotics club thinking
: that they will teach how to programme in asm .They are using a
: compiler called bascom for programming atmega16 microprocessor in
: basic.But i want to programme a robot in asm or c.So what compiler
: should i use and how do i burn the programme in microprocessor.I
: heard of programmer .What is it.Is it a cable used to transfer the
: programme in the microprocessor
: After writing a programme in a baascom the demonstrater clicked a
: option called burn inm the bascom compiler.The PCB board was
: connected to a microprocessor with a cable which went behind the CPU
: where the printer goes .Is that cable called a programmer.But if i
: amake a programme for a line follwer in my dev c++ compiler how do i
: transfer it to the microprocessor because in Dev c++ we dont have a
: burn option.
: Hi Bodhi,
First, the atmega16 is not a microprocessor but it is an AVR microcontroller from ATMEL. Normally you cann't burn programmes in microprocessors but you can burn it in microcontrollers. You have to buy an Atmel microcontrollers programmer and you have to generate the HEX file from the asm file. Feed the Hex file into the programmer and burn it! If you want to programme it in asm you need programme AVR STUDIO 4 from Atmel.It is free. You can download it from Atmel's homepage. If you programme in asm you don't need any compiler.
Best Regards
J. Cseh

Report
Re: How to burn a code into a microprocessor Posted by anthrax11 on 7 Nov 2008 at 11:00 PM
: You have to buy an Atmel microcontrollers programmer
:
That's one option, but if you know a thing or two about electronics you can
save a load of money by making your own programmer. There are really simple
schematics out there if you search for "atmega16 programmer" on Google.

I've used WinAVR for compiling and PonyProg for writing the hex file into
the controller, but use whatever works for you .



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.