|
发表于 2021-1-25 16:54:32
28732 浏览 5 回复
Reading from NVRAM in MTK2503D
本帖最后由 jawadi 于 2021-1-25 17:38 编辑
Hi. I am writing data to NVRAM using the non-blocking function mmi_frm_write_async_record and it works. But when using WriteRecord or ReadRecord, the operation cannot be done.
- char word1[15];
- S16 error;
- //WriteRecord(NVRAM_BABT_T1, 1, "First", 6, &error);
- mmi_frm_write_async_record(NVRAM_BABT_T1, 1, "hello", 6);
- ReadRecord(NVRAM_BABT_T1, 1, word1, 6, &error );
复制代码
Looks like the external queue is empty and it waits for the ILM message. Should I do something before calling ReadRecord?
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
|
|
|
|
|
|
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
|
|
|
|
|
|
|
楼主|
发表于 2021-2-3 17:14:34
本帖最后由 jawadi 于 2021-2-20 19:00 编辑
Thanks. I tried it in heartbeat_start and it worked, but it hangs and restarts when I try to use it in nm_gprs_cmd.c. Why is that? Is some form of initialization required? |
|
|
|
|
|
|
|
楼主|
发表于 2021-2-24 15:50:16
Can you explain about this problem in the main task? |
|
|
|
|
|
|
|
很久没去用过了,应该是没什么特别的注意事项;建议你多尝试一下; |
|
|
|
|
|
|
|
楼主|
发表于 2021-2-24 16:22:24
OK thank you for your time |
|
|
|
|
|
|
登录或注册
|