I am using Atmel AT89C5131 64pins. From the Atmel website, I found these programs - Keil uVision and Flip 2.2.4. 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.
The string that you are talking about is assigned to the fields in the Options for Target - Utilities - Use External Tools for Flash Programming dialog. BatchISP can also be used for USB. If you want to program the AT89C5131 via USB, you can change the Arguments string to e.g.: -device $D -hardware USB -operation MEMORY FLASH LOADBUFFER %H PROGRAM
Thanks Matthias Hertel... May I ask you one more question? Can I change the "BatchISP" to "FLIP"? I am more confortable with Flip. eg:- FLASH="batchisp" (-device $D -hardware RS232 -port COM1 -baudrate 19200 -operation MEMORY FLASH LOADBUFFER %H PROGRAM) to FLASH="flip" (-device $D -hardware USB -operation MEMORY FLASH LOADBUFFER %H PROGRAM ) By the way, hope that someone could answer the other few question that I posted earlier. Really appreciate you guys help by sharing your knowledge to me. Thanks.
FLIP is an interactive tool that does not operate from the command line. The Flash plug-in requires that the tool can be invoked from command line. That is the reason why Atmel has released the BatchISP tool.
View all questions in Keil forum