Ed_err_param_write_e2p


#1

Hello all,

did you have experience with the following edLib error:

ED_ERR_PARAM_WRITE_E2P

I have this error after I wrote my data to the flash memory (I suppose this cause the error), then after software reset I call ed_init - it is OK, but then I call ed_DialupSetConfig which generate this error.

Could you please explain, what this error mean, and what can lead to it?

Thank you in advance


#2

Dear all,

our Embedding Application (OpenAt 3.02 for 6.51) which uses eDLib sequentally write to flash with 10 s timeout. We use standard ADL function adl_flhWrite(), before it we subscribe flash handle using adl_flhSubscribe() for 1000 IDs. After sucessfully writing ~800 IDs (we write 85 byte per ID) we try to set dialup parametrs using function ed_DialupSetConfig() and we get the following error (also function ed_SocketSetConfig lead to error)

ED_ERR_PARAM_WRITE_E2P

More precisely, we have the following Target Monitoring Tool trace

Trace IP 1 busInit: ok, GPIO handle=3
Trace IP 1 >MobileClient: Initializing IP connectivity services…
Trace IP 22 [ADL] flash subs 1000 : -4
Trace IP 22 Flh Obj 0004 Len : 0
Trace IP 22 Flh Obj 0007 Len : 0
Trace IP 22 Flh Obj 0005 Len : 0
Trace IP 22 Flh Obj 0006 Len : 0
Trace IP 22 Flh Obj 01FC Len : 0
Trace IP 22 Flh Obj 0002 Len : 65
Trace IP 22 Read Flh Obj 0002 (65) : 0
Trace IP 22 Flh Obj 0003 Len : 65
Trace IP 22 Read Flh Obj 0003 (65) : 0
Trace IP 22 Flh Obj 0001 Len : 1
Trace IP 22 Read Flh Obj 0001 (1) : 0
Trace IP 22 Flh Obj 000A Len : 65
Trace IP 22 Read Flh Obj 000A (65) : 0
Trace IP 22 Flh Obj 000B Len : 65
Trace IP 22 Read Flh Obj 000B (65) : 0
Trace IP 22 Flh Obj 01F6 Len : 1
Trace IP 22 Read Flh Obj 01F6 (1) : 0
Trace IP 22 Flh Obj 01F7 Len : 1
Trace IP 22 Read Flh Obj 01F7 (1) : 0
Trace IP 22 Flh Obj 01F8 Len : 1
Trace IP 22 Read Flh Obj 01F8 (1) : 0
Trace IP 22 Flh Obj 000E Len : 0
Trace IP 22 Flh Obj 000F Len : 0
Trace IP 22 Flh Obj 000C Len : 0
Trace IP 22 Flh Obj 000D Len : 0
Trace IP 22 Flh Obj 0008 Len : 0
Trace IP 22 Flh Obj 025B Len : 1
Trace IP 22 Read Flh Obj 025B (1) : 0
Trace IP 22 Flh Obj 0009 Len : 1
Trace IP 22 Read Flh Obj 0009 (1) : 0
Trace IP 22 Flh Obj 0258 Len : 101
Trace IP 22 Read Flh Obj 0258 (101) : 0
Trace IP 22 Flh Obj 0259 Len : 51
Trace IP 22 Read Flh Obj 0259 (51) : 0
Trace IP 22 Flh Obj 025A Len : 51
Trace IP 22 Read Flh Obj 025A (51) : 0
Trace IP 22 Flh Obj 0014 Len : 0
Trace IP 22 Flh Obj 0015 Len : 0
Trace IP 22 Flh Obj 00C9 Len : 0
Trace IP 22 Flh Obj 00C8 Len : 0
Trace IP 22 Flh Obj 00CC Len : 0
Trace IP 22 Flh Obj 00CA Len : 0
Trace IP 22 Flh Obj 00CB Len : 0
Trace IP 22 Flh Obj 00CE Len : 0
Trace IP 22 Flh Obj 00CD Len : 0
Trace IP 22 Flh Obj 010E Len : 0
Trace IP 22 Flh Obj 0119 Len : 0
Trace IP 22 Flh Obj 010F Len : 0
Trace IP 22 Flh Obj 011A Len : 0
Trace IP 22 Flh Obj 0110 Len : 0
Trace IP 22 Flh Obj 011B Len : 0
Trace IP 22 Flh Obj 0065 Len : 0
Trace IP 22 Flh Obj 0069 Len : 0
Trace IP 22 Flh Obj 0064 Len : 0
Trace IP 22 Flh Obj 0067 Len : 0
Trace IP 22 Flh Obj 0068 Len : 0
Trace IP 22 Flh Obj 012D Len : 0
Trace IP 22 Flh Obj 0130 Len : 0
Trace IP 22 Flh Obj 0135 Len : 0
Trace IP 22 Flh Obj 012C Len : 0
Trace IP 22 Flh Obj 012E Len : 0
Trace IP 22 Flh Obj 012F Len : 0
Trace IP 22 Flh Obj 0132 Len : 0
Trace IP 22 Flh Obj 0131 Len : 0
Trace IP 22 Flh Obj 0134 Len : 0
Trace IP 22 Flh Obj 0133 Len : 0
Trace IP 22 Flh Obj 0016 Len : 0
Trace IP 22 Flh Obj 0017 Len : 0
Trace IP 22 Flh Obj 02BD Len : 0
Trace IP 22 Flh Obj 02BE Len : 0
Trace IP 22 Flh Obj 02BC Len : 0
Trace IP 20 [ADL] tmr subs ; id 1 ; hdlr 00218075 ; val 1 ; cycl 1
Trace IP 20 [ADL] tmr subs ; id 2 ; hdlr 00217FC1 ; val 1 ; cycl 1
Trace IP 30 SIM subs 00212D75
Trace IP 27 Call subs 00217519 : 0
Trace IP 30 SIM subs 002295D1
Trace IP 27 Call subs 00229519 : 0
Trace IP 31 Gprs subs 002169E5 : 0
Trace IP 32 A&&D volume info : 0
Trace IP 21 Get Mem 0106438C
Trace IP 21 Get Mem 01064998
Trace IP 21 Get Mem 01064FA4
Trace IP 21 Get Mem 010655B0
Trace IP 21 Get Mem 01065BBC
Trace IP 21 Get Mem 010661C8
Trace IP 21 Get Mem 010667D4
Trace IP 21 Get Mem 01066DE0
Trace IP 21 Get Mem 010673EC
Trace IP 21 Get Mem 010679F8
Trace IP 21 Get Mem 01068004
Trace IP 21 Get Mem 01068610
Trace IP 21 Get Mem 01068C1C
Trace IP 21 Get Mem 01069228
Trace IP 21 Get Mem 01069834
Trace IP 21 Get Mem 01069E40
Trace IP 21 Get Mem 0106A44C
Trace IP 21 Get Mem 0106AA58
Trace IP 21 Get Mem 0106B064
Trace IP 21 Get Mem 0106B670
Trace IP 1 ed_Init: OK
Trace IP 21 Get Mem 0106BC7C
Trace E2P 1 Unable to find the string of the remote trace in the file (ID = 245)
Trace IP 22 Write Flh Obj 0002 (65) : -22 ; 52342/131072
Trace IP 1 DialupSetConfig: EEPROM write failed.

May be it is interesting to note that this error appear only when SIM is inserted.

Thank you in advance for your help