C906运行应用程序,发现不能跑浮点运算
-
[MK_AUDIO] state switch: IDLE --> Energy [MK_AUDIO] CAP: chunk_bytes=2048 [MK_AUDIO] CAP: frame_bytes=2 [MK_AUDIO] capture open ok [MK_AUDIO] --------1------- [MK_AUDIO] --------2------- [MK_AUDIO] ------================================================================================================= EXC_INST_ACCESS ===================================================================================================== gprs: x0:0x0000000000000000 ra:0x0000000000000012 sp:0x000000000873c090 gp:0x0000000008382560 tp:0x0000000000000000 t0:0x000000000873c070 t1:0x000000000820734c t2:0x00000000083155d8 s0:0x000000000873c070 s1:0x0000000000000011 a0:0x000000000821c4f0 a1:0x000000000873c1b8 a2:0x000000000821c578 a3:0x00000000083688a8 a4:0x0000000000000000 a5:0x000000000838c730 a6:0x00000000082e3d50 a7:0x00000000083688a8 s2:0x000000000000000b s3:0x0000000000000000 s5:0xa5a5a5a5a5a5a5a5 s5:0xa5a5a5a5a5a5a5a5 s6:0xa5a5a5a5a5a5a5a5 s7:0xa5a5a5a5a5a5a5a5 s8:0xa5a5a5a5a5a5a5a5 s9:0x0000000008315698 s10:0x00000000083155f8 s11:0x00000000083155d8 t3:0x00000000083155c8 t4:0x00000000083688a8 t5:0x0000000008315698 t6:0x0000000008315868 other: mepc :0x0000000008201202 mcause :0x0000000000000001 mtval :0x0000000008201202 mstatus :0x0000000a00204900 mscratch:0x0000000000000000 -------backtrace----------- backtrace : 0X08201202 backtrace : invalid lr(0000000000000019) backtrace : invalid lr --------------------------- ==> Round [1] <== lpsram Heap: Total Size : 4318624 Bytes ( 4217 KB) Free : 792704 Bytes ( 774 KB) Min Free : 788912 Bytes ( 770 KB) hpsram Heap: Total Size : 8388576 Bytes ( 8191 KB) Free : 8388576 Bytes ( 8191 KB) Min Free : 8388576 Bytes ( 8191 KB) List Task MIN Free Stack(unit: word) Task State Priority Stack # ************************************************
-
@cm_mkblock
错误地方:
double rms = rmsu / (double)((n-1) * sqrt(x0));
double dB = 20 * log10(rms);能否支持浮点运行
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号