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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/12/07 08:35
Read: times


 
#145703 - rs485
Responding to: ???'s previous message
Shankara Rao said:
1. I am in the process of procuring a reset IC. However I the controller should have started at least 1 in ten times

This is true - most probably it would, although I never tried - to be absolutely sure, you can try to reset it by a clean pulse from some external source.

Shankara Rao said:
2. I have a decoupler of 0.1 MFd very close to the controller. Is this adequate.

This depends on many factors, but might suffice. I rely on your experience here. Just one remark, to reduce the possibility of confusion, please use SI marking, 100 nF, or 0.1 μF (0.1 uF would do here on the forum).

Shankara Rao said:
3. The controller is in communication with other controllers through RS485. How do I ensure no signal on RX during power on.

This might be the root of the problem. The chip might go into the bootloader mode inadvertently.
Just try to disconnect Rx during boot and reconnect it after. If this proves our theory, I'd recommend you to go to the FlashMagic website and download the newest bootloader (v7) there (it's not available from NXP site). There is a manual included. The bootloader entry can then be bound to a status on a pin, or the bootloader can be then disabled altogether (if you have a true parallel programmer, you can do this safely).
Alternatively, if the parallel programmer is at hand and you plan never to use the bootloader, you can try to write a short utility into flahs Block1, which does nothing else just a sofware reset - which works so that it switches immediately to Block 0 and restarts from there.

JW


List of 6 messages in thread
TopicAuthorDate
Migration to P89v51            01/01/70 00:00      
   SFR's            01/01/70 00:00      
   P89V51Rx2            01/01/70 00:00      
      P89V51RD2FN            01/01/70 00:00      
         rs485            01/01/70 00:00      
            P89V51RD2FN            01/01/70 00:00      

Back to Subject List