Flash Magic Forum

In-System Programming Support => LPC9xx/LPC9xxx => Topic started by: eagle on January 04, 2007, 06:33:45 AM

Title: i wish use no_touch
Post by: eagle on January 04, 2007, 06:33:45 AM
Hi,

I have a dude, the NoTouch for P89LPC935 is for ISP or IAP mode?

Because i have read differents papers, and They are contradictory. I wish use this function for ISP mode.

The boot vector for ISP is 1FH, and in your function puts 01H, and the direction of call (PGM_MTP) must be changed, because FF03H is wrong, no?

thanks.
Title: Re: i wish use no_touch
Post by: Andy Ayre on January 04, 2007, 07:53:21 AM
I believe you have to do a bit of customizing for the specific device you are using. The boot vector is not 1FH for all LPC9xx devices. Also the entry point changes depending on the device.

Andy
Title: Re: i wish use no_touch
Post by: eagle on January 04, 2007, 08:30:27 AM
OK.

I use P89LPC935. How can the boot vector change without I find out?

The boot vector for this uC is 0x1F, but I don'n know if when i program the uC i will change this boot vector. Or the boot vector is fixed?
Title: Re: i wish use no_touch
Post by: Andy Ayre on January 04, 2007, 08:40:05 AM
When you program the device with Flash Magic the boot vector isn't changed.

Andy
Title: Re: i wish use no_touch
Post by: eagle on January 04, 2007, 12:02:54 PM
Thanks,

I have one final dude, do I need put the funtion "LPC_ISP_8K_V04.a51" of the aplication note "AN10337" for ISP programming?

Because i don't know if the ISP code is erased or not. Thanks.
Title: Re: i wish use no_touch
Post by: Andy Ayre on January 04, 2007, 12:14:19 PM
If you have accidentally erased the bootloader then you need to restore it by building and programming the assembler file. However to do that you need to use either ICP or a parallel programmer.

Andy
Title: Re: i wish use no_touch
Post by: eagle on January 04, 2007, 01:19:47 PM
Then it isn't necessary.

Thanks.