Part Number: TMS320F2800156-Q1
Tool/software:
hi expert
When using the simulator, the program runs normally. However, when unplugging the simulator, the program encounters an exception.
when i dele the follow
HAL_clearDataRAM((void *)loadStart_user_data, (uint16_t)loadSize_user_data);
when unplugging the simulator, the program the program runs normally.
user_data : > RAMLS0D,
LOAD_START(loadStart_user_data),
LOAD_END(loadEnd_user_data),
LOAD_SIZE(loadSize_user_data)
RAMLS0F : origin = 0x00008000, length = 0x00000600 /* Reserve for FAST */
RAMLS0D : origin = 0x00008600, length = 0x00001A00
// the globals
HAL_Handle halHandle; //!< the handle for the hardware abstraction layer
HAL_Obj hal; //!< the hardware abstraction layer object
#pragma DATA_SECTION(halHandle, "user_data");
#pragma DATA_SECTION(halMtr, "user_data");
HAL_MTR_Handle halMtrHandle[2]; //!< the handle for the hardware abstraction
//!< layer to motor control
HAL_MTR_Obj halMtr[2]; //!< the hardware abstraction layer object
//!< to motor control
#pragma DATA_SECTION(halMtrHandle, "user_data");
#pragma DATA_SECTION(halMtr, "user_data");
why?