Search found 11 matches

by fishman
Mon Aug 12, 2019 2:42 am
Forum: General Discussion
Topic: i2c driver install error
Replies: 1
Views: 147

Re: i2c driver install error

I found the reason that why I call the deinitial function was failed
1、The audio_board_deinit() no include i2c_driver_delete() ,i2c still working
2、And PA_POWER have no set 0 , the operation current is the amplifier
that two point was make the board call deinit still have little operation current.
by fishman
Wed Aug 07, 2019 2:39 am
Forum: General Discussion
Topic: i2c driver install error
Replies: 1
Views: 147

i2c driver install error

Hi, Used ESP-ADF Development audio play. When I call the function audio_board_init (), my board operation current will augment about 30mA to initialling and playing audio. So I want deinit and release all memory after audio play finish and before jump light_sleep mode just call the function audio_bo...
by fishman
Thu Jul 18, 2019 12:06 pm
Forum: ESP-IDF 中文讨论版
Topic: IO口重复安装中断 & 使用队列时发生错误
Replies: 3
Views: 155

Re: IO口重复安装中断 & 使用队列时发生错误

被自己解决了。。
原因是初始化没有及时给队列分配空间
xQueueCreate放在了别的位置导致XQueueSend的消息没运行空间
by fishman
Thu Jul 18, 2019 11:12 am
Forum: ESP-IDF 中文讨论版
Topic: IO口重复安装中断 & 使用队列时发生错误
Replies: 3
Views: 155

Re: IO口重复安装中断 & 使用队列时发生错误

更改配置,打印的assert信息: [ /home/yejianhui/esp/esp-idf/components/freertos/queue.c:1157 (xQueueGenericSendFromISR)- assert failed! Guru Meditation Error: Core 1 panic'ed (StoreProhibited). Exception was unhandled. Core 1 register dump: PC : 0x40086ea4 PS : 0x00060d33 A0 : 0x800860fe A1 : 0x3ffbb890 0x40086...
by fishman
Thu Jul 18, 2019 9:25 am
Forum: ESP-IDF 中文讨论版
Topic: IO口重复安装中断 & 使用队列时发生错误
Replies: 3
Views: 155

Re: IO口重复安装中断 & 使用队列时发生错误

试了一下 ,重复安装不影响IO口使用

还剩queue报错了
by fishman
Thu Jul 18, 2019 8:15 am
Forum: ESP-IDF 中文讨论版
Topic: IO口重复安装中断 & 使用队列时发生错误
Replies: 3
Views: 155

IO口重复安装中断 & 使用队列时发生错误

1.初始化GPIO时候使用过一次gpio_install_isr_service创建中断服务函数 调用ADF的API时发生install错误...是不是只能单独用gpio_isr_register创建中断 2.使用queue时发生报错...但是单独使用时是正常的(发送和接收都在同一个c文件里) 请问,发送和接收在不同的c文件时就不能使用吗? [/ E (498) gpio: gpio_install_isr_service(394): GPIO isr service already installed /home/yejianhui/esp/esp-idf/components/freert...
by fishman
Fri Jul 12, 2019 8:49 am
Forum: ESP-IDF 中文讨论版
Topic: spiffs挂载失败
Replies: 3
Views: 244

Re: spiffs挂载失败

您这么一说,我就升级到master也试了下,确实没有再出现这个情况 :shock:
1、就是升级到master之后返回旧的分支,make时的路径会报错
**没有规则制作目标** /esp-idf/tools/kconfig/expand_env.h, 由"zconf.tab.o" 需求。停止
这是什么原因呢?

2、我用release/v3.2可以实现例程spiffsgen的功能吗? 烧录文件进去spiffs分区
by fishman
Thu Jul 11, 2019 2:59 am
Forum: ESP-IDF 中文讨论版
Topic: 程序本身并没有返回参数,为什么会报错
Replies: 1
Views: 124

程序本身并没有返回参数,为什么会报错

错误日志 E (150) FreeRTOS: FreeRTOS Task "startup_initial" should not return, Aborting now! abort() was called at PC 0x40085a53 on core 1 0x40085a53: vPortTaskWrapper at /home/yejianhui/esp/esp-idf/components/freertos/port.c:403 Backtrace: 0x40088444:0x3ffb8960 0x4008866d:0x3ffb8980 0x40085a53:0x3ffb89a...
by fishman
Thu Jul 04, 2019 3:13 am
Forum: ESP-IDF 中文讨论版
Topic: spiffs挂载失败
Replies: 3
Views: 244

spiffs挂载失败

编译运行examples/storage/spiffsgen的例程
挂载spiffs失败log打印错误如下:
E SPIFFS:mount failed,-10025
E example:Failed to mount or format filesystem

image文件是make flash的时候一起制作并烧录的吗,需不需要先用spiffsgen.py生成image文件
by fishman
Wed Jun 12, 2019 5:51 am
Forum: ESP-IDF 中文讨论版
Topic: spiffs文件系统是挂载在哪个分区的
Replies: 1
Views: 278

spiffs文件系统是挂载在哪个分区的

1、我需要把一些比较小的音频文件写到固件里,是直接在指定地址烧写,还是用程序下载后通过spiffs写进去?
2、系统重启后spiffs初始化完成还能找得到之前写的文件吗?

Go to advanced search