TMS320F28377D: 你好,我有一个问题,我的程序进不去main函数,卡在了copy_decompress_lzss.c 这个文件里面,请问这个文件是什么作用呢?怎么修改呢?

Part Number: TMS320F28377D

如题所示,我是利用EMIF对SRAM进行写入,当我写入小于65536个数据就可以正常写入,超过65536个数据就不行,就会卡在图里面的for循环中,但是length的定义length_t是灰色的,又无法知道他是什么类型,我该怎么办呢?我怀疑就是length_t的长度不够,65536刚好就是16位,里面的CHAR_BIT怎么修改呢?

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*****************************************************************************/
/* copy_decompress_lzss.c */
/* */
/* Copyright (c) 2006 Texas Instruments Incorporated */
/* http://www.ti.com/ */
/* */
/* Redistribution and use in source and binary forms, with or without */
/* modification, are permitted provided that the following conditions */
/* are met: */
/* */
/* Redistributions of source code must retain the above copyright */
/* notice, this list of conditions and the following disclaimer. */
/* */
/* Redistributions in binary form must reproduce the above copyright */
/* notice, this list of conditions and the following disclaimer in */
/* the documentation and/or other materials provided with the */
/* distribution. */
/* */
/* Neither the name of Texas Instruments Incorporated nor the names */
/* of its contributors may be used to endorse or promote products */
/* derived from this software without specific prior written */
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX