怎么用CCS产生PRU程序的二进制C数组文件,用来加载到PRU指令RAM?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
主处理器和PRU同时处理时,PRU的程序是由主处理器加载进去的,如下面这句代码
// load firmware
memcpy((void *)(((PRUICSS_HwAttrs *)(pruIcss0Handle->hwAttrs))->baseAddr + 0x34000), &Hiperface_DSL2_0[0] + 0x0000, 0x1000);
其中
const unsigned int Hiperface_DSL2_0[]= {
0x2103d900,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
......
}
Hiperface_DSL2_0[]应该是由PRU程序编译生成的,那么,它是可以通过CCS直接生成吗?