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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/18/00 15:52
Read: times


 
#2758 - RE: Sunshine expro80 update software
Vagelis,

I've sent you an email with a screen image of the WinISP program so you can follow the dcussion below.

INTERNET LINKS:
===============
The program you need to download is called WinISP Version 2.17.

SOFTWARE PAGE:
http://www.semiconductors.com/mcu/downl...index.html

SOFTWARE:
http://www.semiconductors.com/mcu/downl...isp217.zip

AP NOTE ON PROGRAMMING RD+
http://www.semiconductors.com/acrobat/a...N461_5.pdf

HARDWARE ACTIVATION OF THE BOOT LOADER:
=======================================
Page 3 of AN461 (above) states that you need to affect 3 pins and reset the micro:
(1) raise EA higher than 5V (use+12V)
(2) hold PSEN low
(3) hold ALE High or disconnected
If the above conditions are true at the falling edge of RESET, the micro boots to its internal FLASH programming code starting at location FC00.

If you do this correctly, the WinISP software will be able to recoognize the microprocessor through the serial connection. Once you have accomplished this, you'll be able to send your hex file to the chip and have it burned into FLASH.

Using WinISP:
=============
The RX+ uses two bytes called the VECTOR and STATUS that affect the way the microprocessor boots up. As a novice its best to avoid changing them and leave them in normal settings of:
VECTOR=FC
STATUS=00

When you start the WinISP program, The "Misc" block shows these values as FF and 00 along with three security bits unchecked.

Do NOT!!! press the WRITE button in the "Misc" block. I'll explain that later.

The first thing I do is hit the READ button in the "Misc" block to read the connected microprocessor's security values. It will change the displayed values to the factory settings from your chip if you've successfully booted the micro for loading. You should see the values change to FC and 00.

If you accidently press the WRITE button you may make it impossible to re-enter the Boot Loader mode subsequently, unless you change it bck in the current session. I have an older version 2.14 and suggested that they fix that so its not so easy to hit the wrong button. Maybe they did... we wrote our own program instead of waiting. If you write the FF and 00 pattern mistakenly, change it to FC and 00 and write it again before you complete the session.

So be careful with your mouse and you'll have no problem. When you've pressed the "Misc" block's READ and got the FC and 00 value... you've got total control.

You might start with a BLANK CHECK or ERASE BLOCKS command to make sure you have a clear space of FLASH memory.

Now all you need to do is press the LOAD FILE button and direct it to your hex file. After the program is loaded, it is displayed along the right window in hex or ascii format. You can confirm your code is loaded by looking for text strings like your copyright message. Then press PROGRAM PART. I doesn't take long at all.

To run the program, remove the 3 pin conditions and press reset for a normal bootup.

I'll send you a private email with an image of the WinISP screen image I used in this discussion. Version 2.17 may be different... if so, the image may help you convert my instructions.

Good luck,
-Jay C. Box


List of 5 messages in thread
TopicAuthorDate
Sunshine expro80 update software            01/01/70 00:00      
RE: Sunshine expro80 update software            01/01/70 00:00      
RE: Sunshine expro80 update software            01/01/70 00:00      
RE: Sunshine expro80 update software            01/01/70 00:00      
RE: Sunshine expro80 update software            01/01/70 00:00      

Back to Subject List