Link to home
Start Free TrialLog in
Avatar of Yoong_Han
Yoong_Han

asked on

Problem facing when Program AT89c5131 microcontroller.

I am using Atmel AT89C5131 64pins. From the Atmel website, I found out that i could use Keil uVision and Flip 2.2.4. to program my microcontroller.

I would like to confirm whether it is true that I can use the Keil uVision 2 to generate the HEX file and then use the FLIP 2.2.4 to program the HEX file into the microcontroller or I can use the Keil uVision 2 to program into the microcontroller?

I intend to use USB connection to program into the microcontroller. Is it true that I can program the HEX into the microcontroller directly through USB or I need special programmer?

In the Keil uVision 2 program under AT89C5131 data base, I found this statement:-

FLASH="batchisp" (-device $D -hardware RS232 -port COM1 -baudrate 19200 -operation MEMORY FLASH LOADBUFFER %H PROGRAM)

I don't know what this statement means. Does it mean that I need to use BatchISP to program or I can use FLIP2.2.4. As far as I am concern, BatchISP uses serial com while I intend to use USB connection.

Thank you very much for your response. I know this is a very long question. I appreciate all comments and thank you in advance for your help.

Thanks.
Avatar of Jaime Olivares
Jaime Olivares
Flag of Peru image

About programming through USB. You simply have to buy a serial to usb cable. Look at www.usbstuff.com
Avatar of Yoong_Han
Yoong_Han

ASKER

Thanks for your reply.

But I am looking at how to program the microcontroller using USB port directly from my computer. The microcontroller that I used, AT89C5131 supports USB port. I wanted to know what are the settings and configuration that i needed to have in order to program using USB port

ASKER CERTIFIED SOLUTION
Avatar of Jaime Olivares
Jaime Olivares
Flag of Peru image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Ya you are right, i had try out the FLIP software but i could not get to install by USB port. That why i am currently trying out with Batchisp through uvision2.

My problem is, i have no idea where and how to set the uvision2 software so that i could programme my microcontroller through USB port instead of serail port.

Thank you very much for your reply.