nsh> nxplayer                                                                                                                                                                            
NxPlayer version 1.05                                                                                                                                                                    
h for commands, q to exit                                                                                                                                                                
                                                                                                                                                                                         
nxplayer> play /data/yes.wav                                                                                                                                                             
nxplayer_playinternal: ==============================                                                                                                                                    
nxplayer_playinternal: Playing file /data/yes.wav                                                                                                                                        
nxplayer_playinternal: ==============================                                                                                                                                    
audio_open: crefs: 0                                                                                                                                                                     
audio_ioctl: cmd: 4097 arg: 537390872                                                                                                                                                    
audio_ioctl: AUDIOIOC_GETCAPS: Device=0                                                                                                                                                  
cs4344_getcaps: type=0 ac_type=0                                                                                                                                                         
audio_ioctl: cmd: 4098 arg: 0                                                                                                                                                            
audio_ioctl: AUDIOIOC_RESERVE                                                                                                                                                            
pcm_reserve: Defer to lower reserve                                                                                                                                                      
audio_ioctl: cmd: 4097 arg: 537390872                                                                                                                                                    
audio_ioctl: AUDIOIOC_GETCAPS: Device=2                                                                                                                                                  
cs4344_getcaps: type=2 ac_type=2                                                                                                                                                         
audio_ioctl: cmd: 4106 arg: 537390840                                                                                                                                                    
audio_ioctl: Forwarding unrecognized cmd: 4106 arg: 537390840                                                                                                                            
pcm_ioctl: Defer to lower ioctl, cmd=4106 arg=537390840                                                                                                                                  
cs4344_ioctl: Ignored                                                                                                                                                                    
audio_ioctl: cmd: 4110 arg: 4                                                                                                                                                            
audio_ioctl: AUDIOIOC_REGISTERMQ                                                                                                                                                         
nxplayer_playthread: Entry                                                                                                                                                               
audio_ioctl: cmd: 4106 arg: 537393600                                                                                                                                                    
audio_ioctl: Forwarding unrecognized cmd: 4106 arg: 537393600                                                                                                                            
pcm_ioctl: Defer to lower ioctl, cmd=4106 arg=537393600                                                                                                                                  
cs4344_ioctl: Ignored                                                                                                                                                                    
audio_ioctl: cmd: 4107 arg: 537393616                                                                                                                                                    
audio_ioctl: AUDIOIOC_ALLOCBUFFER                                                                                                                                                        
audio_ioctl: cmd: 4107 arg: 537393616                                                                                                                                                    
audio_ioctl: AUDIOIOC_ALLOCBUFFER                                                                                                                                                        
nxplayer_fill_common: Closing audio file, nbytes=4300 errcode=25                                                                                                                         
audio_ioctl: cmd: 4109 arg: 537393568                                                                                                                                                    
audio_ioctl: AUDIOIOC_ENQUEUEBUFFER                                                                                                                                                      
pcm_enqueuebuffer: Received buffer 0x20000010, streaming=0                                                                                                                               
pcm_enqueuebuffer: curbyte=0 nbytes=4300 nmaxbytes=8192 bytesleft=4300                                                                                                                   
pcm_dump: Wave file header                                                                                                                                                               
pcm_dump:   Header Chunk:                                                                                                                                                                
pcm_dump:     Chunk ID:        0x46464952                                                                                                                                                
pcm_dump:     Chunk Size:      4292                                                                                                                                                      
pcm_dump:     Format:          0x45564157                                                                                                                                                
pcm_dump:   Format Chunk:                                                                                                                                                                
pcm_dump:     Chunk ID:        0x20746d66                                                                                                                                                
pcm_dump:     Chunk Size:      16                                                                                                                                                        
pcm_dump:     Audio Format:    0x0001                                                                                                                                                    
pcm_dump:     Num. Channels:   1                                                                                                                                                         
pcm_dump:     Sample Rate:     8000                                                                                                                                                      
pcm_dump:     Byte Rate:       16000                                                                                                                                                     
pcm_dump:     Block Align:     2                                                                                                                                                         
pcm_dump:     Bits Per Sample: 16                                                                                                                                                        
pcm_dump:   Data Chunk:                                                                                                                                                                  
pcm_dump:     Chunk ID:        0x61746164                                                                                                                                                
pcm_dump:     Chunk Size:      4256                                                                                                                                                      
cs4344_configure: ac_type: 2                                                                                                                                                             
cs4344_configure:   AUDIO_TYPE_OUTPUT:                                                                                                                                                   
cs4344_configure:     Number of channels: 1                                                                                                                                              
cs4344_configure:     Sample rate:        8000                                                                                                                                           
cs4344_configure:     Sample width:       16                                                                                                                                             
cs4344_configure: ERROR: Unsupported combination of sample rate anddata width                                                                                                            
stm32_i2s_txdatawidth: Data width bits of tx = 16                                                                                                                                        
i2s_mckdivider: Entry                                                                                                                                                                    
i2s_dump_regs: I2S2: After i2s_mckdivider                                                                                                                                                
i2s_dump_regs:     CR1:0000    CR2:0700     SR:0002      DR:0000                                                                                                                         
i2s_dump_regs:     I2SCFGR:0e00    I2SPR:021a                                                                                                                                            
i2s_dump_regs:     PLLI2SCFGR:20003540                                                                                                                                                   
cs4344_setbitrate: sample rate=8000 nchannels=1 bpsamp=16                                                                                                                                
pcm_enqueuebuffer: Begin streaming: apb=0x20000010 curbyte=44 nbytes=4300                                                                                                                
pcm_enqueuebuffer: Pass to lower enqueuebuffer: apb=0x20000010 curbyte=44 nbytes=4300                                                                                                    
cs4344_enqueuebuffer: Enqueueing: apb=0x20000010 curbyte=44 nbytes=4300 flags=0008                                                                                                       
nxplayer_playthread: 2 buffers queued, running=1 streaming=0                                                                                                                             
audio_ioctl: cmd: 4102 arg: 0                                                                                                                                                            
audio_ioctl: AUDIOIOC_START                                                                                                                                                              
pcm_start: Defer to lower start                                                                                                                                                          
cs4344_start: Entry                                                                                                                                                                      
cs4344_start: Starting worker thread                                                                                                                                                     
cs4344_workerthread: Entry                                                                                                                                                               
cs4344_sendbuffer: Sending apb=0x20000010, size=4300 inflight=0                                                                                                                          
stm32_i2s_send: apb=0x20000010 nbytes=4256 arg=0x2007dcc0 timeout=55                                                                                                                     
stm32_dmasetup: paddr: 4000380c maddr: 20000068 ntransfers: 2128 scr: 00002c40                                                                                                           
cs4344_start: Created worker thread                                                                                                                                                      
nxplayer_playthread: Playing...                                                                                                                                                          
nxplayer> i2s_tx_worker: tx.act.head=0 tx.done.head=0x2007dca4                                                                                                                           
i2s_txdma_sampledone: result: -110                                                                                                                                                       
stm32_dmadump: DMA Registers: TX: Initial Registers                                                                                                                                      
stm32_dmadump:    LISR[40026000]: 00000000                                                                                                                                               
stm32_dmadump:    HISR[40026004]: 00000000                                                                                                                                               
stm32_dmadump:     SCR[400260b8]: 00000000                                                                                                                                               
stm32_dmadump:   SNDTR[400260bc]: 00000000                                                                                                                                               
stm32_dmadump:    SPAR[400260c0]: 00000000                                                                                                                                               
stm32_dmadump:   SM0AR[400260c4]: 00000000                                                                                                                                               
stm32_dmadump:   SM1AR[400260c8]: 00000000                                                                                                                                               
stm32_dmadump:    SFCR[400260cc]: 00000021                                                                                                                                               
stm32_dmadump: DMA Registers: TX: After DMA Setup                                                                                                                                        
stm32_dmadump:    LISR[40026000]: 00000000                                                                                                                                               
stm32_dmadump:    HISR[40026004]: 00000000                                                                                                                                               
stm32_dmadump:     SCR[400260b8]: 00002c40                                                                                                                                               
stm32_dmadump:   SNDTR[400260bc]: 00000850                                                                                                                                               
stm32_dmadump:    SPAR[400260c0]: 4000380c                                                                                                                                               
stm32_dmadump:   SM0AR[400260c4]: 20000068                                                                                                                                               
stm32_dmadump:   SM1AR[400260c8]: 00000000                                                                                                                                               
stm32_dmadump:    SFCR[400260cc]: 00000027                                                                                                                                               
stm32_dmadump: DMA Registers: TX: After DMA Start                                                                                                                                        
stm32_dmadump:    LISR[40026000]: 00000000                                                                                                                                               
stm32_dmadump:    HISR[40026004]: 00000000                                                                                                                                               
stm32_dmadump:     SCR[400260b8]: 00002c4d                                                                                                                                               
stm32_dmadump:   SNDTR[400260bc]: 00000850                                                                                                                                               
stm32_dmadump:    SPAR[400260c0]: 4000380c                                                                                                                                               
stm32_dmadump:   SM0AR[400260c4]: 20000068                                                                                                                                               
stm32_dmadump:   SM1AR[400260c8]: 00000000                                                                                                                                               
stm32_dmadump:    SFCR[400260cc]: 0000002f                                                                                                                                               
stm32_dmadump: DMA Registers: TX: At DMA timeout                                                                                                                                         
stm32_dmadump:    LISR[40026000]: 00000000                                                                                                                                               
stm32_dmadump:    HISR[40026004]: 00000000                                                                                                                                               
stm32_dmadump:     SCR[400260b8]: 00002c4d                                                                                                                                               
stm32_dmadump:   SNDTR[400260bc]: 00000850                                                                                                                                               
stm32_dmadump:    SPAR[400260c0]: 4000380c                                                                                                                                               
stm32_dmadump:   SM0AR[400260c4]: 20000068                                                                                                                                               
stm32_dmadump:   SM1AR[400260c8]: 00000000                                                                                                                                               
stm32_dmadump:    SFCR[400260cc]: 0000002f                                                                                                                                               
stm32_dmadump: DMA Registers: TX: At End-of-Transfer                                                                                                                                     
stm32_dmadump:    LISR[40026000]: 00000000                                                                                                                                               
stm32_dmadump:    HISR[40026004]: 00000000                                                                                                                                               
stm32_dmadump:     SCR[400260b8]: 00002c40                                                                                                                                               
stm32_dmadump:   SNDTR[400260bc]: 00000850                                                                                                                                               
stm32_dmadump:    SPAR[400260c0]: 4000380c                                                                                                                                               
stm32_dmadump:   SM0AR[400260c4]: 20000068                                                                                                                                               
stm32_dmadump:   SM1AR[400260c8]: 00000000                                                                                                                                               
stm32_dmadump:    SFCR[400260cc]: 00000027                                                                                                                                               
i2s_dump_regs: I2S2: TX: At End-of-Transfer                                                                                                                                              
i2s_dump_regs:     CR1:0000    CR2:0702     SR:0002      DR:0000                                                                                                                         
i2s_dump_regs:     I2SCFGR:0e00    I2SPR:021a                                                                                                                                            
i2s_dump_regs:     PLLI2SCFGR:20003540                                                                                                                                                   
cs4344_senddone: apb=0x20000010 inflight=1 result=-110                                                                                                                                   
cs4344_workerthread: AUDIO_MSG_COMPLETE                                                                                                                                                  
cs4344_returnbuffers: Returning: apb=0x20000010 curbyte=44 nbytes=4300 flags=0009                                                                                                        
cs4344_returnbuffers: Terminating                                                                                                                                                        
audio_callback: Entry                                                                                                                                                                    
audio_dequeuebuffer: Entry                                                                                                                                                               
cs4344_reset: WARNING: MCLK could not be set on lower half                                                                                                                               
i2s_mckdivider: Entry                                                                                                                                                                    
i2s_dump_regs: I2S2: After i2s_mckdivider                                                                                                                                                
i2s_dump_regs:     CR1:0000    CR2:0702     SR:0002      DR:0000                                                                                                                         
i2s_dump_regs:     I2SCFGR:0e00    I2SPR:020d                                                                                                                                            
i2s_dump_regs:     PLLI2SCFGR:20003540                                                                                                                                                   
cs4344_setbitrate: sample rate=16000 nchannels=1 bpsamp=16                                                                                                                               
audio_callback: Entry                                                                                                                                                                    
audio_complete: Entry                                                                                                                                                                    
cs4344_workerthread: Exit                                                                                                                                                                
_assert: Current Version: NuttX  12.5.1 675153a502-dirty Apr 21 2024 18:38:16 arm                                                                                                        
_assert: Assertion failed panic: at file: :0 task: �q process: nxplayer 0x25d3bbc9                                                                                                       
up_dump_register: R0: 00000000 R1: 00000000 R2: ffffffff  R3: 00000000                                                                                                                   
up_dump_register: R4: 00000000 R5: 2007fa18 R6: fffffffd  FP: 00000000                                                                                                                   
up_dump_register: R8: 00000000 SB: 00000000 SL: 00000000 R11: 00000000                                                                                                                   
up_dump_register: IP: 08016811 SP: 2007fda8 LR: 08002b01  PC: 08002b00                                                                                                                   
up_dump_register: xPSR: 61000000 PRIMASK: 00000000 CONTROL: 00000000                                                                                                                     
up_dump_register: EXC_RETURN: ffffffe9                                                                                                                                                   
dump_stack: User Stack:                                                                                                                                                                  
dump_stack:   base: 0x801f8d9                                                                                                                                                            
dump_stack:   size: 537394384                                                                                                                                                            
dump_stack:     sp: 0x2007fda8                                                                                                                                                           
stack_dump: 0x2007fd88: 00000000 3f800000 3f000000 3c83126f 4665d400 00003975 80000010 00000000                                                                                          
stack_dump: 0x2007fda8: fffffffd 00000000 ffffffff 00000000 2007fa18 00000000 00000000 00000000                                                                                          
stack_dump: 0x2007fdc8: 00000000 00000000 00000000 08017bf3 ffffffff ffffffff 2007fce0 00000000                                                                                          
stack_dump: 0x2007fde8: 00000000 08006323 0000000a 080062f5 080062e9 08017a49 00000000 00000000                                                                                          
stack_dump: 0x2007fe08: d4798546 000001f0 20021d68 20021d58 01ab9e80 aa572601 9bfbef83 2c75b8ed                                                                                          
stack_dump: 0x2007fe28: d57ea463 753eacde 98eb19a7 0534183e 0dbd934f dc110850 2eaecc36 60542e0a                                                                                          
stack_dump: 0x2007fe48: 9c02e44a 382b0479 7cf68387 3d42240b 6d2b5b78 0a791433 27938d88 8ba5e5e4                                                                                          
stack_dump: 0x2007fe68: fe1a709d af5cd05d d7a1cb33 331116b3 fcfcd873 ef9fe37a b863c749 46812f2a                                                                                          
stack_dump: 0x2007fe88: 24caa347 9f490180 7c4f971e 52d3e9d8 646caae6 fe93632d 9fdfe969 ee710855                                                                                          
stack_dump: 0x2007fea8: 976f33ca c58c400f cfdc18fc 2b2690f9 cce87bc7 4697e746 fc0de49c 9903a531                                                                                          
stack_dump: 0x2007fec8: e563ca10 060dccb8 320a4410 bd381aa0 65ea5e81 7c104bfc 83dd1b4f 0df9ae5f                                                                                          
stack_dump: 0x2007fee8: cdfdcf72 c7a4068e a7bd12fd 8b63d8b1 7ce125c5 075690c7 0cd91c18 2540f998                                                                                          
stack_dump: 0x2007ff08: 349fc61a 134794ea cbf5dfb0 af9ff7a1 a978dd1e 16c11628 1f9d9bc6 68170219                                                                                          
stack_dump: 0x2007ff28: f0dd7fb6 a78212d5 fea773a6 726d5a2f d3bc7a2b 3f004c23 1cdb3f95 e335cac1                                                                                          
stack_dump: 0x2007ff48: a7397d2a aa400d13 ef1cc8b1 5a550e12 afb19eba 42014fe3 affeb985 8c3b461d                                                                                          
stack_dump: 0x2007ff68: 6ba5f506 82efea86 9f7762b5 624bd795 dd7e4e49 c541308a feca4530 97039105                                                                                          
stack_dump: 0x2007ff88: cefc4f6b 5f9737fe 9f87f77f 19ee1a42 afb0cdab 232856c1 8a7e6e1e b462946f                                                                                          
stack_dump: 0x2007ffa8: 60adbdf8 9017240d b0e682ea 018328c6 7cc61fa2 1e027493 bd45ac68 ab82210c                                                                                          
stack_dump: 0x2007ffc8: 8a69bfd8 86798e5e ddda6b5c 0cdffcc6 3b6a8f5a 13f0c450 0db3f357 2930725f