Boot loader Jump

Started by Joris, May 19, 2005, 06:35:14 AM

Previous topic - Next topic

Joris

Does anyone have an example of a boot loader jump code needed for p89lpc932A1 to be able te reprogram the processor in ISP mode.


Jan Waclawek

Hummm...   LJMP 1F00h?!
(except maybe some of the SFRs might need setting to their initial value; I would at least set SP to 07h and disable all interrupts).

But, wait a moment, is the IP address of your computer really ---.pixs.philips.com???

Strange things happen today...

Jan Waclawek

erikm

The NoTouch for LPC will do just that, have a look.

Erik

Jan Waclawek

Oh yes, that's a better solution (provided that the boot vector is intact, i.e. 1Fh). But note, that the IAP entry point (PGM_MTP) has changed for the LPC932A1 to FF03h.

You can also envoke a software reset, setting bit 3 of AUXR1.

Jan Waclawek

Joris

I'm just a student, just C programming no asm


erikm

I'm just a student

then I sugges you study

just C programming no asm

Then hang it up, the communication to the bootloader is in the registers which C does not "know" what is.

Erik

Joris

I meant I only have knowledge of C , so thats why I asked for asm explanation

Jan Waclawek

Get the NoTouch for LPC935 (the file not by Erik) from this site, the asm code is somewhat commented there. You need also get the user manual for LPC935 and read the IAP section; there is a table with IAP functions, so you will see there why loading those registers etc.
And it should work with LPC932A1 (whereas Erik's works only with the older LPC932).

But, I am still curious, if you are with Philips (even if being a student), couldn't you get these informations from "inside"?

Jan Waclawek

erikm

(whereas Erik's works only with the older LPC932).

WRONG

I started the NoTouch for the Rx2 and the 66x, Then I sketched NoTouch for LPC which someine else (I were not LPC active at that time) finished.

Thus the NoTouch by me is NOT for LPCs

Erik

Joseph Goldburg

HI Jan,


And you get your sources from......


Regards
Joseph  - Philips FAE - Adilam Electronics

Jan Waclawek

See http://www.8052.com/forum/read.phtml?id=84899 and followup.

Jan Waclawek

PS. Erik: My - wrong - impression was based on http://www.8052.com/users/erikm/NoTouch932.phtml which is pointed to from the FM main page.
Sorry.

erikm

And you get your sources from......

right here, close to the botttom of the page http://www.esacademy.com/software/flashmagic/

Joris