Hello,
I’ve upgraded my Fastrack Supreme 10 (FSU004) to the latest openAT Embedded Software Suite 2.32(firmware R 7.42/openAT 6.32/WIP 5.30/LUA 2.0):
at+cgmr
R7.42.0.201003050914.FSU004 2131816 030510 09:14
OK
I’ve built my application (based on fastrack_ethernet and lua_intearctive samples from previous releases)
and during ethernet driver initialization I got an error (MAC address was fetched from eeprom correctly):
at+cfun=1ý
OK
+MAC: “0021C900071A”
[ENC28J60] register: SPI=2 CS=00003023 EXTINT=0
[ENC28J60] RST=00003013 PWR=00003014
[ETHER]: open: -> DISCONNECTED
[ENC28J60] init
[ENC28J60] mac address: 00:21:c9:00:07:1a
[DRVISR] cant subscribe to irq: -5
[ENC28J60] irq subscribe failed: -5
[ETHER]: start: -> failed to start interface: -26
cannot start bearer: -29
Actually The problem is with call wip_drvIsrSubscribe()
it fails with the error -5:
/* installs interrupt handler */
dp->isr_handle = wip_drvIsrSubscribe( (wip_drvData_t *) drvp,
drv_intr,
dp->extIntId,
WIP_DRV_IRQ_TRIGGER_FALLING_EDGE);
if( dp->isr_handle < 0) {
wip_debug( “[ENC28J60] irq subscribe failed: %d\n”, dp->isr_handle);
goto failure;
}
According to Manual, this error means that
ADL_RET_ERR_NOT_SUPPORTED The Real Time enhancement feature is not enabled on the embedded module
Note:
The Real Time Enhancement feature state can be read thanks to the AT+WCFM=5 command
response value: Please refer to the AT Commands Interface guide 1 for more information.
Note: Please contact your Sierra Wireless distributor for more information on how to enable this feature on
the embedded module
But, in my understanding, this extended commercial feature is enabled (bit 4 is set)
at+wcfm=5
+WCFM: 00000471,0
OK
With the open AT Software Suite release 2.21 (firmware 7.3.0.a.00/openAT 6.21/WIP 5.10/LUA 1.1.0)
I didn’t experience such problems.
Could you please provide me the hint what’s going on?