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.

TMS320F280025C: Unable to pad and align after processing hex data

Part Number: TMS320F280025C

Dear team:

Due to hardware problems, customers can only program through C2Prog.

After my client added the sincos function to the project, he found that the program could not be programmed with C2Prog, and an error occurred:

Unable to pad and align after processing hex data

There is no problem in programming with C2Prog without calling the sincos function.

The program code is as follows:

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef C28X_FPU_FAST_RTS_H
#define C28X_FPU_FAST_RTS_H
#ifdef __cplusplus
extern "C" {
#endif
//-----------------------------------------------------------------------------
// Standard C28x Data Types
//-----------------------------------------------------------------------------
#ifndef DSP28_DATA_TYPES
#define DSP28_DATA_TYPES
typedef int int16;
typedef long int32;
typedef long long int64;
typedef unsigned int Uint16;
typedef unsigned long Uint32;
typedef unsigned long long Uint64;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

cmd:

Fullscreen
1
2
3
4
5
6
7
BOOTROM : origin = 0x003F0000, length = 0x00001402
IQTABLES : origin = 0x003F1402, length = 0x0000166D /* IQ Math Tables in Boot ROM */
FPUTABLES : origin = 0x003F2A70, length = 0x0000081A /* FPU Tables in Boot ROM */
BOOTROM_EXT : origin = 0x003F8000, length = 0x00007FC0
RESET : origin = 0x003FFFC0, length = 0x00000002
FPUmathTables : > FPUTABLES, ALIGN(8)
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

May I ask what could be the cause?

Best regards