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.

程序跑飞



我使用的是5438系列的,但当我的程序内存使用情况如下:

7 150 bytes of CODE  memory

4 827 bytes of DATA  memory (+ 85 absolute )

  413 bytes of CONST memory

这时通过编译器烧到单片机里,一开始程序就跑飞了,按道理这款单片机有16K的空间。

但当我把程序改成如下:

7 150 bytes of CODE  memory

4 627 bytes of DATA  memory (+ 85 absolute )

  413 bytes of CONST memory

这时程序可以正常运行。

请教这是怎么回事,是哪里没设好吗?

谢谢!