Home     English
SOFTWARE
Software
Software
The firm Lokel owns itself control system used for railcar and locomotive applications. Various software moduls, which are developed, have universal using. That is way Lokel offers this moduls for use in customer applications. Control system is based on TI DSPprocessors platform so low level system components like a device drivers are targeted to this platform. All the software moduls are used in rugged railcar applications, that is why it is ensured big reliability of the pogram code.


Device drivers

All the drivers are implemented in conformance to the TI DSP/BIOS IOM device driver model and APIs (www.ti.com, d. n. SPRU616). Target platform for onchip drivers is TMS320x28xx processor.

It means, that drivers supports use of TI DSP/BIOS components GIO,DIO,PIO stack drivers. So this implementation offers great variability of using in your application.

Example projects contains simple application for demonstration of driver function. Driver library contains big size of dummy datas to enlarge code size ,so this library is not useable in customer application. After purchase of product, customer obtain driver library without dummy code ( compilation for 5.x DSP/BIOS version). Customer will also get all upgrades to this product for 1 year.

We also prepare release of other software moduls.

Drivers of off-chip peripheries:

  • SPI flash/fram/eeprom driver, platform - any TI DSP/BIOS platform with SPI bus.
    This driver use internally SPI driver to communicate with chips and driver itself provide management and protocol of write/read/erase operations. Driver supports this devices:
    • FLASH memory M25Pxx (STMicroelectronics)
    • EEPROM memory 25xxyy (Microchip)
    • FRAM memory FM25xxx (Ramtron)
    Of course all other chips with compatible communication protocol are usable too. Driver supports also use of multiple chips ,which conect together as 1 virtual chip.
  • SPI CAN bus driver of MCP2510/15 chip, platform - any DSP/BIOS platform with SPI bus.
    This driver uses internally SPI driver to communicate with chip and driver itself provide management of chip. Driver has the same API as on-chip CAN bus driver ,so it can be replaced by this driver in application without any changes.
  • SPI UART port of MAX3100 chip, platform - any DSP/BIOS platform with SPI bus.
    This driver uses internally SPI driver to communicate with chip and driver itself provide management of chip. Driver has the same API as an on-chip UART port driver ,so it can be replaced this driver in application without any changes.

Flash disk driver:

This driver is C I/O low level driver and is ready to be registered by run time library function "add_device()". After the registration of the driver the application gets access to flash disc by using standart C I/O functions defined in run time library (fopen, fclose,fread,etc.). Driver has these basic properties:

  • 2 virtual discs with user defineable size. (Philosphy of 2 discs is for ensure of reliability. One disc is used for files, which do not rewrite application during runing, so it minimazies possibility of file errors. The second disc is used for files, which are rewrited during running of application.)
  • directories structure are not supported, only root directory exist.
  • driver is platform independent (only DSP/BIOS must running), because for physical read/write operation driver uses SPI flash/fram/eeprom driver, see above
  • driver need minimal 2 memory chips, one FLASH device(for data storage) and the second FRAM/EEPROM chip (for FAT storage).
  • disc API functions can be called only from the TSK threads.


 
©2004 LOKEL s.r.o., created by nar