SPT  range_2048smp_512crp_16, addrOffset >= SPT_MAX_MEM_OFFSET

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

SPT  range_2048smp_512crp_16, addrOffset >= SPT_MAX_MEM_OFFSET

227件の閲覧回数
WenChao
Contributor II

Hello, RSDK 1.1.0 RSDK_offline_example ,I use range_2048smp_512crp_16ch_zrpad.psp,it reported an error that RSDK_SPT_RET_ERR_INVALID_PARAM,I looked up the code that :

 if ((addrOffset >= SPT_MAX_MEM_OFFSET) ||
                    ((paramList[i].paramValue % SPT_DATA_ADDR_ALIGN_BYTES) != 0u))
                {
                    /* Make sure we don't pass out-of-bounds or unaligned addresses to the SPT.
                     * They are limited by the destination (SPT Work Register) to 24 bits */
                    retStatus = SPT_REPORT_ERROR(RSDK_SPT_RET_ERR_INVALID_PARAM, SPT_PARAM_SET, SPT_E_INVALID_PARAM);
                }
how I can solve this problem coused by (SPT Work Register) to 24 bits?
0 件の賞賛
0 返答(返信)