-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can not run the demo by the wifi radio #21
Comments
Compiles fine for me with the latest SDK. Did you set any particular flash size? |
Ah it complains on startup. I added a custom partition table, but sdkconfig.defaults don't seem to work. You might have to select "custom partition" manually in menuconfig. Does this solve your issue? |
OK,it can work.But I found another problem. ` (78999) web_radio: RAM left 4468 I (79069) http_client: DNS lookup succeeded. IP=121.14.255.95 I (79189) http_client: ... socket send success Guru Meditation Error of type IllegalInstruction occurred on core 1. Exception was unhandled. A2 : 0x3ffdc7c8 A3 : 0x3fffff98 A4 : 0x3fff6510 A5 : 0x3fffb8b0 A14 : 0x00000001 A15 : 0x00000005 SAR : 0x00000004 EXCCAUSE: 0x00000000 Backtrace: 0x4012183e:0x3fff6480 0x7ffffffd:0x3fff64a0 If playing the next song everytime,it will create several new task and malloc the new buffer.If not delete pre task and recycle the buffer which it allocate in time , it may consume the raw.At last the chip will restart.I'm trying to fix the bug. |
Looking forward to what you find out. |
Eh,I found that Can not play the next song after finish playing the a song. I try to press the button.But it's no use.I check the header of the response.It can get the right response.But it can't read the data.Do you know the reason why it can't play the next song after finishing playing song. I (2330) http_client: ... socket send success thu, 27 jul 2017 02:29:54 gmt 624280 bytes audio/mpeg mon, 21 mar 2016 04:07:12 gmt close Fw-Cache-Status: hit hit disk hit from 222.186.129.169, Configured MISS from 122.192.111.136, DISK HIT from 222.88.91.3 9, DISK HIT from 121.12.98.60 136, DISK HIT from 222.88.91.3I (2440) audio_player: Buffer fill 50%, 16076 bytes I (12500) audio_player: Buffer fill 92%, 29740 bytes I (49050) web_radio: GPIO[0] intr, val: 1 I (49100) http_client: ... socket send success thu, 27 jul 2017 02:30:41 gmt 624280 bytes audio/mpeg mon, 21 mar 2016 04:07:12 gmt close Fw-Cache-Status: hit hit disk hit from 222.186.129.169, Configured MISS from 122.192.111.136, DISK HIT from 222.88.91.3 9, DISK HIT from 121.12.98.60 136, DISK HIT from 222.88.91.3I (51720) http_client: ... done reading from socket. Last read return=0 errno=128 I (98600) http_client: ... socket send success audio/mpeg thu, 27 jul 20 17 02:31:30 GMT 128 mellow 70s lef t Coast 70s: Mellow album rock from the Seventies. Yacht friend ly. [SomaFM]
p://www.winamp.com/">Winamp shoutcast dist ributed Network Audio Server/Linux v1.9.5 0 http://somafm.com icecast 2.4.0-kh3 no-cache, no-store no-cache access-control-allow-headers: origin, accept, x-request origin, accept, x-request ed-With, Content-Type get, optio NS, HEAD close mon, 26 jul 1997 05:00:00 GMT connection: close ` |
Never tested that case, I assumed infinite streaming. |
Hey @donny681, I'm having the same initial issue you had where the project flashes but gives the weird errors and 'user code done' in the monitor. What exactly did you do to fix this issue? Cheers |
`MONITOR
--- WARNING: Serial ports accessed as /dev/tty.* will hang gdb if launched.
--- Using /dev/cu.SLAB_USBtoUART instead...
--- idf_monitor on /dev/cu.SLAB_USBtoUART 115200 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
ets Jun 8 2016 00:22:57
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
ets Jun 8 2016 00:22:57
rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0010,len:4
load:0x3fff0014,len:5084
load:0x40078000,len:0
load:0x40078000,len:12652
entry 0x40078f44
I (45) boot: ESP-IDF v3.0-dev-174-g143cdf6a-dirty 2nd stage bootloader
I (45) boot: compile time 10:54:45
I (48) boot: Enabling RNG early entropy source...
I (64) boot: SPI Speed : 40MHz
I (77) boot: SPI Mode : DIO
I (89) boot: SPI Flash Size : 4MB
I (102) boot: Partition Table:
I (113) boot: ## Label Usage Type ST Offset Length
I (136) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (159) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (182) boot: 2 factory factory app 00 00 00010000 00100000
I (206) boot: End of partition table
I (219) boot: Disabling RNG early entropy source...
I (236) boot: Loading app partition at offset 00010000
I (254) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x4d2d4 (316116) map
I (618) esp_image: segment 1: paddr=0x0005d2fc vaddr=0x3ffb0000 size=0x02d14 ( 11540) load
I (633) esp_image: segment 2: paddr=0x00060018 vaddr=0x400d0018 size=0x9a55c (632156) map
0x400d0018: _stext at ??:?
I (1312) esp_image: segment 3: paddr=0x000fa57c vaddr=0x3ffb2d14 size=0x020e4 ( 8420) load
I (1323) esp_image: segment 4: paddr=0x000fc668 vaddr=0x40080000 size=0x00400 ( 1024) load
0x40080000: _iram_start at ??:?
I (1335) esp_image: segment 5: paddr=0x000fca70 vaddr=0x40080400 size=0x13f5c ( 81756) load
I (1465) esp_image: segment 6: paddr=0x001109d4 vaddr=0x400c0000 size=0x00000 ( 0) load
E (1466) esp_image: Image length 1051136 doesn't fit in partition length 1048576
E (1483) boot: Failed to verify app image @ 0x10000 (8194)
user code done`
I update the latest version and find that there is something wrong.It shows that image overflows.
The text was updated successfully, but these errors were encountered: