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.

请教DSP C6670 以太方式加载,大端模式如何制作



之前\hex6x 、mergebtbl以及\bconvert64x (-le)命令制作了小端以太eth文件,但是bconvert64x -be制作大端模式时,生成的的*be.btbl显示为0字节,其中工程编译时是大端。

 找不到原因,请帮忙分析下,多谢!

 

  • 在以下返回错误。

      /* Convert the data to big endian format  */   

      for (i = 0; i < n32; i += 4)

      {       data32bit (endian, data, n, &p, v-i, &errflag);      

     if (errflag)  {         showErr (errflag, __LINE__);        

     return (-1);       }     }

     

     

    *************************************************