Programming a Microcontroller
+4
margaritabrutas
Lizaaaaaaa
iramae
Admin
8 posters
Page 1 of 1
Programming a Microcontroller
HOW TO PROGRAM A DEVICE
To program a device, do the following:
- Connect the Programmer module to the serial port of your computer.
- Plug the DC jack of the adaptor to the Programmer module then plug the adaptor to the AC outlet to turn on the power.
- Insert the AT89C2051 or AT89C4051 device to program in the ZIF socket of the Programmer module.
- Run the ALEXAN ATMEL PROGRAMMER software.
- At startup of the software, it will automatically search for and connect to the serial port the Programmer module is connected to. Alternately, you may select the serial port to connect to by selecting the Serial Port Setup (press F9). After selecting the appropriate COM port, press OK. The programmer will then search for your Programmer module. If a connection failure occurs, either you do not have a COM port available or another application is using the COM port you selected.
- Choose AT89C2051 from the dropdown box (press F11) to program AT89C2051 MCU. Make sure that the selected IC in the software matches that of the IC you have inserted in the Programmer module.
- Open a hex file (*.hex). The hex code is shown on the current active buffer tab.
- To edit the programmer buffer, click the desired address and change the value that you want by typing any hex values from 00 to FF.
- To save the codes in the program buffer of the current tab to a hex file, on the File menu, click Save File (press CTRL+S).
- To program, on the Tools menu, click Program Device (press F5).
Re: Programming a Microcontroller
What problem/s have you encountered in burning a program in 2051 IC?
Re: Programming a Microcontroller
Ma'am, in making a program, is it possible to use c programming then compiled into hex file using a software?
I tried a codes in C programming, but when i tried the hex file in Alexan atmel in Windows XP, this message shows...
Thank you
I tried a codes in C programming, but when i tried the hex file in Alexan atmel in Windows XP, this message shows...
Thank you
iramae- Newbie
- Posts : 2
Join date : 2017-09-15
Re: Programming a Microcontroller
Maam how can we easily check if there's something wrong sa program namen specifically sa codes?
Lizaaaaaaa- Newbie
- Posts : 1
Join date : 2017-09-15
Re: Programming a Microcontroller
is AT89C2051 have sensitive pin.. ?
margaritabrutas- Newbie
- Posts : 2
Join date : 2017-09-15
Re: Programming a Microcontroller
why some AT89C2051 cant read the ID check but it is still running .. is the ID check is important ?
margaritabrutas- Newbie
- Posts : 2
Join date : 2017-09-15
Re: Programming a Microcontroller
iramae wrote:Ma'am, in making a program, is it possible to use c programming then compiled into hex file using a software?
Yes it is possible. There are different compiler for different microcontrollers. Converting c code to a hex is the job of the compiler.
What message? will you please add that hereI tried a codes in C programming, but when i tried the hex file in Alexan atmel in Windows XP, this message shows...
Re: Programming a Microcontroller
Lizaaaaaaa wrote:Maam how can we easily check if there's something wrong sa program namen specifically sa codes?
First make sure that your circuit were properly placed. Then try to test your program together with your circuit. If it works, you're good. Well if it doesn't work accordingly, try to reprogram and check the codes you input. Check if you have inserted the right op codes.
Re: Programming a Microcontroller
margaritabrutas wrote:is AT89C2051 have sensitive pin.. ?
It is not that sensitive but I suggest not to touch the pins cause it may be damage it.
Re: Programming a Microcontroller
Ma'am, what is the difference between ULN2003 and ULN2803? thank you
iramae- Newbie
- Posts : 2
Join date : 2017-09-15
Re: Programming a Microcontroller
In some of our past exercises, we made programs on paper then try it on the actual processor, can we still do that process? or we have to directly put our codes in ALEXAN ATMEL PROGRAMMER? and lastly Wherelse can a programmer make a hex file rather than ALEXAN ATMEL PROGRAMMER?
judedominguiano- Newbie
- Posts : 1
Join date : 2017-09-18
Re: Programming a Microcontroller
ULN 2803 is used for NPN array transistors. If you are going to use ULN for SSD, I suggest you use ULN 2003. Since it's function is for SSD, It has seven pins that can be connected to the SSD. Technicians usually used this IC for lamps, LED displays, Stepper motors, Logic buffers and Line drivers.iramae wrote:Ma'am, what is the difference between ULN2003 and ULN2803? thank you
rjdelacruz- Newbie
- Posts : 2
Join date : 2017-09-20
Re: Programming a Microcontroller
Ma'am pag gumamit po ba ng ULN2003, okay lang po ba na hindi na gumamit ng decoder?
rjdelacruz- Newbie
- Posts : 2
Join date : 2017-09-20
Re: Programming a Microcontroller
Ma'am. why do we need to change the unused bytes between
00 and FF?
00 and FF?
pam.ronquillo- Newbie
- Posts : 1
Join date : 2017-09-20
Re: Programming a Microcontroller
is there an easy way to program the microcontroller?
marinellara- Member
- Posts : 3
Join date : 2017-09-18
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|