hi, I recently purchased starter kit AT89OCD-01 + ATOCD51 with AT89C51RE2 uC working with keil uVision3.
when downloading the program into the the uC using the following command:
-device ATOCDTARGET -hardware RS232 -port COM8 -baudrate 19200 -ocd C51 -operation onfail abort memory 14 loadbuffer %H PROGRAM
the result is: Device selection....................... PASS Hardware selection..................... PASS Opening port........................... PASS Initializing OCD....................... PASS Synchronizing target................... PASS Reading Bootloader version............. PASS 1.2.0 Selecting Memory....................... PASS Parsing HEX file....... PASS 01.HEX Programming memory..... PASS 0xffffffff 0x00000 Summary: Total 9 Passed 9 Failed 0
but i've notice that the last line is not as it should be: "0xffffffff" instead of few Bytes or KB.
I've read all the documentation using the following configuration: DEVICE:Use extended linker (lx51) instead of BL51 TARGET:code banking, 4 banks: start-0x8000 end-0xFFFF OUTPUT:debug information, create hex file, merge 32k hexfile, hex-386
i've modified the files: L51_BANK.A51 & STARTUP.A51 as written in the pdf's. once i succeeded and my simple program worked, but now i'm stuck again maybe i'm missing something.
please help. thanks in advance Nir