Device Configuration via Commandline for P89V51RC

Started by Melina, June 19, 2007, 08:05:21 AM

Previous topic - Next topic

Melina

Hello,

I'll use the command line interface for ISP-programming of P89V51RC2. I have got a bootloader which supports the ISP-EntryMode via a PortPin (high). With fm it works fine but I tried to find the function Device Configuration in the fm-manual for the command line interface but this function doesn't exist.
Does anybody can help me to change the ISP EntryMode via command line instead using the GUI-version.
I use the fm-version 3.60.

Thanks for help.

Andy Ayre

Try CONFIG(0xsspp) where ss and pp are the 8-bit values used in the 0CH hex record to configure the device. For details of the 0CH hex record see the PDF file that came with the bootloader. For example:

CONFIG(0x01A7)

should program the device to execute user code if P2.7 = 1, else execute ISP.

Andy
Embedded Systems Academy, Inc.
support at esacademy dot com

TomP

Quote from: Andy Ayre on June 19, 2007, 05:04:19 PM
Try CONFIG(0xsspp) where ss and pp are the 8-bit values used in the 0CH hex record to configure the device. For details of the 0CH hex record see the PDF file that came with the bootloader. For example:

CONFIG(0x01A7)

should program the device to execute user code if P2.7 = 1, else execute ISP.

Andy

The pdf (bootcode_new_LV_ver_71.pdf) says that this is only for the RD2 versions.
Will this work on RB2 & RC2 parts too?

tom

Andy Ayre

I double-checked with NXP. This festure is supported in all the new bootloaders in the zip file.

Andy
Embedded Systems Academy, Inc.
support at esacademy dot com