Повышен уровень оптимизации компилятора, а то еле лезет

This commit is contained in:
Dimas 2024-06-18 15:26:27 +03:00
parent 05966d0716
commit 19b6fc5d76
13 changed files with 1448 additions and 1489 deletions

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -12,7 +12,7 @@ PHYSICAL MEMORY PARAMETERS
BOOT LOADER PARAMETERS
Table Type: SERIAL PORT (SCI 8 bit Mode)
Entry Point: 0x0000ba56
Entry Point: 0x0000b741
OUTPUT TRANSLATION MAP
@ -21,12 +21,12 @@ OUTPUT TRANSLATION MAP
--------------------------------------------------------------------------------
OUTPUT FILES: D:\project2833\GIT\Balsam_166\bin\UKSSTMS320F28335.bin [b0..b7]
CONTENTS: 00000000..00007f95 BOOT TABLE
.cinit : dest=0000bbe9 size=00000262 width=00000002
.text : dest=00008000 size=00003be9 width=00000002
ramfuncs : dest=0000c13d size=0000002b width=00000002
CONTENTS: 00000000..00007955 BOOT TABLE
.cinit : dest=0000b8d1 size=00000262 width=00000002
.text : dest=00008000 size=000038d1 width=00000002
ramfuncs : dest=0000c15d size=00000023 width=00000002
.econst : dest=0000c000 size=00000112 width=00000002
.switch : dest=0000c168 size=00000028 width=00000002
.switch : dest=0000c112 size=00000028 width=00000002
--------------------------------------------------------------------------------
00000000..003fffff Page=1 Memory Width=8 ROM Width=8 "*DEFAULT PAGE 1*"

Binary file not shown.

Binary file not shown.

View File

@ -127,10 +127,11 @@ void Load_runner()
{
if(cUMPstart)
{
if(++count_load > time_dac) count_load = time_dac;
if(count_load > (time_dac/2))count_load++;
if(++count_load > time_dac) count_load = time_dac;
// sinus = ((float)(DAC_stop - DAC_go) / 16.0 * count_load) + ((float)(DAC_go - 4.0) / 16.0 * time_dac);
sinus = (10.0 / 16.0 * count_load) + (2.0 / 16.0 * time_dac);
}
else

View File

@ -74,6 +74,11 @@
#define Bright (modbus+0x62) // àðêîñòü ñèãíàëüíûõ ëàìïî÷åê
#define Brightness modbus[0x62] // àðêîñòü ñèãíàëüíûõ ëàìïî÷åê
/* Íå âðåìà!
#define DAC_go modbus[0x64] // íà÷àëî çàðàäà
#define DAC_stop modbus[0x65] // êîíåö çàðàäà
*/
#define m_FAST 0
#define m_SLOW 1

View File

@ -304,7 +304,8 @@ void Init_sensors_more()
for(i=0;i<24;i++) modbus[i] &= NOER;
for(i=0;i<4; i++) zer_count[i] = Zero_lev[i];
for(i=0;i<24;i++)
if(Desk==dsk_LOAD)
for(i=0;i<4;i++)
{
if(sens_type[i]==VOLTAGE)
{
@ -660,9 +661,6 @@ void Temper_count(int chan)
K_T1 = 129.0/(K150_1 - K100_1);
K_T2 = 129.0/(K150_2 - K100_2);
//modbus[68]=K_T1*10000;
//modbus[69]=K_T2*10000;
return;
}

View File

@ -115,6 +115,11 @@ void Default_params()
DAC_20 = Caliber[6];
DAC_04 = Caliber[7];
/* Не врема!
DAC_go = 6; // начало зарада
DAC_stop= 15; // конец зарада
*/
}
if(Kurrent)

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@ -1,7 +1,7 @@
; Code Composer Project File, Version 2.0 (do not modify or remove this line)
[Project Settings]
ProjectDir="D:\proj2833\Balzam_166\"
ProjectDir="D:\project2833\GIT\Balsam_166\"
ProjectType=Executable
CPUFamily=TMS320C28XX
Tool="Compiler"
@ -48,7 +48,7 @@ FinalBuildCmd=$(Proj_dir)\bin\hex2000.exe $(Proj_dir)\bin\UKSSTMS320F28335.out -
FinalBuildCmd=$(Proj_dir)\bin\hex2000.exe $(Proj_dir)\bin\UKSSTMS320F28335.out -boot -sci8 -map $(Proj_dir)\bin\UKSSTMS320F28335.map -o $(Proj_dir)\bin\UKSSTMS320F28335.bin -b
["Compiler" Settings: "Debug"]
Options=-g -pdsw225 -o0 -fr"$(Proj_dir)\Debug" -fs"$(Proj_dir)\Asm" -i"$(Proj_dir)\Source\External\v120\DSP2833x_headers\include" -i"$(Proj_dir)\Source\Internal\Include" -i"$(Proj_dir)\Source\External\v120\DSP2833x_common\include" -d"_DEBUG" -d"LARGE_MODEL" -md -ml -v28 --float_support=fpu32
Options=-g -pdsw225 -o1 -fr"$(Proj_dir)\Debug" -fs"$(Proj_dir)\Asm" -i"$(Proj_dir)\Source\External\v120\DSP2833x_headers\include" -i"$(Proj_dir)\Source\Internal\Include" -i"$(Proj_dir)\Source\External\v120\DSP2833x_common\include" -d"_DEBUG" -d"LARGE_MODEL" -md -ml -v28 --float_support=fpu32
["Compiler" Settings: "Release"]
Options=-pdsw225 -o3 -fr"$(Proj_dir)\Release" -d"LARGE_MODEL" -ml -v28

Binary file not shown.