------------------------------
Subject: #A. I N T R O D U C T I O N
This is a draft FAQ as an attempt to collect/distribute information
about the ST6 microcontrollers of SGS-THOMSON Microelectronics
on the USENET.
If this document will be accepted by the appropriate NewsGroups and
also approved by "news.answers" NewsGroup, we will call this document
"ST6 microcontrollers FAQ" (in short "ST6-FAQ").
For all those who care about French chauvinism:
Ask your SGS-THOMSON representative/distributor for ST6-ICs
produced outside France.
------------------------------
Subject: #B. T A B L E O F C O N T E N T S
#A. I N T R O D U C T I O N
#B. T A B L E O F C O N T E N T S
#C. P O I N T E R S, Q U E S T I O N S A N D A N S W E R S
last change:
###0) GENERAL STUFF
#0.0) New LS+ 951103
#...
#0.9) Trademarks LS* 950805
###1) ABOUT THIS FAQ
#1.1) Who put this FAQ together? LS+ 960130
#1.2) How can I contribute to this FAQ? LS* 960130
#1.3) What Newsgroups will this FAQ be posted to? LS+ 950907
#1.4) May I distribute this FAQ or post it somewhere else? LS+ 950905
#1.5) Other FAQS of possible Interest LS* 951103
#...
#1.9) DOs and DO-NOTs LS* 950805
###2) ABOUT THE ST6-FAMILY OF MICROCONTROLLERS
#2.1) The ST6xxx Microcontrollers LS% 950905
#2.2) Common / New ST6 variants LS% 950905
#2.3) Technical Details (speed, power, EMI, instruction set) SGS?
#2.5) Device List LS% 950905
#2.6) Corresponding ROM/OTP/EPROM Versions LS% 950905
#2.7) Upgrade Path
#2.8) Representatives / (approximate Prices) LS+ 950905
#2.9) Advantages realized in implementing Control Applications on ???
this Family of Microcontrollers
###3) SOURCES OF INFORMATION ON THE ST6
#3.1) Useful Addresses (eMail / SnailMail) ???
#3.2) FTP Sites ???
#3.3) BBSs EC! 960130
#3.4) WWW LS% 950805
#3.5) Fax-On-Demand ???
#...
#3.7) Mailing Lists ???
#3.8) Discussion / Application Circles ???
#3.9) Help available! EC% 950727
###4) FREE ST6 DEVELOPMENT PRODUCTS
#4.1) Development Tools (assemblers, compilers, simulators) LS% 951027
#4.2) Function Packages (e.g. math, macros, subroutines) EC% 950921
#4.3) OTP/EPROM Programmers ???
#4.4) Debugging Tools ???
###5) COMMERCIALLY AVAILABLE ST6 DEVELOPMENT PRODUCTS
#5.1) Development Tools (assemblers, compilers, simulators) EC% 960130
#5.2) Function Packages (e.g. math, macros, subroutines) ???
#5.3) OTP/EPROM Programmers LS% 950905
#5.4) Debugging Tools LS% 950905
###6) ST6 DOCUMENTATION
#6.1) Brochures / Data Books / Application Notes LS% 960130
#6.2) Periodicals ???
#6.3) Books ???
#...
#6.6) Problems / Bugs (chips, hardware, software) ???
#6.7) Hardware Hints and Tips JVK%951130
#6.8) Software Hints and Tips JVK%960130
#6.9) Miscellaneous Documentation EC% 950921
###7) ST6 APPLICATIONS AND PROJECTS
#7.1) Printed Circuit Boards
#7.2) Useful Routines
#7.*) ????
###9) ATTRIBUTIONS LS+ 960130
#D. D I S C L A I M E R S & C O P Y R I G H T S
------------------------------
Subject: #C. P O I N T E R S, Q U E S T I O N S A N D A N S W E R S
###0) GENERAL STUFF LS!
#0.0) New LS+
- item 3.3 : changed the phone number of Grenoble BBS;
- item 5.1 : added some notes relevant the Actum Realizer software,
enclosed the address of Softec Microsistem Company;
- item 6.1 : added the list of Application Notes available on the
Grenoble BBS;
- item 6.8 : added some macros for relative long jumps.
JvK's e-mail address has changed.
--------
The main purpose of this "FAQ" is to trigger a joint-venture
of collecting valuable - at least useful - information about the
ST6xxx family of microcontrollers introduced by SGS-THOMSON.
So please do not expect very much from this draft - we are still
at a starting phase. We'll work on it - and hopefully some of you, too.
If you take a look at the "Table of Contents'" last (status) column,
you'll notice: there are several gaps left at the moment and a lot
of question marks.
The initials there stand for persons who try to take care for
maintaining and filling some chapters of this FAQ draft
(see sub-chapter "How can I contribute to this FAQ?" for explanation
of these "aliases" );
it also indicates sub-chapter's status and date of last change.
The special characters adjacent to the shorthand "aliases" mean:
? request to care for,
! cares for (at least momentarily),
% topic is in process, but more information is needed
* topic is (said to be) finished
+ topic is updated
--------
#0.9) Trademarks LS%
Probably these are trademarks:
MS-DOS,
WINDOWS by Microsoft Corporation;
OS/2,
PC,
PC-DOS by International Business Machines Corporation;
ST6,
ST6xxx by SGS-THOMSON Microelectronics GROUP OF COMPANIES.
--------
###1) ABOUT THIS FAQ LS*
#1.1) Who put this FAQ together? LS*
Based on the pre-work of the authors of
Microcontroller-FAQ/Primer,
68HC11-FAQ,
8051-FAQ Russ Hersch <si...@datasrv.co.il>,
COP8-FAQ Robin Getz <rg...@esd.nsc.com>,
PIC-FAQ Tom Kellett <t...@takdsign.demon.co.uk>
this proposal ST6-FAQ was initiated by
Emilio Caggiano <cagg...@vm.csata.it> (*EC*),
Jerry van Kampen <jvka...@worldaccess.nl> (*JvK*),
Leonhard Schneider <ub...@rz.uni-karlsruhe.de> (*LS*).
We decided to take the format and whatever was reasonable to be
taken from the for-runner FAQS (with permission of the authors).
The unique "#" character in front of the chapter numbers we put there
to ease forward/backward skipping using search commands.
To link an HTML version of this FAQ to his "ChipDir" was an idea of
Jaap van Ganswijk <gans...@xs4all.nl> (*JvG*).
Another HTML version of ST6-FAQ is kept by
Filip Gieszczykiewicz <fi...@alpha.smi.med.pitt.edu> (*FG*).
--------
#1.2) How can I contribute to this FAQ? LS%
If you have any suggestions or additions, or you would like to
correct any of the information contained herein, please eMail a note,
depending on subject, to *one* of the "co-maintainers"
(see status column in "Table of Contents"):
Emilio Caggiano <cagg...@vm.csata.it> (*EC*)
Jerry van Kampen <jvka...@worldaccess.nl> (*JvK*)
(place [Jerry] in subject line)
Leonhard Schneider <ub...@rz.uni-karlsruhe.de> (*LS*)
For the ease of FAQ maintaining we ask supporters to provide their
contributions in a format that matches the format of this FAQ.
Please precede your article by
a copy of the adequate topic line,
a subject line describing the contents of your article in brief,
and append
a line with your name and eMail-address.
Articles offered to the maintainers of this ST6-FAQ must be free
to be published on The Net.
If you give names of ftp/html-sites, please use URL conventions (rfc1630),
even if WE didn't do it by accident (but please point to our mistakes=
).
We certainly hope that those of you who know of interesting items for
the ST6 will share with everyone by contributing to this project.
If you are a manufacturer and have an anonymous ftp site available
that supports the ST6, please let us know by Email so that we can
add it to this FAQ.
--------
#1.3) What Newsgroups will this FAQ be posted to? LS%
This FAQ will be cross-posted to the following newsgroups:
comp.arch.embedded Embedded computer systems topics.
comp.realtime Issues related to real-time computing.
comp.robotics.misc All aspects of robots and their applications.
sci.electronics Circuits, theory, electrons and discussions.
Items will be posted once a month. We can't promise that it will be
on time, but we hope to post it on the *6th* of each month.
Easy to remember, isn't it: ST6 at 6th?
You may also want to check out the following newsgroups, since they
may occasionally have items of interest for ST6 users.
alt.comp.hardware.homebuilt
alt.lang.asm
comp.lang.misc
And probably later (*), depending on what people think....
comp.answers
news.answers
sci.answers
Archive (*): rtfm.mit.edu : <plus all mirror sites>
/pub/usenet/comp.answers/microcontroller-faq/ST6
/pub/usenet/sci.answers/microcontroller-faq/ST6
/pub/usenet/news.answers/microcontroller-faq/ST6
The national groups may be informed by short announcements
whenever there is an update-posting of the ST6-FAQ:
de.comp.sys.misc *LS*
de.sci.electronics *LS*
nl.comp *JvK*
The first four newsgroups often contain discussions, announcements,
or information on microcontrollers. Check them out from time to
time. Later on, by posting to the *.answers newsgroups, the FAQ will
automatically be archived. The archive name of this FAQ (also
included in the header) is supposed to be:
microcontroller-faq/ST6.
--------
#1.4) May I distribute this FAQ or post it somewhere else? LS*
We are putting no restrictions on the use of this FAQ except - It must
be distributed in its entirety with the copyright notice, and no
financial gain may be realized from it. After all, we have spent, and
continue to spend, a lot of time on this, and the only thing that we
intend to gain from it is more information on the ST6, and getting
to know fellow ST6 groupies better.
REMEMBER ! If you choose to upload this FAQ to any BBS or ftp site,
then *YOU* are responsible for updating it regularly.
--------
#1.5) Other FAQS of possible Interest LS*
Other Microcontroller FAQs
Subject: Microcontroller primer and FAQ
Newsgroups: comp.sys.intel
comp.realtime
comp.robotics
sci.electronics
alt.comp.hardware.homebuilt
Archive: rtfm.mit.edu : <plus all mirror sites>
/pub/usenet/comp.answers/microcontroller-faq/primer
/pub/usenet/sci.answers/microcontroller-faq/primer
/pub/usenet/news.answers/microcontroller-faq/primer
Maintainer: Russ Hersch
Email: si...@datasrv.co.il
Subject: 68hc11 microcontrollers
Newsgroups: comp.realtime
comp.robotics
sci.electronics
Archive: rtfm.mit.edu : <plus all mirror sites>
/pub/usenet/comp.answers/microcontroller-faq/68hc11
/pub/usenet/sci.answers/microcontroller-faq/68hc11
/pub/usenet/news.answers/microcontroller-faq/68hc11
Maintainer: Russ Hersch
Email: si...@datasrv.co.il
Subject: 8051 microcontrollers
Newsgroups: comp.sys.intel
comp.realtime
comp.robotics
comp.lang.forth
sci.electronics
Archive: rtfm.mit.edu : <plus all mirror sites>
/pub/usenet/comp.answers/microcontroller-faq/8051
/pub/usenet/sci.answers/microcontroller-faq/8051
/pub/usenet/news.answers/microcontroller-faq/8051
Maintainer: Russ Hersch
Email: si...@datasrv.co.il
Subject: COP8 microcontrollers
Newsgroups: comp.realtime
comp.robotics
sci.electronics
comp.arch.embedded
Maintainer: Robin Getz
rg...@esd.nsc.com
rg...@lcc1.nsc.com
Subject: PIC microcontrollers
Newsgroups: comp.realtime
comp.robotics
sci.electronics
Maintainer: Tom Kellett
T...@takdsign.demon.co.uk
--------
Additional FAQs of interest
Subject: Robotics
Newsgroups: comp.robotics
Maintainer: Kevin Dowling
Email: ni...@ri.cmu.edu
Subject: Electronics
Newsgroups: sci.electronics
Maintainer: Filip Gieszczykiewicz
Email: fi...@smi.med.pitt.edu
Subject: Real-time
Newsgroups: comp.realtime, comp.answers, news.answers
Archive: rtfm.mit.edu : pub/usenet/comp.realtime
Maintainer: Mark Linimon
Email: lin...@nominil.lonesome.com
Subject: Neural Networks
Newsgroups: comp.ai.neural-nets,comp.answers,news.answers
Archive: rtfm.mit.edu : pub/usenet/neural-net-faq
URL: http://wwwipd.ira.uka.de/~prechelt/FAQ/neural-net-faq.html
Maintainer: Lutz Prechelt
Email: prec...@ira.uka.de
Subject: Fuzzy Logic
Newsgroups: comp.ai.fuzzy,comp.answers,news.answers
Archive: rtfm.mit.edu : pub/usenet/fuzzy-logic/
URL: http://www.cs.cmu.edu:8001/Web/Groups/AI/html/faqs
/ai/fuzzy/part1/faq.html (should be one line)
Maintainer: Mark Kantrowitz
Email: mka...@cs.cmu.edu
--------
For more information on various microcontrollers and their features,
refer to the Microcontroller primer and FAQ listed above. URL:
ftp://rtfm.mit.edu/pub/usenet/comp.answers/microcontroller-faq/primer
If anyone wishes to start a FAQ on another microcontroller, please
feel free to copy the format of this FAQ (we did to some degree).
With a common/similar format, we will all benefit when trying to find
information on a particular microcontroller. If anyone has any comments
on the format itself, we are open for suggestions.
In that case we do recommend to read ...
.. in English:
ftp://rtfm.mit.edu/pub/news.answers/faqs/about-faqs
ftp://rtfm.mit.edu/pub/news.answers/faqs/mininmal-digest-format
ftp://rtfm.mit.edu/pub/news.answers/news-answers/introduction
ftp://rtfm.mit.edu/pub/news.answers/news-answers/guidelines
ftp://rtfm.mit.edu/pub/news.answers/usenet/writing-style/part1
ftp://ftp.coast.net/SimTel/msdos/educatin/capskil2.zip
ftp://rtfm.mit.edu/pub/usenet-by-groups/comp.answers/law/Copyright-FAQ
(try at the nearest/local mirror first)
.. in German:
ftp://rtfm.mit.edu/pub/usenet/news.answers/de-answers/richtlinien
.. also:
de.newusers/headerzeilen
If you want to offer a WWW-page, read
ftp://ftp.ncsa.uiuc.edu/ncsapubs/WWW/HTMLPrimer.ps.Z
--------
#1.9) DOs and DO-NOTs
If you have any QUESTIONS concerning ST6xxx and/or this FAQ,
please
- DO NOT ask the maintainer(s) of this FAQ,
- DO read this FAQ in its entirety,
- DO use the other sources of information given here
or somewhere else,
- DO post your question(s) to the approriate USENET NewsGroup,
- DO ask one of the "experts" mentioned in chapter
"Help available" of this FAQ,
- DO collect and summarize the answers you receive,
if you think they are of general interest,
- DO nicely edit the summary and send it to the maintainer
pointed to in Table-of-Contents/overview's status column,
in that order.
If you have any SUGGESTIONS/CORRECTIONS/CONTRIBUTIONS for this FAQ
- DO have a look at the T-o-C/overview and find out which of
the co-maintainers would most likely care for your idea,
- DO eMail to her/him and tell in ADVANCE about your arcticle
to prevent double work.
--------
###2) ABOUT THE ST6-FAMILY OF MICROCONTROLLERS JvK?
#2.1) The ST6xxx Microcontrollers SGS?
ST62 subfamilies are:
ST621X,
ST622X : Small general purpose with AD converter
ST626X : Small general purpose with AD converter, PWM and EEPROM
ST624X : LCD driver
ST628X : Dot matrix driver
ST63xx family is used for TV applications.
ST62xx and ST63xx families have the same, small instruction set.
--------
#2.2) Common / New ST6 variants SGS?
Common feature of ST62 devices is the high noise immunity. It enables
the designer to design an application without spending much time on
adjusting capacitors, shieldings, ground ... See Application note
AN435 in the ST62 General Purpose Application Manual for more detail
on this point.
New ST62 devices are under development in order to extend the
family downward and upward. Information on these devices will be
published later.
#2.3) Technical Details (speed, power, EMI, instruction set) SGS?
[ to be added ]
#...
#2.5) Device List LS!SGS?
The devices differ in on-chip resources and in pin-out,
as this (incomplete) list shows:
TYPE ROM RAM LCD EEP I/O A/D LED LCD EXT TMR TMR TMR SPI : D: S: Q: R
RAM ROM DRV ITR WD 8b AR : I: O: F: E
ST- (k) : P: : P: M
6210 1.8 64 - - 12 8 4 - 13 1 1 - - : 20 20 --
6215 1.8 64 - - 20 16 4 - 21 1 1 - - : 28 28 --
6220 3.8 64 - - 12 8 4 - 13 1 1 - - : 20 20 --
6225 3.8 64 - - 20 16 4 - 21 1 1 - - : 28 28 --
6240 8 192 24 128 16 12 4 4x45 17 1 2 - 1 : - - 80
6242 8 128 24 - 10 6 4 4x40 11 1 1 - 1 : - - 64
6245 3.8 128 12 64 11 7 4 4x24 11 1 2 - 1 : - - 52
6260 3.8 128 - 128 13 7 6 - 14 1 1 - - : 20 20 --
6265 3.8 128 - 128 21 13 8 - 22 1 1 - - : 28 28 --
6280 8 192 128 128 22 12 10 16x48 23 1 1 1 1 : - - 100 D
6285 8 192 96 - 12 8 4 16x40 13 1 1 - 1 : - - 100 D
Remarks:
D under development
#2.6) Corresponding ROM/OTP/EPROM Versions
ROM Device | OTP | EPROM |
___________|_______________|_________________|
| | |
ST6210BB6 | ST62T10B6/HWD | ST62E20F1/HWD |
| ST62T10B6/SWD | ST62E20F1/SWD |
ST6210BM6 | ST62T10M6/HWD | - |
| ST62T10M6/SWD | - |
| | |
ST6215BB6 | ST62T15B6/HWD | ST62E25F1/HWD |
| ST62T15B6/SWD | ST62E25F1/SWD |
ST6215BM6 | ST62T15M6/HWD | - |
| ST62T15M6/SWD | - |
___________|_______________|_________________|
| | |
ST6220BB6 | ST62T20B6/HWD | ST62E20F1/HWD |
| ST62T20B6/SWD | ST62E20F1/SWD |
ST6220BM6 | ST62T20M6/HWD | - |
| ST62T20M6/SWD | - |
| | |
ST6225BB6 | ST62T25B6/HWD | ST62E25F1/HWD |
| ST62T25B6/SWD | ST62E25F1/SWD |
ST6225BM6 | ST62T25M6/HWD | - |
| ST62T25M6/SWD | - |
___________|_______________|_________________|
| | |
ST6240Q6 | ST62T40Q6 | ST62E40G1 |
| ST62T42Q6 | ST62E42G1 |
| ST62T45Q6 | ST62E45G1 |
___________|_______________|_________________|
| | |
ST6260BB6 | ST62T60BB6 | ST62E60BF1 |
ST6260BM6 | ST62T60BM6 | - |
| | |
ST6265BB6 | ST62T65BB6 | ST62E65BF1 |
ST6265BM6 | ST62T65BM6 | - |
| | |
___________|_______________|_________________|
| | |
ST6280Q6 | Samples only | ST62E80G1 |
| | ST62E85G1 |
___________|_______________|_________________|
NOTE:
Read data books to find out what you have to keep in mind if
yout are switching from a device to the corresponding one.
MINIMUM ORDER QUANTITIES:
ROM Dev.| Units/Year/Code min | Units/Order | Unity/Shipments
-------- --------------------- ------------- ----------------
ST621x | 50K | 15K | 5K
ST622x | 50K | 15K | 5K
ST624x | 25K | 10K | 5K
ST626XB | 50K | 15K | 5K
ST628X | 25K | 10K | 5K
#2.7) Upgrade Path
[ to be added ]
#2.8) Representatives / (approximate Prices)
SGS-THOMSON is widely distributed, especially in Europe.
Main distributors are:
ARROW group : Benelux : Diode - Microtron
France : Arrow - CCI - Megachips
Germany : Spoerle - Sasco - HED
Italy : Silverstar - LASI
Scandinavia : TH : S
Spain : ATD - AMITRON
Switzerland : Spoerle
UK : Arrow Jermyn - Arrow MMD
FARNELL group : FES
France : Spelec
AVNET group
SEI group France : 3D - SCAIB
Germany : Jermyn - Elbatex
Italy : Sonelco
EBV
EURODIS Benelux : TEXIM
Italy : Fanton
UK : HB
--------
This is an address/phone list of distributors of SGS-THOMSON in Europe:
SEI-ELBATEX Eitnergasse 6
A-1232 Wien
Austria
Tel (43) 1 816020
Fax (43) 1 81602201
EURODIS Lamezanstrasse 10
A-1232 Wien
Austria
Tel (43) 1 610620
Fax (43) 1 61062151
EURODIS TEXIM Avenue des Croix de Guerre 116
B-1120 Brussels
Belgium
Tel (32) 22474969
Fax (32) 22158102
ARROW-EXATE Mileparken 20E
DK--2740 Skovlunde
Denmark
Tel (45) 44.927000
Fax (45) 44.926020
FES Naverland 29
DK-2600 Glostrup
Denmark
Tel (45) 42.456645
Fax (45) 43.633618
ARROW-FIELD Niittylantie 5
FIN-00620 Helsinki
Finland
Tel (358)0777571
Fax (358) 0798853
FES PO Box 25, Tyopajakatu 5
FIN-00581 Helsinki
Finland
Tel (358) 0.739100
Fax (358) 0.7015639
AVNET EMG 79, rue Pierre Semard
92320 CHATILLON
France
Tel (33) 1.49.65.26.26
Fax (33) 1.49.65.26.49
DIMACEL 65, rue Jean Jaures
95871 BEZONS CEDEX
France
Tel (33) 1.34.23.70.00
Fax (33) 1.30.76.31.97
FARNELL Immeuble Apollo
BP 69 SAINT AUBIN
91182 GIF S/YVETTE CEDEX
France
Tel (33) 1.69.85.83.83
Fax (33) 1.69.85.83.99
SEI-3D 6/8, rue Ambroise Croizat
91127 PALAISEAU CEDEX
France
Tel (33) 1.64.47.29.29
Fax (33) 1.64.47.00.84
SEI-SCAIB ZI des Glaises
BP58, 6 rue Ambroise Croizat
91122 PALAISEAU CEDEX
France
Tel (33) 1.69.19.89.00
Fax (33) 1.69.19.89.20
TCDIS 30, avenue de L'Epi d'Or
94807 VILLEJUIF CEDEX
France
Tel (33) 1.46.87.22.24
Fax (33) 1.4687.22.24
TEKELEC Cite des Bruyeres
Rue Carle Vernet - BP 2
92315 SEVRES CEDEX
France
Tel (33) 1.46.23.24.25
Fax (33) 1.45.07.21.91
SEI-JERMYN Im Dachsstuck 9
D-65549 Limburg
Germany
Tel (49) 6431 5080
Fax (49) 6431 508289
MSC/STUTENSEE Industriestrasse 16
D-76297 Stutensee
Germany
Tel (49) 7249 9100
Fax (49) 7249 7993
RSC Industriestrasse 2
D-75228 Ispringen
Germany
Tel (49) 7231 8010
Fax (49) 7231 82282
ARROW SASCO-HED Hermann-Oberth-Strasse 16
D-85640 Putzbrunn
Germany
Tel (49) 89 4611-0
Fax (49) 89 4611-273
AVNET SETRON Friedrich-Seele Strasse 3a
D-3300 Braunschweig
Germany
Tel (49) 531 80980
Fax (49) 531 809-8789
ARROW SPOERLE Max-Planck Strasse 1-3
D-63303 Dreieich
Germany
Tel (49) 6103 3040
Fax (49) 6103 304201
WEISBAUER Heiliger Weg 1
D-44135 Dortmund
Germany
Tel (49) 231 579547
Fax (49) 231 577514
ABACUS Bone Lane
RG14 5SF Newbury
Great Britain
Tel (44) 1635 515701
Fax (44) 1635 38432
ANZAC Burnham Lane
SL1 6LN Slough
Great Britain
Tel (44) 1628 604383
Fax (44) 1628 666873
ARROW/JERMYN Cambridge Road
MK42 OLF Bedford
Great Britain
Tel (44) 1234 270027
Fax (44) 1234 791888
ARROW/MMD 3 Bennet Court
Bennet Road
Reading
RG2 OQX Berkshire
Great Britain
Tel (44) 1734 633715
Fax (44) 1734 633899
AVNET / ACCESS Jubilee Road
SG61QH Letchworth
Great Britain
Tel (44) 462 480888
Fax (44) 462 488567
FEC Canal Road
LS 12 2TULeeds
Great Britain
Tel (44) 132 2790101
FES Edinburgh Way
CM20 2DF Harlow
Great Britain
Tel (44) 1279 451444
Fax (44) 1279 451924
HB ELECTRONICS Lever Street
BL3 6BJ Bolton
Great Britain
Tel (44) 204 25544
Fax (44) 384911
POLAR Cherrycourt Way
LU7 8YY Leighton Buzzard
Great Britain
Tel (44) 1525 377093
Fax (44) 1525 378367
EURODIS FANTON Via O. Simoni, 8
40011 Anzola dell'Emilia(BO)
Italy
Tel (39)51 735015
FARNELL V.le Milanofiori, E/5
20090 Assago (MI)
Italy
Tel (39)2 824701
ARROW-SILVERSTAR V.le F. Testi, 280
20126 Milano
Italy
Tel (39)2 661251
SEI-SONELCO Via Monfalcone, 15
20092 Cinisello Balsamo (MI)
Italy
Tel (39)2 660261
KONING & HARTM Energieweg 1
NL-2627 AP Delft
Nederland
Tel (31) 15 609906
Fax (31) 15 619194
ARROW-SPOERLE Coltbaan 17
NL-3439 NG Nieuwegein
Nederland
Tel (31) 34 0291234
EURODIS TEXIM Nijverheidsstraat 16
NL-7482 GZ Haaksbergen
Nederland
Tel (31) 54 2733333
ARROW-TAHONIC Postboks 4554 / Torshov
N-0404 Oslo
Norway
Tel (47)22.378440
Fax (47)22.370720
FES Nedre Kalbakkvn 88
N-1081 Oslo 10
Norway
Tel (47) 2.321270
Fax (47) 2.325120
SEI-ADM Tomas Breton 50, 3-2
E-28045 Madrid
Spain
Tel (34) 1-5304121
Fax (34) 1-5300164
UNITRONICS Plaza Espana 18
E-28008 Madrid
Spain
Tel (34) 1-5425204
Fax (34) 1-5484228
VENCO Carretera Del Mig 75
E-08907 L'Hospitalet de Liobregat
Barcelona
Spain
Tel (34) 3-2633354
Fax (34) 3-2633323
FARNELL Box 1330 Ankdammsg. 32
S-17126 Solna
Sweden
Tel (46) 8.830020
Fax (46) 8.271303
ARROW-THS Box 3027, Arrendev 36
S-16303 Spanga
Sweden
Tel (46) 8.362970
Fax (46) 8.7613065
BASIX Hardturmstrasse 181
CH-8010 Zurich
Switzerland
Tel (41) 1 276 1470
Fax (41) 1 2761499
SEI-ELBATEX Hardstr.72
CH-5430 Wettingen
Switzerland
Tel (41) 56 275 111
Fax (41) 56 275532
ARROW-SPOERLE Cherstr.4
CH-8152 Opfikon-Glattbrugg
Switzerland
Tel (41) 1 874 6262
Fax (41) 8746200
--------
In addition, SGS-THOMSON sales office are located in all European
countries. Find below the locations of the area headquarters:
Denmark (Herlev) : (45.44) 94.85.33
France (Gentilly) : (16 1) 47.40.75.75
Finland (Lohja) : (33.88) 75.50.66
Germany (Grasbrunn) : (49.89) 46.00.60
Italy (Assago) : (39.2) 57.54.61
Netherlands (Eindhoven) : (31.40) 55.00.15
Spain (Barcelona) : (34.3) 42.51.800
Sweden (Kista) : (46.8) 79.36.920
Switz (Gd Saconnex): (41.22) 92.92.929
UK (Marlow) : (44.628) 89.08.00
For USA, SGS-THOMSON headquarter is:
Lincoln (MA) : (617) 259.03.00
For Asia, Headquarter is:
Singapore : (65) 48.21.411
#2.9) Advantages realized in implementing Control Applications on
this Family of Microcontrollers SGS?
[ to be added ]
###3) SOURCES OF INFORMATION ON THE ST6 JvK?EC?
#3.1) Useful Addresses (eMail / SnailMail) JvK?
[ to be added ]
#3.2) FTP Sites SGS?
[ to be added ]
#3.3) BBSs EC!
EUROPE:
SGS-THOMSON BBS - Microcontroller Support (France);
(+33) 42 29 14 16 - 9600 baud (V32) and lower,8,n,1;
SGS-THOMSON BBS - Micros Technical Support Hotline (Grenoble, France):
(+33) 76-04-93-99 - 9600 baud (V32) and lower,8,n,1:
Offer very last versions of software
In this BBS it is possible to find informations
about SGS-THOMSON MICROELECTRONICS Microcontrollers
(Application designs, tips, Development Tools,
Last releases...). The BBS content is regularly updated.
SGS-THOMSON BBS - Microcontroller ROM code tranfer ONLY
(+33) 42 29 89 22 - 9600 baud (V32) and lower, 8,N,1
USA:
SGS-THOMSON USA BBS - 1 (708) 517-1898 - (V22) 2400 baud 8,N,1
#3.4) WWW JvK!
The URL of the first HTML version oft ST6-FAQ is
http://www.xs4all.nl/~ganswijk/chipdir/faq/st6.html.
Jaap van Ganswijk <gans...@xs4all.nl>, maintainer of this WWW-page,
also supports "Chip Directory and Chip Manufacturers" URL's; in file
http://<location>/chipdir/chip60.html
it has:
6 ST6 mcu 8-Bit MCU* Family (ST*), See 6210, 6211,
6220, 6293, 6240
and
6210 ST6210 mcu 8-Bit MCU*
62101 ST6210BB1 mcu 8-Bit CMOS* MCU*, 1.8K ROM* 64*8 RAM* PDIP20
62101 ST6210BM1 mcu 8-Bit CMOS* MCU*, 1.8K ROM* 64*8 RAM* PSO20
62106 ST6210BB6 mcu 8-Bit CMOS* MCU*, 1.8K ROM* 64*8 RAM* PDIP20
62106 ST6210BM6 mcu 8-Bit CMOS* MCU*, 1.8K ROM* 64*8 RAM* PSO20
62106 ST62T10BB6 mcu 8-Bit CMOS* MCU*, 1.8K OTP 64*8 RAM* PDIP20
62106 ST62T10BM6 mcu 8-Bit CMOS* MCU*, 1.8K OTP 64*8 RAM* PSO20
6211 ST6211 mcu 8-Bit MCU* (no longer supported)
62151 ST6215BB1 mcu 8-Bit CMOS* MCU*, 1.8K ROM* 64*8 RAM* PDIP28
62151 ST6215BM1 mcu 8-Bit CMOS* MCU*, 1.8K ROM* 64*8 RAM* PSO28
62156 ST6215BB6 mcu 8-Bit CMOS* MCU*, 1.8K ROM* 64*8 RAM* PDIP28
62156 ST6215BM6 mcu 8-Bit CMOS* MCU*, 1.8K ROM* 64*8 RAM* PSO28
62156 ST62T15BB6 mcu 8-Bit CMOS* MCU*, 1.8K OTP 64*8 RAM* PDIP28
62156 ST62T15BM6 mcu 8-Bit CMOS* MCU*, 1.8K OTP 64*8 RAM* PSO28
6220 ST6220 mcu 8-Bit MCU*
62201 ST6220BB1 mcu 8-Bit CMOS* MCU*, 3.8K ROM* 64*8 RAM* PDIP20
62201 ST6220BM1 mcu 8-Bit CMOS* MCU*, 3.8K ROM* 64*8 RAM* PSO20
62201 ST62E20BF1 mcu 8-Bit CMOS* MCU*, 4K EPROM* 64*8 RAM* CDIP20W
62206 ST6220BB6 mcu 8-Bit CMOS* MCU*, 3.8K ROM* 64*8 RAM* PDIP20
62206 ST6220BM6 mcu 8-Bit CMOS* MCU*, 3.8K ROM* 64*8 RAM* PSO20
62206 ST62T20BB6 mcu 8-Bit CMOS* MCU*, 4K OTP 64*8 RAM* PDIP20
62206 ST62T20BM6 mcu 8-Bit CMOS* MCU*, 4K OTP 64*8 RAM* PSO20
62251 ST6225BB1 mcu 8-Bit CMOS* MCU*, 3.8K ROM* 64*8 RAM* PDIP28
62251 ST6225BM1 mcu 8-Bit CMOS* MCU*, 3.8K ROM* 64*8 RAM* PSO28
62251 ST62E25BF1 mcu 8-Bit CMOS* MCU*, 4K EPROM* 64*8 RAM* CDIP28W
62256 ST6225BB6 mcu 8-Bit CMOS* MCU*, 3.8K ROM* 64*8 RAM* PDIP28
62256 ST6225BM6 mcu 8-Bit CMOS* MCU*, 3.8K ROM* 64*8 RAM* PSO28
62256 ST62T25BB6 mcu 8-Bit CMOS* MCU*, 4K OTP 64*8 RAM* PDIP28
62256 ST62T25BM6 mcu 8-Bit CMOS* MCU*, 4K OTP 64*8 RAM* PSO28
6240 ST6240 mcu 8-Bit MCU*
62401 ST6240Q1 mcu MCU*, 8K ROM* 192*8 RAM* 128 EEPROM* PQFP80
62401 ST62E40G1 mcu MCU*, 8K EPROM* 192*8 RAM* 128 EEPROM* PQFP80
62406 ST6240Q6 mcu MCU*, 8K ROM* 192*8 RAM* 128 EEPROM* PQFP80
62406 ST62T40Q6 mcu MCU*, 8K OTP 192*8 RAM* 128 EEPROM* PQFP80
62421 ST6242Q1 mcu MCU*, 8K ROM* 128*8 RAM* No EEPROM* PQFP64
62421 ST62E42G1 mcu MCU*, 8K EPROM* 128*8 RAM* No EEPROM* PQFP64
62426 ST6242Q6 mcu MCU*, 8K ROM* 128*8 RAM* No EEPROM* PQFP64
6293 ST6293 mcu 8-Bit MCU* (does not exist )
ST62T1xBx6 is not yet supported; Use ST62T1xx6/xxx instead
Example: ST62T10BM6 does not exist; use ST62T10M6/HWD
or ST62T10M6/SWD instead)
Same for ST62T2xBx6
Same for ST62E2xBx1
The same information can also be found in the file
http://<location>/chipdir/func/mcu.html
except that the category code ('mcu') is then left out.
For <location> you should substitute one of the mirror-sites:
http://www.hitex.com/chipdir/ - North America (USA, California)
http://www.civil.mtu.edu/chipdir/ - North America (USA, Michigan)
http://www.leg.ufrj.br/chipdir/ - South America (Brasil)
http://www.xs4all.nl/~ganswijk/chipdir/ - Europe (The Netherlands)
http://bbs.cc.uniud.it/chipdir/ - Europe (Italy)
--------
SGS-THOMSON Homepage at:
http://www.inmos.co.uk
--------
Information on microcontrollers and microprocessors is available at:
http://www.cera.com/micro.htm
--------
Filip Gieszczykiewicz d<fi...@alpha.smi.med.pitt.edu> keeps a mirror
of FAQs at
http://www.paranoia.com/~filipg/HTML/LINK/LINK_IN.html
#3.5) Fax-On-Demand ????
[ to be added ]
#...
#3.7) Mailing Lists ????
[ to be added ]
#3.8) Discussion / Application Circles EC?
[ to be added ]
#3.9) Help available! EC?
Emilio Caggiano <cagg...@vm.csata.it>
profession: graduated electrical engineer
job: maintenance and security
hobby: electronics for remote controlled aircraft models
Dom Latter <d...@i-cubed.demon.co.uk>
Company: i-cubed ltd, Cambridge, UK
Description: Hardware and Software design consultancy,
Skills: experienced in design-in and programming of ST6
###4) FREE ST6 DEVELOPMENT PRODUCTS EC?JVK?
#4.1) Development Tools (assemblers, compilers, simulators) ????
Olaf Kaluza presents his ST6FORTH to the community:
Title =3D ST6FORTH Forthcrosscompiler for ST6 Microcontroller
Version =3D 0.1a
Desc1 =3D First version of a Forth Crosscompiler for the
Desc2 =3D ST6 Microcontroller from SGS
Desc3 =3D Documentation at this time only in German, sorry.
Desc4 =3D
Author =3D Olaf Kaluza
AuthorEmail =3D ol...@criseis.ruhr.de
Maintainer =3D Olaf Kaluza
MaintEmail =3D ol...@criseis.ruhr.de
Site1 =3D localhost.ruhr.de
Path1 =3D /pub/olaf/st6forth
File1 =3D st6forth.0.1a.tar.gz
FileSize1 =3D 100K
Site2 =3D ?
Path2 =3D ?
File2 =3D ?
FileSize2 =3D 100K
Required1 =3D SGS-Development-Kit-Assembler
CopyPolicy1 =3D GPL
Keywords =3D st6forth forth st6 microcontroller
Comment1 =3D Actively supported by author via email
Comment2 =3D Supported on Linux and DOS
Entered =3D 27.10.95
EnteredBy =3D Olaf Kaluza
CheckedEmail =3D ol...@criseis.ruhr.de
--------
[ hopefully more to be added ]
#4.2) Function Packages (e.g. math, macros, subroutines) EC!
In the SGS-THOMSON BBS (see item #3.3 - Grenoble BBS)
some demonstration software is available that, as I understand,
is enclosed in details in the ST6220 starter kit (release of May 1995).
In the ST6220A1.exe file it is possible to find the following
EXAMPLES DIRECTORY, with free software:
DISK DIRECTORY STRUCTURE
************************
\
- CALCUL
- DATAROM
- EEPROM
- EXOS
- IRTRANS
- KEYBOARD
- POWER
- REGISTER
- SERIAL
- TIMING
- RS232
- MUSIC
- LCD
- BAT_CHG
- DC_MOT
- UNIMOT
- HOME ------- \PHONE
\___ \POW_LIN
FILES LIST:
**********
\ CALCUL ROUTINES FOR CALCULATION
File.Ext Size
------------ -------
additn.asm 3,602 floating point addition
bin_asci.asm 5,425 binary/ascii conversion
bin_bcd.asm 11,972 binary/bcd conversion
calcul.asm 13,124 quick floating point calculator
divis.asm 4,469 8/8 division
div_24.asm 23,124 division
st6div.txt 1,736 division
multi.asm 4,338 8x8 multiplication
multipl1.asm 2,591 floating point multiplication
multipl2.asm 962 8x8 multiply
st6sqrt.txt 4,596 rootmint square calculation
xor.asm 1,834 8 bits exclusive OR
\ DATAROM DATAROM MANIPULATION
File.Ext Size
----------- --------
st6pagm.txt 1,127 macro
st6pgdlt.txt 11,479 look-up table
\ EEPROM EEPROM MANIPULATION
File.Ext Size
----------- -------
eeppws6.asm 7,330 parallel write
eeprom.asm 14,723 read/write EE 93C46
eeprws6.asm 7,458 read routine
eepwr.txt 5,788 parallel write
\ EXOS EXAMPLES OF SMALL PROGRAMS
File.Ext Size
------------- ---------
example1.asm 4,217 example training
example2.asm 7,189 example training
stopmod.asm 4,377 stop mode
\ IRTRANS IR TRANSMITTERS AND RECEIVERS
File.Ext Size
-------------- --------
gpirmr.txt 1,186 general purpose IR transmission
gpirtx.txt 10,825 general purpose IR transmission
irdimmer.asm 27,257 light dimmer with IR interface
mn6014a.asm 18,606 IR transmission
rcs6.asm 26,977 remote control data bits
\ KEYBOARD KEYBOARDS DECODING
File.ext Size
-------------- -------
adca.txt 4,220 analog keyboard decoding
adcb.txt 5,622 analog keybaord decoding
scan_k2.asm 10,878 keyboard scan 28 keys
scan_key.asm 3,437 keyboard pad scanning
st_kb1.asm 12,448 keyboard scan 16 keys
\ POWER POWER CONTROL APPLICATIONS
File.ext Size
------------ ---------
60dim1.asm 11,213 60Hz light dimmer
dim1.asm 11,212 50Hz light dimmer
himkit.txt 16,023 highly inductive motor control
himkita.txt 1,902 highly inductive motor control
irdimmer.asm 27,257 remote control + light dimmer
mot1.asm 10,605 50Hz motor control
mot60.asm 10,610 60Hz motor control
pmot1.asm 6,221 motor control with potentiometer
\ REGISTER REGISTERS DEFINITION
File.ext Size
------------ --------
6215_reg.asm 1,656 ST621x/2x register declaration
6292_reg.asm 2,584 ST6292/94 register declaration
62xx_reg.asm 8,636 register/bit name standards
st62e10.def 1,129
st62e15.def 1,214
st62e40.def 3,036
st62e92.def 1,916
st62e94.def 1,916
st6dpins.txt 9,383 ports initialisation
\ SERIAL SERIAL COMMUNICATION
File.ext Size
------------- -----
si2cs6.asm 14,838 I2C by software
st6i2c.asm 18,733 I2C by software
send.asm 2,183 Send data using the SPI peripheral
receive.asm 3,589 Receive data using the SPI peripheral
spi.txt 2,233 serial communication using the SPI
\ TIMING CLOCKS
File.ext Size
-------------- ------
rtcst6.asm 17,814 real time clock
\ RS232 RS232 SERIAL COMMUNICATION
File.ext Size
-------------- ------
README 1,810
COM.DEF 170
COM.MAC 3,089
REG_R_W.BAT 55
REG_R_W.ST6 11,619
RS_REG.DEF 2,934
SERIN.MAC 3,776
SEROUT.MAC 4,746
ST6210.DEF 1,093
SUB_IN.ST6 2,743
SUB_OUT.ST6 2,110
\ MUSIC SOUNDS & MUSICS TUNING
File.ext Size
-------------- ------
MUSIC.ASM 8,609
ST626X.DEF 2,012
\ LCD LIQUID CRYSTAL DISPLAY DRIVE
File.ext Size
-------------- ------
README 1,412
DEMLCD05.ASM 18,374
DEMOLCD3.ASM 14,154
LCD005.ASM 25,027
LCD_6225.ASM 17,838
LCD_6265.ASM 25,027
\ BAT_CHG BATTERY CHARGE CONTROL
File.ext Size
-------------- ------
INFLEX1.ASM 41,627
\ DCMOT DC MOTOR CONTROL
File.ext Size
-------------- ------
DCMOT_1.ASM 28,490
\ UNIMOT MOTOR CONTROL
File.ext Size
-------------- ------
SENS01.ASM 20,269
\ HOME HOME AUTOMATION
File.ext Size
-------------- ------
README 945
README.BAT 20
PHONE <REP>
POW_LINE <REP>
\ HOME\PHONE PHONE REMOTE SYSTEM
File.ext Size
-------------- ------
README. 1,587
README.BAT 22
6215_REG.ASM 1,656
DEF_FRA2.ASM 26,412
PHONE.ASM 7,349
ST6_7537.ASM 25,969
ST6_TEL.ASM 19,957
PHONE.HEX 5,726
\ HOME\POW_LIN POWER LINE MODEM
File.ext Size
-------------- ------
README 988
README.BAT 22
6215_REG.ASM 1,656
ADDRESS.ASM 3,511
DEF_FRAM.ASM 26,336
DISPLAY.ASM 4,727
MASTER.ASM 7,293
MASTER.HEX 9,871
POWERCTL.ASM 8,523
SLAVE.ASM 6,507
SLAVE.HEX 9,871
ST6_7537.ASM 25,969
POT_ET_B.ASM 6,265
\ A_TIPS ST6 APPLICATION TIPS
File.ext Size
-------------- ------
README 1,575
README.BAT 22
ATIP#4.TXT 1,201
ATIP#14.TXT 18,606
ATIP#39.TXT 2,230
ATIP#23.TXT 2,298
ATIP#22.TXT 2,712
ATIP#40.TXT 2,519
ATIP#38.TXT 3,720
ATIP#37.TXT 3,290
ATIP#36.TXT 6,252
ATIP#34.TXT 2,548
ATIP#33.TXT 4,445
ATIP#32.TXT 15,187
ATIP#30.TXT 2,695
ATIP#28.TXT 825
ATIP#26.TXT 2,227
ATIP#19.TXT 1,524
ATIP#18.TXT 11,480
ATIP#12.TXT 2,499
ATIP#11.TXT 1,092
ATIP#8.TXT 1,815
#4.3) OTP/EPROM Programmers ????
[ to be added ]
#4.4) Debugging Tools ????
[ to be added ]
###5) COMMERCIALLY AVAILABLE ST6 DEVELOPMENT PRODUCTS
#5.1) Development Tools (assemblers, compilers, simulators) EC!
This information is available from the SGS-THOMSON-BBS-
Microcontroller Support (France):
DOCUMENTATION FOR ST6 DEVELOPEMENT TOOLS
Procedure for ordering these documents :
- You can order a set of 10 copies
under Esicom Sales-Type : ST6-DOC/10COP Q=3D1
- Under order of ST6-DOC/10COP Q=3D1 several books can be included.
- You must send a mail to C.GRIAT ( CS/Planning DEV. Tools )
with the following information :
+ OC Number/Item
+ Reference and Qty of documentation requested.
- Delay : 2 weeks
DESIGNATION REFERENCE RELEASE DATE
ST621X/2X/6X/9X Emulator/Dedication Board Doc-ST626X-EMU 1.4 Oct 93
ST624X-DBE Emulator/Dedication Board Doc-ST624X-EMU 1.2 Oct 93
ST624X-Probes User Manual Doc-ST624X-PRB 1.1 May 93
ST623X Emulator User Manual Doc-ST623X-EMU 1.o Mar 95
ST628X-DBE Emulator/Dedication Board Doc-ST628X-EMU 1.o Jan 94
ST62E3X MCU Eprom Programmer User Manual Doc-ST62E3X-EPB 1.o Mar 95
ST62E8X Programming Board User Manual Doc-ST62E8X-EPB 1.2 Mar 95
ST631XX-DBE Emulator/Dedication Board Doc-ST631XX-DBE 1.5 Apr 93
ST638X/9X Emulator User Manual Doc-ST638X-DBE 1.1 Nov 92
ST62EXX Gang Programmer User Manual Doc-ST62EXX-GP 3.o Jun 93
ST622X Family Starter Kit User Manual Doc-ST622X-KIT 1.o Aug 94
ST63EXX Gang Programmer User Manual Doc-ST63EXX-GP 1.1 Mar 95
ST6240 LCD Starter-Kit User manual Doc-ST624X-KIT 1st Jun 93
ST62EXX Remote Programmer User Manual Doc-ST62EXX-EPB/COM 1.o Jul 93
ST63E1XX-EPB Programming Board Doc-ST63E1X-EPB/COM 3.o Sep 93
ST6N-Well 32K Debbugger ST6NDB Doc-ST6XXX-ST6NDB 4.21 Nov 93
ST626X Kit User Manual & Data Sheet Doc-ST626X-KIT Jan 94
ST6371 MCU Eprom Programming Manual Doc-ST6371-EPB 1.1 Mar 95
ST6370-Emulator Doc-ST6370-EMU 1.1 Nov 94
- The following documents can be ordered directly in ESICOM.
SALES TYPE ( order code ) DESIGNATION RELEASE DATE
DBST6SOFTOST/2 ST6 FAMILY
Software Tools AST6, LST6, SIMST6 User manual 2nd Ed Aug 94
DBST6ST/4 ST62 General Purpose Databook 4rd Ed Oct 94
DBST624xFST/1 ST62 LCD Driver ST624x/ST628x 1st Ed May 93
AMST62PPLST/1 ST62 General Purpose Appplication 1st Ed Jan 95
--------
SOFTWARE FOR ST6 DEVELOPEMENT TOOLS
Procedure for ordering this software :
- You can order a set of 50 copies
under Esicom Sales-Type : ST6-SW/50COP Q =3D 1
- You must send a mail to C.GRIAT ( CS/Planning DEV. Tools )
whith the following information :
+ OC Number/Item
+ Reference of software requested.
- Delay : 2 weeks
REFERENCE DESIGNATON PACKAGE
SK622XA1 ST622X-Starter Kit Pack 1
SK6220A1 ST6220-Starter Kit Pack 2
SK6240A1 ST6240-Starter Kit Pack 2
SK626XA1 ST626X-Starter KIt Pack 1
SW6XXXA1 ST6-Software Tools/PC Pack 19
DB6XXXA1 ST6-Debugging Tools/PC Pack 6
RP623XA1 ST623X Eprom Programming Software Pack 1
RP628XA1 ST628X Programming board software Pack 2
RP62XXA1 ST62XX Remote-EPB Pack 2
GP62XXA1 ST62XX Gang Programmer Pack 6
RP6371A1 ST6370 Eprom Programming Pack 1
GP63XXA1 ST63XX Gang Programmer Pack 4
RP63XXA1 ST63EXX Remote-EPB Pack 7
--------
ACTUM REALIZER
Software Aided Computer Engineering for ST62 8-Bit
Microcontrollers, MS Windows 3 Edition: ST6-REALIZER/PC
The software allows to generate the program code with the following
steps:
- You draw the schematic circuit of the application with the symbol
available in the graphic system instead to writing the assembly code.
- Check the integrity of the graphical description, verify I/O
assignment etc. with the Analize Menu.
- The software develops automatically the program code and all files
related to the ST62 target.
- The Simulate Menu allows to monitor the signals of the application,
directly on the graphical description without to build hardware for
debugging.
Note: In the SGS-THOMSON BBS (see item #3.3 - Grenoble BBS) it is available
the Demo-Realizer Pack software and some application notes as
the AN676 and AN677 with this tool.
--------
The following is a list of Italian firms offering programming languages,
support packages and development tools for ST6 family:
SGS-THOMPSON STARTER KIT:
FUTURA ELETTRONICA
Viale Kennedy 96
20027 RESCALDINA (MI)
Phone: 331 576139
Fax: 331 578200
(They sell also a
"Training Course for learning the programming of ST6 family")
DPM
Via Orientale 35
71100 FOGGIA
ITALY
Phone: 881 771548
Fax : 881 720680
ASSEMBLERS:
MULTIASSEMBLER
description: assembler for many microcontrollers
including the ST6 Family
ALFA SISTEMI
Via Pian Savelli 134
00040 POMEZIA (ROMA)
ITALY
Phone: 6 71302919
SOFTEC MICROSISTEMS
Viale Rimenbranze,19C
33082 Azzano Decimo (PN)
Phone 434 640113
Fax 434 631598
BBS 434 631904
E-mail sif...@system.abacom.it
Internet:www.abacom.it/softec.html
C COMPILERS:
HSA
Via Dandolo, 90
70033 CORATO (BA)
ITALY
Phone: 8 8727224
KITS:
PROGRAMMING BOARDS
description: kit for the contruction of the board for tranferring
the object file into the ST6 EPROM
NUOVA ELETTRONICA
Via Cracovia 19
40139 BOLOGNA
Phone 542 641490
Fax 542 641919
DEVELOPMENT SYSTEMS:
REAL TIME IN CIRCUIT EMULATORS
description: real time development tools with the possibility
to see output signals on the monitor
SOFTEC MICROSISTEMS
Viale Rimenbranze,19C
33082 Azzano Decimo (PN)
Phone 434 640113
Fax 434 631598
BBS 434 631904
E-mail sif...@system.abacom.it
Internet:www.abacom.it/softec.html
UMC ELETTRONICA
Via Gavirate 18B
00100 ACILIA (ROMA)
Phone: 6 52361041
#5.2) Function Packages (e.g. math, macros, subroutines) ????????
[ to be added ]
#5.3) OTP/EPROM Programmers
These products are sold by SGS-THOMSON's representatives:
DEVICE |STARTER KIT |PROG BOARD |GANG PROG |GANG ADAPTOR
________|______________|_______________|______________|____________
| | | |
ST62T10 |ST622X-KIT/220|ST62E1X-EPB/110|ST62E10-GP/DIP|ST62E10-GPA/DIP
ST62T20 |ST622X-KIT/110|ST62E1X-EPB/220|ST62E10-GP/SO |ST62E10-GPA/SO
ST62E20 | | | |
________| | |______________|________________
| | | |
ST62T15 | | |ST62E15-GP/DIP|ST62E15-GPA/DIP
ST62T25 | | |ST62E15-GP/SO |ST62E15-GPA/SO
ST62E25 | | | |
________|______________|_______________|______________|_______________
| | | |
ST62E40 |ST6240-KIT/220|ST62E4X-EPB/110|ST62E40-GP/QFP|ST62E40-GPA/QFP
ST62T40 |ST6240-KIT/110|ST62E4X-EPB/220| |
________| | |______________|________________
| | | |
ST62E42 | | |ST62E42-GP/QFP|ST62E42-GPA/QFP
ST62T42 | | | |
________| | |______________|_______________
| | | |
ST62E45 | | |ST62E45-GP/QFP|ST62E45-GPA/QFP
ST62T45 | | | |
________|______________|_______________|______________|________________
| | | |
ST62E60B|ST626X-KIT/220|ST62E6X-EPB/110|ST62E60-GP/DIP|ST62E60-GPA/DIP
ST62T60B|ST626X-KIT/110|ST62E6X-EPB/220|ST62E60-GP/SO |ST62E60-GPA/SO
| | | |
ST62E65B| | |ST62E65-GP/DIP|ST62E65-GPA/DIP
ST62T65B| | |ST62E65-GP/SO |ST62E65-GPA/SO
________|______________|_______________|______________|________________
| | | |
ST62E80 |Not Available |ST62E8X-EPB/110|ST62E80-GP/QFP|ST62E80-GPA/QFP
ST62E85 | |ST62E8X-EPB/220|ST62E85-GP/QFP|ST62E85-GPA/QFP
________|______________|_______________|______________|________________
#5.4) Debugging Tools
These products are sold by SGS-THOMSON's representatives:
DEVICES | EMULATOR | DED. BOARD | PROBE |
_________|____________|______________|_________________|
| | | |
ST6210B | ST626X-EMU | ST626X-DBE | |
ST6220B | | | |
| | | |
ST6215B | | with probe | |
ST6225B | | | |
_________|____________|______________|_________________|
| | | |
ST6240 | ST6240-EMU | ST624X-DBE | ST6240-P/QFP |
| with probe | without probe| |
_________|____________| |_________________|
| | | |
ST6242 | ST6242-EMU | | ST6242-P/QFP |
| with probe | | |
_________|____________| |_________________|
| | | |
ST6245 | ST6245-EMU | | ST6245-P/QFP |
| with probe | | |
_________|____________|______________|_________________|
| | | |
ST6260B | ST626X-EMU | ST626X-DBE | |
ST6265B | with probe | with probe | |
_________|____________|______________|_________________|
| | | |
ST6280 | ST6280-EMU | | ST6280-P/QFP |
| with probe | | |
_________|____________| ST628X-DBE |_________________|
| | without probe| |
ST6285 | ST6285-EMU | | ST6285-P/QFP |
| with probe | | |
_________|____________|______________|_________________|
OTHER KITS
ST622X-PWRKIT/50 Power Kit, The ST62 + Triac Solution
ST622X-PWRKIT/60
ST6-FUZZY/PC : ST62 Fuzzy compiler:
ST6-REALIZER/PC : ST62 Realizer
###6) ST6 DOCUMENTATION
#6.1) Brochures / Data Books / Application Notes
These products are sold by SGS-THOMSON's representatives,
if not stated otherwise.
Brochures:
- ST62 The Cost Effective MCU BRST62ST/1094 1993
- ST62 family overview BRST62ST/0293 Available
Data Books:
- Shortform, includes all SGS-THOMSON products,
but has a nice overview of all microcontroller families.
- ST6210/ST6215/ST6220/ST6225 D.B. DBST6ST/1 1991
- ST621X, 2X + info on 6X DBST6ST/4 Available
- ST62 General Purpose AMST62APPLST/1 1995
- ST624X Data book; info on 8x DBST624XFST/1 Available
- ST62 tools user manual
(AST6,LST6,SIMST6 1994) DBST6SOFTOST/2 Available
- Video Products Databook, Volume 1. AMVIDEOST/1 1991
ST62-TRAIN/DOC Available
Application Notes (in English):
- ST62 Application manual AMST62APPLST/1 Available
Application Notes (in German):
- ST62 Microcontroller - Anwenderhandbuch - XY500
Application Notes available in the SGS-THOMSON BBS (see item #3.3 -
Grenoble BBS): - EC version 960130
MCU Application Notes ACROREAD.EXE1,438,059 11/29/95
| Acrobat Reader file viewer - |Necessary to view/print .pdf files
Dwnlds: 4 DL Time 00:16:49 |
AN392_A4.PDF 353,654 11/29/95 | Microcontroller and Triac on the
Dwnlds: 3 DL Time 00:04:08 | 110/240V Mains
AN411_A4.PDF 352,143 11/29/95 | Symbol.inc, ST9 Register Address and
Dwnlds: 0 DL Time 00:04:07 | Content Names
AN412_A4.PDF 497,332 11/29/95 | Digital Power Factor Correction with
Dwnlds: 0 DL Time 00:05:49 | Non-Sinewave Current
AN413_A4.PDF 517,027 11/29/95 | Initialization of the ST9 (acroread
Dwnlds: 1 DL Time 00:06:02 | format)
AN414_A4.PDF 246,191 11/29/95 | Controlling a brush DC motor with
an
Dwnlds: 0 DL Time 00:02:52 | ST6265 MCU
AN415_A4.PDF 715,256 11/29/95 | Using the I2C BUS Protocol (Acroread
Dwnlds: 2 DL Time 00:08:21 | format)
AN416_A4.PDF 364,560 11/29/95 | Sensorless Motor Drive with the ST62
Dwnlds: 0 DL Time 00:04:15 | MCU + Triac
AN417_A4.PDF 946,387 11/29/95 | From NICD to NIHM Fast Battery Charging
Dwnlds: 1 DL Time 00:11:04 | (Acroread format)
AN418_A4.PDF 473,699 11/29/95 | DMA through I/O Port on ST9 MCU
Dwnlds: 0 DL Time 00:05:32 | (Acroread format)
AN419_A4.PDF 484,892 11/29/95 | An approach to Motor Control with
FUZZI
Dwnlds: 0 DL Time 00:05:40 | Logic - ST6 MCU
AN420_A4.PDF 138,289 11/29/95 | Expanding ADC Resolution of the ST6 A/D
Dwnlds: 3 DL Time 00:01:37 | Converter
AN421_A4.PDF 73,120 11/29/95 | Stack Overflow Detection using the
ST9
Dwnlds: 0 DL Time 00:00:51 | Timer Watchdog
AN422_A4.PDF 317,481 11/29/95 | Improves universal Motor Drive
Dwnlds: 0 DL Time 00:03:42 | (Acroread format)
AN423_A4.PDF 550,073 11/29/95 | ISO Smart Card Interface (Acroread
Dwnlds: 2 DL Time 00:06:26 | format)
AN424_A4.PDF 632,796 11/29/95 | Versatile and Cost Effective Induction
Dwnlds: 0 DL Time 00:07:24 | Motor Drive / 3 phase
AN426_A4.PDF 443,469 11/29/95 | Frequency Doubler Demonstration System
Dwnlds: 1 DL Time 00:05:11 | (Acroread format)
AN427_A4.PDF 467,279 11/29/95 | Digital 3-phase generation - ST9
Dwnlds: 0 DL Time 00:05:27 | Demonstration Software
AN430_A4.PDF 433,820 11/29/95 | Syncronous power Line Modem
Dwnlds: 1 DL Time 00:05:04 | Communication with ST9 MFT
AN431_A4.PDF 208,579 11/29/95 | Using ST6 Analog Inputs for Multiple
Dwnlds: 2 DL Time 00:02:26 | Key Decoding
AN432_A4.PDF 264,115 11/29/95 | Using ST62xx Ports Safely
Dwnlds: 0 DL Time 00:03:05 |
AN433_A4.PDF 515,633 11/29/95 | Ultra Fast Battery Charger using ST6210
Dwnlds: 2 DL Time 00:06:01 | Microcontroller
AN434_A4.PDF 119,982 11/29/95 | Movement Detector Concepts for Noisy
Dwnlds: 2 DL Time 00:01:24 | Environments
AN435_A4.PDF 419,205 11/29/95 | Designing with Microcontrollers in
Dwnlds: 2 DL Time 00:04:54 | Noisy Environment
AN490_A4.PDF 325,104 11/29/95 | Programming Flash Memory of the
Dwnlds: 0 DL Time 00:03:48 | ST10F166
AN590_A4.PDF 113,247 11/29/95 | PWM Generation with ST62 Auto-reload
Dwnlds: 1 DL Time 00:01:19 | Timer
AN591_A4.PDF 82,638 11/29/95 | Input Capture with ST62 Auto-reload
Dwnlds: 1 DL Time 00:00:57 | Timer
AN592_A4.PDF 98,794 11/29/95 | PLL Generation using the ST62
Dwnlds: 1 DL Time 00:01:09 | Auto-reload Timer
AN593_A4.PDF 100,787 11/29/95 | ST62 IN-Circuit Programming
Dwnlds: 1 DL Time 00:01:10 |
AN594_A4.PDF 533,308 11/29/95 | Direct Software LCD drive with ST621x &
Dwnlds: 1 DL Time 00:06:14 | ST626x
AN595_A4.PDF 846,814 11/29/95 | Application of FUZZI Vacuum Cleaner
Dwnlds: 0 DL Time 00:09:54 | using ST6220 & FUZZITECH
AN597_A4.PDF 625,180 11/29/95 | Temperature Control with FUZZY Logic
Dwnlds: 2 DL Time 00:07:18 |
AN598_A4.PDF 199,146 11/29/95 | Cascading FUZZY Modules with ST6
Dwnlds: 1 DL Time 00:02:19 | FUZZYTECH
AN669_A4.PDF 54,420 11/29/95 | Simple Reset Circuits for the ST62
Dwnlds: 3 DL Time 00:00:38 |
AN670_A4.PDF 130,687 11/29/95 | Oscillator Selection for ST62
Dwnlds: 4 DL Time 00:01:31 |
AN671_A4.PDF 59,286 11/29/95 | Prevention of Data Corruption on ST6
Dwnlds: 3 DL Time 00:00:41 | on-chip EEPROM
AN672_A4.PDF 36,610 11/29/95 | Optimizing the ST6 A/D Converter
Dwnlds: 4 DL Time 00:00:25 | Accuracy
AN673_A4.PDF 41,723 11/29/95 | Reducing Current Comsumption at 32KHz
Dwnlds: 1 DL Time 00:00:29 | with ST62
AN674.PDF 317,480 11/29/95 | Microcontrollers in Home Appliance
Dwnlds: 1 DL Time 00:03:42 | Software Solution
AN675.PDF 82,711 11/29/95 | A rapid Charger for Batteries with
Dwnlds: 2 DL Time 00:00:58 | FUZZY Logic
AN676.PDF 148,533 11/29/95 | Battery Charger using the ST6-REALIZER
Dwnlds: 3 DL Time 00:01:44 |
AN677.PDF 202,252 11/29/95 | Painless "MCU" Code by Graphical
Dwnlds: 1 DL Time 00:02:21 | Application Description
AN678.PDF 191,417 11/29/95 | LCD Driving with ST6240
Dwnlds: 0 DL Time 00:02:14 |
ANABSMCU.PDF 171,113 11/29/95 | MCU Application Notes Abstract
Dwnlds: 1 DL Time 00:02:00 | (Acroread format)
Note: Same of the above Application Notes are those pubblished on the
ST62 Application Manual.
--------
#6.2) Periodicals EC?SGS?
The following is a list of Italian magazines that generally publish
articles and circuits with ST6 microcontrollers:
FARE ELETTRONICA
Via Gorki 69
20092 CINISELLO BALSAMO (MI)
Phone 2 66034401
Fax 2 66034482
NUOVA ELETTRONICA
Via Cracovia 19
40139 BOLOGNA
Phone 542 641490
Fax 542 641919
PROGETTO ELECTOR
Via Ferri 6
20092 CINISELLO BALSAMO (MI)
Phone 2 660251
Email: Prog...@jce.it
We hope to receive informations and contributions from the readers
of this FAQ in order to integrate this list with periodicals publishing
articles on ST6 microcontrollers.
#6.3) Books EC?
[ to be added ]
#...
#6.6) Problems / Bugs (chips, hardware, software) SGS?
[ to be added ]
#6.7) Hardware Hints and Tips
TEST pin - JvK
Always connect the TEST pin to ground; in the manual an on-chip
pull-down resistor is mentioned, but in fact it is not there or
it simply does not function correctly.
ST62 EPROM TEST/VPP Pull-down Resistor - EC
From SGS-THOMSON BBS (see item #3.3 and #4.2) it is possible
to read the following Application tip n. 34:
Agnes Cacciaguerra, Rousset
Thibault Brunet, Rousset:
EPROM members of the ST62 MCU family use the pin labelled TEST on the
equivalent ROM-based ST62, but with the additional function as the
input for the programming voltage, VPP, for the EPROM.
Normally for the ROM devices the TEST input has an internal pull-down
resistor allowing the device to have this pin not-connected in the
circuit, while preventing unauthorized access to the TEST functions.
Several members of the ST62 EPROM based devices have been found to NOT
have this pull-down resistor on the VPP/TEST input of the devices. This
may cause a malfunction of the system or high current consumption of the
device if the TEST input is allowed to float high.
For this reason VPP/TEST pin must not be left open. It is advised to
connect this input to Ground via a resistor of 50k to 100kOhm.
This applies to the devices shown in the following table for devices
currently available. All future devices will have this pull-down
resistor.
Table of ST62 Devices with/without Pull down resistor on the VDD/TEST
pin:
PULL DOWN
Technology AT VPP
ST621X/2X 1.5=E6 Yes (see note)
ST62E1X 1.5=E6 No
ST62E2X 1.5=E6 No
ST6225 1.2=E6 Yes
ST62E25 1.2=E6 Yes
ST6240 1.5=E6 Yes
ST62E40 1.5=E6 Yes
ST62E94 1.5=E6 No
ST6294 1.2=E6 Yes
ST62E94 1.2=E6 Yes
ST628X 1.5=E6 Yes
ST62E8X 1.5=E6 Yes
All New ST62 1.2=E6 Yes
Note: All ROM Codes dating after July 1992 have used the revised mask
set, unless otherwise specified by the customer. In detail this applies
to devices with the SGS-THOMSON specified ROM code identifier greater
than SP, (excepting PK, SL and SN).
ST6 ROM code identifiers are used to replace the /XX part of the sales
type to specify the customer ROM code used. The sequence has been for two
alphabetic letters incrementing in alpha order (i.e. AA-AZ, BA-BZ etc).
From code YS however, ROM code identifiers have been restarting in an
alpha/number sequence (i.e. A0-A9, B0 to B9 and so on).
Check your part number (specified on the order, as, if custom marking has
been requested, the part number may not appear on the package itself) if
you wish to be sure. In case of doubt, contact the local SGS-THOMSON
marketing person.
What you have to keep in mind when switching between EPROM/OTP/ROM
Versions 951130 - EC
The ST62EXX microcontroller type is the EPROM version of this family.
They are intended for use during the development of an application
or for pre-prodution and small volume prodution.
The ST62TXX OTP type (One Time Programmable) have the same
characteristics of the EPROM except that they cannot be erased.
From the user's point of view, once programmed, the OTP and EPROM types
have exactly the same software and hardware features as the ROM version,
except for the following parts:
- No internal pull-up resistor available on pin NMI;
- No internal pull-up resistor available on pin Timer.
But also see article "ST624X ROM BANKING ALERT"
in chapter "Software Hints and Tips"
EPROM erasing - EC
The EPROM may be erased by esposure to the Ultra violet light.
The erasure of the EPROM begins when the memory is exposed to light
with a wave lengths shorter than approximately 2700 A.
The SGS-Thomsom recommmends an exposure to short wave ultraviolet light
which have a wave-lenght of 2537 A. The integrated dose (UV intensity by
exposure time) for erasure should be a minimum of 15 W sec/cm2.
The erasure time with this dosage is approximately 15 to 20 minutes
using an ultraviolet lamp with 1200 microW/cm2 power rating.
The life of the EPROM is reduced if the exposure is over 50 minutes
The devices should be placed within 2.5 cm of the lamp tubes during
erasure.
USING ST62XX I/O PORTS SAFELY - EC
The application notes AN432 by J.Stockinger on the SGS-THOMSON
Application Manual (1^ FREE Edition-January 1995) is very clear
for understanding the architecture of the I/O bit associated with
these port functions and provide additional indications on the
correct use of these features for functions as keybord scanning
and analog inputs.
--------
#6.8) Software Hints and Tips
Reset - Jvk
After reset is a good time to start the timer, configure the I/O
lines, and set up the data rom window register. Start your reset
routine by reloading the watchdog timer, and finish it with:
reti
nop
The Stack - DL
The stack is a hardware stack. This means that you are quite
limited in the number of calls that can be nested, as you have to
save some stack space for the interrupts.
Interrupts - JvK
Disable the A/D conversion interrupt as soon as
you enter the interrupt routines. The end of conversion state
is still valid after the interrupt routine ends and can generate
another interrupt request.
It seems that you would have to do the same with all other interrupts,
but I'm not quite sure, since I haven't had any problems with them.
The data window - DL
This is useful. I have used it when converting an A/D result
into a value to be compared with another A/D result. The required
calculation (multiply by 0.62) was a bit beyond the ST6, so I used
a 256 byte look-up table of the result.
You can set it up like this:
.w_on ; enable data rom window
.org 80h
.block 64-$%64 ; Force page boundary.
table
.byte 000h,004h,008h,00bh,00fh,013h,017h,01ah
.byte 01eh,022h,026h,029h,02dh,031h,035h,038h
.byte 0.............. ; etc...
ldi drwr,table.w ; The data rom window register is initialzed.
And to use it:
ld x, a2dresult
ld a, (x)
A/D Conversion - JvK
An A/D conversion takes about 70 microseconds for a 8 MHz crystal, not
70 milliseconds as printed in some databooks.
Only ONE I/O line can be programmed as an analog input line!
Getting the most out of the A/D converter - DL
The best accuracy is obtained by putting the ST6 to sleep, and
making sure that there has been no processor activity during the
conversion. Hence the use of two flags. All other interrupts
except the A/D interrupt set the ad_bad_flag. The A/D interrupt
sets the ad_good_flag if the ad_bad_flag has not been set.
a2d1:
clr adbadflag
clr adgoodflag
ldi adcr,a2don ; turn on set up and start a2d
wait
nop ; A TO D INTERRUPT HERE
ld a,adgoodflag
jrz a2d1 ; if not marked as good, do it again
; an untroubled conversion...
Note the nop after the wait. It is *important*.
Oversampling with the A/D - DL
Without wanting to go into any theory, you may increase the reliability
of your A/D conversions by sampling a few times and averaging. This
would present something of a computational challenge to the ST6, unless
you use a couple of tricks. Set up three locations thus:
ldi adbsum,00 ; bottom byte of result
ldi adtsum,00 ; top byte of result.
ldi adcount,16 ; NB this is a power of two
<code snipped as above>
ld a,adbsum
add a,adr ; add result to sum
ld adbsum,a
jrnc a2d2 ; if carry, then add 1 to top byte
inc adtsum
a2d2:
dec adcount
jrz a2dend ; if adcount has rolled around, then quit
jp a2d1
After doing the conversion 16 times you have a total value that
you wish to divide by 16. This would be most easily accomplished by
a shift right [#:-} so instead we shift left into our adtsum thus:
a2dene:
jrz a2dfin ; z flag from ld above or dec below
ld a,adbsum
rlc a ; shift top bit into c flag
ld adbsum,a
ld a,adtsum
rlc a ; shift c flag into bottom bit
ld adtsum,a
dec v ; v loaded with number of shifts
jp a2dene
Here's an alternative method that I believe is significantly faster.
clr a
jrr 1,adtsum,a3s1 ; construct in accumulatoir using bit
; tests
ldi a,80h ; this is a 'divide by four' operation.
a3s1:
jrr 0,adtsum,a3s2
addi a,40h
a3s2:
jrr 7,adbsum,a3s3
addi a,20h
a3s3:
jrr 6,adbsum,a3s4
addi a,10h
............... etc..
If you like a good argument, find an appropriate Usenet newsgroup,
and suggest that this technique will allow you greater than eight
bits of accuracy... Only a few people on the net understand the
subject. And they can't be bothered to discuss it anymore, so the
whole argument is conducted by people who don't know what they're
talking about. Actually, that's just like every other thread.
Switching of I/O lines.
This must be done in the right order. At startup, I load them thus:
ldi dra,drabits ; set up I/O pins
ldi ddra,ddrabits
ldi ora,orabits
I have used copy registers for the data registers and option registers.
This is the sequence I settled on for changing an input to an output:
; SET PIN TO OUTPUT
ldi a,ddrabits
set a_databit,a
ld ddra,a
set a_databit,ora_out
ld a,ora_out
ld ora,a
set a_databit,prta_out
ld a,prta_out
ld dra,a
; END SET PIN
Usage of the Timer (Square wave, time measurements etc.) - JvK
Reliable periodic timer interrupt interval.
[under construction]
Square wave.
You can use the following piece of code inside your timer interrupt
routine:
jrr dout,tscr,lo_hi
hi_lo res dout,tscr
jp end_tim
lo_hi set dout,tscr
end_tim reti
The TIMER pin will switch value if a timer interrupt occurs. Be aware that
the value you set in the tscr register is provided to the TIMER pin the
*next* time the timer interrupt is generated.
Usage of the watchdog timer - JvK
The watchdog timer generates a general reset as soon as it has counted
down to zero from its starting value. Be aware and reload the watchdog
register periodically to prevent this. Do this within your main
code loop rather than from within a timer interrupt; as otherwise
you may have the ST6 crash without ever being reset, as the timer
interrupt / routine continue to work although the main code has stopped
working.
Long Jump Macros (useful macros to elongate the short jumping conditional
jump operation). Version 960130 - EC
;long jump for jrnz instruction; use jumpnz instead of jrnz
.macro jumpnz jpadress,?lbl
jrz lbl
jp jpadress
lbl
.endm
;long jump for jrnc instruction; use jumpnc instead of jrnc
.macro jumpnc jpadress,?lbl
jrc lbl
jp jpadress
lbl
.endm
;long jump for jrz instruction; use jumpz instead of jrz
.macro jumpz jpadress,?lbl
jrnz lbl
jp jpadress
lbl
.endm
;long jump for jrc instruction; use jumpc instead of jrc
.macro jumpc jpadress,?lbl
jrnc lbl
jp jpadress
lbl
.endm
What you have to keep in mind when switching between EPROM/OTP/ROM
Version 951130 - EC
Programming Mode:
The programming mode of the EPROM and OTP types is configured by
setting a voltage of 12.5 V to the Test/Vpp pin.
ROM option emulation:
On the EPROM/OTP devices it is possible to emulate the option mask of
the ROM devices by an "Option Byte" that can be programmed with the
programming tools.
This "Option byte" is automatically read and the selected options is
switched on.
Setting high the bit D7 of the option byte it is possible to prevent
(by hardware) the readout of the software contents.
ST624X ROM BANKING ALERT
From SGS-THOMSON BBS (see item #3.3 and #4.2) it is possible
to read the following Application tip n. 4:
Hans Reichmeyer, Grafing:
The ROM Bank switch Register RBSR of the ST6 family members with 8k of
ROM space has a difference in functionality between EPROM and ROM
devices.
The ROM bank switch register in ROM devices is NOT initialised during
reset and contains arbitrary information after power up. To addressa
page in the program address range from 0 to 7FF, the ROM bank switch
register must be loaded first.
The ROM bank switch register in EPROM devices IS cleared during reset
and addresses page 0 after power up.
A problem can arise if a user forgets to load RSBR in his software.When
the program accesses page 0 in an EPROM device, the device will behave
correctly (as RBSR is cleared at reset), whereas a ROM device will have an
undefined function... and will probably cause a program failure.
Thus it is mandatory to load RSBR before accessing the paged program
address region.
The family members affected are ST6240/E40.
Users of these devices should be made aware of this to prevent any
problem in the use of the ROM device after successful debugging with
the EPROM device.
--------
#6.9) Miscellaneous Documentation EC!
From the SGS-THOMSON BBS (see item #3.3 and #4.2 EXAMPLES DIRECTORY
\Application tips\Atip.txt #22) it is possible to read the following
Programming Techniques:
ST6 GOOD PROGRAMMING TECHNIQUES 1.1
The ST6 Applications Team
Define all standard Registers for the device in a separate file:
Use same register names for all your applications
Include the file in your code with .INPUT directive
Use complete .DEF directives to name all your registers:
Makes a program more readable
Allows the Assembler to check for Read/Write errors
Clearly separate Code from Data in ROM:
Remember that .WINDOW simplifies access to data
Use X, Y, V, W Registers when possible to optimize code
Avoid use of SINGLE BIT instructions on I/O Ports and Write/Only Registers:
Remember to use shadow registers
Single Bit instructions are: SET, RES, JRS, JRR
Remember to initialise Reset and Interrupt vectors with JP instructions:
Use .SECTION 32 for vector addresses
Unused interrupts can be directed to a RETI instruction
Observe the correct sequences for modifying I/O port status:
Prevent unwanted interrupts
Put a RETI instruction at the beginning of the code:
IF you want to use interrupts later
Stop Timer, or clear Timer Interrupt in service Routine:
Prevent unwanted Timer interrupts
Remember to leave at least one instruction (e.g. NOP) after powering the
ADC:
Allow the ADC to settle before taking a reading
Set the Emulator Hardware/Software Watchdog jumper to suit the ST62:
Prevent Watchdog problems with ROM/EPROM/OTP ST62/HWD devices
Place commonly used subroutines in separate modules:
Can be used in many projects
No need to debug more than once
Document: function, variables[in,out,used] and stack level in header
Place commonly used code segments into macros:
Reduce stacking levels with in-line code
Create a Macro Library
Check on Stacking Level:
Prevent hardware stack overflow causing program fail
Always use .EQU directives to define constants:
Allows fast updating
Reduces the chance of leaving some values unchanged
Use .SECTION and not .ORG Assembler directives:
Make code relocatable, and portable to other applications
Let the Linker command line define absolute locations
Choose your symbol names appropriately and consistently
Use comments as much as possible:
The code may not be so clear at a later date, even tomorrow
Backup your files regularly:
Power cuts and other non-maskable interrupts can erase work in progress
Document all changes on a regular basis:
You may need to recover a previous state
or specify a Document Change Notice
###7) ST6 APPLICATIONS AND PROJECTS EC%
#7.1) Printed Circuit Boards EC%
[ to be added ]
#7.2) Useful Routines
[ to be added ]
#7.*) ???? ????
[ to be added ]
###9) ATTRIBUTIONS LS%
Thanks are due to the following who have contributed
to this document.
Maarten van de Hoek <maar...@stack.urc.tue.nl>
Jaap van Ganswijk <gans...@xs4all.nl>
Thibaut Brunet <thibaut...@st.com>
Dom Latter <d...@i-cubed.demon.co.uk>
Olaf Kaluza <ol...@criseis.ruhr.de>
NOTE: .......If your name should be here, apologies.
Let us know !
------------------------------
Subject: #D. D I S C L A I M E R S & C O P Y R I G H T S
****************************************************************************
Disclaimer:
This FAQ is provided as is without any express or implied
warranties. While every effort has been taken to ensure the
accuracy of the information contained in this text, the
authors/maintainers/contributors assume no responsibility
for errors or omissions, or for damages resulting from the use
of the information contained herein.
We disclaim everything. The contents of this article might be totally
inaccurate, inappropriate, or misguided.
Inclusion of any tips, hints, code samples in this document does NOT imply
any approval or guarantee as to the suitability of said samples for any
purpose whatsoever other than as a self-training aid. I.E. If it blows your
ICE, trashes your hard disc, wipes your backup, burns your building down or
just plain don't work, #### IT ISN'T OUR FAULT #### In the event of judicial
ruling to the contrary, any liability shall be limited to the sum chargedon
you by us for the aforementioned document OR nothing, whichever is the lower.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Some parts Copyright (c) 1994, 1995 by Russell Hersch <si...@datasrv.co.il>,
all rights reserved (used with permission);
Some parts Copyright (c) 1995 by Robin Getz <rg...@esd.nsc.com>,
all rights reserved (used with permission);
Some parts Copyright (c) 1995 by Tom A.Kellett,
[T.A.K.DesignS Warrington UK ] <t...@takdsign.demon.co.uk>
all rights reserved (used with permission);
The rest is Copyright (c) 1995 by
Emilio Caggiano, Jerry van Kampen, Leonhard Schneider;
all rights reserved.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This FAQ may be posted to any USENET newsgroup, on-line service, or BBS as
long as it is posted in its entirety including this copyright statement.
This FAQ may not be distributed for financial gain.
This FAQ may not be included in commercial collections or compilations
without express permission from the author(s).
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Emilio Caggiano <cagg...@vm.csata.it> (*EC*)
Jerry van Kampen <jvka...@worldaccess.nl> (*JvK*)
Leonhard Schneider <ub...@rz.uni-karlsruhe.de> (*LS*)
--
Leonhard Schneider *** eMail ub...@rz.uni-karlsruhe.de
> ASSEMBLERS:
>
and ...
> DEVELOPMENT SYSTEMS:
>
> REAL TIME IN CIRCUIT EMULATORS
> description: real time development tools with the possibility
> to see output signals on the monitor
...
> SOFTEC MICROSISTEMS
> Viale Rimenbranze,19C
> 33082 Azzano Decimo (PN)
> Phone 434 640113
> Fax 434 631598
> BBS 434 631904
> E-mail sif...@system.abacom.it
> Internet:www.abacom.it/softec.html
Obviously the right E-Mail address is sof...@system.abacom.it or
better the new one that is:
Bye Livio