Friday, December 7, 2007

Integrating Flash Magic command line with Keil as ISP


Keil called in the command line Flash Flash Magic the application of ISP:

1. Tools menu in the open Customize Tools Menu ...


2. Included in the Menu Content

Program device with %H Program device with H%

3. Included in Command
D:\Program Files\Flash Magic\FM.EXE D: \ Program Files \ Flash Magic \ FM.EXE

4. Parameters included in Arguments

DEVICE(LPC2138, 11.0592) COM(1,28800) HARDWARE(BOOTEXEC, 50, 250)
ERASE(DEVICE, PROTECTISP) HEXFILE(#H, CHECKSUMS, NOFILL, PROTECTISP,
CODEREADPROTECTION)
DEVICE (LPC2138, 11.0592) COM (1,28800)
HARDWARE (BOOTEXEC, 50, 250) ERASE (DEVICE, PROTECTISP) HEXFILE (# H,
CHECKSUMS, NOFILL, PROTECTISP, CODEREADPROTECTION)


5. Selected Run Minimized DOS interface, minimizing

6. Run in the Tools menu Program device with RTC.HEX (Note: This example is RTC.HEX)


If I do not exist or COM in use, the operating results are as follows:


"D:\Program
Files\Flash Magic\FM.EXE" DEVICE(LPC2138, 11.0592) COM(1,28800)
HARDWARE(BOOTEXEC, 50, 250) ERASE(DEVICE, PROTECTISP)
HEXFILE(D:\LPCARMWORK\RTC\RTC.HEX, CHECKSUMS, NOFILL, PROTECTISP,
CODEREADPROTECTION)
"D: \ Program Files \ Flash Magic \ FM.EXE"
DEVICE (LPC2138, 11.0592) COM (1,28800) HARDWARE (BOOTEXEC, 50, 250)
ERASE (DEVICE, PROTECTISP) HEXFILE (D: \ LPCARMWORK \ RTC \ RTC . HEX,
CHECKSUMS, NOFILL, PROTECTISP, CODEREADPROTECTION)


Flash Magic Version 3.50.197 Flash Magic Version 3.50.197

8051/XA Driver Version 2.31.196 8051 / XA Driver Version 2.31.196

ARM Driver Version 1.23.196 ARM Driver Version 1.23.196

(C) Embedded Systems Academy 2000-2007 All rights reserved (C) Embedded Systems Academy 2000-2007 All rights reserved

Connection failed: COM Port error Connection failed: COM Port error

If COM mouth existence and has not used, the results are as follows:
"D:\Program
Files\Flash Magic\FM.EXE" DEVICE(LPC2138, 11.0592) COM(1,28800)
HARDWARE(BOOTEXEC, 50, 250) ERASE(DEVICE, PROTECTISP)
HEXFILE(D:\LPCARMWORK\RTC\RTC.HEX, CHECKSUMS, NOFILL, PROTECTISP,
CODEREADPROTECTION)
"D: \ Program Files \ Flash Magic \ FM.EXE"
DEVICE (LPC2138, 11.0592) COM (1,28800) HARDWARE (BOOTEXEC, 50, 250)
ERASE (DEVICE, PROTECTISP) HEXFILE (D: \ LPCARMWORK \ RTC \ RTC . HEX,
CHECKSUMS, NOFILL, PROTECTISP, CODEREADPROTECTION)


Flash Magic Version 3.50.197 Flash Magic Version 3.50.197

8051/XA Driver Version 2.31.196 8051 / XA Driver Version 2.31.196

ARM Driver Version 1.23.196 ARM Driver Version 1.23.196

(C) Embedded Systems Academy 2000-2007 All rights reserved (C) Embedded Systems Academy 2000-2007 All rights reserved

Connected

Device selected Device selected

Erase complete (DEVICE) Erase complete (DEVICE)

Hex file programming complete (D:\Test\test.HEX) Hex file programming complete (D:\Test\test.HEX)

Powered by ScribeFire.

No comments: