I still can not open IR port. How can I load ircomm.csy ?
IRPrinting defines the following as device drivers :
Code:
#if defined (__WINS__)
_LIT(PDD_NAME,"ECDRV");
_LIT(LDD_NAME,"ECOMM");
#else
_LIT(PDD_NAME,"EUART1");
_LIT(LDD_NAME,"ECOMM");
#endif
And these for comm module and port :
Code:
_LIT(KIrCOMM,"IrCOMM");
_LIT(KIrCOMM0,"IrCOMM::0");
What do I need to change ?
As far as I can see ircomm.csy is loaded (as comm module), and still I can not open IrCOMM::0
In the document describing OMAP1710 it is stated that the chip implements FIR. There is some confusion because SIR is also used as Slow IR that is a speed like MIR and FIR. However SIR also means Serial IR that is the physical layer of IR. Physical layer is different for Slow IR (SIR) and Fast IR (FIR), but a device capable of FIR modulation should also modulate SIR.
I do not think the chip implements the full IrDA stack in hardware as that would be an expensive alternative to using the ARM processor. Usually devices implement in hardware only the physical layer (IrPHY) that can be SIR, MIR or FIR or any combination of them (some chips add leading and trailing bytes and even CRC's, i.e. an IrPHY frame, this may be a problem depending on what you want to do). And the protocol stack (IrLAP, IrMUX, TinyTP, IrCOMM, IrOBEX etc.) in software. However it is not mandatory for the device driver to allow sending/receiving of IrPHY frames or bytes.
EDIT:
Ironically the only port I can open is COMM::0 on ecuart.csy module. Writing to it does not write anything to IR port however. On any other port i tried , i get errors -21 (Access Denied), -5 (Not Supported) or -46 (Permission Denied). Capability in mmp is set to "All -TCB".