Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

How to write a program using T89C51RD2??

Status
Not open for further replies.

7rots51

Advanced Member level 4
Joined
May 17, 2002
Messages
1,184
Helped
25
Reputation
50
Reaction score
12
Trophy points
1,318
Activity points
9,651
t8*9c51rd2??

Hi

I want to write the first program for t89*c51RD2 (atmel) .I downloaded atmel F*LIP for programming it ,but I need some help and guides for starting it(a tutorial or a simple ke**il c program).

how Can I work with its bootloader?and is it a must(using bootloader)?

bye
 

silvio

Advanced Member level 3
Joined
Dec 31, 2001
Messages
716
Helped
105
Reputation
210
Reaction score
16
Trophy points
1,298
Location
Romania
Activity points
11,497

usbman

Advanced Member level 4
Joined
Sep 22, 2002
Messages
118
Helped
2
Reputation
4
Reaction score
1
Trophy points
1,298
Location
Germany
Activity points
1,019
Re: t8*9c51rd2??

7rots51 said:
Hi

I want to write the first program for t89*c51RD2 (atmel) .I downloaded atmel F*LIP for programming it ,but I need some help and guides for starting it(a tutorial or a simple ke**il c program).

how Can I work with its bootloader?and is it a must(using bootloader)?
bye
I have worked with RB2 / RC2 from Atmel but it seems that most is identical on RD2 too.

First find all the Erratas on ALL Rx2 from Atmel you probably need them.
1. ISP Download
- You can always activate the bootloader by the HW Contition.
and download Intel Hex records cia comport (Flip)
- after download remove the HW contition and do a HW reset.
2.IAP Download
- there is a API available at Atmel which you can use as a starting point
- don't try to use the block mode with more than 16 bytes. It will not work
- on RB2 I couldn't manage the bytemode successfully

I used IAP to update my FW via usb . The great thing about the Atmel is,
that there is no need (at least on RB2/RC2) to erease the Flash prior programming.

hope this helps
usbman
 

7rots51

Advanced Member level 4
Joined
May 17, 2002
Messages
1,184
Helped
25
Reputation
50
Reaction score
12
Trophy points
1,318
Activity points
9,651
hello
if I want to program RD2 with f/lip software ,I do not know what is the hardware needed to connect RD2 to serial comm.

please give some help on sch.

bye
 

usbman

Advanced Member level 4
Joined
Sep 22, 2002
Messages
118
Helped
2
Reputation
4
Reaction score
1
Trophy points
1,298
Location
Germany
Activity points
1,019
7rots51 said:
hello
if I want to program RD2 with f/lip software ,I do not know what is the hardware needed to connect RD2 to serial comm.

please give some help on sch.

bye
You don't need any special hardware.
Just connect TxT and RxD via Max232 to the PC Com port
Put PSEN to LOW via Jumper and do a HW reset and start Flip.

Of course you also need a XTAL and EA=VCC.

Check the datasheets and appnotes about HW contition.

usbman
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top