在28035的内存映射图上有好些地方是保留区域
这些保留区域,我可以用来做RAM吗?
如果不行是全部不行呢,还是部分区域可以当做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.
在28035的内存映射图上有好些地方是保留区域
这些保留区域,我可以用来做RAM吗?
如果不行是全部不行呢,还是部分区域可以当做RAM,如果可以的话哪些保留区域是可以使用的。
在flash28035_api例程中有这样一段注释和程序
// For 2803x, we dont need to copy the API from Flash as it is
// present in BOOT ROM
这一段是不是说明对于2803x系列芯片下面
Example_MemCopy(&Flash28_API_LoadStart, &Flash28_API_LoadEnd, &Flash28_API_RunStart);则不需要执行了。
BOOT_ROM_API值是不是在C2000 Complie-advanced options--predefined symbols中加进去
BOOT_ROM_API=x就可以了??
// If the build links in the 2803x_FlashAPI_BootROMSymbols.lib, then
// The API is in boot ROM and we do not need to copy it from flash.
//
// If the build links in the software API library:
// i.e. Flash2803x_API_<version>.lib
// then we need to copy the flash API from the flash memory to RAM.
#if (BOOT_ROM_API == 0)
Example_MemCopy(&Flash28_API_LoadStart, &Flash28_API_LoadEnd, &Flash28_API_RunStart);
#endif
// We must also copy required user interface functions to RAM.
Example_MemCopy(&RamfuncsLoadStart, &RamfuncsLoadEnd, &RamfuncsRunStart);
如果包含了2803x_FlashAPI_BootROMSymbols.lib文件则不需要拷贝api。
那么2803x_FlashAPI_BootROMSymbols.lib和flash2803x_api_v100.lib这两个有什么区别呢?
正常程序中一般会用rts2800_ml.lib,不清楚正常程序需要用哪些lib。
比如我要用hrpwm则需要加sfo_ti_bulid_v6b.lib。
这些lib文件直接放在工程下就可以了吗?还是说需要到工程properties--build--file search path中include library file or command file as input中添加进来。