Quantcast
Channel: C2000™︎ 微控制器论坛 - 最近的话题
Viewing all articles
Browse latest Browse all 12315

关于flash烧写

$
0
0

用的是dsp28335,准备将代码烧写到flash中,烧写过程中出现了一点问题

在主程序中,定义如下的类似数组:

#pragma DATA_SECTION(RFFTinoutphaseBuff,"RFFTdata1");     //Buffer alignment for the input array,
float RFFTinoutphaseBuff[RFFT_SIZE];      //RFFT_f32u(optional), RFFT_f32(required)

并在cmd文件中定义该数组的位置如下:

FLASHB1     : origin = 0x330000, length = 0x000200   //将flashb划分为多个小区间,取其一段

RFFTdata1        : > FLASHB1,     PAGE = 1, ALIGN(512)

问题:在代码运行时发现该数组的值并不随着计算改变,这是什么原因?是我的cmd有问题吗?能不能解答一下疑惑?


Viewing all articles
Browse latest Browse all 12315

Latest Images

Trending Articles

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>