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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/27/09 20:39
Read: times


 
#171251 - some progress...
Responding to: ???'s previous message
Hello all,


as I mentioned, I already have MCB900 and with reset pulses everything goes ok. I am curious why does not work with break detect to be able to programm chips with just tx, rd, gnd.

After reading again Erik's NoTouch, I decided to implement it in a way I have to send "#ISP#" to my serial port instead of making frame break (and acccidentally going into ISP mode).


As Erik proposed I want to include below code. Is this kind of reset ok? How do I implement it in KEIL C? I guess 0ff00 is not right address to jump for lpc936 - should it jump to 0x3F00 ?

#pragma ASM
mov a,#2
mov r5,#1
mov R7,#3
lcall 0ff00h
#pragma ENDASM

AUXR1|=0x08; // reset


List of 8 messages in thread
TopicAuthorDate
programming lpc932 with just RX,TX            01/01/70 00:00      
   read the FlashMagic info and ...            01/01/70 00:00      
      i've read it            01/01/70 00:00      
         Press Reset while PSEN is low.            01/01/70 00:00      
            Three Pulses            01/01/70 00:00      
               DO NOT substitute            01/01/70 00:00      
                  some progress...            01/01/70 00:00      
                     ... problem solved!            01/01/70 00:00      

Back to Subject List