Author Topic: Device Configuration via Commandline for P89V51RC  (Read 5450 times)

Melina

  • Jr. Member
  • **
  • Posts: 1
    • View Profile
Device Configuration via Commandline for P89V51RC
« on: June 19, 2007, 08:05:21 am »
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

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2160
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: Device Configuration via Commandline for P89V51RC
« Reply #1 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:

Code: [Select]
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

  • Jr. Member
  • **
  • Posts: 12
    • View Profile
Re: Device Configuration via Commandline for P89V51RC
« Reply #2 on: July 25, 2007, 08:16:21 am »
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:

Code: [Select]
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

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2160
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: Device Configuration via Commandline for P89V51RC
« Reply #3 on: July 26, 2007, 07:55:44 am »
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