Contact us
My MEN
You are logged off
Log in



MEN general licensing conditions
This article is not free of charge. Please contact us for pricing and ordering options.

Supported Operating System
VxWorks® 5.5/6.2/6.3/6.4
Supported MEN Boards
EM1, EM1A, EM1N
EK6, EK6N
F12, F12N
Supported Hardware Features
CPU
•
MPC5200 processor
•
MMU support
Memory
•
Cache support
•
EEPROM
•
SRAM/FRAM
•
Boot Flash
Mass Storage
•
ATA NAND Flash
I/O
•
Serial driver for COM1
•
Ethernet driver for LAN1 and LAN2
•
MPC5200 USB
•
MPC5200 I2C master
FPGA
•
FPGA configuration table access
•
FPGA reloading
•
FPGA 16Z044_DISP (WindML support)
•
FPGA 16Z023_DISP (WindML support)
•
FPGA SPI + EC01 touch (conventional + WindML support)
•
FPGA 16Z025_UART
•
FPGA 16Z016_IDE
•
FPGA 16Z023_IDE/16Z123_IDE
•
FPGA 16Z087_ETH
PCI Bus
•
PCI bus
•
A500 PCI to VME Bridge
Miscellaneous
•
Timer driver
•
Auxiliary clock
•
Timestamp driver
•
Real time clock
•
Watchdog
•
Temperature sensor
•
System parameter access
Unsupported Hardware Features
MPC5200 ATA
MPC5200 MSCAN (CAN Layer 2 driver for MDIS™ available, see Related Products for available downloads)
Included Documentation
HTML documentation
-----[ BSP_1.4.3 ]-----
[ 2008-07-02 11:08:58 by CSchuster ]
R: SYSPARAM Lib: LM81 Calib section was used even when ID/Checksum was wrong
M: use default settings (gain correction 1.0) when ID/Checksum are wrong
-----[ BSP_1.4.2 ]-----
[ 2008-06-30 20:52:56 by CSchuster ]
BSP 1.4/2
R:1. General updates
2. LM81 power monitor is calibrated now (values stored in EEPROM)
3. from EM1N and EM1A R1 1.2V is connected to LM81 as well
4. SMB2/Z001:
a) controller (IP Core) now multimaster capable
b) when controller was busy through any other SW we released it anyway
c) freeBus did not affect I2C devices when this where stuck
d) freeBus always did maximum number of tries
e) readWordData returned swapped data
5. ATA2:
a) menataXbdIoctl(XBD_SOFT_EJECT/XBD_HARD_EJECT) had possible dead locks
b) fixed task priority of ATA XBD task caused problems in customer software
c) 0 size XBD device was always created when device detection failed
this caused "ghost" devices
d) General update
6. Z77_ETH/Z87_ETH:
a) board would hang after z077Reset was called from z077Int()
b) interface would not recover after FIFO overflow error
c) ARP did not work when it was initiated by EM1
d) invalid packets caused "runt packet" message on ARP level
e) possible IRQ loss with direct (fast) connections
7. OSS_Delay() had possible rollover (in conjunction with interrupts by signals)
8. WindView had problems parsing the report files ("Nested interrupt" error)
9. sysGetMmVersion() always retruned version of PMM
10. Z25: FIFO trigger level (only for RX) was considered for Tx as well
many unwanted interrupts occurred
11. Chameleon Lib: support for bridge devices was not complete
12. Z31_TOUCH WindML:
root task is suspended on startup when uglLog(..FATAL,) is posted
all usrApplicationInit(), usrApplicationRtpInit() is not executed!
M:1.a)
2.a)used 7 byte of reserved EEPROM space for calibration values
b) use calibration values from SYSPARAM when initializing LM81
c) implement calibration routines:
sysLm81CalibInit() and sysLm81Calib()
3. calibrate and display (sysLm81Show()) 1.2V line as well
4. SMB2/Z001:
a) optional support for multimaster (has to be configured/enabled on init)
b) only release (IN_USE) controller when this SW actually allocated it
c) when normal free (TOUT) doesn't work, try to free bus using clk toggle
d) abort freeBus once successful
e) return data nonswapped from readWordData
5. ATA2
a) removed dead lock in menataXbdIoctl(XBD_SOFT_EJECT/XBD_HARD_EJECT)
b) optionally set priority of XBD ATA task by external define (default=50)
c) only generate 0 size XBD device for hot pluggable devices,
fail on device generation for not hot pluggable devices.
d) - DriveMaxUdmaMode()/ataShow(): added support for UDMA 6
- added support for 16Z016-01 (UDMA mode selectable)
6. Z77_ETH/Z87_ETH:
a) added function z077Restart() thats queued with netJobAdd() to reset core
outside Interrupt context
b) IP core gets reseted now after a BUSY condition occurs
c) set BRO in MODER=1 to *enable* Broadcast receive
d) do not pass bogus (errornous or too short) packets to Stack
e) dont disable RXF in z077Int
7. fixed rollover condition in OSS_Delay()
8. sysIntCtrl.c: add EVT_CTX_0(EVENT_INT_EXIT) at end of sysIntHandlerExec()
9. return version of SMM when asked to
10. Z25: added additional i/o control to set fifo tx trigger level separately
11. Chameleon Lib: added full support for bridge devices
12. use uglLog of severity UGL_ERR_TYPE_WARN instead of *_FATAL when
uglIoMen16z031TsDrv() fails (e.g. no 16Z031_SPI in FPGA, ...)
-----[ BSP_1.4.1 ]-----
[ 2007-09-18 11:23:30 by cs ]
Release 1.4/1
use current version of 13Z025-60 driver
-----[ BSP_1.3.4 ]-----
[ 2007-09-13 15:01:48 by cs ]
CHAMELEON lib:
changed:
- by default old V0/V1 API not exported any more
- when CHAMV2_VARIANT not defined default init function to CHAM_InitMem
reason: CHAM_Init not exported when built using MDIS environment
When multiple (IO/MEM/SW) libs are built: conflicting symbols
- added support for MENs PCI Vendor ID
SMB2 lib:
changed:
- fill ReservedFctP3() with UseOssDelay()
(switch between OSS_MikroDelay() and OSS_Delay() at runtime)
fixed:
- Z001_SMB:
- transfer complete block at SMB_ACC_BLOCK_DATA (last Byte was missing)
- waitBusyReady(): don't return error when Busy Flag is missing on enter
command might be finished already (e.g. after task switch,...)
- mgt5200:
- set smbHdl->smbComHdl.busyWait at init
- mgt5200_waitTranfserProgressComplete():
- remove unsafe detection of transfer start edge
replaced by detection of IRQ flag due to completed transfer
ATA:
fixed:
-hotplug: only enable power when CD pin is active (not before CF insertion)
TOUCH:
fixed:
- error handling when sysTouchDevInit() failed
driver didn't return error on init when controller/Z031_SPI not present
LM81+RTC:
fixed:
- replace obsolete function semInit, use semBCreate and add error handling
device locking didn't work at all for VxWorks 6.x
Z77/Z87_ETH
added Z87_ETH support
changed driver name in debugs now same as device name
fixed:
- dont wipe out Registerset Area for Z77 OpenCore
- handle z077HandleRcvInt correctly for both Cores
MPC5200 UART:
- added handling for hw options for parity/data bits/stop bits
- reworked interrupt handling (refering to Windriver mpc52xx sio driver)
avoid problems at large outputs + open files on ata at the same time
Boot flash:
added support for 8MB Spansion 29GL064 (EM01N03)
MENMON interface:
changed primary/secondary MENMON size 256/768 kB
BUILD procedure:
added:
+ link against mdis2_pci.a when compiled with MEN_BSP_TEST set
(close open references OSS_Alarm*() and OSS_Smb*())
removed menFlashDrv.a (driver compiled anyway in BSP)
API:
added:
+ sysGetMmVersion()
+ sysGetPllError()
removed:
- sysChamelenUnitFind() and sysChameleonUnitIdent()
support sysChameleonV2*() API only (covers V0/V1 tables as well)
-----[ BSP_1.3.3 ]-----
[ 2007-03-03 02:26:31 by cs ]
fixed:
ATA: - set drive state to ATA2_DRIVE_ST_NONE when Identify fails
- claim irqSem on drv startup (CFs can generate stray IRQs on power up)
- reparse drive geometry after insertion event (geometry might differ)
- in case of drive not present at boot time create 0 size XBD
changed:
TOUCH: - for enabling interrupt use different command
SPIDATA_NOP now really NOP
added:
TOUCH: + support for touch calibration from VxWorks (e.g. WindML)
-----[ BSP_1.3.2 ]-----
[ 2007-01-05 22:27:26 by cs ]
added:
+ ATA and MENFLASH drivers now XBD devices for VxWorks >= 6.2
+ full access to boot flash for VxWorks 6.2 as well (see above)
- Z001_SMBus:
+ support for I2C messages
+ support sysRtcGet() from RTPs (syscall)
changed:
- HDTEST: support multiple instances running at a time
- Makefile: for VxW 6.x disable schedule-insns and schedule-insns2 optimizations
- don't allow sysChameleonIntEnable/-Disable to be called from interrupt level
- sysFlashExample: don't overwrite FPGA0 section. Use FPGA1 section
erase/write/read from offset 0x80000
- MPC5200 FEC: don't disable MII after initialization
fixed:
- Z001_SMB:
- consider STS_INUSE bit
- initialize descZ1.mikroDelay (sometimes OSS_Delay was used)
- call OSS_VxMikroDelayReInit() in sysMenApplicationInit()/usrMdisStartup()
-----[ BSP_1.3.1 ]-----
[ 2006-10-19 22:49:20 by cs ]
fixed:
- Z77_ETH END driver:
dont set HD bit in MODER when HD is chosen instead FD
cosmetics
-----[ BSP_1.3.1_Beta3 ]-----
[ 2006-10-15 17:28:08 by cs ]
adaptions for VxWorks 6.3
removed FRAM access functions (fixed in HW)
touch, changed: (for 5-wire touch 1024x768)
- reduced EM04_TOUCH_DEF_THOLD to 20
- discard first and last value measured
- use 3 values to detect first valid position
- generate pressed events only on next PEN Irq, if touch still pressed
graphics, added:
+ define for switching the clearing of the screen on startup
-----[ BSP_1.3.1_Beta2 ]-----
[ 2006-09-15 08:00:24 by cs ]
added:
- support for vxW 6.3
- support for Z077_ETH, FPGA ethernet controller
- chameleon device interrupt dispatcher
- touch: new calibration modes
- functions for accessing FRAM with correct timing
fixed:
- touch:
- during recovery cycles measure VBat, touch can reload
- only use pciIntConnect when SYSTOUCH_IRQ_FROM_PCI is set
- smb2 lib:
- z001 block access: added writeCmdForHost()
- mgt5200: don't free handle when compiled with SMB_FIXED_HANDLE
- ata (z23_ide) fix access to CTRL Register for IDE2
- fpga reload on startup: save and restore latencyTimer, cacheLineSize,
minGrant, maxLatency, intLine in PCI header
- EM01 boards with 256MB RAM didn't boot, don't disable 2nd chip select
in sysSerial.c
- P10:
- using P10_AUTO_XONXOFF disabled FIFOs due to wrong register access
- corrected XON/XOFF characters from 0x17/0x19 to 17/19
- chameleon lib: InitPci():
- don't abort if OSS_BusToPhysAddr() fails
- error handling fixed
- MPC5200 FEC:
- sometimes netTask exception happens due to
driver restart after RX FIFO ovwerflow
- renamed sysEnetAddrGet() to sysFecEnetAddrGet()
- Z044_DISP WindML: fixed double buffering: create/assign video memory
-----[ BSP_1.3.1_Beta1 ]-----
[ 2006-06-12 18:13:46 by cs ]
added:
+ additional subdir for vxWorks 6.x in LIB/MEN
+ switch MEN_LINK_WINDML for VxW 6.x command line build with WindML
+ support for Z077_ETH
+ support for make doc from VxWorks 6.x
+ optional support for Z001_SMB in FPGA (see define NUM_Z001SMB)
- em04touch:
+ support for touch calibration on reduced screen size
+ added option to support longer recovery times on touch
+ IOCTL calls for reading temperature and AUX input (VBATT)
fixed:
- docu for 13M099-06, 13P010-60,13Z015-06,13Z025-60 now included
- enable byte mode of boot flash
(was set to word mode when external USB clock was used)
- set XLB Arbiter Priorization Scheme to all equal
- sysHBLSpawn for VxW > 6.0 (can now be called from RTP)
- z25:
- When characters received during initialization system would hang.
Now Rx interrupt is enabled after intConnect has been called in
LocEnableInterrupt()
- only initialize available channels in Z25_InitDriverAtBoot()
-----[ BSP_1.3.0 ]-----
[ 2006-02-16 10:58:06 by cs ]
added support for VxWorks 6.2
changed:
- use DRIVERS/NATIVE/I2C/sys_lm81 driver instead of sysWdogLm81
- use SMB2 lib
- build of FEC ethernet driver now in BSP make (BUILD_ETHER=YES)
- sysGetVoltage() now returns integer values (mV) rather than float
added:
- interface for some sys* functions from RTP (syscalls for now)
- boot files for BSP_MODELs EM01, EK06 and F012, VxW 5.5 and 6.2
cosmetics
-----[ BSP_1.2.3_Beta2 ]-----
[ 2006-02-02 20:38:14 by cs ]
added init of desc->filterReg in sysSmb.c
-----[ BSP_1.2.3_Beta1 ]-----
[ 2006-02-02 18:00:29 by cs ]
fixed
- extended Ulf's ATA2 irq quick hack for different EM1 FPGA designs
- sysWindMLHwInit no more returns size 0 for used BARs (CHAM V0/1)
added
+ basic support for 16Z023_IDE controller (no hot swap functionality yet)
-----[ BSP_1.2.3_Beta ]-----
[ 2006-01-27 17:28:41 by cs ]
added:
+ support of WindML graphics and touch pointer from RTPs
(16Z044_DISP, 16Z031_TOUCH)
+ files target.ref, sysFpgaLoad.c, wexcursr.c
+ support for ESM carriers using an ID EEPROM with EEPROD2 structure
+ support for carrier board parameters:
hwflag: flag for presence of e.g. touch / touch without id
pnum: customer partnumber, 15 characters, free of format restrictions
+ BSP support for VxW 6.x: + RTP, ED&R, ED&R persistent memory,
+ various shell interpreters
fixed:
- ATA2
+ quick hack for EM01 - IDE IRQ is called only
if IRQ is from it's disk
remove this hack if we have an clean interrupt wrappper
- EM04TOUCH
- if values are outside of screen don't generate TouchEvent
until now values where set to screen edge!
-----[ BSP_1.2.2 ]-----
[ 2005-12-20 10:25:44 by cs ]
mdis_MEN_EM01.o compiled for VxWorks 6.1 (kernel mode only)
chameleon_strings.c:
changed define for modCode 16Z052_* (devId 0x20)
16Z052_SRAM was never used and was replaced by 16Z052_GIRQ
added IP cores 072..077 plus strings
-----[ 1.10 ]-----
[ 2005-12-19 21:27:05 by cs ]
BSP 1.2/2
raised revision
-----[ 1.9 ]-----
[ 2005-12-19 21:18:49 by cs ]
added support for WindML 4.0
sysChameleon*:
changed to use Chameleon V2 calls
added sysChameleonV2* functions
mpc5200FecEnd
added support for VxWorks 6.1
merged some fixes from WindRiver driver
-----[ 1.8 ]-----
[ 2005-12-01 19:19:01 by cschuster ]
added support for ATA2 driver
added support for NAND Flash IDE disc
Compact Flash is now configured to /ata1a with MEN_BSP_TEST
SYS_MENPCI2VME_PLDZ002/sysMenPci2VmePldZ002.c
added
+ DMA support
+ access directly to main memory from VMEbus
+ sysAddrInVmeRange() added A32 and swapped windows
changed
- sysVmeA32SlaveAddressSet(), sysVmeA24SlaveAddressSet() supports
finer resulotion of the > R18 FPGA
- On the PLD rev. > 17 the last 2kB of the SRAM is used now as
PLD registers i.e. mailbox and DMA buffer descriptors
- sysVmeProbe() checks if address is inside of a VME window
- renamed sysMenPci2VmeSetA32Mode() into sysMenPci2VmeSetA32MasterPrefix
fixed
- sysVmeLocMonSetup() compare address for big endian processors
- sysVmeBusToLocalAdrs() highest possible address returns an error
- documentation sysMenPci2VmeSetA32MasterPrefix()
set the upper three bits of the A32 address
13Z015-06 MSCAN:
- corrected CANCLOCK for MSCAN_5200 model
MPC5200/mpc5200_uart
removed task(Un)Lock + int(Un)Lock, disable RX IRQ if shadow register
variable is modified outside the ISR
Cosmetic removed logMsg
MPC5200 Intr Status Register work around:
changed interrupt service routine mgt5200sioInt()
Check IMR register so only real TX interrupts are handled.
-----[ 1.7 ]-----
[ 2005-09-09 20:59:56 by CSchuster ]
added
+ support for fpga reloading
+ support for boot Flash access
+ basic support for VxWorks 6.x
+ support for MPC5200 Rev B processor revisions
+ non SCPCI PCI access
+ external USB clock
+ sysGetSvr(), sysGetPvr()
+ sysGetTemp(), sysGetVoltage()
changed WindML drivers to use new chameleon names
INCLUDE_NFS set by default
usbPciStub.c:
removed everything that needed MEN specific typedefs (int32, int64)
this caused compiler errors when NFS and USB where included
at the same time
-----[ 1.6 ]-----
[ 2005-07-28 08:28:41 by CSchuster ]
added support for shared interrupts
added support for A500 VME bridge
added support for different carrier boards (BSP_MODEL)
added some missing files and subfilesets (drivers)
-----[ 1.5 ]-----
[ 2005-07-19 15:35:17 by CSchuster ]
added support for 13Z031_SPI and EC01 touch controller (conventional + WindML)
added MPC5200 USB support
-----[ 1.3 ]-----
[ 2005-07-07 09:47:48 by SVogel ]
added support for Z25 quad UART
DBG: Added possibility to flush cache after each write to ring buffer
(for post mortem dumps). Set DBG_doCacheFlush to TRUE if you
want this
-----[ 1.2-Alpha1-addWindML ]-----
[ 2005-06-01 15:00:33 by CSchuster ]
added support for WindML (FPGA graphic modules)
use chameleon fileset instead of including single files
minor bugfixes
-----[ 1.2-Alpha0-catfix ]-----
[ 2005-04-19 16:05:09 by kp ]
fixed categories
-----[ 1.2-Alpha0 ]-----
[ 2005-04-19 16:02:36 by kp ]
Initial Revision

| Article No. | Description | More |
| 13Z015-06 | MDIS5™ low-level driver sources (MEN) for 16Z029_CAN (MSCAN/Layer2) Requires an MDIS4™/2004 or MDIS5™ system package |
Download Details |
| 13M000-07 | MDIS4™/2004 System Package (MEN) for VxWorks® This product has been discontinued and is no longer maintained. |
Download Details |
