Flash Magic Forum

In-System Programming Support => LPC9xx/LPC9xxx => Topic started by: Harry on September 20, 2005, 01:44:45 AM

Title: isp-icp P89LPC936
Post by: Harry on September 20, 2005, 01:44:45 AM
ISP-ICP bridge       used on P89LPC936

hello

flashmagic version 2.39
device 89lpc936
additional security bits can not be set by isp-icp bridge code !  
 
i can not programm the ucfg bits by isp-icp bridge code (version 1.4), because i can not reprogram the additional security bits back to zero !
 
programming and reprogramming of the hex file works good
only the additional security bits can not be set back !

please help me quickly

regards

Harry

Title: Re: isp-icp P89LPC936
Post by: Andy Ayre on September 20, 2005, 09:21:02 AM
A full device erase should solve this problem. Note that you will have to turn off the Protect ISP mode which will result in the ISP bootloader being erased.

Title: Re: isp-icp P89LPC936
Post by: Harry on September 21, 2005, 06:10:28 AM
no, no way,

a total erase has no effect,

i can not erase the additional security byte  (in BOOTSTAT byte),



this is a part of the user manual of the lpc936:

Boot Status (BOOTSTAT) bit description

bit 5  AWP Activate Write Protection bit. When this bit is cleared, the internal Write Enable flag is forced to the set
state, thus writes to the flash memory are always enabled. When this bit is set, the Write Enable internal
flag can be set or cleared using the Set Write Enable (SWE) or Clear Write Enable (CWE) commands.

bit 6  CWP Configuration Write Protect bit. Protects inadvertent writes to the user programmable configuration
bytes (UCFG1, BOOTVEC, and BOOTSTAT). If programmed to a logic 1, the writes to these registers
are disabled. If programmed to a logic 0, writes to these registers are enabled.
This bit is set by programming the BOOTSTAT register. This bit is cleared by writing the Clear
Configuration Protection (CCP) command to FMCON followed by writing 96H to FMDATA.

bit 7  DCCP Disable Clear Configuration Protection command. If Programmed to
Title: Re: isp-icp P89LPC936
Post by: Andy Ayre on September 21, 2005, 04:43:36 PM
Flash Magic 2.40 and ISP to ICP Bridge Code 1.5 together will solve this problem by allowing the CCP command to be sent to the ICP device.

Flash Magic 2.40 is available now and the bridge code should be released by Philips soon.

Title: Re: isp-icp P89LPC936
Post by: Bo Kristensen on September 23, 2005, 01:03:32 AM
I work with a LPC9102 where i use the internal oscillator put it isen't running, then i tryed to connect a external oscillator and the program run fine.
Is it possible to get bridge code version 1.5 now so i could't try it?

Bo Kristensen
Title: Re: isp-icp P89LPC936
Post by: Andy Ayre on September 23, 2005, 08:17:04 AM
I don't know when it will be released by Philips - sorry.