Upload
norman-carpenter
View
213
Download
0
Embed Size (px)
Citation preview
IEESD-2000IEESD-2000
New
In
form
ati
on
Tech
nolo
gie
s
New
In
form
ati
on
Tech
nolo
gie
s
Lab
s o
f G
om
el U
niv
ers
ity
Lab
s o
f G
om
el U
niv
ers
ity
Network of resourcesNetwork of resources(HomeNet)(HomeNet)
Demonstrated UNIQUE system possibilities Demonstrated UNIQUE system possibilities IEESD-2000 IEESD-2000
on joint debug of software and hardware ensuring on joint debug of software and hardware ensuring the multiprocessing systems (including the multiprocessing systems (including
DIFFERENT microprocessors/microcontrollers) DIFFERENT microprocessors/microcontrollers) In example: Intel 8051, Atmel 90S2313, Motorola In example: Intel 8051, Atmel 90S2313, Motorola
68HC05/08, Texas Instruments TMS37068HC05/08, Texas Instruments TMS370
Applied problem decided in Applied problem decided in demonstration exampledemonstration example
There areThere are - SENSORS - sources information on the - SENSORS - sources information on the consumption of water, gas, light situated in consumption of water, gas, light situated in different premises of apartment(organizations)different premises of apartment(organizations)
RequiredRequired - to ensure a collection and visualization - to ensure a collection and visualization of intensity of consumption of resourceof intensity of consumption of resource
OfferedOffered (for demonstrations of system (for demonstrations of system possibilities):possibilities):– each sensor to supply a microcontroller and by means each sensor to supply a microcontroller and by means
of the protocol I2C of the protocol I2C
– send information from the microcontroller, taking send information from the microcontroller, taking information from the sensor on "MAIN" microcontroller.information from the sensor on "MAIN" microcontroller.
Applied problem schemeApplied problem scheme
Each block of resources shall realize on the base of different microcontrollers (for demonstrations):
Leading – Atmel 90S2313
Water – Texas Instruments TMS370
Gas – Intel 8051
Electricities – Motorola 68HC08
Block of collection Block of collection informationinformation
Block of collection Block of collection informationinformationBlocks of Blocks of
resourcesresources
Blocks of Blocks of resourcesresources
Imitation of sensorsImitation of sensors
Model of governing Model of governing intensity of intensity of consumption of consumption of resource was marketed resource was marketed on programming on programming language Object Pascal language Object Pascal in Delphi ambience.in Delphi ambience.
During modelling each During modelling each model «sensor» creates a model «sensor» creates a window of management window of management for the consumption of for the consumption of resource. On snub a resource. On snub a right by button a right by button a consumption increases, consumption increases, left - decreasesleft - decreases
During modelling each During modelling each model «sensor» creates a model «sensor» creates a window of management window of management for the consumption of for the consumption of resource. On snub a resource. On snub a right by button a right by button a consumption increases, consumption increases, left - decreasesleft - decreases
Package of Package of devicedevice
Package of Package of devicedevice
Imitation of seven degrees Imitation of seven degrees indicatorindicator
For imitations of For imitations of functioning an functioning an indicator was used indicator was used library of library of indicators, falling indicators, falling into the package into the package of auxiliary of auxiliary projects of projects of numerical system numerical system devices.devices.
Principle controlling block Principle controlling block schemescheme
For the control block was For the control block was designed principle scheme designed principle scheme and program for realization and program for realization I2C protocol and output I2C protocol and output information on seven information on seven degrees display.degrees display.
Program for Program for microcontrollermicrocontrollerProgram for Program for
microcontrollermicrocontroller
Scheme of block of Scheme of block of collection collection
informationinformation
Scheme of block of Scheme of block of collection collection
informationinformation
Principle schemes for blocks of Principle schemes for blocks of checking for resourceschecking for resources
Each block of Each block of checking for checking for resource was resource was presented in presented in the manner of the manner of microcontrollemicrocontroller and sensorr and sensor
MicrocontrollersMicrocontrollers
SensorsSensorsSensorsSensors
Realization of protocol I2C for Realization of protocol I2C for each microcontrollereach microcontroller
Program was created for Program was created for each microcontroller for each microcontroller for realization of exchange realization of exchange on I2C protocolon I2C protocol
Program for Program for MC68HC08MC68HC08
Program for Program for MC68HC08MC68HC08
Program for Program for Intel 8051Intel 8051
Program for Program for Intel 8051Intel 8051
Program for TI Program for TI TMS370TMS370
Program for TI Program for TI TMS370TMS370
Partial debugPartial debug
For debugging a program of For debugging a program of interaction of blocks, were interaction of blocks, were alternately disconnected alternately disconnected blocks of checking for rest blocks of checking for rest resources. As A Result was resources. As A Result was conducted debugging a conducted debugging a leading block and one block leading block and one block of resource, without of resource, without changing a scheme. changing a scheme. The Block labelled by the The Block labelled by the flag “not to prototype”, flag “not to prototype”, expects that scheme for it expects that scheme for it not created.not created.
Debugging an exchange Debugging an exchange on I2C protocolon I2C protocol
Debug was produced under parallel Debug was produced under parallel functioning (working) the functioning (working) the microcontrollers. Facilities of microcontrollers. Facilities of system analysis allow:system analysis allow:– to perform program on to perform program on
instructions without entering in instructions without entering in subroutine subroutine
– before subroutine returnbefore subroutine return– before specified line in source text before specified line in source text – with account of spots of stopwith account of spots of stop
To analyse values of objects of To analyse values of objects of microcontrollers:microcontrollers:– dump of memory dump of memory – registers and flags registers and flags – bitsbits
Analysis of values:Analysis of values:– on schemeon scheme– temporary diagrams a history of temporary diagrams a history of
contactscontacts
Debugging the whole Debugging the whole schemescheme
On last stage were On last stage were conducted conducted simulation the simulation the whole scheme and whole scheme and checking a correct checking a correct functioning functioning (working) all (working) all devices.devices.
ContactsContacts
New Information Technologies Laboratories (NIT Labs)
Gomel Fr. Skarina State UniversityBelarusE-E-mail: mail: nitnit@@gsugsu..unibelunibel..byby
WWW: http://nit.gsu.unibel.byWWW: http://nit.gsu.unibel.by