Air202 - 写入AT24Cx

欢迎您! 我来自波兰。 我在AliExpress买了Air202。
我有一个来自Luat_2G_RDA_8955 / script_LuaTask / demo / AT24Cx /的示例
启动Air202后出现错误 - > poweron reason  3
连接AT24Cx是这样的:


Hello! I'm from Poland. I bought Air202 on AliExpress.
I have an example from Luat_2G_RDA_8955 / script_LuaTask / demo / AT24Cx /
After starting Air202 there is an error -> poweron reason 3
Connecting the AT24Cx is like this:

attachments-2019-01-JmxJRxzd5c30bb3485790.PNG

attachments-2019-01-2ybXgHw05c30bacd0ea65.PNG

attachments-2019-01-lkbMwkPZ5c30bdb526161.PNG

attachments-2019-01-RrSs3F7x5c30be2405011.PNG


如何使用AT24Cx脚本,以便没有错误?
How to use the AT24Cx script, so that there is no error?

谢谢你的帮助。

Thank you for your help.



Edition

[2019-01-07 16:02:33.243]: host trace CDFU_LoadSection: %d-%d

[2019-01-07 16:02:33.257]: host trace CDFU_LoadSection: %d-%d

[2019-01-07 16:02:33.273]: host trace ====================================
[2019-01-07 16:02:33.289]: host trace INTR VER :Luat_V0030_8955
[2019-01-07 16:02:33.289]: host trace BASE VER :B5578
[2019-01-07 16:02:33.289]: host trace SCRIPT ADDR :0x00260000
[2019-01-07 16:02:33.305]: host trace SCRIPT SIZE :0x000b0000
[2019-01-07 16:02:33.305]: host trace BASE ADDR :0x00210000
[2019-01-07 16:02:33.305]: host trace BASE SIZE :0x00050000
[2019-01-07 16:02:33.321]: host trace ====================================
[2019-01-07 16:02:33.321]: host trace [cust_task_main]: Enter message loop
[2019-01-07 16:02:33.321]: host trace INTEGRITY file not exist!
[2019-01-07 16:02:33.321]: host trace FH:file=/lua/utils.lua,len=3071,offset=11127
[2019-01-07 16:02:33.335]: host trace FH:file=/lua/test_AT24Cx.lua,len=246,offset=10854
[2019-01-07 16:02:33.335]: host trace FH:file=/lua/sys.lua,len=5968,offset=4853
[2019-01-07 16:02:33.335]: host trace FH:file=/lua/patch.lua,len=1240,offset=3588
[2019-01-07 16:02:33.335]: host trace FH:file=/lua/main.lua,len=157,offset=3404
[2019-01-07 16:02:33.351]: host trace FH:file=/lua/log.lua,len=1174,offset=2204
[2019-01-07 16:02:33.351]: host trace FH:file=/lua/clib.lua,len=491,offset=1688
[2019-01-07 16:02:33.351]: host trace FH:file=/lua/AT24Cx.lua,len=1610,offset=52
[2019-01-07 16:02:33.351]: host trace parse_luadb_data:delupdpack=0,err=0,section=1,wrFile=0
[2019-01-07 16:02:33.351]: host trace INTEGRITY file write begin!
[2019-01-07 16:02:33.368]: host trace lualibc_fopen_ext /integrity.bin wb 601 1 2
[2019-01-07 16:02:33.368]: host trace INTEGRITY file write success!
[2019-01-07 16:02:33.368]: host trace [fopen_ext]: /lua/main.lua 2!
[2019-01-07 16:02:33.368]: host trace RUN main.lua
[2019-01-07 16:02:33.382]: host trace [fopen_ext]: /lua/main.lua 2!
[2019-01-07 16:02:33.382]: host trace [fopen_ext]: /lua/log.lua 2!
[2019-01-07 16:02:33.382]: host trace [fopen_ext]: /lua/log.lua 2!
[2019-01-07 16:02:33.382]: host trace [fopen_ext]: /lua/sys.lua 2!
[2019-01-07 16:02:33.398]: host trace [fopen_ext]: /lua/sys.lua 2!
[2019-01-07 16:02:33.398]: host trace [fopen_ext]: /lua/utils.lua 2!
[2019-01-07 16:02:33.398]: host trace [fopen_ext]: /lua/utils.lua 2!
[2019-01-07 16:02:33.398]: host trace [fopen_ext]: /lua/patch.lua 2!
[2019-01-07 16:02:33.414]: host trace [fopen_ext]: /lua/patch.lua 2!
[2019-01-07 16:02:33.414]: host trace [fopen_ext]: /lua/clib.lua 2!
[2019-01-07 16:02:33.414]: host trace [fopen_ext]: /lua/clib.lua 2!
[2019-01-07 16:02:33.414]: host trace [fopen_ext]: /lua/test_AT24Cx.lua 2!
[2019-01-07 16:02:33.430]: host trace [fopen_ext]: /lua/test_AT24Cx.lua 2!
[2019-01-07 16:02:33.430]: host trace [fopen_ext]: /lua/AT24Cx.lua 2!
[2019-01-07 16:02:33.430]: host trace [fopen_ext]: /lua/AT24Cx.lua 2!
[2019-01-07 16:02:33.430]: host trace eeprom write 6
[2019-01-07 16:02:33.446]: host trace eeprom read 123456
[2019-01-07 16:02:33.460]: host trace [I]-[poweron reason:] 3 TEST_AT24Cx 2.0.0 2.3.0 Luat_V0030_8955
[2019-01-07 16:02:33.648]: host event 0x8181e810
[2019-01-07 16:02:35.305]: host trace LJD VSIM sim_ProcessInstruction:2751,sim_present=1,IsVsim=0
[2019-01-07 16:02:37.960]: host event 0x2244420c
[2019-01-07 16:02:37.993]: host event 0x22446804
[2019-01-07 16:02:38.055]: host event 0x23000042
[2019-01-07 16:02:38.055]: host event 0x23000068
[2019-01-07 16:02:38.118]: host event 0x22445c2c
[2019-01-07 16:02:38.118]: host event 0x22445d2c
[2019-01-07 16:02:38.148]: host event 0x23000061
[2019-01-07 16:02:38.180]: host event 0x2300005c
[2019-01-07 16:02:38.210]: host event 0x2300005d
[2019-01-07 16:02:38.243]: host event 0x2300003b
[2019-01-07 16:02:38.243]: host event 0x23000063
[2019-01-07 16:02:38.273]: host event 0x2300008e
[2019-01-07 16:02:38.273]: host event 0x23000062
[2019-01-07 16:02:38.305]: host event 0x2300003f
[2019-01-07 16:02:38.305]: host event 0x22445f00


请先 登录 后评论

最佳答案 2019-01-08 17:19

It's not an error, when the luatools download lua script finished, luatools'll restart module, and the power reason of this restart is 3.

请先 登录 后评论

其它 0 个回答