Professional Documents
Culture Documents
Psuedo Flash Filing System - Boot Loader - Simpler Security Article
Psuedo Flash Filing System - Boot Loader - Simpler Security Article
Simpler
lation engineers to customise individual sen- perform ADPCM decompression on the sound
sors quickly. Costly DIP switches and LEDs data stored in RAM. A second DMA channel
are clearly no longer suitable to accommodate can be set up to trigger a steady feed of sound
all possible requirements, especially with com- samples to the D/A converter, under regular
petitive pricing in mind. Storage requirements timer control. Both DMA transfers take place
for all audio possibilities also mean it is simply transparently in the background. This optional
not cost effective to store all messages all of the addition of software ADPCM compression
time. Thus, some way of configuring the takes only a few kbytes of code space and
security
ware for recording and modifying audio sam- edited using Microsoft Sound recorder, before
ples. There are also numerous PC software being stored natively in the voice sounder.
applications for performing text to speech, with Traditional thinking might have tempted the
the microcontroller configurable male and female voices and differ-
ent languages. These requirements impose two
designer to create a self contained PC utility to
manage the proprietary import and data transfer
cost overhead problems that need to be min- of the audio sample to the sounder. But the
selection criteria imised: the data storage requirements for audio
playback; and the fixed cost overheads of having
Plug’n’play COM port driver for Windows
described here means anyone can copy and paste
The MSP430F155 has plenty of on chip flash
for code storage, three DMA channels and a
a PC interface in every sensor. PC audio files directly to embedded flash mem- 12bit D/A converter.
away from devices The MPEG file format commonly used for
digital music requires more embedded process-
ory, without having to write any special PC
software. The user GUI works in the same man-
ing power (in terms of playback MIPS as well as ner you would write to a USB memory stick or applied from the host PC, keeping network
with large amounts code and data storage) than the cost of a fire
security sensor would normally allow. The recent
floppy disk, but without any of the hardware or
software costs normally associated with USB.
administrators happy that the only embedded
equipment is controlled via standard PC setup.
drop in prices of SPI data flash means the 90cent The data is transferred ‘magically’ to the voice Firmware updates can be implemented
cost of adding 1Mbyte of DMA data and an sounder without having to apply any proprietary remotely across any corporate network or via
of (relatively more How flash microcontroller based fire security sounders can be designed integral d/a converter is far cheaper than file conversion or file transfer process. This pro- the internet, if network administration allows.
attempting any form of Mpeg decoding. vides the ultimate convenience for anyone need- All these facilities combined could save up
at lower system cost than ever before. By Colin Garlick. All we need is enough flash to hold ing to customise the voice sounder using to 80kbyte of flash based code – and the cost
expensive) on chip a minute’s worth of DMA
audio, played at 8bit
standard PC software utilities.
Having an embedded filing
of an 8kbyte microcontroller is always cheaper
than a 128kbyte device.
16ksample/s. Obviously, system is a ‘door opener’ This Windows software (and correspond-
flash to those with you can not execute for new features to ing microcontroller flash filing system) means:
A
recent trend in fire security sounders is level 1 alert” – or for staff to be clearly code directly from SPI evolve. It means an • No MSP430 flash device is too small to ben-
to move away from the traditional two informed when it is deemed safe to return to data flash, but it can infinite number of efit from Windows Plug’n’play facilities
as little as 8kbyte tone warble towards voice sounders with
clearer verbal alerts, such as: “Attention! Fire has
the building – “The emergency is now cleared.
We apologise for any inconvenience caused.”
be used most cost
effectively to store
data logging pos-
sibilities become
• No MSP430 device is dependent upon USB
hardware for Plug’n’play
been detected in the building.” This also brings It’s not inconceivable that new types of audio data. feasible. CCTVs • No MSP430 device has insufficient flash