Flash Magic Forum

Archive => Old Topics => Topic started by: Nguyen Duc Tuan on March 18, 2004, 04:47:22 AM

Title: Error on command line function of flash magic in uVision2 IDE
Post by: Nguyen Duc Tuan on March 18, 2004, 04:47:22 AM
Hello,
I have just used Phillips MCU P89C51RD2BN.
I tested the ISP on independent Flash Magic successfully. I also want to use the command line function of flash magic on uVision2 IDE. But when I add arguments "DEVICE(89C51RD2XX, 12.000) COM(1, 19200) HEXFILE(#H,...) to program from Tool menu of uVision2. The FM program just warns "Invalid path ...directive HEXFILE".
So please help me understand and resolve this problem
Thanks
Title: Re: Error on command line function of flash magic in uVision2 IDE
Post by: Andy Ayre on March 18, 2004, 06:27:18 AM
Please post *exactly* what you entered into uVision2. Thanks.

Title: Re: Error on command line function of flash magic in uVision2 IDE
Post by: Nguyen Duc Tuan on March 20, 2004, 02:04:55 AM
I put DEVICE(89C51RD2XX, 12.000) COM(1,19200) HEXFILE(#H, NOCHECKSUMS, NOFILL) in the argument box exactly as manual of flash magic
Title: Re: Error on command line function of flash magic in uVision2 IDE
Post by: Andy Ayre on March 20, 2004, 07:30:18 PM
The problem is likely because you are missing the protectisp option. Try:

HEXFILE(#H, NOCHECKSUMS, NOFILL, PROTECTISP)