This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Keil Flash Error

Hello, i am having trouble in flashing a simple program in to a 8051 device with a usb kit. The device i am using is a  "at89c51ic2"

when i build target does not show any error or warning, but when i try to flash, this error shows up:

  • batchisp -autoisp -device AT89C51RD2 -hardware RS232 -port COM5 -baudrate 9600 -operation MEMORY FLASH LOADBUFFER "C:\Keil_v5\C51\Examples\Objects\teste.HEX" PROGRAM START RESET 00

  • --- Error: failed to execute 'batchisp -autoisp -device AT89C51RD2 -hardware RS232 -port COM5 -baudrate 9600 -operation MEMORY FLASH LOADBUFFER "C:\Keil_v5\C51\Examples\Objects\teste.HEX" PROGRAM START RESET 00'

with this i went to the "options for target" ->"utilities" to make sure but i did not found nothing :(

this is what is the box:

"-autoisp -device $D -hardware RS232 -port COM5 -baudrate 9600 -operation MEMORY FLASH LOADBUFFER "#H" PROGRAM START RESET 00"

if anyone could help finding the problem it would be great, i am losing my mind :'(

sorry for my bad english

Parents
  • Where does BATCHISP (.EXE or .BAT) exist on your system? Is it properly pathed, via the PATH environment variable, that the system can find it when asked to run it?

    Can you run it from the command line? ie a DOS Box brought up with CMD.EXE, or the Windows-R key

    Have the ATMEL tools including BATCHISP been loaded/installed in the system?

Reply
  • Where does BATCHISP (.EXE or .BAT) exist on your system? Is it properly pathed, via the PATH environment variable, that the system can find it when asked to run it?

    Can you run it from the command line? ie a DOS Box brought up with CMD.EXE, or the Windows-R key

    Have the ATMEL tools including BATCHISP been loaded/installed in the system?

Children