Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/30/06 14:38
Read: times


 
#130244 - NoTouch
Responding to: ???'s previous message
Erik Malund lurks on this forum and introduced NoTouch to quite a few people.

Comment - if the P89LPC922 is your first experience with LPC900 Microcontrollers.... then I strongly recommend purchasing the MCB900 development system first to get some confidence in coding and working with the hardware..... then move on to the P89LPC922.

www.keil.com/mab900 available www.LPCtools.com and elsewhere.

If you have ignored my recommendation above then... read-on

There are some important factors before getting deep in to NoTouch.

1. The P89LPC922 (nick name LPC922)can be programed by ISP (in-system-programmed) using the UART and a RS232 level coverter (eg like a MAX2323, 3v version)...... And Flash Magic software available here http://www.flashmagictool.com/ .

2. The main factor is ..... how to get the LP9922 in to programming mode, usually on power up (POR = power on reset).

3. Fortunately a fresh unprogrammed LPC922 will jump in to the ISP bootloader on POR and if connected via the UART, RS232 level converter and a PC running Flash Magic you can program a LPC922.

4. After you have programmed your code (without the additon of NoTouch code)... you can only get in to programming mode using special hardware pulsing the RESET line.. for ICP and IAP.

5. So, what does NoTouch code do? After an event (like a port pin tested low)... NoTouch sets up some registers... and then Jumps in to the bootloader ISP program.

6. NoTouch must be loaded first an on every subsequent program upload to the LPC922 (if you forget then you will need to use a hardware method to get in to ISP programming mode).

7. NoTouch code.... there are some examples here http://www.flashmagictool.com/resources.html

**BUT be aware **
a. The LPC922 has a different call address to access the bootloader (than other LPC900 series micro's)
b. It may be a different sequence if setting up the registers if the bootloader version in the LPC922 has been upgraded.

8. LPC922 data sheet and user manual here
http://www.standardics.nxp.com/products/...pc9221.pdf
http://www.standardics.nxp.com/support/d...pc9221.pdf

Reading the the FLASH Memory section of the User Manual shows the NoTouch program should jump to 0x1F00 (which may be different that the P89LPC932a1 or P89LPC935).

So the essence is, your NoTouch code should detect an event (eg port pin low, interupt or something) then jump to 0x1F00 to execute the bootload.,,, where the UART is already connected to
a PC serial port , and running flash magic.

Joe




List of 9 messages in thread
TopicAuthorDate
89lpc922 programing            01/01/70 00:00      
   NoTouch            01/01/70 00:00      
      Typo            01/01/70 00:00      
      89lpc922 programing            01/01/70 00:00      
         ISP and IAP            01/01/70 00:00      
            89lpc programing            01/01/70 00:00      
   I to am having issues with ISP            01/01/70 00:00      
      Solved - My ISP issues            01/01/70 00:00      
         ISP and IAP Understanding LPC925            01/01/70 00:00      

Back to Subject List