AT 错误码与重置原因
错误码
当CMEE设置为模式1时,CME ERROR和CMS ERROR列出的错误码将被启用。
CME ERROR错误码
表 1 CME ERROR错误码表
错误代码 |
错误信息 |
错误说明 |
|---|---|---|
3 |
Operation not allowed |
操作不允许。 |
4 |
Operation not supported |
操作不支持。 |
10 |
SIM not inserted |
没有SIM卡。 |
11 |
SIM PIN required |
需要输入SIM PIN码。 |
12 |
SIM PUK required |
需要输入SIM PUK码。 |
13 |
SIM failure |
SIM卡失败。 |
16 |
Incorrect password |
密码错误。 |
22 |
Not found |
没有找到。 |
23 |
Memory failure |
申请内存失败。 |
30 |
No network service |
无网络服务。 |
50 |
Incorrect parameters |
参数错误。 |
51 |
Command implemented but currently disable |
命令已下发,但当前不能执行。 |
52 |
Command aborted by user |
命令执行被用户打断。 |
100 |
Unknown |
未知错误。 |
159 |
Uplink Busy/Flow Control |
上行忙。 |
181 |
unsupported QCI value |
QCI的值不支持。 |
512 |
Required Parameter Not Configured |
未配置所需参数。 |
513 |
TUP Not Registered |
TUP未注册。 |
514 |
AT Cmd Internal Error |
AT内部错误。 |
515 |
cid is active |
CID处于活动状态。 |
516 |
radio test state error |
无线测试状态错误。 |
517 |
cid is invalid |
CID无效。 |
518 |
cid is not active |
CID未激活。 |
519 |
link security error |
链路安全错误。 |
520 |
deactive last active cid |
最后一路承载不可被去激活。 |
521 |
cid is not defined |
CID未定义。 |
522 |
at uart parity error |
UART奇偶校验错误。 |
523 |
at uart frame error |
UART帧错误。 |
524 |
ue not power on |
UE未开机。 |
525 |
sent data sequence repeat error |
发送数据序列重复错误。 |
526 |
at command abort error |
AT命令中止错误。 |
527 |
command interrupted |
命令中断。 |
528 |
configuration conflicts |
配置冲突。 |
529 |
FOTA is updating |
FOTA正在更新。 |
530 |
invalid socket |
socket不可用。 |
531 |
SIM PIN is blocked |
USIM卡PIN码错误。 |
532 |
SIM PUK is blocked |
USIM卡PUK码错误。 |
533 |
Not mipi module |
非MIPI模块。 |
534 |
file not found |
未发现文件。 |
535 |
conditions of use not satisfied |
不满足使用条件。 |
536 |
at uart buffer error |
AT UART缓冲区错误。 |
537 |
Back off timer is running |
退避定时器正在运行。 |
538 |
debug still enabled, private keys may be accessible |
调试仍然启用,私钥可以访问。 |
539 |
requested LwSIM/Eagle Data not available |
请求的LwSIM/Eagle数据不可用。 |
540 |
LwSIM/Eagle SIM profile not loaded |
LwSIM/Eagle SIM卡配置文件未加载。 |
541 |
Eagle DP authentication failure due to KpubCI authentication failure |
KpubCI认证失败导致Eagle DP认证失败。 |
542 |
Eagle DP authentication failure due to KpubDP authentication failure |
KpubDP认证失败导致Eagle DP认证失败。 |
543 |
Eagle DP authentication failure due to eKpubDP authentication failure |
eKpubDP认证失败导致Eagle DP认证失败。 |
544 |
Eagle profile invalid MAC |
Eagle配置文件MAC无效。 |
545 |
Eagle re-provisioning not supported and profile already loaded |
不支持Eagle重新调配,配置文件已加载。 |
546 |
Error parsing Eagle SIM profile data |
分析Eagle SIM卡配置文件数据时出错。 |
547 |
Multiple failed attempts to load Eagle SIM profile data with DP authentication or MAC failures |
多次尝试加载Eagle SIM卡配置文件数据失败(DP身份验证或MAC失败)。 |
548 |
at command no command to abort |
AT命令没有中止的命令。 |
549 |
not idle mode |
非空闲模式。 |
550 |
Current imsi is blocked by sim lock |
当前IMSI受阻于SIM卡锁。 |
551 |
ue not power off |
UE未关机。 |
552 |
pdp type mismatch |
PDP类型不匹配。 |
553 |
all sockets are occupied |
无空闲socket。 |
554 |
the port number is occupied |
端口号冲突。 |
555 |
the sliding window is full |
滑动窗口已满。 |
556 |
the cid is occupied |
CID冲突。 |
557 |
the uart is flow xoff |
软件流控已打开。 |
558 |
restore not prepared |
还原操作未就绪。 |
559 |
PS data has been switched off |
PS数据已关闭。 |
561 |
Tsensor init error |
tsensor初始化失败。 |
562 |
Tsensor sample error |
tsensor采样失败。 |
563 |
Net suspend error |
网络挂起异常。 |
564 |
Bandwidth write nv error |
写速率模式NV失败。 |
565 |
LFS traverse error |
文件系统遍历异常。 |
566 |
FLASH task full error |
Flash任务列表已满异常。 |
CMS ERROR错误码
表 1 CMS ERROR错误码
错误代码 |
错误信息 |
错误说明 |
|---|---|---|
(0~127) |
RP‑cause definition |
请参见“3GPP TS 24.011 [6] clause E.2 values”。 |
1 |
Unassigned number |
未分配的编号。 |
8 |
Operator determined barring |
确认限制的操作。 |
10 |
Call bared |
呼叫暴露。 |
21 |
Short message transfer rejected |
短消息传输被拒。 |
27 |
Destination out of service |
目的停机 |
28 |
Unindentified subscriber |
未识别的用户。 |
29 |
Facility rejected |
服务被拒。 |
30 |
Unknown subscriber |
未知的用户。 |
38 |
Network out of order |
网络故障。 |
41 |
Temporary failure |
暂时故障。 |
42 |
Congestion |
拥堵。 |
47 |
Recources unavailable |
资源不可用。 |
50 |
Requested facility not subscribed |
请求的服务未订阅。 |
69 |
Requested facility not implemented |
请求的服务未实施。 |
81 |
Invalid short message transfer reference value |
无效短信传输参考值。 |
95 |
Invalid message unspecified |
未指定的无效消息。 |
96 |
Invalid mandatory information |
无效的强制信息。 |
97 |
Message type non existent or not implemented |
消息类型不存在或未实现。 |
98 |
Message not compatible with short message protocol |
消息与短消息协议不兼容。 |
99 |
Information element non-existent or not implemented |
信元不存在或未实现。 |
111 |
Protocol error, unspecified |
协议错误,未指定。 |
127 |
Internetworking , unspecified |
网络正常时的其他错误,未指定。 |
(128~255) |
TP‑Failure‑Cause |
请参见“3GPP TS 23.040 [3] clause 9.2.3.22 values”。 |
128 |
Telematic internetworking not supported |
远程互联不支持。 |
129 |
Short message type 0 not supported |
不支持类型为0的短消息。 |
130 |
Cannot replace short message |
无法替换短消息。 |
143 |
Unspecified TP-PID error |
未指定的TP-PID。 |
144 |
Data code scheme not supported |
不支持的数据编码方案。 |
145 |
Message class not supported |
不支的短消息class类型。 |
159 |
Unspecified TP-DCS error |
未指定的TP-DCS。 |
160 |
Command cannot be actioned |
命令无法执行。 |
161 |
Command unsupported |
命令不支持。 |
175 |
Unspecified TP-Command error |
未指定的TP命令 |
176 |
TPDU not supported |
不支持的TPDU。 |
192 |
SC busy |
SC繁忙。 |
193 |
No SC subscription |
无SC订阅。 |
194 |
SC System failure |
SC系统故障。 |
195 |
Invalid SME address |
无效的SME地址。 |
196 |
Destination SME barred |
目的SME被禁止。 |
197 |
SM Rejected-Duplicate SM |
SM被拒绝-重复的SM。 |
198 |
TP-VPF not supported |
不支持TP-VPF。 |
199 |
TP-VP not supported |
不支持TP-VP。 |
208 |
D0 SIM SMS Storage full |
D0 SIM卡短信已存满。 |
209 |
No SMS Storage capability in SIM |
SIM卡中没有短信存储功能。 |
210 |
Error in MS |
MS中的错误。 |
211 |
Memory capacity exceeded |
内存容量已超出。 |
212 |
Sim application toolkit busy |
SIM卡程序繁忙。 |
213 |
SIM data download error |
SIM卡数据下载错误。 |
255 |
Unspecified error cause |
未指定的错误原因。 |
(300~511) |
Message Service Failure Result Code |
请参见“3GPP TS 27.005 [14] clause 3.2.5 values”。 |
300 |
ME failure |
ME故障。 |
301 |
SMS service of ME reserved |
ME的SMS业务保留。 |
302 |
operation not allowed |
操作不允许。 |
303 |
operation not supported |
操作不支持。 |
304 |
invalid PDU mode parameter |
PDU模式下无效的参数。 |
305 |
invalid text mode parameter |
TEXT模式下无效的参数。 |
310 |
(U)SIM not inserted |
SIM卡未插入。 |
311 |
(U)SIM PIN required |
需要输入SIM PIN码。 |
312 |
PH-(U)SIM PIN required |
需要输入PH-SIM PIN码。 |
313 |
(U)SIM failure |
SIM卡故障。 |
314 |
(U)SIM busy |
SIM卡遇忙。 |
315 |
(U)SIM wrong |
SIM卡错误。 |
316 |
(U)SIM PUK required |
需要输入SIM PUK码。 |
317 |
(U)SIM PIN2 required |
需要输入SIM PIN2码。 |
318 |
(U)SIM PUK2 required |
需要输入SIM PUK2码。 |
320 |
memory failure |
存储故障。 |
321 |
invalid memory index |
无效存储索引。 |
322 |
memory full |
存储已满。 |
330 |
SMSC address unknown |
短信中心地址未知。 |
331 |
no network service |
无网络服务。 |
332 |
network timeout |
网络超时。 |
340 |
no +CNMA acknowledgement expected |
无预期的+CNMA确认。 |
341 |
FDN Failed |
短信接收方号码FDN检查失败或者短信接收方号码和短信中心号码FDN均检查失败。 |
342 |
Service Centre Address FDN failed |
短信中心号码FDN检查失败。 |
343 |
MO SMS Control Failed |
MO SMS Control检查失败。 |
500 |
500 |
未知错误。 |
其他错误码
表 1 其他错误码
错误代码 |
错误说明 |
|---|---|
AT_INVALID_PARAM |
AT指令下发时传入无效参数。 |
AT_CHANNEL_BUSY |
AT指令下发时当前通道正在处理其他AT。 |
AT_MEMORY_ERROR |
AT指令下发时申请内存失败。 |
AT_CMD_TOO_LONG |
AT指令下发超出最大长度。 |
AT_HANDLE_ERROR |
AT指令下发处理异常。 |
重置原因
除外部重置的原因外,如果系统重新启动,将返回一条消息,指明重启原因。
单板启动后的复位原因会打印在AT_UART口和AT_USB口,若复位原因打印早于USB枚举结束,则复位原因不会显示到AT_USB口。
可能的重启原因列表如下:
重启提示 |
全局重置原因 |
|---|---|
REBOOT_CAUSE_GLOBAL_UNKNOWN |
用作reboot_reset_reason变量的默认值及硬件上报未定义原因值叠加态。 |
REBOOT_CAUSE_GLOBAL_PMU_POWER_ON_RESET |
使用POWER ON按键进行下电上电引发系统重启。 |
REBOOT_CAUSE_GLOBAL_CHIP_ALL_RST_BY_A |
A CORE触发全局重置。 |
REBOOT_CAUSE_GLOBAL_CHIP_ALL_RST_BY_P |
C CORE触发全局重置。 |
REBOOT_CAUSE_GLOBAL_WATCHDOG_RST_BY_A |
A CORE看门狗重置触发全局重置。 |
REBOOT_CAUSE_GLOBAL_WATCHDOG_RST_BY_P |
C CORE看门狗重置触发全局重置。 |
REBOOT_CAUSE_GLOBAL_PMU_VBAT_UNDERV_RST |
电源管理单元启动-欠压复位。 |
REBOOT_CAUSE_GLOBAL_FNPLL_ABNORMAL_RESET |
Flash低电压保护重置。 |
REBOOT_CAUSE_GLOBAL_PIN_RESET |
复位引脚翻转。 |
REBOOT_CAUSE_GLOBAL_APPLICATION_AT |
AT命令处理器请求重启。 |
REBOOT_CAUSE_GLOBAL_LPC_SELF_HEAL_BY_P |
因在配置时间内未进入深度睡眠,C CORE引发系统重启。 |
REBOOT_CAUSE_GLOBAL_REBOOT_BY_USER |
用户调用uapi_reboot接口重启UE。 |
REBOOT_CAUSE_GLOBAL_SUB_WATCHDOG_RST_BY_A |
A CORE 软件看门狗触发全局重置。 |
REBOOT_CAUSE_GLOBAL_SUB_WATCHDOG_RST_BY_P |
C CORE 软件看门狗触发全局重置。 |
REBOOT_CAUSE_GLOBAL_SYSERR_RST_BY_A |
A CORE 异常死机触发全局重置。 |
REBOOT_CAUSE_GLOBAL_SYSERR_RST_BY_P |
C CORE 异常死机触发全局重置。 |
REBOOT_CAUSE_GLOBAL_FOTA_UPGRADE |
FOTA 升级触发全局重置。 |
REBOOT_CAUSE_GLOBAL_RESTORE_DEFAULTS |
NV 恢复触发全局重置。 |
REBOOT_CAUSE_GLOBAL_REG_MONITOR_TIMER_EXPIRY |
入网保护定时器超时触发全局重置。 |
REBOOT_CAUSE_GLOBAL_SIM_PROFILE_UPDATE |
保留原因码,当前重启流程不使用。 |
REBOOT_CAUSE_GLOBAL_REGIONS_UPDATED |
保留原因码,当前重启流程不使用。 |
REBOOT_CAUSE_GLOBAL_MONITOR_REBOOT_REQ |
保留原因码,当前重启流程不使用。 |