Error on command line function of flash magic in uVision2 IDE

Started by Nguyen Duc Tuan, March 18, 2004, 04:47:22 AM

Previous topic - Next topic

Nguyen Duc Tuan

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

Andy Ayre

Please post *exactly* what you entered into uVision2. Thanks.

Embedded Systems Academy, Inc.
support at esacademy dot com

Nguyen Duc Tuan

I put DEVICE(89C51RD2XX, 12.000) COM(1,19200) HEXFILE(#H, NOCHECKSUMS, NOFILL) in the argument box exactly as manual of flash magic

Andy Ayre

The problem is likely because you are missing the protectisp option. Try:

HEXFILE(#H, NOCHECKSUMS, NOFILL, PROTECTISP)

Embedded Systems Academy, Inc.
support at esacademy dot com