Added CCS metadata directory to .gitignore
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
Telem_Debug/.metadata
|
||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,47 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<?eclipse version="3.0"?>
|
|
||||||
|
|
||||||
<plugin>
|
|
||||||
|
|
||||||
<extension point="org.eclipse.cdt.managedbuilder.core.buildDefinitions"
|
|
||||||
id="C2000"
|
|
||||||
name="C2000 Build Definitions">
|
|
||||||
|
|
||||||
<managedBuildRevision fileVersion="3.1.0"/>
|
|
||||||
|
|
||||||
<projectType
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.C2000.ProjectType"
|
|
||||||
name="C2000"
|
|
||||||
isTest="true">
|
|
||||||
<configuration
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.C2000.Default"
|
|
||||||
name="Default"
|
|
||||||
cleanCommand="${CG_CLEAN_CMD}">
|
|
||||||
<toolChain
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.C2000.Default.ToolchainPlaceholder"
|
|
||||||
isToolChainSupported="com.ti.ccstudio.buildmodel.IsToolchainSupported"
|
|
||||||
isAbstract="true"/>
|
|
||||||
</configuration>
|
|
||||||
<configuration
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.C2000.Debug"
|
|
||||||
name="Debug"
|
|
||||||
cleanCommand="${CG_CLEAN_CMD}">
|
|
||||||
<toolChain
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.C2000.Debug.ToolchainPlaceholder"
|
|
||||||
isToolChainSupported="com.ti.ccstudio.buildmodel.IsToolchainSupported"
|
|
||||||
isAbstract="true"/>
|
|
||||||
</configuration>
|
|
||||||
<configuration
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.C2000.Release"
|
|
||||||
name="Release"
|
|
||||||
cleanCommand="${CG_CLEAN_CMD}">
|
|
||||||
<toolChain
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.C2000.Release.ToolchainPlaceholder"
|
|
||||||
isToolChainSupported="com.ti.ccstudio.buildmodel.IsToolchainSupported"
|
|
||||||
isAbstract="true"/>
|
|
||||||
</configuration>
|
|
||||||
</projectType>
|
|
||||||
|
|
||||||
</extension>
|
|
||||||
|
|
||||||
</plugin>
|
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -1,47 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<?eclipse version="3.0"?>
|
|
||||||
|
|
||||||
<plugin>
|
|
||||||
|
|
||||||
<extension point="org.eclipse.cdt.managedbuilder.core.buildDefinitions"
|
|
||||||
id="C5500"
|
|
||||||
name="C5500 Build Definitions">
|
|
||||||
|
|
||||||
<managedBuildRevision fileVersion="3.1.0"/>
|
|
||||||
|
|
||||||
<projectType
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.C5500.ProjectType"
|
|
||||||
name="C5500"
|
|
||||||
isTest="true">
|
|
||||||
<configuration
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.C5500.Default"
|
|
||||||
name="Default"
|
|
||||||
cleanCommand="${CG_CLEAN_CMD}">
|
|
||||||
<toolChain
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.C5500.Default.ToolchainPlaceholder"
|
|
||||||
isToolChainSupported="com.ti.ccstudio.buildmodel.IsToolchainSupported"
|
|
||||||
isAbstract="true"/>
|
|
||||||
</configuration>
|
|
||||||
<configuration
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.C5500.Debug"
|
|
||||||
name="Debug"
|
|
||||||
cleanCommand="${CG_CLEAN_CMD}">
|
|
||||||
<toolChain
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.C5500.Debug.ToolchainPlaceholder"
|
|
||||||
isToolChainSupported="com.ti.ccstudio.buildmodel.IsToolchainSupported"
|
|
||||||
isAbstract="true"/>
|
|
||||||
</configuration>
|
|
||||||
<configuration
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.C5500.Release"
|
|
||||||
name="Release"
|
|
||||||
cleanCommand="${CG_CLEAN_CMD}">
|
|
||||||
<toolChain
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.C5500.Release.ToolchainPlaceholder"
|
|
||||||
isToolChainSupported="com.ti.ccstudio.buildmodel.IsToolchainSupported"
|
|
||||||
isAbstract="true"/>
|
|
||||||
</configuration>
|
|
||||||
</projectType>
|
|
||||||
|
|
||||||
</extension>
|
|
||||||
|
|
||||||
</plugin>
|
|
||||||
@@ -1,47 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<?eclipse version="3.0"?>
|
|
||||||
|
|
||||||
<plugin>
|
|
||||||
|
|
||||||
<extension point="org.eclipse.cdt.managedbuilder.core.buildDefinitions"
|
|
||||||
id="C6000"
|
|
||||||
name="C6000 Build Definitions">
|
|
||||||
|
|
||||||
<managedBuildRevision fileVersion="3.1.0"/>
|
|
||||||
|
|
||||||
<projectType
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.C6000.ProjectType"
|
|
||||||
name="C6000"
|
|
||||||
isTest="true">
|
|
||||||
<configuration
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.C6000.Default"
|
|
||||||
name="Default"
|
|
||||||
cleanCommand="${CG_CLEAN_CMD}">
|
|
||||||
<toolChain
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.C6000.Default.ToolchainPlaceholder"
|
|
||||||
isToolChainSupported="com.ti.ccstudio.buildmodel.IsToolchainSupported"
|
|
||||||
isAbstract="true"/>
|
|
||||||
</configuration>
|
|
||||||
<configuration
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.C6000.Debug"
|
|
||||||
name="Debug"
|
|
||||||
cleanCommand="${CG_CLEAN_CMD}">
|
|
||||||
<toolChain
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.C6000.Debug.ToolchainPlaceholder"
|
|
||||||
isToolChainSupported="com.ti.ccstudio.buildmodel.IsToolchainSupported"
|
|
||||||
isAbstract="true"/>
|
|
||||||
</configuration>
|
|
||||||
<configuration
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.C6000.Release"
|
|
||||||
name="Release"
|
|
||||||
cleanCommand="${CG_CLEAN_CMD}">
|
|
||||||
<toolChain
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.C6000.Release.ToolchainPlaceholder"
|
|
||||||
isToolChainSupported="com.ti.ccstudio.buildmodel.IsToolchainSupported"
|
|
||||||
isAbstract="true"/>
|
|
||||||
</configuration>
|
|
||||||
</projectType>
|
|
||||||
|
|
||||||
</extension>
|
|
||||||
|
|
||||||
</plugin>
|
|
||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,47 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<?eclipse version="3.0"?>
|
|
||||||
|
|
||||||
<plugin>
|
|
||||||
|
|
||||||
<extension point="org.eclipse.cdt.managedbuilder.core.buildDefinitions"
|
|
||||||
id="C7000"
|
|
||||||
name="C7000 Build Definitions">
|
|
||||||
|
|
||||||
<managedBuildRevision fileVersion="3.1.0"/>
|
|
||||||
|
|
||||||
<projectType
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.C7000.ProjectType"
|
|
||||||
name="C7000"
|
|
||||||
isTest="true">
|
|
||||||
<configuration
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.C7000.Default"
|
|
||||||
name="Default"
|
|
||||||
cleanCommand="${CG_CLEAN_CMD}">
|
|
||||||
<toolChain
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.C7000.Default.ToolchainPlaceholder"
|
|
||||||
isToolChainSupported="com.ti.ccstudio.buildmodel.IsToolchainSupported"
|
|
||||||
isAbstract="true"/>
|
|
||||||
</configuration>
|
|
||||||
<configuration
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.C7000.Debug"
|
|
||||||
name="Debug"
|
|
||||||
cleanCommand="${CG_CLEAN_CMD}">
|
|
||||||
<toolChain
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.C7000.Debug.ToolchainPlaceholder"
|
|
||||||
isToolChainSupported="com.ti.ccstudio.buildmodel.IsToolchainSupported"
|
|
||||||
isAbstract="true"/>
|
|
||||||
</configuration>
|
|
||||||
<configuration
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.C7000.Release"
|
|
||||||
name="Release"
|
|
||||||
cleanCommand="${CG_CLEAN_CMD}">
|
|
||||||
<toolChain
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.C7000.Release.ToolchainPlaceholder"
|
|
||||||
isToolChainSupported="com.ti.ccstudio.buildmodel.IsToolchainSupported"
|
|
||||||
isAbstract="true"/>
|
|
||||||
</configuration>
|
|
||||||
</projectType>
|
|
||||||
|
|
||||||
</extension>
|
|
||||||
|
|
||||||
</plugin>
|
|
||||||
@@ -1,47 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<?eclipse version="3.0"?>
|
|
||||||
|
|
||||||
<plugin>
|
|
||||||
|
|
||||||
<extension point="org.eclipse.cdt.managedbuilder.core.buildDefinitions"
|
|
||||||
id="EVE"
|
|
||||||
name="EVE Build Definitions">
|
|
||||||
|
|
||||||
<managedBuildRevision fileVersion="3.1.0"/>
|
|
||||||
|
|
||||||
<projectType
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.EVE.ProjectType"
|
|
||||||
name="EVE"
|
|
||||||
isTest="true">
|
|
||||||
<configuration
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.EVE.Default"
|
|
||||||
name="Default"
|
|
||||||
cleanCommand="${CG_CLEAN_CMD}">
|
|
||||||
<toolChain
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.EVE.Default.ToolchainPlaceholder"
|
|
||||||
isToolChainSupported="com.ti.ccstudio.buildmodel.IsToolchainSupported"
|
|
||||||
isAbstract="true"/>
|
|
||||||
</configuration>
|
|
||||||
<configuration
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.EVE.Debug"
|
|
||||||
name="Debug"
|
|
||||||
cleanCommand="${CG_CLEAN_CMD}">
|
|
||||||
<toolChain
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.EVE.Debug.ToolchainPlaceholder"
|
|
||||||
isToolChainSupported="com.ti.ccstudio.buildmodel.IsToolchainSupported"
|
|
||||||
isAbstract="true"/>
|
|
||||||
</configuration>
|
|
||||||
<configuration
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.EVE.Release"
|
|
||||||
name="Release"
|
|
||||||
cleanCommand="${CG_CLEAN_CMD}">
|
|
||||||
<toolChain
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.EVE.Release.ToolchainPlaceholder"
|
|
||||||
isToolChainSupported="com.ti.ccstudio.buildmodel.IsToolchainSupported"
|
|
||||||
isAbstract="true"/>
|
|
||||||
</configuration>
|
|
||||||
</projectType>
|
|
||||||
|
|
||||||
</extension>
|
|
||||||
|
|
||||||
</plugin>
|
|
||||||
@@ -1,47 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<?eclipse version="3.0"?>
|
|
||||||
|
|
||||||
<plugin>
|
|
||||||
|
|
||||||
<extension point="org.eclipse.cdt.managedbuilder.core.buildDefinitions"
|
|
||||||
id="MSP430"
|
|
||||||
name="MSP430 Build Definitions">
|
|
||||||
|
|
||||||
<managedBuildRevision fileVersion="3.1.0"/>
|
|
||||||
|
|
||||||
<projectType
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.MSP430.ProjectType"
|
|
||||||
name="MSP430"
|
|
||||||
isTest="true">
|
|
||||||
<configuration
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.MSP430.Default"
|
|
||||||
name="Default"
|
|
||||||
cleanCommand="${CG_CLEAN_CMD}">
|
|
||||||
<toolChain
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.MSP430.Default.ToolchainPlaceholder"
|
|
||||||
isToolChainSupported="com.ti.ccstudio.buildmodel.IsToolchainSupported"
|
|
||||||
isAbstract="true"/>
|
|
||||||
</configuration>
|
|
||||||
<configuration
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.MSP430.Debug"
|
|
||||||
name="Debug"
|
|
||||||
cleanCommand="${CG_CLEAN_CMD}">
|
|
||||||
<toolChain
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.MSP430.Debug.ToolchainPlaceholder"
|
|
||||||
isToolChainSupported="com.ti.ccstudio.buildmodel.IsToolchainSupported"
|
|
||||||
isAbstract="true"/>
|
|
||||||
</configuration>
|
|
||||||
<configuration
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.MSP430.Release"
|
|
||||||
name="Release"
|
|
||||||
cleanCommand="${CG_CLEAN_CMD}">
|
|
||||||
<toolChain
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.MSP430.Release.ToolchainPlaceholder"
|
|
||||||
isToolChainSupported="com.ti.ccstudio.buildmodel.IsToolchainSupported"
|
|
||||||
isAbstract="true"/>
|
|
||||||
</configuration>
|
|
||||||
</projectType>
|
|
||||||
|
|
||||||
</extension>
|
|
||||||
|
|
||||||
</plugin>
|
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -1,47 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<?eclipse version="3.0"?>
|
|
||||||
|
|
||||||
<plugin>
|
|
||||||
|
|
||||||
<extension point="org.eclipse.cdt.managedbuilder.core.buildDefinitions"
|
|
||||||
id="MSP432"
|
|
||||||
name="MSP432 Build Definitions">
|
|
||||||
|
|
||||||
<managedBuildRevision fileVersion="3.1.0"/>
|
|
||||||
|
|
||||||
<projectType
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.MSP432.ProjectType"
|
|
||||||
name="MSP432"
|
|
||||||
isTest="true">
|
|
||||||
<configuration
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.MSP432.Default"
|
|
||||||
name="Default"
|
|
||||||
cleanCommand="${CG_CLEAN_CMD}">
|
|
||||||
<toolChain
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.MSP432.Default.ToolchainPlaceholder"
|
|
||||||
isToolChainSupported="com.ti.ccstudio.buildmodel.IsToolchainSupported"
|
|
||||||
isAbstract="true"/>
|
|
||||||
</configuration>
|
|
||||||
<configuration
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.MSP432.Debug"
|
|
||||||
name="Debug"
|
|
||||||
cleanCommand="${CG_CLEAN_CMD}">
|
|
||||||
<toolChain
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.MSP432.Debug.ToolchainPlaceholder"
|
|
||||||
isToolChainSupported="com.ti.ccstudio.buildmodel.IsToolchainSupported"
|
|
||||||
isAbstract="true"/>
|
|
||||||
</configuration>
|
|
||||||
<configuration
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.MSP432.Release"
|
|
||||||
name="Release"
|
|
||||||
cleanCommand="${CG_CLEAN_CMD}">
|
|
||||||
<toolChain
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.MSP432.Release.ToolchainPlaceholder"
|
|
||||||
isToolChainSupported="com.ti.ccstudio.buildmodel.IsToolchainSupported"
|
|
||||||
isAbstract="true"/>
|
|
||||||
</configuration>
|
|
||||||
</projectType>
|
|
||||||
|
|
||||||
</extension>
|
|
||||||
|
|
||||||
</plugin>
|
|
||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,47 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<?eclipse version="3.0"?>
|
|
||||||
|
|
||||||
<plugin>
|
|
||||||
|
|
||||||
<extension point="org.eclipse.cdt.managedbuilder.core.buildDefinitions"
|
|
||||||
id="PRU"
|
|
||||||
name="PRU Build Definitions">
|
|
||||||
|
|
||||||
<managedBuildRevision fileVersion="3.1.0"/>
|
|
||||||
|
|
||||||
<projectType
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.PRU.ProjectType"
|
|
||||||
name="PRU"
|
|
||||||
isTest="true">
|
|
||||||
<configuration
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.PRU.Default"
|
|
||||||
name="Default"
|
|
||||||
cleanCommand="${CG_CLEAN_CMD}">
|
|
||||||
<toolChain
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.PRU.Default.ToolchainPlaceholder"
|
|
||||||
isToolChainSupported="com.ti.ccstudio.buildmodel.IsToolchainSupported"
|
|
||||||
isAbstract="true"/>
|
|
||||||
</configuration>
|
|
||||||
<configuration
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.PRU.Debug"
|
|
||||||
name="Debug"
|
|
||||||
cleanCommand="${CG_CLEAN_CMD}">
|
|
||||||
<toolChain
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.PRU.Debug.ToolchainPlaceholder"
|
|
||||||
isToolChainSupported="com.ti.ccstudio.buildmodel.IsToolchainSupported"
|
|
||||||
isAbstract="true"/>
|
|
||||||
</configuration>
|
|
||||||
<configuration
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.PRU.Release"
|
|
||||||
name="Release"
|
|
||||||
cleanCommand="${CG_CLEAN_CMD}">
|
|
||||||
<toolChain
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.PRU.Release.ToolchainPlaceholder"
|
|
||||||
isToolChainSupported="com.ti.ccstudio.buildmodel.IsToolchainSupported"
|
|
||||||
isAbstract="true"/>
|
|
||||||
</configuration>
|
|
||||||
</projectType>
|
|
||||||
|
|
||||||
</extension>
|
|
||||||
|
|
||||||
</plugin>
|
|
||||||
@@ -1,47 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<?eclipse version="3.0"?>
|
|
||||||
|
|
||||||
<plugin>
|
|
||||||
|
|
||||||
<extension point="org.eclipse.cdt.managedbuilder.core.buildDefinitions"
|
|
||||||
id="TMS470"
|
|
||||||
name="TMS470 Build Definitions">
|
|
||||||
|
|
||||||
<managedBuildRevision fileVersion="3.1.0"/>
|
|
||||||
|
|
||||||
<projectType
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.TMS470.ProjectType"
|
|
||||||
name="ARM"
|
|
||||||
isTest="true">
|
|
||||||
<configuration
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.TMS470.Default"
|
|
||||||
name="Default"
|
|
||||||
cleanCommand="${CG_CLEAN_CMD}">
|
|
||||||
<toolChain
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.TMS470.Default.ToolchainPlaceholder"
|
|
||||||
isToolChainSupported="com.ti.ccstudio.buildmodel.IsToolchainSupported"
|
|
||||||
isAbstract="true"/>
|
|
||||||
</configuration>
|
|
||||||
<configuration
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.TMS470.Debug"
|
|
||||||
name="Debug"
|
|
||||||
cleanCommand="${CG_CLEAN_CMD}">
|
|
||||||
<toolChain
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.ToolchainPlaceholder"
|
|
||||||
isToolChainSupported="com.ti.ccstudio.buildmodel.IsToolchainSupported"
|
|
||||||
isAbstract="true"/>
|
|
||||||
</configuration>
|
|
||||||
<configuration
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.TMS470.Release"
|
|
||||||
name="Release"
|
|
||||||
cleanCommand="${CG_CLEAN_CMD}">
|
|
||||||
<toolChain
|
|
||||||
id="com.ti.ccstudio.buildDefinitions.TMS470.Release.ToolchainPlaceholder"
|
|
||||||
isToolChainSupported="com.ti.ccstudio.buildmodel.IsToolchainSupported"
|
|
||||||
isAbstract="true"/>
|
|
||||||
</configuration>
|
|
||||||
</projectType>
|
|
||||||
|
|
||||||
</extension>
|
|
||||||
|
|
||||||
</plugin>
|
|
||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,102 +0,0 @@
|
|||||||
TMS320C2000 Hex Converter v15.12.3.LTS
|
|
||||||
Tools Copyright (c) 1996-2015 Texas Instruments Incorporated
|
|
||||||
|
|
||||||
Usage: C:\ti\ccsv6\tools\compiler\c2000_15.12.3.LTS\bin\hex2000 [-options] filename
|
|
||||||
|
|
||||||
Use 'C:\ti\ccsv6\tools\compiler\c2000_15.12.3.LTS\bin\hex2000 -h <option>' for more information on a particular option. Use
|
|
||||||
'C:\ti\ccsv6\tools\compiler\c2000_15.12.3.LTS\bin\hex2000 -h <text>' to search options for information regarding <text>.
|
|
||||||
|
|
||||||
Option arguments surrounded by [] declare they are optional. Option arguments
|
|
||||||
separated by commas specify that the option's argument must be chosen from
|
|
||||||
those arguments listed.
|
|
||||||
|
|
||||||
When shown, option arguments and defaults apply to the usage of both long and
|
|
||||||
short option forms.
|
|
||||||
|
|
||||||
General Options:
|
|
||||||
--byte,-byte Output as bytes rather than target addressing
|
|
||||||
--entrypoint,-e=addr Specify entrypoint address or symbol name
|
|
||||||
--exclude,-exclude=section Exclude section from hex conversion
|
|
||||||
--fill,-fill=val Specify fill value
|
|
||||||
--help,-options,-h Display help
|
|
||||||
--image,-image Select image mode
|
|
||||||
--linkerfill,-linkerfill Include linker fill sections in images
|
|
||||||
--map,-map=file Specify map file name
|
|
||||||
--memwidth,-memwidth=width Specify memory width
|
|
||||||
--olength,-olength=num Number of data items per line of hex output
|
|
||||||
--order,-order=LS,MS Specify data ordering (endianness)
|
|
||||||
--outfile,-o=file Specify output file names
|
|
||||||
--quiet,-quiet,-q Quiet Operation
|
|
||||||
--romwidth,-romwidth=width Specify rom width
|
|
||||||
--swapbytes,--sb Swap output bytes for 16byte memwidth
|
|
||||||
--zero,-zero,-z Zero based addressing
|
|
||||||
|
|
||||||
Diagnostics Options:
|
|
||||||
--buffer_diagnostics,-pdb Line buffer diagnostic output
|
|
||||||
--diag_error=id Treat diagnostic <id> as error
|
|
||||||
--diag_remark=id Treat diagnostic <id> as remark
|
|
||||||
--diag_suppress=id Suppress diagnostic <id>
|
|
||||||
--diag_warning=id Treat diagnostic <id> as warning
|
|
||||||
--diag_wrap[=on,off] Wrap diagnostic messages (argument optional,
|
|
||||||
defaults to: on)
|
|
||||||
--display_error_number Emit diagnostic identifier numbers
|
|
||||||
--emit_warnings_as_errors,-pdew
|
|
||||||
Treat warnings as errors
|
|
||||||
--issue_remarks Issue remarks
|
|
||||||
--no_warnings Suppress warnings
|
|
||||||
--set_error_limit=count Set error limit to <count>
|
|
||||||
|
|
||||||
Boot Table Options:
|
|
||||||
--boot,-boot Select boot mode
|
|
||||||
--bootorg,-bootorg=addr Specify origin address or symbol of boot table
|
|
||||||
ROM
|
|
||||||
--divsel,-divsel=value Specify the initial value for the DIVSEL
|
|
||||||
register
|
|
||||||
--gpio16,-gpio16 Specify table source as the GP I/O port, 16-bit
|
|
||||||
mode
|
|
||||||
--gpio8,-gpio8,-can8 Specify table source as the GP I/O port, 8-bit
|
|
||||||
mode
|
|
||||||
--i2c8,-i2c8 Specify I2C port as source of boot table loader
|
|
||||||
--i2cclkh,-i2cclkh=value Specify the initial value for I2CCLKH register
|
|
||||||
--i2cclkl,-i2cclkl=value Specify the initial value for the I2CCLKL
|
|
||||||
register
|
|
||||||
--i2cpsc,-i2cpsc=value Specify the initial value for I2CPSC register
|
|
||||||
--lospcp,-lospcp=value Specify the initial value for the LOSPCP
|
|
||||||
register
|
|
||||||
--pllcr,-pllcr=value Specify the initial value for the PLLCR register
|
|
||||||
--sci8,-sci8 Specify table source as the SCI-A port, 8-bit
|
|
||||||
mode
|
|
||||||
--spi8,-spi8 Specify table source as the SPI-A port, 8-bit
|
|
||||||
mode
|
|
||||||
--spibrr,-spibrr=value Specify the initial value for the SPIBRR
|
|
||||||
register
|
|
||||||
--xintcnf2,-xintcnf2=value Specify the initial value for the XINTCNF2
|
|
||||||
register
|
|
||||||
--xintf16,-xintf16 Specify parallel XINTF stream, 16-bit mode
|
|
||||||
--xintf8,-xintf8 Specify parallel XINTF stream, 8-bit mode
|
|
||||||
--xtiming,-xtiming=value Specify the initial value for the XTIMING
|
|
||||||
register
|
|
||||||
|
|
||||||
Output Format Options:
|
|
||||||
--ascii,-a Output ASCII hex format
|
|
||||||
--binary,-b Binary output format (for DSKs)
|
|
||||||
--intel,-i Output Intel hex format
|
|
||||||
--motorola,-m[=1,2,3] Output Motorola S hex format
|
|
||||||
--tektronix,-x Output Extended Tektronix hex format
|
|
||||||
--ti_tagged,-t Output TI-Tagged hex format
|
|
||||||
--ti_txt Output TI-TXT hex format
|
|
||||||
|
|
||||||
Load Image Options:
|
|
||||||
--host_image Output Host Image Object format
|
|
||||||
--host_image:endianness=big,little
|
|
||||||
Select the endianness of the host image object
|
|
||||||
file
|
|
||||||
--host_image:hidden_symbols Determine the visibility of symbols copied in
|
|
||||||
host images
|
|
||||||
--host_image:hide=string Explicitly make a host image symbol hidden
|
|
||||||
--host_image:show=string Explicitly make a host image symbol visible
|
|
||||||
--host_image:target=ARM,MSP430,C2000,C6000,ARP32,PRU
|
|
||||||
Machine type of the host image object file
|
|
||||||
--load_image Output Load Image Object format
|
|
||||||
--section_name_prefix=string Prefix for load/host image object sections
|
|
||||||
|
|
||||||
@@ -1,66 +0,0 @@
|
|||||||
TMS320C6x Hex Converter v7.4.18
|
|
||||||
Tools Copyright (c) 1996-2015 Texas Instruments Incorporated
|
|
||||||
|
|
||||||
Usage: C:\ti\ccsv6\tools\compiler\c6000_7.4.18\bin\hex6x [-options] filename
|
|
||||||
|
|
||||||
Use 'C:\ti\ccsv6\tools\compiler\c6000_7.4.18\bin\hex6x -h <option>' for more information on a particular option. Use
|
|
||||||
'C:\ti\ccsv6\tools\compiler\c6000_7.4.18\bin\hex6x -h <text>' to search options for information regarding <text>.
|
|
||||||
|
|
||||||
Option arguments surrounded by [] declare they are optional. Option arguments
|
|
||||||
separated by commas specify that the option's argument must be chosen from
|
|
||||||
those arguments listed.
|
|
||||||
|
|
||||||
When shown, option arguments and defaults apply to the usage of both long and
|
|
||||||
short option forms.
|
|
||||||
|
|
||||||
General Options:
|
|
||||||
--byte,-byte Output as bytes rather than target addressing
|
|
||||||
--entrypoint,-e=addr Specify entrypoint address or symbol name
|
|
||||||
--exclude,-exclude=section Exclude section from hex conversion
|
|
||||||
--fill,-fill=val Specify fill value
|
|
||||||
--help,-options,-h Display help
|
|
||||||
--image,-image Select image mode
|
|
||||||
--linkerfill,-linkerfill Include linker fill sections in images
|
|
||||||
--map,-map=file Specify map file name
|
|
||||||
--memwidth,-memwidth=width Specify memory width
|
|
||||||
--olength,-olength=num Number of data items per line of hex output
|
|
||||||
--order,-order=L,M Specify data ordering (endianness)
|
|
||||||
--outfile,-o=file Specify output file names
|
|
||||||
--quiet,-quiet,-q Quiet Operation
|
|
||||||
--romwidth,-romwidth=width Specify rom width
|
|
||||||
--zero,-zero,-z Zero based addressing
|
|
||||||
|
|
||||||
Diagnostics Options:
|
|
||||||
--buffer_diagnostics,-pdb Line buffer diagnostic output
|
|
||||||
--diag_error=id Treat diagnostic <id> as error
|
|
||||||
--diag_remark=id Treat diagnostic <id> as remark
|
|
||||||
--diag_suppress=id Suppress diagnostic <id>
|
|
||||||
--diag_warning=id Treat diagnostic <id> as warning
|
|
||||||
--diag_wrap[=on,off] Wrap diagnostic messages (argument optional,
|
|
||||||
defaults to: on)
|
|
||||||
--display_error_number Emit diagnostic identifier numbers
|
|
||||||
--emit_warnings_as_errors,-pdew
|
|
||||||
Treat warnings as errors
|
|
||||||
--issue_remarks Issue remarks
|
|
||||||
--no_warnings Suppress warnings
|
|
||||||
--set_error_limit=count Set error limit to <count>
|
|
||||||
|
|
||||||
Boot Table Options:
|
|
||||||
--boot,-boot Select boot mode
|
|
||||||
--bootorg,-bootorg=addr Specify origin address or symbol of boot table
|
|
||||||
ROM
|
|
||||||
--bootsection,-bootsection=section
|
|
||||||
Specify boot mode section and placement value
|
|
||||||
|
|
||||||
Output Format Options:
|
|
||||||
--ascii,-a Output ASCII hex format
|
|
||||||
--intel,-i Output Intel hex format
|
|
||||||
--motorola,-m[=1,2,3] Output Motorola S hex format
|
|
||||||
--tektronix,-x Output Extended Tektronix hex format
|
|
||||||
--ti_tagged,-t Output TI-Tagged hex format
|
|
||||||
--ti_txt Output TI-TXT hex format
|
|
||||||
|
|
||||||
Load Image Options:
|
|
||||||
--load_image Output Load Image Object format
|
|
||||||
--section_name_prefix=string Prefix for load image object sections
|
|
||||||
|
|
||||||
@@ -1,76 +0,0 @@
|
|||||||
TMS320C6x Hex Converter v8.1.1
|
|
||||||
Tools Copyright (c) 1996-2015 Texas Instruments Incorporated
|
|
||||||
|
|
||||||
Usage: C:\ti\ccsv6\tools\compiler\ti-cgt-c6000_8.1.1\bin\hex6x [-options] filename
|
|
||||||
|
|
||||||
Use 'C:\ti\ccsv6\tools\compiler\ti-cgt-c6000_8.1.1\bin\hex6x -h <option>' for more information on a particular option. Use
|
|
||||||
'C:\ti\ccsv6\tools\compiler\ti-cgt-c6000_8.1.1\bin\hex6x -h <text>' to search options for information regarding <text>.
|
|
||||||
|
|
||||||
Option arguments surrounded by [] declare they are optional. Option arguments
|
|
||||||
separated by commas specify that the option's argument must be chosen from
|
|
||||||
those arguments listed.
|
|
||||||
|
|
||||||
When shown, option arguments and defaults apply to the usage of both long and
|
|
||||||
short option forms.
|
|
||||||
|
|
||||||
General Options:
|
|
||||||
--byte,-byte Output as bytes rather than target addressing
|
|
||||||
--entrypoint,-e=addr Specify entrypoint address or symbol name
|
|
||||||
--exclude,-exclude=section Exclude section from hex conversion
|
|
||||||
--fill,-fill=val Specify fill value
|
|
||||||
--help,-options,-h Display help
|
|
||||||
--image,-image Select image mode
|
|
||||||
--linkerfill,-linkerfill Include linker fill sections in images
|
|
||||||
--map,-map=file Specify map file name
|
|
||||||
--memwidth,-memwidth=width Specify memory width
|
|
||||||
--olength,-olength=num Number of data items per line of hex output
|
|
||||||
--order,-order=L,M Specify data ordering (endianness)
|
|
||||||
--outfile,-o=file Specify output file names
|
|
||||||
--quiet,-quiet,-q Quiet Operation
|
|
||||||
--romwidth,-romwidth=width Specify rom width
|
|
||||||
--zero,-zero,-z Zero based addressing
|
|
||||||
|
|
||||||
Diagnostics Options:
|
|
||||||
--buffer_diagnostics,-pdb Line buffer diagnostic output
|
|
||||||
--diag_error=id Treat diagnostic <id> as error
|
|
||||||
--diag_remark=id Treat diagnostic <id> as remark
|
|
||||||
--diag_suppress=id Suppress diagnostic <id>
|
|
||||||
--diag_warning=id Treat diagnostic <id> as warning
|
|
||||||
--diag_wrap[=on,off] Wrap diagnostic messages (argument optional,
|
|
||||||
defaults to: on)
|
|
||||||
--display_error_number Emit diagnostic identifier numbers
|
|
||||||
--emit_warnings_as_errors,-pdew
|
|
||||||
Treat warnings as errors
|
|
||||||
--issue_remarks Issue remarks
|
|
||||||
--no_warnings Suppress warnings
|
|
||||||
--set_error_limit=count Set error limit to <count>
|
|
||||||
|
|
||||||
Boot Table Options:
|
|
||||||
--boot,-boot Select boot mode
|
|
||||||
--bootorg,-bootorg=addr Specify origin address or symbol of boot table
|
|
||||||
ROM
|
|
||||||
--bootsection,-bootsection=section
|
|
||||||
Specify boot mode section and placement value
|
|
||||||
|
|
||||||
Output Format Options:
|
|
||||||
--ascii,-a Output ASCII hex format
|
|
||||||
--intel,-i Output Intel hex format
|
|
||||||
--motorola,-m[=1,2,3] Output Motorola S hex format
|
|
||||||
--tektronix,-x Output Extended Tektronix hex format
|
|
||||||
--ti_tagged,-t Output TI-Tagged hex format
|
|
||||||
--ti_txt Output TI-TXT hex format
|
|
||||||
|
|
||||||
Load Image Options:
|
|
||||||
--host_image Output Host Image Object format
|
|
||||||
--host_image:endianness=big,little
|
|
||||||
Select the endianness of the host image object
|
|
||||||
file
|
|
||||||
--host_image:hidden_symbols Determine the visibility of symbols copied in
|
|
||||||
host images
|
|
||||||
--host_image:hide=string Explicitly make a host image symbol hidden
|
|
||||||
--host_image:show=string Explicitly make a host image symbol visible
|
|
||||||
--host_image:target=ARM,MSP430,C2000,C6000,ARP32,PRU
|
|
||||||
Machine type of the host image object file
|
|
||||||
--load_image Output Load Image Object format
|
|
||||||
--section_name_prefix=string Prefix for load/host image object sections
|
|
||||||
|
|
||||||
@@ -1,68 +0,0 @@
|
|||||||
MSP430 Hex Converter v15.12.3.LTS
|
|
||||||
Tools Copyright (c) 2003-2015 Texas Instruments Incorporated
|
|
||||||
|
|
||||||
Usage: C:\ti\ccsv6\tools\compiler\msp430_15.12.3.LTS\bin\hex430 [-options] filename
|
|
||||||
|
|
||||||
Use 'C:\ti\ccsv6\tools\compiler\msp430_15.12.3.LTS\bin\hex430 -h <option>' for more information on a particular option. Use
|
|
||||||
'C:\ti\ccsv6\tools\compiler\msp430_15.12.3.LTS\bin\hex430 -h <text>' to search options for information regarding <text>.
|
|
||||||
|
|
||||||
Option arguments surrounded by [] declare they are optional. Option arguments
|
|
||||||
separated by commas specify that the option's argument must be chosen from
|
|
||||||
those arguments listed.
|
|
||||||
|
|
||||||
When shown, option arguments and defaults apply to the usage of both long and
|
|
||||||
short option forms.
|
|
||||||
|
|
||||||
General Options:
|
|
||||||
--byte,-byte Output as bytes rather than target addressing
|
|
||||||
--exclude,-exclude=section Exclude section from hex conversion
|
|
||||||
--fill,-fill=val Specify fill value
|
|
||||||
--help,-options,-h Display help
|
|
||||||
--image,-image Select image mode
|
|
||||||
--linkerfill,-linkerfill Include linker fill sections in images
|
|
||||||
--map,-map=file Specify map file name
|
|
||||||
--memwidth,-memwidth=width Specify memory width
|
|
||||||
--olength,-olength=num Number of data items per line of hex output
|
|
||||||
--order,-order=LS,MS Specify data ordering (endianness)
|
|
||||||
--outfile,-o=file Specify output file names
|
|
||||||
--quiet,-quiet,-q Quiet Operation
|
|
||||||
--romwidth,-romwidth=width Specify rom width
|
|
||||||
--zero,-zero,-z Zero based addressing
|
|
||||||
|
|
||||||
Diagnostics Options:
|
|
||||||
--buffer_diagnostics,-pdb Line buffer diagnostic output
|
|
||||||
--diag_error=id Treat diagnostic <id> as error
|
|
||||||
--diag_remark=id Treat diagnostic <id> as remark
|
|
||||||
--diag_suppress=id Suppress diagnostic <id>
|
|
||||||
--diag_warning=id Treat diagnostic <id> as warning
|
|
||||||
--diag_wrap[=on,off] Wrap diagnostic messages (argument optional,
|
|
||||||
defaults to: on)
|
|
||||||
--display_error_number Emit diagnostic identifier numbers
|
|
||||||
--emit_warnings_as_errors,-pdew
|
|
||||||
Treat warnings as errors
|
|
||||||
--issue_remarks Issue remarks
|
|
||||||
--no_warnings Suppress warnings
|
|
||||||
--set_error_limit=count Set error limit to <count>
|
|
||||||
|
|
||||||
Output Format Options:
|
|
||||||
--ascii,-a Output ASCII hex format
|
|
||||||
--intel,-i Output Intel hex format
|
|
||||||
--motorola,-m[=1,2,3] Output Motorola S hex format
|
|
||||||
--tektronix,-x Output Extended Tektronix hex format
|
|
||||||
--ti_tagged,-t Output TI-Tagged hex format
|
|
||||||
--ti_txt Output TI-TXT hex format
|
|
||||||
|
|
||||||
Load Image Options:
|
|
||||||
--host_image Output Host Image Object format
|
|
||||||
--host_image:endianness=big,little
|
|
||||||
Select the endianness of the host image object
|
|
||||||
file
|
|
||||||
--host_image:hidden_symbols Determine the visibility of symbols copied in
|
|
||||||
host images
|
|
||||||
--host_image:hide=string Explicitly make a host image symbol hidden
|
|
||||||
--host_image:show=string Explicitly make a host image symbol visible
|
|
||||||
--host_image:target=ARM,MSP430,C2000,C6000,ARP32,PRU
|
|
||||||
Machine type of the host image object file
|
|
||||||
--load_image Output Load Image Object format
|
|
||||||
--section_name_prefix=string Prefix for load/host image object sections
|
|
||||||
|
|
||||||
@@ -1,88 +0,0 @@
|
|||||||
TI ARM Hex Converter v15.12.3.LTS
|
|
||||||
Tools Copyright (c) 1996-2015 Texas Instruments Incorporated
|
|
||||||
|
|
||||||
Usage: C:\ti\ccsv6\tools\compiler\arm_15.12.3.LTS\bin\armhex [-options] filename
|
|
||||||
|
|
||||||
Use 'C:\ti\ccsv6\tools\compiler\arm_15.12.3.LTS\bin\armhex -h <option>' for more information on a particular option. Use
|
|
||||||
'C:\ti\ccsv6\tools\compiler\arm_15.12.3.LTS\bin\armhex -h <text>' to search options for information regarding <text>.
|
|
||||||
|
|
||||||
Option arguments surrounded by [] declare they are optional. Option arguments
|
|
||||||
separated by commas specify that the option's argument must be chosen from
|
|
||||||
those arguments listed.
|
|
||||||
|
|
||||||
When shown, option arguments and defaults apply to the usage of both long and
|
|
||||||
short option forms.
|
|
||||||
|
|
||||||
General Options:
|
|
||||||
--byte,-byte Output as bytes rather than target addressing
|
|
||||||
--entrypoint,-e=addr Specify entrypoint address or symbol name
|
|
||||||
--exclude,-exclude=section Exclude section from hex conversion
|
|
||||||
--fill,-fill=val Specify fill value
|
|
||||||
--help,-options,-h Display help
|
|
||||||
--image,-image Select image mode
|
|
||||||
--linkerfill,-linkerfill Include linker fill sections in images
|
|
||||||
--map,-map=file Specify map file name
|
|
||||||
--memwidth,-memwidth=width Specify memory width
|
|
||||||
--olength,-olength=num Number of data items per line of hex output
|
|
||||||
--outfile,-o=file Specify output file names
|
|
||||||
--quiet,-quiet,-q Quiet Operation
|
|
||||||
--romwidth,-romwidth=width Specify rom width
|
|
||||||
--zero,-zero,-z Zero based addressing
|
|
||||||
|
|
||||||
Diagnostics Options:
|
|
||||||
--buffer_diagnostics,-pdb Line buffer diagnostic output
|
|
||||||
--diag_error=id Treat diagnostic <id> as error
|
|
||||||
--diag_remark=id Treat diagnostic <id> as remark
|
|
||||||
--diag_suppress=id Suppress diagnostic <id>
|
|
||||||
--diag_warning=id Treat diagnostic <id> as warning
|
|
||||||
--diag_wrap[=on,off] Wrap diagnostic messages (argument optional,
|
|
||||||
defaults to: on)
|
|
||||||
--display_error_number Emit diagnostic identifier numbers
|
|
||||||
--emit_warnings_as_errors,-pdew
|
|
||||||
Treat warnings as errors
|
|
||||||
--issue_remarks Issue remarks
|
|
||||||
--no_warnings Suppress warnings
|
|
||||||
--set_error_limit=count Set error limit to <count>
|
|
||||||
|
|
||||||
Boot Table Options:
|
|
||||||
--boot,-boot Select boot mode
|
|
||||||
--bootorg,-bootorg=addr Specify origin address or symbol of boot table
|
|
||||||
ROM
|
|
||||||
--gpio16,-gpio16 Specify table source as the GPIO port, 16-bit
|
|
||||||
mode
|
|
||||||
--gpio8,-gpio8 Specify table source as the GPIO port, 8-bit
|
|
||||||
mode
|
|
||||||
--i2c8,-i2c8 Specify table source as the I2C8 port, 8-bit
|
|
||||||
mode
|
|
||||||
--i2cclkh,-i2cclkh=value Specify the initial value for I2CCLKH register
|
|
||||||
--i2cclkl,-i2cclkl=value Specify the initial value for the I2CCLKL
|
|
||||||
register
|
|
||||||
--i2cpsc,-i2cpsc=value Specify the initial value for I2CPSC register
|
|
||||||
--lospcp,-lospcp=value Specify the initial value for the LOSPCP
|
|
||||||
register
|
|
||||||
--spi8,-spi8 Specify table source as the SPI port, 8-bit mode
|
|
||||||
--spibrr,-spibrr=value Specify the initial value for the SPIBRR
|
|
||||||
register
|
|
||||||
|
|
||||||
Output Format Options:
|
|
||||||
--ascii,-a Output ASCII hex format
|
|
||||||
--intel,-i Output Intel hex format
|
|
||||||
--motorola,-m[=1,2,3] Output Motorola S hex format
|
|
||||||
--tektronix,-x Output Extended Tektronix hex format
|
|
||||||
--ti_tagged,-t Output TI-Tagged hex format
|
|
||||||
--ti_txt Output TI-TXT hex format
|
|
||||||
|
|
||||||
Load Image Options:
|
|
||||||
--host_image Output Host Image Object format
|
|
||||||
--host_image:endianness=big,little
|
|
||||||
Select the endianness of the host image object
|
|
||||||
file
|
|
||||||
--host_image:hidden_symbols Determine the visibility of symbols copied in
|
|
||||||
host images
|
|
||||||
--host_image:hide=string Explicitly make a host image symbol hidden
|
|
||||||
--host_image:show=string Explicitly make a host image symbol visible
|
|
||||||
--host_image:target=ARM,MSP430,C2000,C6000,ARP32,PRU
|
|
||||||
Machine type of the host image object file
|
|
||||||
--load_image Output Load Image Object format
|
|
||||||
--section_name_prefix=string Prefix for load/host image object sections
|
|
||||||
|
|
||||||
@@ -1,88 +0,0 @@
|
|||||||
TI ARM Hex Converter v15.12.3.LTS
|
|
||||||
Tools Copyright (c) 1996-2015 Texas Instruments Incorporated
|
|
||||||
|
|
||||||
Usage: C:\ti\ccsv6\tools\compiler\arm_15.12.3.LTS\bin\armhex [-options] filename
|
|
||||||
|
|
||||||
Use 'C:\ti\ccsv6\tools\compiler\arm_15.12.3.LTS\bin\armhex -h <option>' for more information on a particular option. Use
|
|
||||||
'C:\ti\ccsv6\tools\compiler\arm_15.12.3.LTS\bin\armhex -h <text>' to search options for information regarding <text>.
|
|
||||||
|
|
||||||
Option arguments surrounded by [] declare they are optional. Option arguments
|
|
||||||
separated by commas specify that the option's argument must be chosen from
|
|
||||||
those arguments listed.
|
|
||||||
|
|
||||||
When shown, option arguments and defaults apply to the usage of both long and
|
|
||||||
short option forms.
|
|
||||||
|
|
||||||
General Options:
|
|
||||||
--byte,-byte Output as bytes rather than target addressing
|
|
||||||
--entrypoint,-e=addr Specify entrypoint address or symbol name
|
|
||||||
--exclude,-exclude=section Exclude section from hex conversion
|
|
||||||
--fill,-fill=val Specify fill value
|
|
||||||
--help,-options,-h Display help
|
|
||||||
--image,-image Select image mode
|
|
||||||
--linkerfill,-linkerfill Include linker fill sections in images
|
|
||||||
--map,-map=file Specify map file name
|
|
||||||
--memwidth,-memwidth=width Specify memory width
|
|
||||||
--olength,-olength=num Number of data items per line of hex output
|
|
||||||
--outfile,-o=file Specify output file names
|
|
||||||
--quiet,-quiet,-q Quiet Operation
|
|
||||||
--romwidth,-romwidth=width Specify rom width
|
|
||||||
--zero,-zero,-z Zero based addressing
|
|
||||||
|
|
||||||
Diagnostics Options:
|
|
||||||
--buffer_diagnostics,-pdb Line buffer diagnostic output
|
|
||||||
--diag_error=id Treat diagnostic <id> as error
|
|
||||||
--diag_remark=id Treat diagnostic <id> as remark
|
|
||||||
--diag_suppress=id Suppress diagnostic <id>
|
|
||||||
--diag_warning=id Treat diagnostic <id> as warning
|
|
||||||
--diag_wrap[=on,off] Wrap diagnostic messages (argument optional,
|
|
||||||
defaults to: on)
|
|
||||||
--display_error_number Emit diagnostic identifier numbers
|
|
||||||
--emit_warnings_as_errors,-pdew
|
|
||||||
Treat warnings as errors
|
|
||||||
--issue_remarks Issue remarks
|
|
||||||
--no_warnings Suppress warnings
|
|
||||||
--set_error_limit=count Set error limit to <count>
|
|
||||||
|
|
||||||
Boot Table Options:
|
|
||||||
--boot,-boot Select boot mode
|
|
||||||
--bootorg,-bootorg=addr Specify origin address or symbol of boot table
|
|
||||||
ROM
|
|
||||||
--gpio16,-gpio16 Specify table source as the GPIO port, 16-bit
|
|
||||||
mode
|
|
||||||
--gpio8,-gpio8 Specify table source as the GPIO port, 8-bit
|
|
||||||
mode
|
|
||||||
--i2c8,-i2c8 Specify table source as the I2C8 port, 8-bit
|
|
||||||
mode
|
|
||||||
--i2cclkh,-i2cclkh=value Specify the initial value for I2CCLKH register
|
|
||||||
--i2cclkl,-i2cclkl=value Specify the initial value for the I2CCLKL
|
|
||||||
register
|
|
||||||
--i2cpsc,-i2cpsc=value Specify the initial value for I2CPSC register
|
|
||||||
--lospcp,-lospcp=value Specify the initial value for the LOSPCP
|
|
||||||
register
|
|
||||||
--spi8,-spi8 Specify table source as the SPI port, 8-bit mode
|
|
||||||
--spibrr,-spibrr=value Specify the initial value for the SPIBRR
|
|
||||||
register
|
|
||||||
|
|
||||||
Output Format Options:
|
|
||||||
--ascii,-a Output ASCII hex format
|
|
||||||
--intel,-i Output Intel hex format
|
|
||||||
--motorola,-m[=1,2,3] Output Motorola S hex format
|
|
||||||
--tektronix,-x Output Extended Tektronix hex format
|
|
||||||
--ti_tagged,-t Output TI-Tagged hex format
|
|
||||||
--ti_txt Output TI-TXT hex format
|
|
||||||
|
|
||||||
Load Image Options:
|
|
||||||
--host_image Output Host Image Object format
|
|
||||||
--host_image:endianness=big,little
|
|
||||||
Select the endianness of the host image object
|
|
||||||
file
|
|
||||||
--host_image:hidden_symbols Determine the visibility of symbols copied in
|
|
||||||
host images
|
|
||||||
--host_image:hide=string Explicitly make a host image symbol hidden
|
|
||||||
--host_image:show=string Explicitly make a host image symbol visible
|
|
||||||
--host_image:target=ARM,MSP430,C2000,C6000,ARP32,PRU
|
|
||||||
Machine type of the host image object file
|
|
||||||
--load_image Output Load Image Object format
|
|
||||||
--section_name_prefix=string Prefix for load/host image object sections
|
|
||||||
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<section name="Workbench">
|
|
||||||
<section name="com.ti.ccstudio.project.ui.internal.properties.DynamicPropertiesPageManager">
|
|
||||||
</section>
|
|
||||||
<section name="com.ti.ccstudio.project.ui.internal.preferences.DynamicPreferencePageManager">
|
|
||||||
</section>
|
|
||||||
<section name="com.ti.ccstudio.project.ui.internal.wizards.project.ProjectSettingsPage">
|
|
||||||
<item value="devices/MSP430F5438A.xml" key="CCS.TARGET"/>
|
|
||||||
<item value="" key="CCS.CONNECTION"/>
|
|
||||||
<section name="1">
|
|
||||||
<item value="" key="CCS.TOOL_VERSION"/>
|
|
||||||
<item value="" key="CCS.DEVICE_ENDIANNESS"/>
|
|
||||||
<item value="" key="CCS.TOOL_CHAIN"/>
|
|
||||||
<item value="null" key="CCS.LINKER_COMMAND_FILE"/>
|
|
||||||
<item value="executable" key="CCS.OUTPUT_TYPE"/>
|
|
||||||
<item value="null" key="CCS.RUNTIME_SUPPORT_LIB"/>
|
|
||||||
<item value="" key="CCS.OUTPUT_FORMAT"/>
|
|
||||||
</section>
|
|
||||||
</section>
|
|
||||||
</section>
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<java version="1.7.0_80" class="java.beans.XMLDecoder">
|
|
||||||
<object class="java.util.HashMap"/>
|
|
||||||
</java>
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<java version="1.7.0_80" class="java.beans.XMLDecoder">
|
|
||||||
<object class="com.ti.dvt.datamodel.solution.SolutionManager$PersistState" id="SolutionManager$PersistState0">
|
|
||||||
<void class="com.ti.dvt.datamodel.solution.SolutionManager$PersistState" method="getField">
|
|
||||||
<string>defaultSolution</string>
|
|
||||||
<void method="set">
|
|
||||||
<object idref="SolutionManager$PersistState0"/>
|
|
||||||
<string>C:\ti\ccsv6\ccs_base\dvt_4.1.0.201609091143\CodeGen\solutions\CodeGenCoverage</string>
|
|
||||||
</void>
|
|
||||||
</void>
|
|
||||||
</object>
|
|
||||||
<void class="com.ti.dvt.datamodel.solution.SolutionManager$PersistState" id="Field0" method="getField">
|
|
||||||
<string>openedSolutions</string>
|
|
||||||
<void id="ArrayList0" method="get">
|
|
||||||
<object idref="SolutionManager$PersistState0"/>
|
|
||||||
<void method="add">
|
|
||||||
<string>F:\Users\Sunseeker\Documents\Sunseeker21_Code\Telem_Debug\dvt\AnalysisSolutionsTemp\AnalysisSolution1620324127909\null</string>
|
|
||||||
</void>
|
|
||||||
<void method="add">
|
|
||||||
<string>C:\ti\ccsv6\ccs_base\dvt_4.1.0.201609091143\CodeGen\solutions\CodeGenCoverage</string>
|
|
||||||
</void>
|
|
||||||
</void>
|
|
||||||
</void>
|
|
||||||
<void idref="ArrayList0"/>
|
|
||||||
</java>
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
||||||
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
|
|
||||||
<properties>
|
|
||||||
<comment>Texas Instruments Code Composer Studio EnergyTrace Plugin</comment>
|
|
||||||
</properties>
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<java version="1.7.0_80" class="java.beans.XMLDecoder">
|
|
||||||
<object class="java.util.HashMap">
|
|
||||||
<void method="put">
|
|
||||||
<string>TriggerFavorites</string>
|
|
||||||
<object class="com.ti.dvt.energytrace.views.Dashboard$TriggerFavorites"/>
|
|
||||||
</void>
|
|
||||||
</object>
|
|
||||||
</java>
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<java version="1.7.0_80" class="java.beans.XMLDecoder">
|
|
||||||
<object class="com.ti.dvt.ideadapter.activator.Activator$PersistState">
|
|
||||||
<void property="IDESelection">
|
|
||||||
<int>0</int>
|
|
||||||
</void>
|
|
||||||
</object>
|
|
||||||
</java>
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
*** SESSION Apr 30, 2021 14:21:41.14 -------------------------------------------
|
|
||||||
*** SESSION May 03, 2021 10:06:23.19 -------------------------------------------
|
|
||||||
*** SESSION May 04, 2021 09:52:40.48 -------------------------------------------
|
|
||||||
*** SESSION May 05, 2021 10:46:18.60 -------------------------------------------
|
|
||||||
*** SESSION May 05, 2021 11:20:18.19 -------------------------------------------
|
|
||||||
*** SESSION May 06, 2021 14:01:51.74 -------------------------------------------
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,7 +0,0 @@
|
|||||||
|
|
||||||
**** Build of configuration Debug for project Debug1 ****
|
|
||||||
|
|
||||||
"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
|
|
||||||
gmake: Nothing to be done for 'all'.
|
|
||||||
|
|
||||||
**** Build Finished ****
|
|
||||||
@@ -1,606 +0,0 @@
|
|||||||
|
|
||||||
**** Build of configuration Debug for project Debug2 ****
|
|
||||||
|
|
||||||
"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
|
|
||||||
'Building file: ../CAN.c'
|
|
||||||
'Invoking: MSP430 Compiler'
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/bin/cl430" -vmspx --data_model=restricted --use_hw_mpy=F5 --include_path="C:/ti/ccsv6/ccs_base/msp430/include" --include_path="C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include" --advice:power=all -g --define=__MSP430F5438A__ --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="CAN.d" "../CAN.c"
|
|
||||||
"..\Sunseeker2021.h", line 33: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
|
|
||||||
"..\Sunseeker2021.h", line 35: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
|
|
||||||
"..\UART.h", line 71: remark #1528-D: (ULP 3.1) Detected flag polling using UART1IFG. Recommend using an interrupt combined with enter LPMx and ISR
|
|
||||||
"..\UART.h", line 72: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
|
|
||||||
"..\UART.h", line 72: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
|
|
||||||
"..\UART.h", line 79: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
|
|
||||||
"..\UART.h", line 79: remark #1543-D: (ULP 12.2) Detected for loop with repetitive data transfer. Recommend using DMA
|
|
||||||
"..\UART.h", line 81: remark #2553-D: (ULP 14.1) Array index (involving "z") of type "int". Recommend using "unsigned int"
|
|
||||||
"..\UART.h", line 89: remark #2553-D: (ULP 14.1) Array index (involving "z") of type "int". Recommend using "unsigned int"
|
|
||||||
"..\UART.h", line 92: remark #2553-D: (ULP 14.1) Array index (involving "z") of type "int". Recommend using "unsigned int"
|
|
||||||
"..\UART.h", line 103: remark #1528-D: (ULP 3.1) Detected flag polling using UART1IFG. Recommend using an interrupt combined with enter LPMx and ISR
|
|
||||||
"..\UART.h", line 105: remark #2553-D: (ULP 14.1) Array index (involving "z") of type "int". Recommend using "unsigned int"
|
|
||||||
"..\UART.h", line 106: remark #2553-D: (ULP 14.1) Array index (involving "z") of type "int". Recommend using "unsigned int"
|
|
||||||
"..\UART.h", line 116: remark #1528-D: (ULP 3.1) Detected flag polling using UART1IFG. Recommend using an interrupt combined with enter LPMx and ISR
|
|
||||||
"..\UART.h", line 118: remark #2553-D: (ULP 14.1) Array index (involving "z") of type "int". Recommend using "unsigned int"
|
|
||||||
"..\SPI.h", line 75: remark #1528-D: (ULP 3.1) Detected flag polling using SPI1IFG. Recommend using an interrupt combined with enter LPMx and ISR
|
|
||||||
"..\SPI.h", line 87: remark #1528-D: (ULP 3.1) Detected flag polling using SPI1IFG. Recommend using an interrupt combined with enter LPMx and ISR
|
|
||||||
"..\SPI.h", line 95: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
|
|
||||||
"../CAN.c", line 403: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
|
|
||||||
"../CAN.c", line 339: remark #1535-D: (ULP 8.1) variable "buf_addr" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"../CAN.c", line 472: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
|
|
||||||
"../CAN.c", line 510: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
|
|
||||||
"../CAN.c", line 517: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
|
|
||||||
"../CAN.c", line 536: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
|
|
||||||
"../CAN.c", line 560: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
|
|
||||||
"../CAN.c", line 565: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
|
|
||||||
"..\MODEM.h", line 6: remark #1535-D: (ULP 8.1) variable "RFCommand" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"..\MODEM.h", line 17: remark #1535-D: (ULP 8.1) variable "RFModemH" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"..\MODEM.h", line 18: remark #1535-D: (ULP 8.1) variable "RFModemL" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"..\MODEM.h", line 19: remark #1535-D: (ULP 8.1) variable "RFModemS" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"..\MODEM.h", line 21: remark #1535-D: (ULP 8.1) variable "RFModemBaud" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"..\Sunseeker2021.h", line 252: remark #1535-D: (ULP 8.1) variable "addr_lookup" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"..\Sunseeker2021.h", line 312: remark #1535-D: (ULP 8.1) variable "lut_blacklist" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"../CAN.c", line 43: remark #1535-D: (ULP 8.1) variable "canstat" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"../CAN.c", line 462: remark #1535-D: (ULP 8.1) variable "can0_result" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 203 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 204 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 205 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 206 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 207 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 208 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 210 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 211 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 212 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 213 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 214 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 215 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 216 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 217 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 218 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 220 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 221 (col. 11): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 222 (col. 11): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 224 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 225 (col. 11): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 226 (col. 11): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 228 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 229 (col. 11): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 230 (col. 11): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 232 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 233 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 234 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 235 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 236 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 237 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 243 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 244 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 245 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 246 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 247 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 248 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 257 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 259 (col. 9): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 261 (col. 13): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 265 (col. 9): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 267 (col. 13): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 274 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 276 (col. 9): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 278 (col. 13): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 282 (col. 9): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 284 (col. 13): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 291 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 293 (col. 9): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 295 (col. 13): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 299 (col. 9): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 301 (col. 13): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
'Finished building: ../CAN.c'
|
|
||||||
' '
|
|
||||||
'Building file: ../MODEM.c'
|
|
||||||
'Invoking: MSP430 Compiler'
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/bin/cl430" -vmspx --data_model=restricted --use_hw_mpy=F5 --include_path="C:/ti/ccsv6/ccs_base/msp430/include" --include_path="C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include" --advice:power=all -g --define=__MSP430F5438A__ --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="MODEM.d" "../MODEM.c"
|
|
||||||
"..\Sunseeker2021.h", line 33: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
|
|
||||||
"..\Sunseeker2021.h", line 35: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
|
|
||||||
"..\UART.h", line 71: remark #1528-D: (ULP 3.1) Detected flag polling using UART1IFG. Recommend using an interrupt combined with enter LPMx and ISR
|
|
||||||
"..\UART.h", line 72: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
|
|
||||||
"..\UART.h", line 72: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
|
|
||||||
"..\UART.h", line 79: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
|
|
||||||
"..\UART.h", line 79: remark #1543-D: (ULP 12.2) Detected for loop with repetitive data transfer. Recommend using DMA
|
|
||||||
"..\UART.h", line 81: remark #2553-D: (ULP 14.1) Array index (involving "z") of type "int". Recommend using "unsigned int"
|
|
||||||
"..\UART.h", line 89: remark #2553-D: (ULP 14.1) Array index (involving "z") of type "int". Recommend using "unsigned int"
|
|
||||||
"..\UART.h", line 92: remark #2553-D: (ULP 14.1) Array index (involving "z") of type "int". Recommend using "unsigned int"
|
|
||||||
"..\UART.h", line 103: remark #1528-D: (ULP 3.1) Detected flag polling using UART1IFG. Recommend using an interrupt combined with enter LPMx and ISR
|
|
||||||
"..\UART.h", line 105: remark #2553-D: (ULP 14.1) Array index (involving "z") of type "int". Recommend using "unsigned int"
|
|
||||||
"..\UART.h", line 106: remark #2553-D: (ULP 14.1) Array index (involving "z") of type "int". Recommend using "unsigned int"
|
|
||||||
"..\UART.h", line 116: remark #1528-D: (ULP 3.1) Detected flag polling using UART1IFG. Recommend using an interrupt combined with enter LPMx and ISR
|
|
||||||
"..\UART.h", line 118: remark #2553-D: (ULP 14.1) Array index (involving "z") of type "int". Recommend using "unsigned int"
|
|
||||||
"..\SPI.h", line 75: remark #1528-D: (ULP 3.1) Detected flag polling using SPI1IFG. Recommend using an interrupt combined with enter LPMx and ISR
|
|
||||||
"..\SPI.h", line 87: remark #1528-D: (ULP 3.1) Detected flag polling using SPI1IFG. Recommend using an interrupt combined with enter LPMx and ISR
|
|
||||||
"..\SPI.h", line 95: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
|
|
||||||
"../MODEM.c", line 31: warning #179-D: variable "respRX" was declared but never referenced
|
|
||||||
"../MODEM.c", line 35: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
|
|
||||||
"..\MODEM.h", line 6: remark #1535-D: (ULP 8.1) variable "RFCommand" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"..\MODEM.h", line 17: remark #1535-D: (ULP 8.1) variable "RFModemH" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"..\MODEM.h", line 18: remark #1535-D: (ULP 8.1) variable "RFModemL" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"..\MODEM.h", line 19: remark #1535-D: (ULP 8.1) variable "RFModemS" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"..\MODEM.h", line 21: remark #1535-D: (ULP 8.1) variable "RFModemBaud" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"..\Sunseeker2021.h", line 252: remark #1535-D: (ULP 8.1) variable "addr_lookup" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"..\Sunseeker2021.h", line 312: remark #1535-D: (ULP 8.1) variable "lut_blacklist" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 203 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 204 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 205 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 206 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 207 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 208 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 210 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 211 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 212 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 213 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 214 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 215 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 216 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 217 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 218 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 220 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 221 (col. 11): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 222 (col. 11): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 224 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 225 (col. 11): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 226 (col. 11): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 228 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 229 (col. 11): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 230 (col. 11): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 232 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 233 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 234 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 235 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 236 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 237 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 243 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 244 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 245 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 246 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 247 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 248 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 257 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 259 (col. 9): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 261 (col. 13): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 265 (col. 9): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 267 (col. 13): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 274 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 276 (col. 9): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 278 (col. 13): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 282 (col. 9): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 284 (col. 13): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 291 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 293 (col. 9): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 295 (col. 13): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 299 (col. 9): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 301 (col. 13): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
'Finished building: ../MODEM.c'
|
|
||||||
' '
|
|
||||||
'Building file: ../RTC.c'
|
|
||||||
'Invoking: MSP430 Compiler'
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/bin/cl430" -vmspx --data_model=restricted --use_hw_mpy=F5 --include_path="C:/ti/ccsv6/ccs_base/msp430/include" --include_path="C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include" --advice:power=all -g --define=__MSP430F5438A__ --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="RTC.d" "../RTC.c"
|
|
||||||
"..\Sunseeker2021.h", line 33: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
|
|
||||||
"..\Sunseeker2021.h", line 35: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
|
|
||||||
"..\UART.h", line 71: remark #1528-D: (ULP 3.1) Detected flag polling using UART1IFG. Recommend using an interrupt combined with enter LPMx and ISR
|
|
||||||
"..\UART.h", line 72: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
|
|
||||||
"..\UART.h", line 72: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
|
|
||||||
"..\UART.h", line 79: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
|
|
||||||
"..\UART.h", line 79: remark #1543-D: (ULP 12.2) Detected for loop with repetitive data transfer. Recommend using DMA
|
|
||||||
"..\UART.h", line 81: remark #2553-D: (ULP 14.1) Array index (involving "z") of type "int". Recommend using "unsigned int"
|
|
||||||
"..\UART.h", line 89: remark #2553-D: (ULP 14.1) Array index (involving "z") of type "int". Recommend using "unsigned int"
|
|
||||||
"..\UART.h", line 92: remark #2553-D: (ULP 14.1) Array index (involving "z") of type "int". Recommend using "unsigned int"
|
|
||||||
"..\UART.h", line 103: remark #1528-D: (ULP 3.1) Detected flag polling using UART1IFG. Recommend using an interrupt combined with enter LPMx and ISR
|
|
||||||
"..\UART.h", line 105: remark #2553-D: (ULP 14.1) Array index (involving "z") of type "int". Recommend using "unsigned int"
|
|
||||||
"..\UART.h", line 106: remark #2553-D: (ULP 14.1) Array index (involving "z") of type "int". Recommend using "unsigned int"
|
|
||||||
"..\UART.h", line 116: remark #1528-D: (ULP 3.1) Detected flag polling using UART1IFG. Recommend using an interrupt combined with enter LPMx and ISR
|
|
||||||
"..\UART.h", line 118: remark #2553-D: (ULP 14.1) Array index (involving "z") of type "int". Recommend using "unsigned int"
|
|
||||||
"..\SPI.h", line 75: remark #1528-D: (ULP 3.1) Detected flag polling using SPI1IFG. Recommend using an interrupt combined with enter LPMx and ISR
|
|
||||||
"..\SPI.h", line 87: remark #1528-D: (ULP 3.1) Detected flag polling using SPI1IFG. Recommend using an interrupt combined with enter LPMx and ISR
|
|
||||||
"..\SPI.h", line 95: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
|
|
||||||
"../RTC.c", line 92: remark #1528-D: (ULP 3.1) Detected flag polling using RTCRDYIFG. Recommend using an interrupt combined with enter LPMx and ISR
|
|
||||||
"../RTC.c", line 94: remark #1528-D: (ULP 3.1) Detected flag polling using RTCRDYIFG. Recommend using an interrupt combined with enter LPMx and ISR
|
|
||||||
"..\MODEM.h", line 6: remark #1535-D: (ULP 8.1) variable "RFCommand" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"..\MODEM.h", line 17: remark #1535-D: (ULP 8.1) variable "RFModemH" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"..\MODEM.h", line 18: remark #1535-D: (ULP 8.1) variable "RFModemL" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"..\MODEM.h", line 19: remark #1535-D: (ULP 8.1) variable "RFModemS" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"..\MODEM.h", line 21: remark #1535-D: (ULP 8.1) variable "RFModemBaud" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"..\Sunseeker2021.h", line 252: remark #1535-D: (ULP 8.1) variable "addr_lookup" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"..\Sunseeker2021.h", line 312: remark #1535-D: (ULP 8.1) variable "lut_blacklist" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 203 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 204 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 205 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 206 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 207 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 208 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 210 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 211 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 212 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 213 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 214 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 215 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 216 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 217 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 218 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 220 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 221 (col. 11): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 222 (col. 11): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 224 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 225 (col. 11): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 226 (col. 11): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 228 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 229 (col. 11): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 230 (col. 11): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 232 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 233 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 234 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 235 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 236 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 237 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 243 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 244 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 245 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 246 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 247 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 248 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 257 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 259 (col. 9): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 261 (col. 13): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 265 (col. 9): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 267 (col. 13): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 274 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 276 (col. 9): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 278 (col. 13): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 282 (col. 9): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 284 (col. 13): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 291 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 293 (col. 9): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 295 (col. 13): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 299 (col. 9): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 301 (col. 13): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
'Finished building: ../RTC.c'
|
|
||||||
' '
|
|
||||||
'Building file: ../char_FIFO.c'
|
|
||||||
'Invoking: MSP430 Compiler'
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/bin/cl430" -vmspx --data_model=restricted --use_hw_mpy=F5 --include_path="C:/ti/ccsv6/ccs_base/msp430/include" --include_path="C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include" --advice:power=all -g --define=__MSP430F5438A__ --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="char_FIFO.d" "../char_FIFO.c"
|
|
||||||
"..\Sunseeker2021.h", line 33: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
|
|
||||||
"..\Sunseeker2021.h", line 35: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
|
|
||||||
"..\UART.h", line 71: remark #1528-D: (ULP 3.1) Detected flag polling using UART1IFG. Recommend using an interrupt combined with enter LPMx and ISR
|
|
||||||
"..\UART.h", line 72: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
|
|
||||||
"..\UART.h", line 72: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
|
|
||||||
"..\UART.h", line 79: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
|
|
||||||
"..\UART.h", line 79: remark #1543-D: (ULP 12.2) Detected for loop with repetitive data transfer. Recommend using DMA
|
|
||||||
"..\UART.h", line 81: remark #2553-D: (ULP 14.1) Array index (involving "z") of type "int". Recommend using "unsigned int"
|
|
||||||
"..\UART.h", line 89: remark #2553-D: (ULP 14.1) Array index (involving "z") of type "int". Recommend using "unsigned int"
|
|
||||||
"..\UART.h", line 92: remark #2553-D: (ULP 14.1) Array index (involving "z") of type "int". Recommend using "unsigned int"
|
|
||||||
"..\UART.h", line 103: remark #1528-D: (ULP 3.1) Detected flag polling using UART1IFG. Recommend using an interrupt combined with enter LPMx and ISR
|
|
||||||
"..\UART.h", line 105: remark #2553-D: (ULP 14.1) Array index (involving "z") of type "int". Recommend using "unsigned int"
|
|
||||||
"..\UART.h", line 106: remark #2553-D: (ULP 14.1) Array index (involving "z") of type "int". Recommend using "unsigned int"
|
|
||||||
"..\UART.h", line 116: remark #1528-D: (ULP 3.1) Detected flag polling using UART1IFG. Recommend using an interrupt combined with enter LPMx and ISR
|
|
||||||
"..\UART.h", line 118: remark #2553-D: (ULP 14.1) Array index (involving "z") of type "int". Recommend using "unsigned int"
|
|
||||||
"..\SPI.h", line 75: remark #1528-D: (ULP 3.1) Detected flag polling using SPI1IFG. Recommend using an interrupt combined with enter LPMx and ISR
|
|
||||||
"..\SPI.h", line 87: remark #1528-D: (ULP 3.1) Detected flag polling using SPI1IFG. Recommend using an interrupt combined with enter LPMx and ISR
|
|
||||||
"..\SPI.h", line 95: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
|
|
||||||
"../char_FIFO.c", line 7: remark #1537-D: (ULP 9.1) Function parameter queue (type "struct _char_fifo") is being passed by value and should be passed by reference using pointer
|
|
||||||
"..\MODEM.h", line 6: remark #1535-D: (ULP 8.1) variable "RFCommand" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"..\MODEM.h", line 17: remark #1535-D: (ULP 8.1) variable "RFModemH" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"..\MODEM.h", line 18: remark #1535-D: (ULP 8.1) variable "RFModemL" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"..\MODEM.h", line 19: remark #1535-D: (ULP 8.1) variable "RFModemS" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"..\MODEM.h", line 21: remark #1535-D: (ULP 8.1) variable "RFModemBaud" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"..\Sunseeker2021.h", line 252: remark #1535-D: (ULP 8.1) variable "addr_lookup" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"..\Sunseeker2021.h", line 312: remark #1535-D: (ULP 8.1) variable "lut_blacklist" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 203 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 204 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 205 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 206 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 207 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 208 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 210 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 211 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 212 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 213 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 214 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 215 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 216 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 217 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 218 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 220 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 221 (col. 11): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 222 (col. 11): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 224 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 225 (col. 11): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 226 (col. 11): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 228 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 229 (col. 11): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 230 (col. 11): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 232 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 233 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 234 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 235 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 236 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 237 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 243 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 244 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 245 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 246 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 247 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 248 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 257 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 259 (col. 9): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 261 (col. 13): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 265 (col. 9): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 267 (col. 13): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 274 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 276 (col. 9): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 278 (col. 13): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 282 (col. 9): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 284 (col. 13): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 291 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 293 (col. 9): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 295 (col. 13): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 299 (col. 9): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 301 (col. 13): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
'Finished building: ../char_FIFO.c'
|
|
||||||
' '
|
|
||||||
'Building file: ../io_init.c'
|
|
||||||
'Invoking: MSP430 Compiler'
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/bin/cl430" -vmspx --data_model=restricted --use_hw_mpy=F5 --include_path="C:/ti/ccsv6/ccs_base/msp430/include" --include_path="C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include" --advice:power=all -g --define=__MSP430F5438A__ --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="io_init.d" "../io_init.c"
|
|
||||||
"..\Sunseeker2021.h", line 33: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
|
|
||||||
"..\Sunseeker2021.h", line 35: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
|
|
||||||
"..\UART.h", line 71: remark #1528-D: (ULP 3.1) Detected flag polling using UART1IFG. Recommend using an interrupt combined with enter LPMx and ISR
|
|
||||||
"..\UART.h", line 72: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
|
|
||||||
"..\UART.h", line 72: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
|
|
||||||
"..\UART.h", line 79: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
|
|
||||||
"..\UART.h", line 79: remark #1543-D: (ULP 12.2) Detected for loop with repetitive data transfer. Recommend using DMA
|
|
||||||
"..\UART.h", line 81: remark #2553-D: (ULP 14.1) Array index (involving "z") of type "int". Recommend using "unsigned int"
|
|
||||||
"..\UART.h", line 89: remark #2553-D: (ULP 14.1) Array index (involving "z") of type "int". Recommend using "unsigned int"
|
|
||||||
"..\UART.h", line 92: remark #2553-D: (ULP 14.1) Array index (involving "z") of type "int". Recommend using "unsigned int"
|
|
||||||
"..\UART.h", line 103: remark #1528-D: (ULP 3.1) Detected flag polling using UART1IFG. Recommend using an interrupt combined with enter LPMx and ISR
|
|
||||||
"..\UART.h", line 105: remark #2553-D: (ULP 14.1) Array index (involving "z") of type "int". Recommend using "unsigned int"
|
|
||||||
"..\UART.h", line 106: remark #2553-D: (ULP 14.1) Array index (involving "z") of type "int". Recommend using "unsigned int"
|
|
||||||
"..\UART.h", line 116: remark #1528-D: (ULP 3.1) Detected flag polling using UART1IFG. Recommend using an interrupt combined with enter LPMx and ISR
|
|
||||||
"..\UART.h", line 118: remark #2553-D: (ULP 14.1) Array index (involving "z") of type "int". Recommend using "unsigned int"
|
|
||||||
"..\SPI.h", line 75: remark #1528-D: (ULP 3.1) Detected flag polling using SPI1IFG. Recommend using an interrupt combined with enter LPMx and ISR
|
|
||||||
"..\SPI.h", line 87: remark #1528-D: (ULP 3.1) Detected flag polling using SPI1IFG. Recommend using an interrupt combined with enter LPMx and ISR
|
|
||||||
"..\SPI.h", line 95: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
|
|
||||||
"..\MODEM.h", line 6: remark #1535-D: (ULP 8.1) variable "RFCommand" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"..\MODEM.h", line 17: remark #1535-D: (ULP 8.1) variable "RFModemH" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"..\MODEM.h", line 18: remark #1535-D: (ULP 8.1) variable "RFModemL" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"..\MODEM.h", line 19: remark #1535-D: (ULP 8.1) variable "RFModemS" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"..\MODEM.h", line 21: remark #1535-D: (ULP 8.1) variable "RFModemBaud" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"..\Sunseeker2021.h", line 252: remark #1535-D: (ULP 8.1) variable "addr_lookup" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"..\Sunseeker2021.h", line 312: remark #1535-D: (ULP 8.1) variable "lut_blacklist" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 203 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 204 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 205 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 206 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 207 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 208 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 210 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 211 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 212 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 213 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 214 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 215 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 216 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 217 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 218 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 220 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 221 (col. 11): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 222 (col. 11): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 224 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 225 (col. 11): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 226 (col. 11): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 228 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 229 (col. 11): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 230 (col. 11): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 232 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 233 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 234 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 235 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 236 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 237 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 243 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 244 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 245 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 246 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 247 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 248 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 257 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 259 (col. 9): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 261 (col. 13): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 265 (col. 9): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 267 (col. 13): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 274 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 276 (col. 9): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 278 (col. 13): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 282 (col. 9): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 284 (col. 13): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 291 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 293 (col. 9): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 295 (col. 13): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 299 (col. 9): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 301 (col. 13): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
'Finished building: ../io_init.c'
|
|
||||||
' '
|
|
||||||
'Building file: ../main.c'
|
|
||||||
'Invoking: MSP430 Compiler'
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/bin/cl430" -vmspx --data_model=restricted --use_hw_mpy=F5 --include_path="C:/ti/ccsv6/ccs_base/msp430/include" --include_path="C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include" --advice:power=all -g --define=__MSP430F5438A__ --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="main.d" "../main.c"
|
|
||||||
"..\Sunseeker2021.h", line 33: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
|
|
||||||
"..\Sunseeker2021.h", line 35: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
|
|
||||||
"..\UART.h", line 71: remark #1528-D: (ULP 3.1) Detected flag polling using UART1IFG. Recommend using an interrupt combined with enter LPMx and ISR
|
|
||||||
"..\UART.h", line 72: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
|
|
||||||
"..\UART.h", line 72: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
|
|
||||||
"..\UART.h", line 79: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
|
|
||||||
"..\UART.h", line 79: remark #1543-D: (ULP 12.2) Detected for loop with repetitive data transfer. Recommend using DMA
|
|
||||||
"..\UART.h", line 81: remark #2553-D: (ULP 14.1) Array index (involving "z") of type "int". Recommend using "unsigned int"
|
|
||||||
"..\UART.h", line 89: remark #2553-D: (ULP 14.1) Array index (involving "z") of type "int". Recommend using "unsigned int"
|
|
||||||
"..\UART.h", line 92: remark #2553-D: (ULP 14.1) Array index (involving "z") of type "int". Recommend using "unsigned int"
|
|
||||||
"..\UART.h", line 103: remark #1528-D: (ULP 3.1) Detected flag polling using UART1IFG. Recommend using an interrupt combined with enter LPMx and ISR
|
|
||||||
"..\UART.h", line 105: remark #2553-D: (ULP 14.1) Array index (involving "z") of type "int". Recommend using "unsigned int"
|
|
||||||
"..\UART.h", line 106: remark #2553-D: (ULP 14.1) Array index (involving "z") of type "int". Recommend using "unsigned int"
|
|
||||||
"..\UART.h", line 116: remark #1528-D: (ULP 3.1) Detected flag polling using UART1IFG. Recommend using an interrupt combined with enter LPMx and ISR
|
|
||||||
"..\UART.h", line 118: remark #2553-D: (ULP 14.1) Array index (involving "z") of type "int". Recommend using "unsigned int"
|
|
||||||
"..\SPI.h", line 75: remark #1528-D: (ULP 3.1) Detected flag polling using SPI1IFG. Recommend using an interrupt combined with enter LPMx and ISR
|
|
||||||
"..\SPI.h", line 87: remark #1528-D: (ULP 3.1) Detected flag polling using SPI1IFG. Recommend using an interrupt combined with enter LPMx and ISR
|
|
||||||
"..\SPI.h", line 95: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
|
|
||||||
"../main.c", line 93: warning #112-D: statement is unreachable
|
|
||||||
"..\MODEM.h", line 6: remark #1535-D: (ULP 8.1) variable "RFCommand" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"..\MODEM.h", line 17: remark #1535-D: (ULP 8.1) variable "RFModemH" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"..\MODEM.h", line 18: remark #1535-D: (ULP 8.1) variable "RFModemL" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"..\MODEM.h", line 19: remark #1535-D: (ULP 8.1) variable "RFModemS" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"..\MODEM.h", line 21: remark #1535-D: (ULP 8.1) variable "RFModemBaud" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"..\Sunseeker2021.h", line 252: remark #1535-D: (ULP 8.1) variable "addr_lookup" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"..\Sunseeker2021.h", line 312: remark #1535-D: (ULP 8.1) variable "lut_blacklist" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"../main.c", line 37: remark #1535-D: (ULP 8.1) variable "ucMODE" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"../main.c", line 39: remark #1535-D: (ULP 8.1) variable "can_msg_count" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"../main.c", line 39: remark #1535-D: (ULP 8.1) variable "can_stall_cnt" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"../main.c", line 40: remark #1535-D: (ULP 8.1) variable "can_err_count" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"../main.c", line 40: remark #1535-D: (ULP 8.1) variable "can_read_cnt" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"../main.c", line 43: remark #1535-D: (ULP 8.1) variable "CAN1_INT_FLAG" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"../main.c", line 50: remark #1535-D: (ULP 8.1) variable "init_msg_data" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"../main.c", line 50: warning #179-D: variable "init_msg_data" was declared but never referenced
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 203 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 204 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 205 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 206 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 207 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 208 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 210 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 211 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 212 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 213 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 214 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 215 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 216 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 217 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 218 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 220 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 221 (col. 11): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 222 (col. 11): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 224 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 225 (col. 11): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 226 (col. 11): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 228 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 229 (col. 11): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 230 (col. 11): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 232 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 233 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 234 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 235 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 236 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 237 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 243 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 244 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 245 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 246 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 247 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 248 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 257 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 259 (col. 9): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 261 (col. 13): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 265 (col. 9): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 267 (col. 13): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 274 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 276 (col. 9): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 278 (col. 13): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 282 (col. 9): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 284 (col. 13): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 291 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 293 (col. 9): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 295 (col. 13): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 299 (col. 9): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 301 (col. 13): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
'Finished building: ../main.c'
|
|
||||||
' '
|
|
||||||
'Building file: ../message_FIFO.c'
|
|
||||||
'Invoking: MSP430 Compiler'
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/bin/cl430" -vmspx --data_model=restricted --use_hw_mpy=F5 --include_path="C:/ti/ccsv6/ccs_base/msp430/include" --include_path="C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include" --advice:power=all -g --define=__MSP430F5438A__ --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="message_FIFO.d" "../message_FIFO.c"
|
|
||||||
"..\Sunseeker2021.h", line 33: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
|
|
||||||
"..\Sunseeker2021.h", line 35: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
|
|
||||||
"..\UART.h", line 71: remark #1528-D: (ULP 3.1) Detected flag polling using UART1IFG. Recommend using an interrupt combined with enter LPMx and ISR
|
|
||||||
"..\UART.h", line 72: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
|
|
||||||
"..\UART.h", line 72: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
|
|
||||||
"..\UART.h", line 79: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
|
|
||||||
"..\UART.h", line 79: remark #1543-D: (ULP 12.2) Detected for loop with repetitive data transfer. Recommend using DMA
|
|
||||||
"..\UART.h", line 81: remark #2553-D: (ULP 14.1) Array index (involving "z") of type "int". Recommend using "unsigned int"
|
|
||||||
"..\UART.h", line 89: remark #2553-D: (ULP 14.1) Array index (involving "z") of type "int". Recommend using "unsigned int"
|
|
||||||
"..\UART.h", line 92: remark #2553-D: (ULP 14.1) Array index (involving "z") of type "int". Recommend using "unsigned int"
|
|
||||||
"..\UART.h", line 103: remark #1528-D: (ULP 3.1) Detected flag polling using UART1IFG. Recommend using an interrupt combined with enter LPMx and ISR
|
|
||||||
"..\UART.h", line 105: remark #2553-D: (ULP 14.1) Array index (involving "z") of type "int". Recommend using "unsigned int"
|
|
||||||
"..\UART.h", line 106: remark #2553-D: (ULP 14.1) Array index (involving "z") of type "int". Recommend using "unsigned int"
|
|
||||||
"..\UART.h", line 116: remark #1528-D: (ULP 3.1) Detected flag polling using UART1IFG. Recommend using an interrupt combined with enter LPMx and ISR
|
|
||||||
"..\UART.h", line 118: remark #2553-D: (ULP 14.1) Array index (involving "z") of type "int". Recommend using "unsigned int"
|
|
||||||
"..\SPI.h", line 75: remark #1528-D: (ULP 3.1) Detected flag polling using SPI1IFG. Recommend using an interrupt combined with enter LPMx and ISR
|
|
||||||
"..\SPI.h", line 87: remark #1528-D: (ULP 3.1) Detected flag polling using SPI1IFG. Recommend using an interrupt combined with enter LPMx and ISR
|
|
||||||
"..\SPI.h", line 95: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
|
|
||||||
"../message_FIFO.c", line 15: remark #1537-D: (ULP 9.1) Function parameter toPut (type "struct _can_message") is being passed by value and should be passed by reference using pointer
|
|
||||||
"..\MODEM.h", line 6: remark #1535-D: (ULP 8.1) variable "RFCommand" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"..\MODEM.h", line 17: remark #1535-D: (ULP 8.1) variable "RFModemH" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"..\MODEM.h", line 18: remark #1535-D: (ULP 8.1) variable "RFModemL" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"..\MODEM.h", line 19: remark #1535-D: (ULP 8.1) variable "RFModemS" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"..\MODEM.h", line 21: remark #1535-D: (ULP 8.1) variable "RFModemBaud" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"..\Sunseeker2021.h", line 252: remark #1535-D: (ULP 8.1) variable "addr_lookup" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"..\Sunseeker2021.h", line 312: remark #1535-D: (ULP 8.1) variable "lut_blacklist" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 203 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 204 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 205 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 206 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 207 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 208 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 210 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 211 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 212 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 213 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 214 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 215 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 216 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 217 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 218 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 220 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 221 (col. 11): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 222 (col. 11): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 224 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 225 (col. 11): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 226 (col. 11): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 228 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 229 (col. 11): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 230 (col. 11): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 232 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 233 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 234 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 235 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 236 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 237 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 243 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 244 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 245 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 246 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 247 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 248 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 257 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 259 (col. 9): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 261 (col. 13): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 265 (col. 9): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 267 (col. 13): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 274 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 276 (col. 9): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 278 (col. 13): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 282 (col. 9): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 284 (col. 13): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 291 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 293 (col. 9): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 295 (col. 13): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 299 (col. 9): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 301 (col. 13): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
'Finished building: ../message_FIFO.c'
|
|
||||||
' '
|
|
||||||
'Building target: Debug2.out'
|
|
||||||
'Invoking: MSP430 Linker'
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/bin/cl430" -vmspx --data_model=restricted --use_hw_mpy=F5 --advice:power=all -g --define=__MSP430F5438A__ --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal -z -m"Debug2.map" --stack_size=160 --heap_size=160 --cinit_hold_wdt=on -i"C:/ti/ccsv6/ccs_base/msp430/include" -i"C:/ti/ccsv6/ccs_base/msp430/lib/5xx_6xx_FRxx" -i"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/lib" -i"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include" --reread_libs --warn_sections --display_error_number --diag_wrap=off --xml_link_info="Debug2_linkInfo.xml" --use_hw_mpy=F5 --rom_model -o "Debug2.out" "./CAN.obj" "./MODEM.obj" "./RTC.obj" "./RTCASMFunctions_CCE.obj" "./char_FIFO.obj" "./clock_init.obj" "./io_init.obj" "./main.obj" "./message_FIFO.obj" "../lnk_msp430f5438a.cmd" -llibmath.a -llibc.a
|
|
||||||
<Linking>
|
|
||||||
remark #10371-D: (ULP 1.1) Detected no uses of low power mode state changing instructions
|
|
||||||
remark #10372-D: (ULP 4.1) Detected uninitialized Port F in this project. Recommend initializing all unused ports to eliminate wasted current consumption on unused pins.
|
|
||||||
'Finished building target: Debug2.out'
|
|
||||||
' '
|
|
||||||
|
|
||||||
**** Build Finished ****
|
|
||||||
@@ -1,87 +0,0 @@
|
|||||||
|
|
||||||
**** Build of configuration Debug for project Debug3 ****
|
|
||||||
|
|
||||||
"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
|
|
||||||
'Building file: ../main.c'
|
|
||||||
'Invoking: MSP430 Compiler'
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/bin/cl430" -vmspx --data_model=restricted --use_hw_mpy=F5 --include_path="C:/ti/ccsv6/ccs_base/msp430/include" --include_path="C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include" --advice:power=all -g --define=__MSP430F5438A__ --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="main.d" "../main.c"
|
|
||||||
"..\Sunseeker2021.h", line 33: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
|
|
||||||
"..\Sunseeker2021.h", line 35: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
|
|
||||||
"../main.c", line 100: warning #112-D: statement is unreachable
|
|
||||||
"..\RS232.h", line 6: remark #1535-D: (ULP 8.1) variable "RS232Cmd" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"..\RS232.h", line 7: remark #1535-D: (ULP 8.1) variable "RS232_Test1" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"..\RS232.h", line 8: remark #1535-D: (ULP 8.1) variable "RS232_Test2" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"..\RS232.h", line 9: remark #1535-D: (ULP 8.1) variable "Parse_header" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"..\Sunseeker2021.h", line 258: remark #1535-D: (ULP 8.1) variable "addr_lookup" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"..\Sunseeker2021.h", line 318: remark #1535-D: (ULP 8.1) variable "lut_blacklist" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"../main.c", line 37: remark #1535-D: (ULP 8.1) variable "ucMODE" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"../main.c", line 39: remark #1535-D: (ULP 8.1) variable "can_msg_count" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"../main.c", line 39: remark #1535-D: (ULP 8.1) variable "can_stall_cnt" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"../main.c", line 40: remark #1535-D: (ULP 8.1) variable "can_err_count" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"../main.c", line 40: remark #1535-D: (ULP 8.1) variable "can_read_cnt" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"../main.c", line 43: remark #1535-D: (ULP 8.1) variable "CAN1_INT_FLAG" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"../main.c", line 50: remark #1535-D: (ULP 8.1) variable "init_msg_data" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"../main.c", line 50: warning #179-D: variable "init_msg_data" was declared but never referenced
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 203 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 204 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 205 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 206 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 207 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 208 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 210 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 211 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 212 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 213 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 214 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 215 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 216 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 217 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 218 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 220 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 221 (col. 11): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 222 (col. 11): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 224 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 225 (col. 11): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 226 (col. 11): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 228 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 229 (col. 11): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 230 (col. 11): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 232 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 233 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 234 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 235 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 236 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 237 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 243 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 244 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 245 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 246 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 247 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 248 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 257 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 259 (col. 9): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 261 (col. 13): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 265 (col. 9): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 267 (col. 13): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 274 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 276 (col. 9): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 278 (col. 13): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 282 (col. 9): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 284 (col. 13): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 291 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 293 (col. 9): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 295 (col. 13): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 299 (col. 9): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 301 (col. 13): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
'Finished building: ../main.c'
|
|
||||||
' '
|
|
||||||
'Building target: Debug3.out'
|
|
||||||
'Invoking: MSP430 Linker'
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/bin/cl430" -vmspx --data_model=restricted --use_hw_mpy=F5 --advice:power=all -g --define=__MSP430F5438A__ --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal -z -m"Debug3.map" --stack_size=160 --heap_size=160 --cinit_hold_wdt=on -i"C:/ti/ccsv6/ccs_base/msp430/include" -i"C:/ti/ccsv6/ccs_base/msp430/lib/5xx_6xx_FRxx" -i"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/lib" -i"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include" --reread_libs --warn_sections --display_error_number --diag_wrap=off --xml_link_info="Debug3_linkInfo.xml" --use_hw_mpy=F5 --rom_model -o "Debug3.out" "./LTCspi.obj" "./RS232.obj" "./RTC.obj" "./RTCASMFunctions_CCE.obj" "./can0.obj" "./can1.obj" "./canspi.obj" "./clock_init.obj" "./io_init.obj" "./main.obj" "../lnk_msp430f5438a.cmd" -llibmath.a -llibc.a
|
|
||||||
<Linking>
|
|
||||||
remark #10371-D: (ULP 1.1) Detected no uses of low power mode state changing instructions
|
|
||||||
remark #10372-D: (ULP 4.1) Detected uninitialized Port F in this project. Recommend initializing all unused ports to eliminate wasted current consumption on unused pins.
|
|
||||||
'Finished building target: Debug3.out'
|
|
||||||
' '
|
|
||||||
|
|
||||||
**** Build Finished ****
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<section name="Workbench">
|
|
||||||
<item value="Default C header template" key="LastUsedHeaderTemplate"/>
|
|
||||||
<section name="completion_proposal_size">
|
|
||||||
</section>
|
|
||||||
<section name="org.eclipse.cdt.ui.text.hover.CMacroExpansionExploration">
|
|
||||||
</section>
|
|
||||||
</section>
|
|
||||||
@@ -1,87 +0,0 @@
|
|||||||
|
|
||||||
**** Build of configuration Debug for project Debug3 ****
|
|
||||||
|
|
||||||
"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
|
|
||||||
'Building file: ../main.c'
|
|
||||||
'Invoking: MSP430 Compiler'
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/bin/cl430" -vmspx --data_model=restricted --use_hw_mpy=F5 --include_path="C:/ti/ccsv6/ccs_base/msp430/include" --include_path="C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include" --advice:power=all -g --define=__MSP430F5438A__ --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="main.d" "../main.c"
|
|
||||||
"..\Sunseeker2021.h", line 33: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
|
|
||||||
"..\Sunseeker2021.h", line 35: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
|
|
||||||
"../main.c", line 100: warning #112-D: statement is unreachable
|
|
||||||
"..\RS232.h", line 6: remark #1535-D: (ULP 8.1) variable "RS232Cmd" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"..\RS232.h", line 7: remark #1535-D: (ULP 8.1) variable "RS232_Test1" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"..\RS232.h", line 8: remark #1535-D: (ULP 8.1) variable "RS232_Test2" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"..\RS232.h", line 9: remark #1535-D: (ULP 8.1) variable "Parse_header" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"..\Sunseeker2021.h", line 258: remark #1535-D: (ULP 8.1) variable "addr_lookup" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"..\Sunseeker2021.h", line 318: remark #1535-D: (ULP 8.1) variable "lut_blacklist" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"../main.c", line 37: remark #1535-D: (ULP 8.1) variable "ucMODE" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"../main.c", line 39: remark #1535-D: (ULP 8.1) variable "can_msg_count" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"../main.c", line 39: remark #1535-D: (ULP 8.1) variable "can_stall_cnt" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"../main.c", line 40: remark #1535-D: (ULP 8.1) variable "can_err_count" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"../main.c", line 40: remark #1535-D: (ULP 8.1) variable "can_read_cnt" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"../main.c", line 43: remark #1535-D: (ULP 8.1) variable "CAN1_INT_FLAG" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"../main.c", line 50: remark #1535-D: (ULP 8.1) variable "init_msg_data" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
|
|
||||||
"../main.c", line 50: warning #179-D: variable "init_msg_data" was declared but never referenced
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 203 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 204 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 205 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 206 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 207 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 208 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 210 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 211 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 212 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 213 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 214 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 215 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 216 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 217 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 218 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 220 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 221 (col. 11): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 222 (col. 11): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 224 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 225 (col. 11): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 226 (col. 11): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 228 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 229 (col. 11): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 230 (col. 11): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 232 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 233 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 234 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 235 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 236 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 237 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 243 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 244 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 245 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 246 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 247 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 248 (col. 10): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 257 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 259 (col. 9): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 261 (col. 13): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 265 (col. 9): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 267 (col. 13): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 274 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 276 (col. 9): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 278 (col. 13): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 282 (col. 9): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 284 (col. 13): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 291 (col. 27): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 293 (col. 9): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 295 (col. 13): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 299 (col. 9): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include/_defs.h", line 301 (col. 13): remark #1531-D: (ULP 5.2) Detected floating point operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive
|
|
||||||
'Finished building: ../main.c'
|
|
||||||
' '
|
|
||||||
'Building target: Debug3.out'
|
|
||||||
'Invoking: MSP430 Linker'
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/bin/cl430" -vmspx --data_model=restricted --use_hw_mpy=F5 --advice:power=all -g --define=__MSP430F5438A__ --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal -z -m"Debug3.map" --stack_size=160 --heap_size=160 --cinit_hold_wdt=on -i"C:/ti/ccsv6/ccs_base/msp430/include" -i"C:/ti/ccsv6/ccs_base/msp430/lib/5xx_6xx_FRxx" -i"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/lib" -i"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include" --reread_libs --warn_sections --display_error_number --diag_wrap=off --xml_link_info="Debug3_linkInfo.xml" --use_hw_mpy=F5 --rom_model -o "Debug3.out" "./LTCspi.obj" "./RS232.obj" "./RTC.obj" "./RTCASMFunctions_CCE.obj" "./can0.obj" "./can1.obj" "./canspi.obj" "./clock_init.obj" "./io_init.obj" "./main.obj" "../lnk_msp430f5438a.cmd" -llibmath.a -llibc.a
|
|
||||||
<Linking>
|
|
||||||
remark #10371-D: (ULP 1.1) Detected no uses of low power mode state changing instructions
|
|
||||||
remark #10372-D: (ULP 4.1) Detected uninitialized Port F in this project. Recommend initializing all unused ports to eliminate wasted current consumption on unused pins.
|
|
||||||
'Finished building target: Debug3.out'
|
|
||||||
' '
|
|
||||||
|
|
||||||
**** Build Finished ****
|
|
||||||
@@ -1,365 +0,0 @@
|
|||||||
/*
|
|
||||||
* Sunseeker Telemetry 2021
|
|
||||||
*
|
|
||||||
* Last modified May 2021 by B. Bazuin
|
|
||||||
*
|
|
||||||
* Main CLK : MCLK = XT2 = 20 MHz
|
|
||||||
* Sub-Main CLK : SMCLK = XT2/2 = 10 MHz
|
|
||||||
* Aux CLK : ACLK = XT1 = 32.768 kHz
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef SUNSEEKER2021_H_
|
|
||||||
#define SUNSEEKER2021_H_
|
|
||||||
|
|
||||||
#include <msp430x54xa.h>
|
|
||||||
|
|
||||||
#include <stdio.h>
|
|
||||||
|
|
||||||
void clock_init(void);
|
|
||||||
void timerB_init(void);
|
|
||||||
|
|
||||||
static inline void delay(void)
|
|
||||||
{
|
|
||||||
volatile int jj;
|
|
||||||
volatile int ii;
|
|
||||||
for (ii = 0; ii < 4; ii++)
|
|
||||||
{
|
|
||||||
for (jj = 0; jj < 1000; jj++)
|
|
||||||
{
|
|
||||||
asm(" nop"); //The space is necessary or else the assember things nop is a label!
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Event timing
|
|
||||||
#define SMCLK_RATE 10000000 // Hz
|
|
||||||
#define ACLK_RATE 32768 // Hz
|
|
||||||
#define TICK_RATE 16 // Hz
|
|
||||||
#define TELEM_STATUS_COUNT 16 // Number of ticks per event: 5 sec
|
|
||||||
#define HS_COMMS_SPEED 16*5 // Number of ticks per event: 5 sec
|
|
||||||
#define LS_COMMS_SPEED 16*10 // Number of ticks per event: 15 sec
|
|
||||||
#define ST_COMMS_SPEED 16*20 // Number of ticks per event: 60 sec
|
|
||||||
|
|
||||||
// Constant Definitions
|
|
||||||
#define TRUE 1
|
|
||||||
#define FALSE 0
|
|
||||||
|
|
||||||
#ifndef MODEM_BR1
|
|
||||||
#define MODEM_BR1 9600
|
|
||||||
#define MODEM_UCBRS1 0x04 // 2*ROUND(SMCLK_RATE/MODEM_BR-INT(SMCLK_RATE/MODEM_BR))*8
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef MODEM_BR2
|
|
||||||
#define MODEM_BR2 115200
|
|
||||||
#define MODEM_UCBRS2 0x0A // 2*ROUND(SMCLK_RATE/MODEM_BR-INT(SMCLK_RATE/MODEM_BR))*8
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef USB_BR
|
|
||||||
#define USB_BR 9600
|
|
||||||
#define USB_UCBRS 0x04 // 2*ROUND(SMCLK_RATE/UART_BR-INT(SMCLK_RATE/UART_BR))*8
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef UART_BR
|
|
||||||
#define UART_BR 19200
|
|
||||||
#define UART_UCBRS 0x0D // 2*ROUND(SMCLK_RATE/UART_BR-INT(SMCLK_RATE/UART_BR))*8
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "UART.h"
|
|
||||||
#include "MODEM.h"
|
|
||||||
#include "CAN.h"
|
|
||||||
//#include "PACKET.h"
|
|
||||||
//#include "char_FIFO.h"
|
|
||||||
#include "SPI.h"
|
|
||||||
#include "message_FIFO.h"
|
|
||||||
#include "RTC.h"
|
|
||||||
|
|
||||||
/******************** Pin Definitions *************************/
|
|
||||||
|
|
||||||
// PORT 1
|
|
||||||
#define P10 0x01
|
|
||||||
#define P11 0x02
|
|
||||||
#define P12 0x04
|
|
||||||
#define P13 0x08
|
|
||||||
#define P14 0x10
|
|
||||||
#define P15 0x20
|
|
||||||
#define RTC_MFP 0x40
|
|
||||||
#define IMU_INTn 0x80
|
|
||||||
#define P1_UNUSED 0x01 | 0x02 | 0x04 | 0x08 | 0x10 | 0x20
|
|
||||||
|
|
||||||
// PORT 2
|
|
||||||
#define CAN0_INTn 0x01
|
|
||||||
#define CAN0_RXB0n 0x02
|
|
||||||
#define CAN0_RXB1n 0x04
|
|
||||||
#define CAN1_INTn 0x08
|
|
||||||
#define CAN1_RXB0n 0x10
|
|
||||||
#define CAN1_RXB1n 0x20
|
|
||||||
#define GPS_INTn 0x40
|
|
||||||
#define P27 0x80
|
|
||||||
#define P2_UNUSED 0x80
|
|
||||||
|
|
||||||
// PORT 3
|
|
||||||
#define CAN0_SCLK 0x01
|
|
||||||
#define SDC_SIMO 0x02
|
|
||||||
#define SDC_SOMI 0x04
|
|
||||||
#define SDC_SCLK 0x08
|
|
||||||
#define CAN0_MOSI 0x10
|
|
||||||
#define CAN0_MISO 0x20
|
|
||||||
#define CAN1_CLK 0x40
|
|
||||||
#define IMU_SDA 0x80
|
|
||||||
#define P3_UNUSED 0x00
|
|
||||||
|
|
||||||
// PORT 4
|
|
||||||
#define CAN0_RSTn 0x01
|
|
||||||
#define CAN0_CSn 0x02
|
|
||||||
#define CAN1_RSTn 0x04
|
|
||||||
#define CAN1_CSn 0x08
|
|
||||||
#define SDC_WPn 0x10
|
|
||||||
#define SDC_CDn 0x20
|
|
||||||
#define P46 0x40
|
|
||||||
#define P47 0x80
|
|
||||||
#define P4_UNUSED 0x40 | 0x80
|
|
||||||
|
|
||||||
// PORT 5
|
|
||||||
#define P50 0x01
|
|
||||||
#define P51 0x02
|
|
||||||
#define XT2IN 0x04
|
|
||||||
#define XT2OUT 0x08
|
|
||||||
#define IMU_SCL 0x10
|
|
||||||
#define P55 0x20
|
|
||||||
#define CAN1_MOSI 0x40
|
|
||||||
#define CAN1_MISO 0x80
|
|
||||||
#define P5_UNUSED 0x01 | 0x02 | 0x20
|
|
||||||
|
|
||||||
// PORT 6
|
|
||||||
#define P60 0x01
|
|
||||||
#define P61 0x02
|
|
||||||
#define P62 0x04
|
|
||||||
#define P63 0x08
|
|
||||||
#define P64 0x10
|
|
||||||
#define P65 0x20
|
|
||||||
#define P66 0x40
|
|
||||||
#define P67 0x80
|
|
||||||
#define P6_UNUSED 0x01 | 0x02 | 0x04 | 0x08 | 0x10 | 0x20 | 0x40 | 0x80
|
|
||||||
|
|
||||||
// PORT 7
|
|
||||||
#define XT1IN 0x01
|
|
||||||
#define XT1OUT 0x02
|
|
||||||
#define P72 0x04
|
|
||||||
#define P73 0x08
|
|
||||||
#define P74 0x10
|
|
||||||
#define P75 0x20
|
|
||||||
#define P76 0x40
|
|
||||||
#define P77 0x80
|
|
||||||
#define P7_UNUSED 0x04 | 0x08 | 0x10 | 0x20 | 0x40 | 0x80
|
|
||||||
|
|
||||||
// PORT 8
|
|
||||||
#define P80 0x01
|
|
||||||
#define P81 0x02
|
|
||||||
#define P82 0x04
|
|
||||||
#define LEDG 0x08
|
|
||||||
#define LEDR 0x10
|
|
||||||
#define LEDY0 0x20
|
|
||||||
#define LEDY1 0x40
|
|
||||||
#define Button0 0x80
|
|
||||||
#define P8_UNUSED 0x01 | 0x02 | 0x04
|
|
||||||
|
|
||||||
// PORT 9
|
|
||||||
#define P90 0x01
|
|
||||||
#define RTC_SDA 0x02
|
|
||||||
#define RTC_SCL 0x04
|
|
||||||
#define P93 0x08
|
|
||||||
#define USB_TX 0x10
|
|
||||||
#define USB_RX 0x20
|
|
||||||
#define SDC_CSn 0x40
|
|
||||||
#define GPS_CSn 0x80
|
|
||||||
#define P9_UNUSED 0x40 | 0x80
|
|
||||||
|
|
||||||
// PORT 10
|
|
||||||
#define BT_CSn 0x01
|
|
||||||
#define BT_MOSI 0x02
|
|
||||||
#define BT_MISO 0x04
|
|
||||||
#define BT_SCLK 0x08
|
|
||||||
#define UART_TX 0x10
|
|
||||||
#define UART_RX 0x20
|
|
||||||
#define BT_EN 0x40
|
|
||||||
#define P107 0x80
|
|
||||||
#define P10_UNUSED 0x80
|
|
||||||
|
|
||||||
// PORT 11
|
|
||||||
#define ACLK_TEST 0x01
|
|
||||||
#define MCLK_TEST 0x02
|
|
||||||
#define SMCLK_TEST 0x04
|
|
||||||
|
|
||||||
// PORT J
|
|
||||||
#define JTAG_TDO 0x01
|
|
||||||
#define JTAG_TDI 0x02
|
|
||||||
#define JTAG_TMS 0x04
|
|
||||||
#define JTAG_TCK 0x08
|
|
||||||
|
|
||||||
// Motor controller CAN base address and packet offsets
|
|
||||||
#define MC_CAN_BASE1 0x400 // High = CAN1_SERIAL Number Low = 0x00004003 P=1s
|
|
||||||
#define MC_CAN_BASE2 0x420 // High = CAN1_SERIAL Number Low = 0x00004003 P=1s
|
|
||||||
#define MC_LIMITS 0x01 // High = CAN_Err,Active Motor Low = Error & Limit flags P=200ms
|
|
||||||
#define MC_BUS 0x02 // High = Bus Current Low = Bus Voltage P=200ms
|
|
||||||
#define MC_VELOCITY 0x03 // High = Velocity (m/s) Low = Velocity (rpm) P=200ms
|
|
||||||
#define MC_PHASE 0x04 // High = Phase C Current Low = Phase B Current P=200ms
|
|
||||||
#define MC_V_VECTOR 0x05 // High = Vd vector Low = Vq vector P=200ms
|
|
||||||
#define MC_I_VECTOR 0x06 // High = Id vector Low = Iq vector P=200ms
|
|
||||||
#define MC_BEMF_VECTOR 0x07 // High = BEMFd vector Low = BEMFq vector P=200ms
|
|
||||||
#define MC_RAIL1 0x08 // High = 15V Low = Reserved P=1s
|
|
||||||
#define MC_RAIL2 0x09 // High = 3.3V Low = 1.9V P=1s
|
|
||||||
//#define MC_FAN 0x0A // High = Reserved Low = Reserved P=
|
|
||||||
#define MC_TEMP1 0x0B // High = Heatsink Temp (case) Low = Motor Temp (internal) P=1s
|
|
||||||
#define MC_TEMP2 0x0C // High = Reserved Low = DSP Temp P=1s
|
|
||||||
//#define MC_TEMP3 0x0D // High = Outlet Temp Low = Capacitor Temp P=
|
|
||||||
#define MC_CUMULATIVE 0x0E // High = DC Bus AmpHours (A-Hr) Low = Odometer (m) P=1s
|
|
||||||
#define MC_SLIPSPEED 0x17 // High = Slip Speed (Hz ) Low = Reserved P=200ms
|
|
||||||
|
|
||||||
// Driver controls CAN base address and packet offsets
|
|
||||||
#define DC_CAN_BASE 0x500 // High = CAN1_SERIAL Number Low = "TRIb" string P=1s
|
|
||||||
#define DC_DRIVE 0x01 // High = Motor Current Setpoint Low = Motor Velocity Setpoint P=100ms
|
|
||||||
#define DC_POWER 0x02 // High = Bus Current Setpoint Low = Unused P=100ms
|
|
||||||
#define DC_RESET 0x03 // High = Unused Low = Unused P=
|
|
||||||
#define DC_SWITCH 0x04 // High = Switch position Low = Switch state change P=100ms
|
|
||||||
|
|
||||||
//Battery Protection System base address and packet offsets
|
|
||||||
#define BP_CAN_BASE 0x580 // High = "BPV1" string or nulls Low = CAN1_SERIAL Number P=10s
|
|
||||||
#define BP_VMAX 0x01 // High = Max. Voltage Value Low = Max. Voltage Cell Num. P=10s
|
|
||||||
#define BP_VMIN 0x02 // High = Min. Voltage Value Low = Min. Voltage Cell Num. P=10s
|
|
||||||
#define BP_TMAX 0x03 // High = Max. Temperature Low = Max. Temperature Cell P=10s
|
|
||||||
#define BP_PCDONE 0x04 // High = "BPV2" or "0000" string Low = CAN1_SERIAL Number P=When Ready
|
|
||||||
#define BP_ISH 0x05 // High = Shunt Current Low = Battery Voltage P=1s
|
|
||||||
|
|
||||||
//Battery Protection System base address and packet offsets
|
|
||||||
#define AC_CAN_BASE 0x5C0 // High = "ACV1" string or nulls Low = CAN1_SERIAL Number P=10s
|
|
||||||
#define AC_M1 0x01 // High = Array Voltage Average Low = Array Current Average P=10s
|
|
||||||
#define AC_M2 0x02 // High = Array Voltage Average Low = Array Current Average P=10s
|
|
||||||
#define AC_M3 0x03 // High = Array Voltage Average Low = Array Current Average P=10s
|
|
||||||
#define AC_ISH 0x04 // High = Shunt Current Low = Battery Voltage P=1s
|
|
||||||
#define AC_TMAX 0x05 // High = Max. Temperature Low = Max. Temperature MPPT P=10s
|
|
||||||
#define AC_TVAL1 0x06 // High = Temp AC1 Low = Temp AC2 P=10s
|
|
||||||
#define AC_TVAL2 0x06 // High = Temp AC3 Low = Reserved P=10s
|
|
||||||
#define AC_BP_CHARGE 0x07 // High = "ACV1" or "0000" string Low = CAN1_SERIAL Number P=When Charge
|
|
||||||
|
|
||||||
static int addr_lookup[LOOKUP_ROWS][5] = {
|
|
||||||
//address ASCII Offset MSG_REC position Packet(0-HF:1-LF:2-Status) Filter Priority
|
|
||||||
{MC_CAN_BASE1, 0, 0x0001, 3, 29}, //0-0x400 High = CAN1_SERIAL Number Low = "TRIa" string
|
|
||||||
{MC_CAN_BASE1 + MC_LIMITS, 0, 0x0001, 3, 15}, //1-0x01 High = Active Motor Low = Error & Limit flags
|
|
||||||
{MC_CAN_BASE1 + MC_BUS, 0, 0x0002, 0, 1}, //2-0x02 High = Bus Current Low = Bus Voltage
|
|
||||||
{MC_CAN_BASE1 + MC_VELOCITY, 1, 0x0004, 0, 2}, //3-0x03 High = Velocity (m/s) Low = Velocity (rpm)
|
|
||||||
{MC_CAN_BASE1 + MC_PHASE, 1, 0x0001, 3, 30}, //4-0x04 High = Phase A Current Low = Phase B Current
|
|
||||||
{MC_CAN_BASE1 + MC_V_VECTOR, 2, 0x0002, 3, 31}, //5-0x05 High = Vd vector Low = Vq vector
|
|
||||||
{MC_CAN_BASE1 + MC_I_VECTOR, 3, 0x0004, 3, 32}, //6-0x06 High = Id vector Low = Iq vector
|
|
||||||
{MC_CAN_BASE1 + MC_BEMF_VECTOR, 4, 0x0008, 3, 33}, //7-0x07 High = BEMFd vector Low = BEMFq vector
|
|
||||||
{MC_CAN_BASE1 + MC_RAIL1, 1, 0x0002, 3, 16}, //8-0x08 High = 15V Low = Reserved
|
|
||||||
{MC_CAN_BASE1 + MC_RAIL2, 2, 0x0004, 3, 17}, //9-0x09 High = 3.3V Low = 1.9V
|
|
||||||
{MC_CAN_BASE1 + MC_TEMP1, 0, 0x0001, 3, 7}, //10-0x0B High = Heatsink Temp Low = Motor Temp
|
|
||||||
{MC_CAN_BASE1 + MC_TEMP2, 1, 0x0002, 3, 8}, //11-0x0C High = Inlet Temp Low = CPU Temp
|
|
||||||
{MC_CAN_BASE1 + MC_CUMULATIVE, 3, 0x0008, 3, 18}, //12-x0E High = DC Bus AmpHours Low = Odometer
|
|
||||||
{MC_CAN_BASE1 + MC_SLIPSPEED, 5, 0x0010, 3, 34}, //13-0x17 High =Slip Speed (Hz) Low = Reserved
|
|
||||||
{MC_CAN_BASE2, 6, 0x0020, 3, 35}, //14-0x420 High = CAN1_SERIAL Number Low = "TRIa" string
|
|
||||||
{MC_CAN_BASE2 + MC_LIMITS, 4, 0x0010, 3, 19}, //15-0x01 High = Active Motor Low = Error & Limit flags
|
|
||||||
{MC_CAN_BASE2 + MC_BUS, 2, 0x0010, 0, 3}, //16-0x02 High = Bus Current Low = Bus Voltage
|
|
||||||
{MC_CAN_BASE2 + MC_VELOCITY, 3, 0x0020, 0, 4}, //17-0x03 High = Velocity (m/s) Low = Velocity (rpm)
|
|
||||||
{MC_CAN_BASE2 + MC_PHASE, 7, 0x0040, 3, 36}, //18-0x04 High = Phase A Current Low = Phase B Current
|
|
||||||
{MC_CAN_BASE2 + MC_V_VECTOR, 8, 0x0080, 3, 37}, //19-0x05 High = Vd vector Low = Vq vector
|
|
||||||
{MC_CAN_BASE2 + MC_I_VECTOR, 9, 0x0100, 3, 38}, //20-0x06 High = Id vector Low = Iq vector
|
|
||||||
{MC_CAN_BASE2 + MC_BEMF_VECTOR, 10, 0x0200, 3, 39}, //21-0x07 High = BEMFd vector Low = BEMFq vector
|
|
||||||
{MC_CAN_BASE2 + MC_RAIL1, 5, 0x0020, 3, 20}, //22-0x08 High = 15V Low = Reserved
|
|
||||||
{MC_CAN_BASE2 + MC_RAIL2, 6, 0x0040, 3, 21}, //23-0x09 High = 3.3V Low = 1.9V
|
|
||||||
{MC_CAN_BASE2 + MC_TEMP1, 2, 0x0004, 3, 9}, //24-0x0B High = Heatsink Temp Low = Motor Temp
|
|
||||||
{MC_CAN_BASE2 + MC_TEMP2, 3, 0x0008, 3, 10}, //25-0x0C High = Inlet Temp Low = CPU Temp
|
|
||||||
{MC_CAN_BASE2 + MC_CUMULATIVE, 7, 0x0080, 3, 22}, //26-0x0E High = DC Bus AmpHours Low = Odometer
|
|
||||||
{MC_CAN_BASE2 + MC_SLIPSPEED, 11, 0x0400, 3, 40}, //27-0x17 High =Slip Speed (Hz) Low = Reserved
|
|
||||||
{DC_CAN_BASE, 12, 0x0800, 3, 41}, //28-0x500 High = CAN1_SERIAL Number Low = "TRIb" string
|
|
||||||
{DC_CAN_BASE + DC_DRIVE, 4, 0x0800, 0, 23}, //29-0x01 High = Motor Current Setpoint Low = Motor Velocity Setpoint
|
|
||||||
{DC_CAN_BASE + DC_POWER, 9, 0x0200, 3, 24}, //30-0x02 High = Bus Current Setpoint Low = Unused
|
|
||||||
{DC_CAN_BASE + DC_RESET, 13, 0x1000, 3, 42}, //31-0x03 High = Unused Low = Unused
|
|
||||||
{DC_CAN_BASE + DC_SWITCH, 5, 0x0080, 0, 25}, //32-0x04 High = Switch position Low = Switch state change
|
|
||||||
{BP_CAN_BASE, 14, 0x2000, 3, 43}, //33-0x580 High = BPV2" string or nulls Low = CAN1_SERIAL Number
|
|
||||||
{BP_CAN_BASE + BP_VMAX, 6, 0x0010, 0, 11}, //34-0x01 High = Max Voltage Low = Cell Number
|
|
||||||
{BP_CAN_BASE + BP_VMIN, 7, 0x0020, 0, 12}, //35-0x02 High = Min Voltage Low = Cell Number
|
|
||||||
{BP_CAN_BASE + BP_TMAX, 8, 0x0040, 0, 13}, //36-0x03 High = Temp Max Low = Cell Number
|
|
||||||
{BP_CAN_BASE + BP_PCDONE, 15, 0x0200, 3, 44}, //37-0x04 High = "BPV1" string Low = CAN1_SERIAL Number
|
|
||||||
{BP_CAN_BASE + BP_ISH, 9, 0x0010, 0, 5}, //38-0x05 High = Shunt Current Low = Battery Voltage
|
|
||||||
{AC_CAN_BASE, 16, 0x8000, 3, 45}, //39-0x5C0 High = ACV1" string or nulls Low = CAN1_SERIAL Number
|
|
||||||
{AC_CAN_BASE + AC_M1, 11, 0x0800, 3, 26}, //40-0x01 High = Array Voltage Average Low = Array Current Average
|
|
||||||
{AC_CAN_BASE + AC_M2, 12, 0x1000, 3, 27}, //41-0x02 High = Array Voltage Average Low = Array Current Average
|
|
||||||
{AC_CAN_BASE + AC_M3, 13, 0x2000, 3, 28}, //42-0x03 High = Array Voltage Average Low = Array Current Average
|
|
||||||
{AC_CAN_BASE + AC_ISH, 5, 0x0020, 3, 6}, //43-0x04 High = Shunt Current Low = Battery Voltage
|
|
||||||
{AC_CAN_BASE + AC_TMAX, 7, 0x0080, 3, 14}, //44-0x05 High = Max. Temperature Low = Max. Temperature MPPT
|
|
||||||
{AC_CAN_BASE + AC_TVAL1, 17, 0x1000, 3, 46}, //45-0x03 High = Temp AC1 Low = Temp AC2
|
|
||||||
{AC_CAN_BASE + AC_TVAL2, 18, 0x2000, 3, 47}, //46-0x04 High = Temp AC3 Low = Reserved
|
|
||||||
{AC_CAN_BASE + AC_BP_CHARGE, 19, 0x4000, 3, 48}, //47-0x05 High = "ACV1" or "0000" string Low = CAN1_SERIAL Number
|
|
||||||
};
|
|
||||||
// removed
|
|
||||||
//{MC_CAN_BASE1 + MC_FAN, -, 0x----, -, --}, //xx-0x0A High = Fan speed (rpm) Low = Fan drive (%)
|
|
||||||
//{MC_CAN_BASE1 + MC_TEMP3, -, 0x----, -, --}, //xx-0x0D High = Outlet Temp Low = Capacitor Temp
|
|
||||||
//{MC_CAN_BASE2 + MC_FAN, -, 0x----, -, --}, //xx-0x0A High = Fan speed (rpm) Low = Fan drive (%)
|
|
||||||
//{MC_CAN_BASE2 + MC_TEMP3, -, 0x----, -, --}, //xx-0x0D High = Outlet Temp Low = Capacitor Temp
|
|
||||||
|
|
||||||
|
|
||||||
//static char lut_blacklist[] = {32,11,4,5,11,12,13,14,15,23,24,25,3,26,27,28};
|
|
||||||
//static char lut_blacklist[] = {44};
|
|
||||||
static char lut_blacklist[] = {49};
|
|
||||||
|
|
||||||
static char *name_lookup[NAME_LOOKUP_ROWS] = {
|
|
||||||
//name
|
|
||||||
"MC1BAS", //MC_CAN_BASE1_
|
|
||||||
"MC1LIM", //MC_CAN_BASE1 + MC_LIMITS
|
|
||||||
"MC1BUS", //MC_CAN_BASE1 + MC_BUS
|
|
||||||
"MC1VEL", //MC_CAN_BASE1 + MC_VELOCITY
|
|
||||||
"MC1PHA", //MC_CAN_BASE1 + MC_PHASE
|
|
||||||
"MC1VVC", //MC_CAN_BASE1 + MC_V_VECTOR
|
|
||||||
"MC1IVC", //MC_CAN_BASE1 + MC_I_VECTOR
|
|
||||||
"MC1BEM", //MC_CAN_BASE1 + MC_BEMF_VECTOR
|
|
||||||
"MC1RL1", //MC_CAN_BASE1 + MC_RAIL1
|
|
||||||
"MC1RL2", //MC_CAN_BASE1 + MC_RAIL2
|
|
||||||
"MC1TP1", //MC_CAN_BASE1 + MC_TEMP1
|
|
||||||
"MC1TP2", //MC_CAN_BASE1 + MC_TEMP2
|
|
||||||
"MC1CUM", //MC_CAN_BASE1 + MC_CUMULATIVE
|
|
||||||
"MC1SLS", //MC_CAN_BASE1 + MC_SLIPSPEED
|
|
||||||
"MC2BAS", //MC_CAN_BASE2
|
|
||||||
"MC2LIM", //MC_CAN_BASE2 + MC_LIMITS
|
|
||||||
"MC2BUS", //MC_CAN_BASE2 + MC_BUS
|
|
||||||
"MC2VEL", //MC_CAN_BASE2 + MC_VELOCITY
|
|
||||||
"MC2PHA", //MC_CAN_BASE2 + MC_PHASE
|
|
||||||
"MC2VVC", //MC_CAN_BASE2 + MC_V_VECTOR
|
|
||||||
"MC2IVC", //MC_CAN_BASE2 + MC_I_VECTOR
|
|
||||||
"MC2BEM", //MC_CAN_BASE2 + MC_BEMF_VECTOR
|
|
||||||
"MC2RL1", //MC_CAN_BASE2 + MC_RAIL1
|
|
||||||
"MC2RL2", //MC_CAN_BASE2 + MC_RAIL2
|
|
||||||
"MC2TP1", //MC_CAN_BASE2 + MC_TEMP1
|
|
||||||
"MC2TP2", //MC_CAN_BASE2 + MC_TEMP2
|
|
||||||
"MC2CUM", //MC_CAN_BASE2 + MC_CUMULATIVE
|
|
||||||
"MC2SLS", //MC_CAN_BASE2 + MC_SLIPSPEED
|
|
||||||
"DC_BAS", //DC_CAN_BASE
|
|
||||||
"DC_DRV", //DC_CAN_BASE + DC_DRIVE
|
|
||||||
"DC_POW", //DC_CAN_BASE + DC_POWER
|
|
||||||
"DC_RST", //DC_CAN_BASE + DC_RESET
|
|
||||||
"DC_SWC", //DC_CAN_BASE + DC_SWITCH
|
|
||||||
"BP_BAS", //BP_CAN_BASE
|
|
||||||
"BP_VMX", //BP_CAN_BASE + BP_VMAX
|
|
||||||
"BP_VMN", //BP_CAN_BASE + BP_VMIN
|
|
||||||
"BP_TMX", //BP_CAN_BASE + BP_TMAX
|
|
||||||
"BP_PCD", //BP_CAN_BASE + BP_PCDONE
|
|
||||||
"BP_ISH", //BP_CAN_BASE + BP_ISH
|
|
||||||
"AC_BAS", //AC_CAN_BASE
|
|
||||||
"AC_MP1", //AC_CAN_BASE + AC_M1
|
|
||||||
"AC_MP2", //AC_CAN_BASE + AC_M2
|
|
||||||
"AC_MP3", //AC_CAN_BASE + AC_M3
|
|
||||||
"AC_ISH", //AC_CAN_BASE + AC_ISH
|
|
||||||
"AC_TMX", //AC_CAN_BASE + AC_TMAX
|
|
||||||
"AC_TV1", //AC_CAN_BASE + AC_TVAL1
|
|
||||||
"AC_TV2", //AC_CAN_BASE + AC_TVAL2
|
|
||||||
"AC_BPC", //AC_CAN_BASE + AC_BP_CHARGE
|
|
||||||
};
|
|
||||||
|
|
||||||
// removed
|
|
||||||
// "MC1FAN", //MC_CAN_BASE1 + MC_FAN
|
|
||||||
// "MC1TP3", //MC_CAN_BASE1 + MC_TEMP3
|
|
||||||
// "MC2FAN", //MC_CAN_BASE2 + MC_FAN
|
|
||||||
//"MC2TP3", //MC_CAN_BASE2 + MC_TEMP3
|
|
||||||
|
|
||||||
#endif /* SUNSEEKER2021_H_ */
|
|
||||||
@@ -1,48 +0,0 @@
|
|||||||
################################################################################
|
|
||||||
# Automatically-generated file. Do not edit!
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
# Each subdirectory must supply rules for building sources it contributes
|
|
||||||
RS232.obj: ../RS232.c $(GEN_OPTS) | $(GEN_HDRS)
|
|
||||||
@echo 'Building file: $<'
|
|
||||||
@echo 'Invoking: MSP430 Compiler'
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/bin/cl430" -vmspx --data_model=restricted --use_hw_mpy=F5 --include_path="C:/ti/ccsv6/ccs_base/msp430/include" --include_path="C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include" --advice:power=all -g --define=__MSP430F5438A__ --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="RS232.d" $(GEN_OPTS__FLAG) "$<"
|
|
||||||
@echo 'Finished building: $<'
|
|
||||||
@echo ' '
|
|
||||||
|
|
||||||
can0.obj: ../can0.c $(GEN_OPTS) | $(GEN_HDRS)
|
|
||||||
@echo 'Building file: $<'
|
|
||||||
@echo 'Invoking: MSP430 Compiler'
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/bin/cl430" -vmspx --data_model=restricted --use_hw_mpy=F5 --include_path="C:/ti/ccsv6/ccs_base/msp430/include" --include_path="C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include" --advice:power=all -g --define=__MSP430F5438A__ --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="can0.d" $(GEN_OPTS__FLAG) "$<"
|
|
||||||
@echo 'Finished building: $<'
|
|
||||||
@echo ' '
|
|
||||||
|
|
||||||
can0spi.obj: ../can0spi.c $(GEN_OPTS) | $(GEN_HDRS)
|
|
||||||
@echo 'Building file: $<'
|
|
||||||
@echo 'Invoking: MSP430 Compiler'
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/bin/cl430" -vmspx --data_model=restricted --use_hw_mpy=F5 --include_path="C:/ti/ccsv6/ccs_base/msp430/include" --include_path="C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include" --advice:power=all -g --define=__MSP430F5438A__ --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="can0spi.d" $(GEN_OPTS__FLAG) "$<"
|
|
||||||
@echo 'Finished building: $<'
|
|
||||||
@echo ' '
|
|
||||||
|
|
||||||
clock_init.obj: ../clock_init.c $(GEN_OPTS) | $(GEN_HDRS)
|
|
||||||
@echo 'Building file: $<'
|
|
||||||
@echo 'Invoking: MSP430 Compiler'
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/bin/cl430" -vmspx --data_model=restricted --use_hw_mpy=F5 --include_path="C:/ti/ccsv6/ccs_base/msp430/include" --include_path="C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include" --advice:power=all -g --define=__MSP430F5438A__ --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="clock_init.d" $(GEN_OPTS__FLAG) "$<"
|
|
||||||
@echo 'Finished building: $<'
|
|
||||||
@echo ' '
|
|
||||||
|
|
||||||
io_init.obj: ../io_init.c $(GEN_OPTS) | $(GEN_HDRS)
|
|
||||||
@echo 'Building file: $<'
|
|
||||||
@echo 'Invoking: MSP430 Compiler'
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/bin/cl430" -vmspx --data_model=restricted --use_hw_mpy=F5 --include_path="C:/ti/ccsv6/ccs_base/msp430/include" --include_path="C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include" --advice:power=all -g --define=__MSP430F5438A__ --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="io_init.d" $(GEN_OPTS__FLAG) "$<"
|
|
||||||
@echo 'Finished building: $<'
|
|
||||||
@echo ' '
|
|
||||||
|
|
||||||
main.obj: ../main.c $(GEN_OPTS) | $(GEN_HDRS)
|
|
||||||
@echo 'Building file: $<'
|
|
||||||
@echo 'Invoking: MSP430 Compiler'
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/bin/cl430" -vmspx --data_model=restricted --use_hw_mpy=F5 --include_path="C:/ti/ccsv6/ccs_base/msp430/include" --include_path="C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include" --advice:power=all -g --define=__MSP430F5438A__ --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="main.d" $(GEN_OPTS__FLAG) "$<"
|
|
||||||
@echo 'Finished building: $<'
|
|
||||||
@echo ' '
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,166 +0,0 @@
|
|||||||
################################################################################
|
|
||||||
# Automatically-generated file. Do not edit!
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
SHELL = cmd.exe
|
|
||||||
|
|
||||||
CG_TOOL_ROOT := C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS
|
|
||||||
|
|
||||||
GEN_OPTS__FLAG :=
|
|
||||||
GEN_CMDS__FLAG :=
|
|
||||||
|
|
||||||
ORDERED_OBJS += \
|
|
||||||
"./clock_init.obj" \
|
|
||||||
"./main.obj" \
|
|
||||||
"../lnk_msp430f5438a.cmd" \
|
|
||||||
$(GEN_CMDS__FLAG) \
|
|
||||||
-llibmath.a \
|
|
||||||
-llibc.a \
|
|
||||||
|
|
||||||
-include ../makefile.init
|
|
||||||
|
|
||||||
RM := DEL /F
|
|
||||||
RMDIR := RMDIR /S/Q
|
|
||||||
|
|
||||||
# All of the sources participating in the build are defined here
|
|
||||||
-include sources.mk
|
|
||||||
-include subdir_vars.mk
|
|
||||||
-include subdir_rules.mk
|
|
||||||
-include objects.mk
|
|
||||||
|
|
||||||
ifneq ($(MAKECMDGOALS),clean)
|
|
||||||
ifneq ($(strip $(S_DEPS)),)
|
|
||||||
-include $(S_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(S_UPPER_DEPS)),)
|
|
||||||
-include $(S_UPPER_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(S62_DEPS)),)
|
|
||||||
-include $(S62_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(C64_DEPS)),)
|
|
||||||
-include $(C64_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(ASM_DEPS)),)
|
|
||||||
-include $(ASM_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(CC_DEPS)),)
|
|
||||||
-include $(CC_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(SV7A_DEPS)),)
|
|
||||||
-include $(SV7A_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(S55_DEPS)),)
|
|
||||||
-include $(S55_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(C67_DEPS)),)
|
|
||||||
-include $(C67_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(CLA_DEPS)),)
|
|
||||||
-include $(CLA_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(C??_DEPS)),)
|
|
||||||
-include $(C??_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(CPP_DEPS)),)
|
|
||||||
-include $(CPP_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(S??_DEPS)),)
|
|
||||||
-include $(S??_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(C_DEPS)),)
|
|
||||||
-include $(C_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(C62_DEPS)),)
|
|
||||||
-include $(C62_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(CXX_DEPS)),)
|
|
||||||
-include $(CXX_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(C++_DEPS)),)
|
|
||||||
-include $(C++_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(ASM_UPPER_DEPS)),)
|
|
||||||
-include $(ASM_UPPER_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(K_DEPS)),)
|
|
||||||
-include $(K_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(C43_DEPS)),)
|
|
||||||
-include $(C43_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(INO_DEPS)),)
|
|
||||||
-include $(INO_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(S67_DEPS)),)
|
|
||||||
-include $(S67_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(SA_DEPS)),)
|
|
||||||
-include $(SA_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(S43_DEPS)),)
|
|
||||||
-include $(S43_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(OPT_DEPS)),)
|
|
||||||
-include $(OPT_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(PDE_DEPS)),)
|
|
||||||
-include $(PDE_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(S64_DEPS)),)
|
|
||||||
-include $(S64_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(C_UPPER_DEPS)),)
|
|
||||||
-include $(C_UPPER_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(C55_DEPS)),)
|
|
||||||
-include $(C55_DEPS)
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
-include ../makefile.defs
|
|
||||||
|
|
||||||
# Add inputs and outputs from these tool invocations to the build variables
|
|
||||||
EXE_OUTPUTS += \
|
|
||||||
Debug1.out \
|
|
||||||
|
|
||||||
EXE_OUTPUTS__QUOTED += \
|
|
||||||
"Debug1.out" \
|
|
||||||
|
|
||||||
BIN_OUTPUTS += \
|
|
||||||
Debug1.hex \
|
|
||||||
|
|
||||||
BIN_OUTPUTS__QUOTED += \
|
|
||||||
"Debug1.hex" \
|
|
||||||
|
|
||||||
|
|
||||||
# All Target
|
|
||||||
all: Debug1.out
|
|
||||||
|
|
||||||
# Tool invocations
|
|
||||||
Debug1.out: $(OBJS) $(CMD_SRCS) $(GEN_CMDS)
|
|
||||||
@echo 'Building target: $@'
|
|
||||||
@echo 'Invoking: MSP430 Linker'
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/bin/cl430" -vmspx --data_model=restricted --use_hw_mpy=F5 --advice:power=all -g --define=__MSP430F5438A__ --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal -z -m"Debug1.map" --stack_size=160 --heap_size=160 --cinit_hold_wdt=on -i"C:/ti/ccsv6/ccs_base/msp430/include" -i"C:/ti/ccsv6/ccs_base/msp430/lib/5xx_6xx_FRxx" -i"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/lib" -i"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include" --reread_libs --warn_sections --display_error_number --diag_wrap=off --xml_link_info="Debug1_linkInfo.xml" --use_hw_mpy=F5 --rom_model -o "Debug1.out" $(ORDERED_OBJS)
|
|
||||||
@echo 'Finished building target: $@'
|
|
||||||
@echo ' '
|
|
||||||
|
|
||||||
Debug1.hex: $(EXE_OUTPUTS)
|
|
||||||
@echo 'Invoking: MSP430 Hex Utility'
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/bin/hex430" --memwidth=8 --romwidth=8 -o "Debug1.hex" $(EXE_OUTPUTS__QUOTED)
|
|
||||||
@echo 'Finished building: $@'
|
|
||||||
@echo ' '
|
|
||||||
|
|
||||||
# Other Targets
|
|
||||||
clean:
|
|
||||||
-$(RM) $(EXE_OUTPUTS__QUOTED)$(BIN_OUTPUTS__QUOTED)
|
|
||||||
-$(RM) "clock_init.d" "main.d"
|
|
||||||
-$(RM) "clock_init.obj" "main.obj"
|
|
||||||
-@echo 'Finished clean'
|
|
||||||
-@echo ' '
|
|
||||||
|
|
||||||
.PHONY: all clean dependents
|
|
||||||
.SECONDARY:
|
|
||||||
|
|
||||||
-include ../makefile.targets
|
|
||||||
|
|
||||||
@@ -1,51 +0,0 @@
|
|||||||
################################################################################
|
|
||||||
# Automatically-generated file. Do not edit!
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
# Add inputs and outputs from these tool invocations to the build variables
|
|
||||||
CMD_SRCS += \
|
|
||||||
../lnk_msp430f5438a.cmd
|
|
||||||
|
|
||||||
C_SRCS += \
|
|
||||||
../can.c \
|
|
||||||
../canspi.c \
|
|
||||||
../clock_init.c \
|
|
||||||
../io_init.c \
|
|
||||||
../main.c
|
|
||||||
|
|
||||||
OBJS += \
|
|
||||||
./can.obj \
|
|
||||||
./canspi.obj \
|
|
||||||
./clock_init.obj \
|
|
||||||
./io_init.obj \
|
|
||||||
./main.obj
|
|
||||||
|
|
||||||
C_DEPS += \
|
|
||||||
./can.d \
|
|
||||||
./canspi.d \
|
|
||||||
./clock_init.d \
|
|
||||||
./io_init.d \
|
|
||||||
./main.d
|
|
||||||
|
|
||||||
C_DEPS__QUOTED += \
|
|
||||||
"can.d" \
|
|
||||||
"canspi.d" \
|
|
||||||
"clock_init.d" \
|
|
||||||
"io_init.d" \
|
|
||||||
"main.d"
|
|
||||||
|
|
||||||
OBJS__QUOTED += \
|
|
||||||
"can.obj" \
|
|
||||||
"canspi.obj" \
|
|
||||||
"clock_init.obj" \
|
|
||||||
"io_init.obj" \
|
|
||||||
"main.obj"
|
|
||||||
|
|
||||||
C_SRCS__QUOTED += \
|
|
||||||
"../can.c" \
|
|
||||||
"../canspi.c" \
|
|
||||||
"../clock_init.c" \
|
|
||||||
"../io_init.c" \
|
|
||||||
"../main.c"
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,127 +0,0 @@
|
|||||||
/*
|
|
||||||
* Clock Initialization Code MSP430F5438A
|
|
||||||
* Initialize Clock Source XT1 @ 32768 Hz
|
|
||||||
* Initialize Clock Source XT2 @ 16MHz
|
|
||||||
*
|
|
||||||
* Sunseeker BPS 2015
|
|
||||||
*
|
|
||||||
* Last modified October 2015 by Scott Haver
|
|
||||||
*
|
|
||||||
* Main CLK : MCLK = XT2 = 16 MHz
|
|
||||||
* Sub-Main CLK : SMCLK = XT2/2 = 8 MHz
|
|
||||||
* Aux CLK : ACLK = XT1 = 32.768 kHz
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
void Port_Init(void);
|
|
||||||
void Clock_XT1_Init(void);
|
|
||||||
void Clock_XT2_Init(void);
|
|
||||||
void SetVCoreUp(unsigned int level);
|
|
||||||
|
|
||||||
|
|
||||||
void clock_init(void)
|
|
||||||
{
|
|
||||||
WDTCTL = WDTPW + WDTHOLD; //Stop watchdog timer
|
|
||||||
|
|
||||||
Port_Init(); //ensure clock pins are configured
|
|
||||||
|
|
||||||
SetVCoreUp(1); //Configure MCU core voltage for HF clock
|
|
||||||
SetVCoreUp(2); //
|
|
||||||
SetVCoreUp(3); //
|
|
||||||
|
|
||||||
Clock_XT1_Init(); //LF clock source init
|
|
||||||
Clock_XT2_Init(); //HF clock source init
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
void Port_Init(void)
|
|
||||||
{
|
|
||||||
//Clock Source TEST PINS ACLK/MCLK/SMCLK
|
|
||||||
P11DIR |= (1 << 0) | (1 << 1) | (1 << 2); //set P11.0:P11.2 as output ACLK/MCLK/SMCLK
|
|
||||||
P11SEL |= (1 << 0) | (1 << 1) | (1 << 2); //set P11.0:P11.2 as ACLK/MCLK/SMCLK function
|
|
||||||
|
|
||||||
//XT1 ALTERNATE PIN CONFIG
|
|
||||||
P7SEL |= (1 << 0) | (1 << 1); //set P7.0 & P7.1 as XT1IN/XT1OUT periph
|
|
||||||
P7DIR |= (1 << 0) | (1 << 1);
|
|
||||||
|
|
||||||
//XT2 ALTERNATE PIN CONFIG
|
|
||||||
P5SEL |= (1 << 2) | (1 << 3); //set P5.2 & P5.3 as XT2IN/XT2OUT periph
|
|
||||||
P5DIR |= (1 << 2) | (1 << 3);
|
|
||||||
}
|
|
||||||
|
|
||||||
void Clock_XT1_Init(void)
|
|
||||||
{
|
|
||||||
char i;
|
|
||||||
|
|
||||||
//XT1 CLOCK CONFIG
|
|
||||||
UCSCTL6 &= ~(XT1OFF); //Enable XT1
|
|
||||||
UCSCTL6 &= ~(XT1DRIVE1 | XT1DRIVE0); //lowest drive current LF 32KHz oscillator
|
|
||||||
|
|
||||||
do
|
|
||||||
{
|
|
||||||
UCSCTL7 &= ~(XT2OFFG + XT1LFOFFG + XT1HFOFFG + DCOFFG);//Clear XT2,XT1,DCO fault flags
|
|
||||||
SFRIFG1 &= ~OFIFG; //Clear fault flags
|
|
||||||
for(i=255;i>0;i--); //Delay for Osc to stabilize
|
|
||||||
}
|
|
||||||
while ((SFRIFG1 & OFIFG) != 0); //Test oscillator fault flag
|
|
||||||
|
|
||||||
UCSCTL4 |= SELA__XT1CLK; //Clock Source ACLK = XT1 = 32kHz
|
|
||||||
UCSCTL5 |= DIVA_0; //Divide ACLK/1 = 32kHz
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
void Clock_XT2_Init(void)
|
|
||||||
{
|
|
||||||
char i;
|
|
||||||
|
|
||||||
//XT2 CLOCK CONFIG
|
|
||||||
UCSCTL6 &= ~(XT2OFF); //Enable XT2
|
|
||||||
UCSCTL6 |= XT2DRIVE_3; //Drive current 16-24 MHz Clock
|
|
||||||
UCSCTL6 &= ~XT2BYPASS; //XT2 Sourced Externally from pin - 16MHz
|
|
||||||
|
|
||||||
do
|
|
||||||
{
|
|
||||||
UCSCTL7 &= ~(XT2OFFG + XT1LFOFFG + XT1HFOFFG + DCOFFG);//Clear XT2,XT1,DCO fault flags
|
|
||||||
SFRIFG1 &= ~OFIFG; //Clear fault flags
|
|
||||||
for(i=255;i>0;i--); //Delay for Osc to stabilize
|
|
||||||
}
|
|
||||||
while ((SFRIFG1 & OFIFG) != 0); //Test oscillator fault flag
|
|
||||||
|
|
||||||
UCSCTL4 |= (SELS__XT2CLK | SELM__XT2CLK);//Clock Source SMCLK=MCLK = XT2 = 16MHz
|
|
||||||
UCSCTL5 |= DIVM_0 | DIVS_1; //MCLK:XT2/1 = 16MHz SMCLK:XT2/2 = 8MHz
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/*************************************************************
|
|
||||||
/ Name: SetVCoreUp
|
|
||||||
/ IN: int Level
|
|
||||||
/ OUT: void
|
|
||||||
/ DESC: This function is used to set the voltage of the VCORE to
|
|
||||||
/ The level specified in input
|
|
||||||
/ Reference: Users Guide page 74
|
|
||||||
************************************************************/
|
|
||||||
void SetVCoreUp (unsigned int level)
|
|
||||||
{
|
|
||||||
// Open PMM registers for write access
|
|
||||||
PMMCTL0_H = 0xA5;
|
|
||||||
// Set SVS/SVM high side new level
|
|
||||||
SVSMHCTL = SVSHE + SVSHRVL0 * level + SVMHE + SVSMHRRL0 * level;
|
|
||||||
// Set SVM low side to new level
|
|
||||||
SVSMLCTL = SVSLE + SVMLE + SVSMLRRL0 * level;
|
|
||||||
// Wait till SVM is settled
|
|
||||||
while ((PMMIFG & SVSMLDLYIFG) == 0);
|
|
||||||
// Clear already set flags
|
|
||||||
PMMIFG &= ~(SVMLVLRIFG + SVMLIFG);
|
|
||||||
// Set VCore to new level
|
|
||||||
PMMCTL0_L = PMMCOREV0 * level;
|
|
||||||
// Wait till new level reached
|
|
||||||
if ((PMMIFG & SVMLIFG))
|
|
||||||
while ((PMMIFG & SVMLVLRIFG) == 0);
|
|
||||||
// Set SVS/SVM low side to new level
|
|
||||||
SVSMLCTL = SVSLE + SVSLRVL0 * level + SVMLE + SVSMLRRL0 * level;
|
|
||||||
// Wait till SVM is settled
|
|
||||||
while ((PMMIFG & SVSMLDLYIFG) == 0);
|
|
||||||
// Lock PMM registers for write access
|
|
||||||
PMMCTL0_H = 0x00;
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,33 +0,0 @@
|
|||||||
################################################################################
|
|
||||||
# Automatically-generated file. Do not edit!
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
# Add inputs and outputs from these tool invocations to the build variables
|
|
||||||
CMD_SRCS += \
|
|
||||||
../lnk_msp430f5438a.cmd
|
|
||||||
|
|
||||||
C_SRCS += \
|
|
||||||
../clock_init.c \
|
|
||||||
../main.c
|
|
||||||
|
|
||||||
OBJS += \
|
|
||||||
./clock_init.obj \
|
|
||||||
./main.obj
|
|
||||||
|
|
||||||
C_DEPS += \
|
|
||||||
./clock_init.d \
|
|
||||||
./main.d
|
|
||||||
|
|
||||||
C_DEPS__QUOTED += \
|
|
||||||
"clock_init.d" \
|
|
||||||
"main.d"
|
|
||||||
|
|
||||||
OBJS__QUOTED += \
|
|
||||||
"clock_init.obj" \
|
|
||||||
"main.obj"
|
|
||||||
|
|
||||||
C_SRCS__QUOTED += \
|
|
||||||
"../clock_init.c" \
|
|
||||||
"../main.c"
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,23 +0,0 @@
|
|||||||
#include <msp430.h>
|
|
||||||
|
|
||||||
/*
|
|
||||||
* main.c
|
|
||||||
*/
|
|
||||||
int main(void) {
|
|
||||||
WDTCTL = WDTPW | WDTHOLD; // Stop watchdog timer
|
|
||||||
P8DIR |= BIT3; // P1.0 output
|
|
||||||
P8DIR |= BIT4; // P1.0 output
|
|
||||||
P8DIR |= BIT5; // P1.0 output
|
|
||||||
P8DIR |= BIT6; // P1.0 output
|
|
||||||
P11DIR |= 0x07; // ACLK, MCLK, SMCLK set out to pins
|
|
||||||
P11SEL |= 0x07; // P11.0,1,2 for debugging purposes.
|
|
||||||
|
|
||||||
while(1)
|
|
||||||
{
|
|
||||||
P8OUT ^= BIT3; // Toggle P1.0
|
|
||||||
P8OUT ^= BIT7; // Toggle P1.0
|
|
||||||
__delay_cycles(60000); // Delay
|
|
||||||
}
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
@@ -1,115 +0,0 @@
|
|||||||
################################################################################
|
|
||||||
# Automatically-generated file. Do not edit!
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
O_SRCS :=
|
|
||||||
CPP_SRCS :=
|
|
||||||
K_SRCS :=
|
|
||||||
LD_SRCS :=
|
|
||||||
S67_SRCS :=
|
|
||||||
LDS_SRCS :=
|
|
||||||
CMD_SRCS :=
|
|
||||||
EXE_SRCS :=
|
|
||||||
CXX_SRCS :=
|
|
||||||
CMD_UPPER_SRCS :=
|
|
||||||
ELF_SRCS :=
|
|
||||||
C43_SRCS :=
|
|
||||||
S55_SRCS :=
|
|
||||||
LD_UPPER_SRCS :=
|
|
||||||
C62_SRCS :=
|
|
||||||
S_UPPER_SRCS :=
|
|
||||||
A_SRCS :=
|
|
||||||
SA_SRCS :=
|
|
||||||
C55_SRCS :=
|
|
||||||
LDS_UPPER_SRCS :=
|
|
||||||
C_UPPER_SRCS :=
|
|
||||||
OUT_SRCS :=
|
|
||||||
INO_SRCS :=
|
|
||||||
OBJ_SRCS :=
|
|
||||||
S62_SRCS :=
|
|
||||||
LIB_SRCS :=
|
|
||||||
PDE_SRCS :=
|
|
||||||
SV7A_SRCS :=
|
|
||||||
ASM_SRCS :=
|
|
||||||
ASM_UPPER_SRCS :=
|
|
||||||
C++_SRCS :=
|
|
||||||
CLA_SRCS :=
|
|
||||||
S??_SRCS :=
|
|
||||||
C_SRCS :=
|
|
||||||
C67_SRCS :=
|
|
||||||
S_SRCS :=
|
|
||||||
S43_SRCS :=
|
|
||||||
OPT_SRCS :=
|
|
||||||
C64_SRCS :=
|
|
||||||
CC_SRCS :=
|
|
||||||
C??_SRCS :=
|
|
||||||
S64_SRCS :=
|
|
||||||
OBJS :=
|
|
||||||
BIN_OUTPUTS :=
|
|
||||||
S_DEPS :=
|
|
||||||
S_UPPER_DEPS :=
|
|
||||||
S62_DEPS :=
|
|
||||||
C64_DEPS :=
|
|
||||||
ASM_DEPS :=
|
|
||||||
CC_DEPS :=
|
|
||||||
SV7A_DEPS :=
|
|
||||||
S55_DEPS :=
|
|
||||||
C67_DEPS :=
|
|
||||||
CLA_DEPS :=
|
|
||||||
C??_DEPS :=
|
|
||||||
CPP_DEPS :=
|
|
||||||
S??_DEPS :=
|
|
||||||
C_DEPS :=
|
|
||||||
C62_DEPS :=
|
|
||||||
EXE_OUTPUTS :=
|
|
||||||
CXX_DEPS :=
|
|
||||||
C++_DEPS :=
|
|
||||||
ASM_UPPER_DEPS :=
|
|
||||||
K_DEPS :=
|
|
||||||
C43_DEPS :=
|
|
||||||
INO_DEPS :=
|
|
||||||
S67_DEPS :=
|
|
||||||
SA_DEPS :=
|
|
||||||
S43_DEPS :=
|
|
||||||
OPT_DEPS :=
|
|
||||||
PDE_DEPS :=
|
|
||||||
S64_DEPS :=
|
|
||||||
C_UPPER_DEPS :=
|
|
||||||
C55_DEPS :=
|
|
||||||
CPP_DEPS__QUOTED :=
|
|
||||||
C67_DEPS__QUOTED :=
|
|
||||||
INO_DEPS__QUOTED :=
|
|
||||||
C??_DEPS__QUOTED :=
|
|
||||||
S_UPPER_DEPS__QUOTED :=
|
|
||||||
CLA_DEPS__QUOTED :=
|
|
||||||
ASM_UPPER_DEPS__QUOTED :=
|
|
||||||
C62_DEPS__QUOTED :=
|
|
||||||
CXX_DEPS__QUOTED :=
|
|
||||||
EXE_OUTPUTS__QUOTED :=
|
|
||||||
S67_DEPS__QUOTED :=
|
|
||||||
BIN_OUTPUTS__QUOTED :=
|
|
||||||
C_DEPS__QUOTED :=
|
|
||||||
C_UPPER_DEPS__QUOTED :=
|
|
||||||
OPT_DEPS__QUOTED :=
|
|
||||||
S_DEPS__QUOTED :=
|
|
||||||
K_DEPS__QUOTED :=
|
|
||||||
S??_DEPS__QUOTED :=
|
|
||||||
C64_DEPS__QUOTED :=
|
|
||||||
C++_DEPS__QUOTED :=
|
|
||||||
OBJS__QUOTED :=
|
|
||||||
CC_DEPS__QUOTED :=
|
|
||||||
S43_DEPS__QUOTED :=
|
|
||||||
S55_DEPS__QUOTED :=
|
|
||||||
SA_DEPS__QUOTED :=
|
|
||||||
C55_DEPS__QUOTED :=
|
|
||||||
PDE_DEPS__QUOTED :=
|
|
||||||
C43_DEPS__QUOTED :=
|
|
||||||
S62_DEPS__QUOTED :=
|
|
||||||
ASM_DEPS__QUOTED :=
|
|
||||||
SV7A_DEPS__QUOTED :=
|
|
||||||
S64_DEPS__QUOTED :=
|
|
||||||
|
|
||||||
# Every subdirectory with source files must be described here
|
|
||||||
SUBDIRS := \
|
|
||||||
. \
|
|
||||||
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
################################################################################
|
|
||||||
# Automatically-generated file. Do not edit!
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
# Each subdirectory must supply rules for building sources it contributes
|
|
||||||
main.obj: ../main.c $(GEN_OPTS) | $(GEN_HDRS)
|
|
||||||
@echo 'Building file: $<'
|
|
||||||
@echo 'Invoking: MSP430 Compiler'
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/bin/cl430" -vmspx --data_model=restricted --use_hw_mpy=F5 --include_path="C:/ti/ccsv6/ccs_base/msp430/include" --include_path="C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include" --advice:power=all -g --define=__MSP430F5438A__ --diag_warning=225 --display_error_number --diag_wrap=off --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="main.d" $(GEN_OPTS__FLAG) "$<"
|
|
||||||
@echo 'Finished building: $<'
|
|
||||||
@echo ' '
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,319 +0,0 @@
|
|||||||
/*
|
|
||||||
* Tritium MCP2515 CAN interface header
|
|
||||||
* Copyright (c) 2006, Tritium Pty Ltd. All rights reserved.
|
|
||||||
*
|
|
||||||
* 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 Tritium Pty Ltd nor the names of its contributors may be used to endorse or promote products
|
|
||||||
* derived from this software without specific prior written permission.
|
|
||||||
*
|
|
||||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
|
||||||
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
|
||||||
* IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
|
|
||||||
* OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
|
||||||
* OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
||||||
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
|
|
||||||
* OF SUCH DAMAGE.
|
|
||||||
*
|
|
||||||
* Last Modified: J.Kennedy, Tritium Pty Ltd, 18 December 2006
|
|
||||||
*
|
|
||||||
* - Implements the following CAN interface functions
|
|
||||||
* - can_init
|
|
||||||
* - can_transmit
|
|
||||||
* - can_receive
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef CAN_H_
|
|
||||||
#define CAN_H_
|
|
||||||
|
|
||||||
// Public Function prototypes
|
|
||||||
extern void canspi_init( void );
|
|
||||||
extern void canspi_transmit( unsigned char data );
|
|
||||||
extern unsigned char canspi_exchange( unsigned char data );
|
|
||||||
|
|
||||||
// Public function prototypes
|
|
||||||
extern void can_init( void );
|
|
||||||
extern int can_transmit( void );
|
|
||||||
extern void can_receive( void );
|
|
||||||
extern void can_flag_check( void );
|
|
||||||
|
|
||||||
|
|
||||||
// Public variables
|
|
||||||
|
|
||||||
// Typedefs for quickly joining multiple bytes/ints/etc into larger values
|
|
||||||
// These rely on byte ordering in CPU & memory - i.e. they're not portable across architectures
|
|
||||||
typedef union _group_64 {
|
|
||||||
float data_fp[2];
|
|
||||||
unsigned char data_u8[8];
|
|
||||||
unsigned int data_u16[4];
|
|
||||||
unsigned long data_u32[2];
|
|
||||||
} group_64;
|
|
||||||
|
|
||||||
typedef union _group_32 {
|
|
||||||
float data_fp;
|
|
||||||
unsigned char data_u8[4];
|
|
||||||
unsigned int data_u16[2];
|
|
||||||
unsigned long data_u32;
|
|
||||||
} group_32;
|
|
||||||
|
|
||||||
typedef union _group_16 {
|
|
||||||
unsigned char data_u8[2];
|
|
||||||
unsigned int data_u16;
|
|
||||||
} group_16;
|
|
||||||
|
|
||||||
typedef struct _can_variables
|
|
||||||
{
|
|
||||||
unsigned int status;
|
|
||||||
unsigned int address;
|
|
||||||
group_64 data;
|
|
||||||
} can_variables;
|
|
||||||
|
|
||||||
extern can_variables can;
|
|
||||||
|
|
||||||
// Private function prototypes
|
|
||||||
void can_reset( void );
|
|
||||||
void can_read( unsigned char address, unsigned char *ptr, unsigned char bytes );
|
|
||||||
void can_read_rx( unsigned char address, unsigned char *ptr );
|
|
||||||
void can_write( unsigned char address, unsigned char *ptr, unsigned char bytes );
|
|
||||||
void can_write_tx( unsigned char address, unsigned char *ptr );
|
|
||||||
void can_rts( unsigned char address );
|
|
||||||
unsigned char can_read_status( void );
|
|
||||||
unsigned char can_read_filter( void );
|
|
||||||
void can_mod( unsigned char address, unsigned char mask, unsigned char data );
|
|
||||||
|
|
||||||
// SPI port interface macros
|
|
||||||
#define can_select P4OUT &= ~CAN0_CSn
|
|
||||||
#define can_deselect P4OUT |= CAN0_CSn
|
|
||||||
|
|
||||||
// Device serial number
|
|
||||||
#define DEVICE_SERIAL 0x00000001
|
|
||||||
|
|
||||||
// Status values (for message reception)
|
|
||||||
#define CAN_ERROR 0xFFFF
|
|
||||||
#define CAN_MERROR 0xFFFE
|
|
||||||
#define CAN_WAKE 0xFFFD
|
|
||||||
#define CAN_RTR 0xFFFC
|
|
||||||
#define CAN_FERROR 0xFFF0
|
|
||||||
#define CAN_OK 0x0001
|
|
||||||
|
|
||||||
// Motor controller CAN base address and packet offsets
|
|
||||||
#define MC_CAN_BASE1 0x400 // High = CAN1_SERIAL Number Low = 0x00004003 P=1s
|
|
||||||
#define MC_CAN_BASE2 0x420 // High = CAN1_SERIAL Number Low = 0x00004003 P=1s
|
|
||||||
#define MC_LIMITS 0x01 // High = CAN_Err,Active Motor Low = Error & Limit flags P=200ms
|
|
||||||
#define MC_BUS 0x02 // High = Bus Current Low = Bus Voltage P=200ms
|
|
||||||
#define MC_VELOCITY 0x03 // High = Velocity (m/s) Low = Velocity (rpm) P=200ms
|
|
||||||
#define MC_PHASE 0x04 // High = Phase C Current Low = Phase B Current P=200ms
|
|
||||||
#define MC_V_VECTOR 0x05 // High = Vd vector Low = Vq vector P=200ms
|
|
||||||
#define MC_I_VECTOR 0x06 // High = Id vector Low = Iq vector P=200ms
|
|
||||||
#define MC_BEMF_VECTOR 0x07 // High = BEMFd vector Low = BEMFq vector P=200ms
|
|
||||||
#define MC_RAIL1 0x08 // High = 15V Low = Reserved P=1s
|
|
||||||
#define MC_RAIL2 0x09 // High = 3.3V Low = 1.9V P=1s
|
|
||||||
//#define MC_FAN 0x0A // High = Reserved Low = Reserved P=
|
|
||||||
#define MC_TEMP1 0x0B // High = Heatsink Temp (case) Low = Motor Temp (internal) P=1s
|
|
||||||
#define MC_TEMP2 0x0C // High = Reserved Low = DSP Temp P=1s
|
|
||||||
//#define MC_TEMP3 0x0D // High = Outlet Temp Low = Capacitor Temp P=
|
|
||||||
#define MC_CUMULATIVE 0x0E // High = DC Bus AmpHours (A-Hr) Low = Odometer (m) P=1s
|
|
||||||
#define MC_SLIPSPEED 0x17 // High = Slip Speed (Hz ) Low = Reserved P=200ms
|
|
||||||
|
|
||||||
// Driver controls CAN base address and packet offsets
|
|
||||||
#define DC_CAN_BASE 0x500 // High = CAN1_SERIAL Number Low = "TRIb" string P=1s
|
|
||||||
#define DC_DRIVE 0x01 // High = Motor Current Setpoint Low = Motor Velocity Setpoint P=100ms
|
|
||||||
#define DC_POWER 0x02 // High = Bus Current Setpoint Low = Unused P=100ms
|
|
||||||
#define DC_RESET 0x03 // High = Unused Low = Unused P=
|
|
||||||
#define DC_SWITCH 0x04 // High = Switch position Low = Switch state change P=100ms
|
|
||||||
|
|
||||||
// Driver controls switch position packet bitfield positions (lower 16 bits)
|
|
||||||
#define SW_LIGHT_HIGH 0x0001
|
|
||||||
#define SW_LIGHT_LOW 0x0002
|
|
||||||
#define SW_LIGHT_PARK 0x0004
|
|
||||||
#define SW_REGEN 0x0008
|
|
||||||
#define SW_BRAKE_1 0x0010
|
|
||||||
#define SW_REVERSE 0x0020
|
|
||||||
#define SW_IGN_ON 0x0040
|
|
||||||
#define SW_IGN_ACC 0x0080
|
|
||||||
#define SW_HORN 0x0100
|
|
||||||
#define SW_HAZARD 0x0200
|
|
||||||
#define SW_IND_L 0x0400
|
|
||||||
#define SW_IND_R 0x0800
|
|
||||||
#define SW_ENC1_SW 0x1000
|
|
||||||
#define SW_ENC2_SW 0x2000
|
|
||||||
#define SW_DEBUG 0x4000
|
|
||||||
// Driver controls switch position packet bitfield positions (upper 16 bits)
|
|
||||||
#define SW_BLINK_L 0x0001
|
|
||||||
#define SW_BLINK_R 0x0002
|
|
||||||
|
|
||||||
//Battery Protection System base address and packet offsets
|
|
||||||
#define BP_CAN_BASE 0x580 // High = "BPV1" string or nulls Low = CAN1_SERIAL Number P=10s
|
|
||||||
#define BP_VMAX 0x01 // High = Max. Voltage Value Low = Max. Voltage Cell Num. P=10s
|
|
||||||
#define BP_VMIN 0x02 // High = Min. Voltage Value Low = Min. Voltage Cell Num. P=10s
|
|
||||||
#define BP_TMAX 0x03 // High = Max. Temperature Low = Max. Temperature Cell P=10s
|
|
||||||
#define BP_PCDONE 0x04 // High = "BPV2" or "0000" string Low = CAN1_SERIAL Number P=When Ready
|
|
||||||
#define BP_ISH 0x05 // High = Shunt Current Low = Battery Voltage P=1s
|
|
||||||
|
|
||||||
//Battery Protection System base address and packet offsets
|
|
||||||
#define AC_CAN_BASE 0x5C0 // High = "ACV1" string or nulls Low = CAN1_SERIAL Number P=10s
|
|
||||||
#define AC_M1 0x01 // High = Array Voltage Average Low = Array Current Average P=10s
|
|
||||||
#define AC_M2 0x02 // High = Array Voltage Average Low = Array Current Average P=10s
|
|
||||||
#define AC_M3 0x03 // High = Array Voltage Average Low = Array Current Average P=10s
|
|
||||||
#define AC_ISH 0x04 // High = Shunt Current Low = Battery Voltage P=1s
|
|
||||||
#define AC_TMAX 0x05 // High = Max. Temperature Low = Max. Temperature MPPT P=10s
|
|
||||||
#define AC_TVAL1 0x06 // High = Temp AC1 Low = Temp AC2 P=10s
|
|
||||||
#define AC_TVAL2 0x06 // High = Temp AC3 Low = Reserved P=10s
|
|
||||||
#define AC_BP_CHARGE 0x07 // High = "ACV1" or "0000" string Low = CAN1_SERIAL Number P=When Charge
|
|
||||||
|
|
||||||
// MCP2515 command bytes
|
|
||||||
#define MCP_RESET 0xC0
|
|
||||||
#define MCP_READ 0x03
|
|
||||||
#define MCP_READ_RX 0x90 // When used, needs to have RX_BUFFER address inserted into lower bits
|
|
||||||
#define MCP_WRITE 0x02
|
|
||||||
#define MCP_WRITE_TX 0x40 // When used, needs to have TX_BUFFER address inserted into lower bits
|
|
||||||
#define MCP_RTS 0x80 // When used, needs to have buffer to transmit inserted into lower bits
|
|
||||||
#define MCP_STATUS 0xA0
|
|
||||||
#define MCP_FILTER 0xB0
|
|
||||||
#define MCP_MODIFY 0x05
|
|
||||||
|
|
||||||
// MCP2515 register names
|
|
||||||
#define RXF0SIDH 0x00
|
|
||||||
#define RXF0SIDL 0x01
|
|
||||||
#define RXF0EID8 0x02
|
|
||||||
#define RXF0EID0 0x03
|
|
||||||
#define RXF1SIDH 0x04
|
|
||||||
#define RXF1SIDL 0x05
|
|
||||||
#define RXF1EID8 0x06
|
|
||||||
#define RXF1EID0 0x07
|
|
||||||
#define RXF2SIDH 0x08
|
|
||||||
#define RXF2SIDL 0x09
|
|
||||||
#define RXF2EID8 0x0A
|
|
||||||
#define RXF2EID0 0x0B
|
|
||||||
#define BFPCTRL 0x0C
|
|
||||||
#define TXRTSCTRL 0x0D
|
|
||||||
#define CANSTAT 0x0E
|
|
||||||
#define CANCTRL 0x0F
|
|
||||||
|
|
||||||
#define RXF3SIDH 0x10
|
|
||||||
#define RXF3SIDL 0x11
|
|
||||||
#define RXF3EID8 0x12
|
|
||||||
#define RXF3EID0 0x13
|
|
||||||
#define RXF4SIDH 0x14
|
|
||||||
#define RXF4SIDL 0x15
|
|
||||||
#define RXF4EID8 0x16
|
|
||||||
#define RXF4EID0 0x17
|
|
||||||
#define RXF5SIDH 0x18
|
|
||||||
#define RXF5SIDL 0x19
|
|
||||||
#define RXF5EID8 0x1A
|
|
||||||
#define RXF5EID0 0x1B
|
|
||||||
#define TEC 0x1C
|
|
||||||
#define REC 0x1D
|
|
||||||
|
|
||||||
#define RXM0SIDH 0x20
|
|
||||||
#define RXM0SIDL 0x21
|
|
||||||
#define RXM0EID8 0x22
|
|
||||||
#define RXM0EID0 0x23
|
|
||||||
#define RXM1SIDH 0x24
|
|
||||||
#define RXM1SIDL 0x25
|
|
||||||
#define RXM1EID8 0x26
|
|
||||||
#define RXM1EID0 0x27
|
|
||||||
#define CNF3 0x28
|
|
||||||
#define CNF2 0x29
|
|
||||||
#define CNF1 0x2A
|
|
||||||
#define CANINTE 0x2B
|
|
||||||
#define CANINTF 0x2C
|
|
||||||
#define EFLAG 0x2D
|
|
||||||
|
|
||||||
#define TXB0CTRL 0x30
|
|
||||||
#define TXB0SIDH 0x31
|
|
||||||
#define TXB0SIDL 0x32
|
|
||||||
#define TXB0EID8 0x33
|
|
||||||
#define TXB0EID0 0x34
|
|
||||||
#define TXB0DLC 0x35
|
|
||||||
#define TXB0D0 0x36
|
|
||||||
#define TXB0D1 0x37
|
|
||||||
#define TXB0D2 0x38
|
|
||||||
#define TXB0D3 0x39
|
|
||||||
#define TXB0D4 0x3A
|
|
||||||
#define TXB0D5 0x3B
|
|
||||||
#define TXB0D6 0x3C
|
|
||||||
#define TXB0D7 0x3D
|
|
||||||
|
|
||||||
#define TXB1CTRL 0x40
|
|
||||||
#define TXB1SIDH 0x41
|
|
||||||
#define TXB1SIDL 0x42
|
|
||||||
#define TXB1EID8 0x43
|
|
||||||
#define TXB1EID0 0x44
|
|
||||||
#define TXB1DLC 0x45
|
|
||||||
#define TXB1D0 0x46
|
|
||||||
#define TXB1D1 0x47
|
|
||||||
#define TXB1D2 0x48
|
|
||||||
#define TXB1D3 0x49
|
|
||||||
#define TXB1D4 0x4A
|
|
||||||
#define TXB1D5 0x4B
|
|
||||||
#define TXB1D6 0x4C
|
|
||||||
#define TXB1D7 0x4D
|
|
||||||
|
|
||||||
#define TXB2CTRL 0x50
|
|
||||||
#define TXB2SIDH 0x51
|
|
||||||
#define TXB2SIDL 0x52
|
|
||||||
#define TXB2EID8 0x53
|
|
||||||
#define TXB2EID0 0x54
|
|
||||||
#define TXB2DLC 0x55
|
|
||||||
#define TXB2D0 0x56
|
|
||||||
#define TXB2D1 0x57
|
|
||||||
#define TXB2D2 0x58
|
|
||||||
#define TXB2D3 0x59
|
|
||||||
#define TXB2D4 0x5A
|
|
||||||
#define TXB2D5 0x5B
|
|
||||||
#define TXB2D6 0x5C
|
|
||||||
#define TXB2D7 0x5D
|
|
||||||
|
|
||||||
#define RXB0CTRL 0x60
|
|
||||||
#define RXB0SIDH 0x61
|
|
||||||
#define RXB0SIDL 0x62
|
|
||||||
#define RXB0EID8 0x63
|
|
||||||
#define RXB0EID0 0x64
|
|
||||||
#define RXB0DLC 0x65
|
|
||||||
#define RXB0D0 0x66
|
|
||||||
#define RXB0D1 0x67
|
|
||||||
#define RXB0D2 0x68
|
|
||||||
#define RXB0D3 0x69
|
|
||||||
#define RXB0D4 0x6A
|
|
||||||
#define RXB0D5 0x6B
|
|
||||||
#define RXB0D6 0x6C
|
|
||||||
#define RXB0D7 0x6D
|
|
||||||
|
|
||||||
#define RXB1CTRL 0x70
|
|
||||||
#define RXB1SIDH 0x71
|
|
||||||
#define RXB1SIDL 0x72
|
|
||||||
#define RXB1EID8 0x73
|
|
||||||
#define RXB1EID0 0x74
|
|
||||||
#define RXB1DLC 0x75
|
|
||||||
#define RXB1D0 0x76
|
|
||||||
#define RXB1D1 0x77
|
|
||||||
#define RXB1D2 0x78
|
|
||||||
#define RXB1D3 0x79
|
|
||||||
#define RXB1D4 0x7A
|
|
||||||
#define RXB1D5 0x7B
|
|
||||||
#define RXB1D6 0x7C
|
|
||||||
#define RXB1D7 0x7D
|
|
||||||
|
|
||||||
// MCP2515 RX ctrl bit definitions
|
|
||||||
#define MCP_RXB0_RTR 0x08
|
|
||||||
#define MCP_RXB1_RTR 0x08
|
|
||||||
|
|
||||||
// MCP2515 Interrupt flag register bit definitions
|
|
||||||
#define MCP_IRQ_MERR 0x80
|
|
||||||
#define MCP_IRQ_WAKE 0x40
|
|
||||||
#define MCP_IRQ_ERR 0x20
|
|
||||||
#define MCP_IRQ_TXB2 0x10
|
|
||||||
#define MCP_IRQ_TXB1 0x08
|
|
||||||
#define MCP_IRQ_TXB0 0x04
|
|
||||||
#define MCP_IRQ_RXB1 0x02
|
|
||||||
#define MCP_IRQ_RXB0 0x01
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#endif /*CAN_H_*/
|
|
||||||
|
|
||||||
@@ -1,33 +0,0 @@
|
|||||||
################################################################################
|
|
||||||
# Automatically-generated file. Do not edit!
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
# Add inputs and outputs from these tool invocations to the build variables
|
|
||||||
CMD_SRCS += \
|
|
||||||
../lnk_msp430f5438a.cmd
|
|
||||||
|
|
||||||
C_SRCS += \
|
|
||||||
../clock_init.c \
|
|
||||||
../main.c
|
|
||||||
|
|
||||||
OBJS += \
|
|
||||||
./clock_init.obj \
|
|
||||||
./main.obj
|
|
||||||
|
|
||||||
C_DEPS += \
|
|
||||||
./clock_init.d \
|
|
||||||
./main.d
|
|
||||||
|
|
||||||
C_DEPS__QUOTED += \
|
|
||||||
"clock_init.d" \
|
|
||||||
"main.d"
|
|
||||||
|
|
||||||
OBJS__QUOTED += \
|
|
||||||
"clock_init.obj" \
|
|
||||||
"main.obj"
|
|
||||||
|
|
||||||
C_SRCS__QUOTED += \
|
|
||||||
"../clock_init.c" \
|
|
||||||
"../main.c"
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,83 +0,0 @@
|
|||||||
################################################################################
|
|
||||||
# Automatically-generated file. Do not edit!
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
# Add inputs and outputs from these tool invocations to the build variables
|
|
||||||
CMD_SRCS += \
|
|
||||||
../lnk_msp430f5438a.cmd
|
|
||||||
|
|
||||||
C_SRCS += \
|
|
||||||
../CAN.c \
|
|
||||||
../MODEM.c \
|
|
||||||
../RTC.c \
|
|
||||||
../char_FIFO.c \
|
|
||||||
../clock_init.c \
|
|
||||||
../io_init.c \
|
|
||||||
../main.c \
|
|
||||||
../message_FIFO.c
|
|
||||||
|
|
||||||
S43_SRCS += \
|
|
||||||
../RTCASMFunctions_CCE.s43
|
|
||||||
|
|
||||||
OBJS += \
|
|
||||||
./CAN.obj \
|
|
||||||
./MODEM.obj \
|
|
||||||
./RTC.obj \
|
|
||||||
./RTCASMFunctions_CCE.obj \
|
|
||||||
./char_FIFO.obj \
|
|
||||||
./clock_init.obj \
|
|
||||||
./io_init.obj \
|
|
||||||
./main.obj \
|
|
||||||
./message_FIFO.obj
|
|
||||||
|
|
||||||
C_DEPS += \
|
|
||||||
./CAN.d \
|
|
||||||
./MODEM.d \
|
|
||||||
./RTC.d \
|
|
||||||
./char_FIFO.d \
|
|
||||||
./clock_init.d \
|
|
||||||
./io_init.d \
|
|
||||||
./main.d \
|
|
||||||
./message_FIFO.d
|
|
||||||
|
|
||||||
S43_DEPS += \
|
|
||||||
./RTCASMFunctions_CCE.d
|
|
||||||
|
|
||||||
C_DEPS__QUOTED += \
|
|
||||||
"CAN.d" \
|
|
||||||
"MODEM.d" \
|
|
||||||
"RTC.d" \
|
|
||||||
"char_FIFO.d" \
|
|
||||||
"clock_init.d" \
|
|
||||||
"io_init.d" \
|
|
||||||
"main.d" \
|
|
||||||
"message_FIFO.d"
|
|
||||||
|
|
||||||
OBJS__QUOTED += \
|
|
||||||
"CAN.obj" \
|
|
||||||
"MODEM.obj" \
|
|
||||||
"RTC.obj" \
|
|
||||||
"RTCASMFunctions_CCE.obj" \
|
|
||||||
"char_FIFO.obj" \
|
|
||||||
"clock_init.obj" \
|
|
||||||
"io_init.obj" \
|
|
||||||
"main.obj" \
|
|
||||||
"message_FIFO.obj"
|
|
||||||
|
|
||||||
S43_DEPS__QUOTED += \
|
|
||||||
"RTCASMFunctions_CCE.d"
|
|
||||||
|
|
||||||
C_SRCS__QUOTED += \
|
|
||||||
"../CAN.c" \
|
|
||||||
"../MODEM.c" \
|
|
||||||
"../RTC.c" \
|
|
||||||
"../char_FIFO.c" \
|
|
||||||
"../clock_init.c" \
|
|
||||||
"../io_init.c" \
|
|
||||||
"../main.c" \
|
|
||||||
"../message_FIFO.c"
|
|
||||||
|
|
||||||
S43_SRCS__QUOTED += \
|
|
||||||
"../RTCASMFunctions_CCE.s43"
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,33 +0,0 @@
|
|||||||
################################################################################
|
|
||||||
# Automatically-generated file. Do not edit!
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
# Add inputs and outputs from these tool invocations to the build variables
|
|
||||||
CMD_SRCS += \
|
|
||||||
../lnk_msp430f5438a.cmd
|
|
||||||
|
|
||||||
C_SRCS += \
|
|
||||||
../clock_init.c \
|
|
||||||
../main.c
|
|
||||||
|
|
||||||
OBJS += \
|
|
||||||
./clock_init.obj \
|
|
||||||
./main.obj
|
|
||||||
|
|
||||||
C_DEPS += \
|
|
||||||
./clock_init.d \
|
|
||||||
./main.d
|
|
||||||
|
|
||||||
C_DEPS__QUOTED += \
|
|
||||||
"clock_init.d" \
|
|
||||||
"main.d"
|
|
||||||
|
|
||||||
OBJS__QUOTED += \
|
|
||||||
"clock_init.obj" \
|
|
||||||
"main.obj"
|
|
||||||
|
|
||||||
C_SRCS__QUOTED += \
|
|
||||||
"../clock_init.c" \
|
|
||||||
"../main.c"
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,165 +0,0 @@
|
|||||||
//
|
|
||||||
// Telemetry
|
|
||||||
//
|
|
||||||
// Modified by Erik in 2010-2011
|
|
||||||
//
|
|
||||||
/* Modifications for 2013 by B. Bazuin
|
|
||||||
* - 2013v1
|
|
||||||
* - reworked to operate continuously with CAN at 250 kbps
|
|
||||||
* - no USB device code included
|
|
||||||
* - no ADC code
|
|
||||||
* - table values collected only the first time captured
|
|
||||||
* - 2014V2 MODIFICATIONS
|
|
||||||
* - Reordered and eliminated some messages
|
|
||||||
* - HF rate 10 sec, LF rate 30 sec, ST rate 60 sec
|
|
||||||
* - BP_PCDONE and BP_ISH added
|
|
||||||
* - Precharge Controller Removed
|
|
||||||
*/
|
|
||||||
/* Modifications for 2016 by B. Bazuin
|
|
||||||
* -New BPS and Array Controller
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <msp430x54xa.h>
|
|
||||||
#include <ctype.h>
|
|
||||||
#include <string.h>
|
|
||||||
#include <math.h>
|
|
||||||
#include <float.h>
|
|
||||||
|
|
||||||
#include "Sunseeker2021.h"
|
|
||||||
|
|
||||||
// structures
|
|
||||||
message_fifo decode_queue;
|
|
||||||
char_fifo USB_FIFO, MODEM_FIFO;
|
|
||||||
|
|
||||||
hf_packet pckHF;
|
|
||||||
lf_packet pckLF;
|
|
||||||
status_packet pckST;
|
|
||||||
|
|
||||||
unsigned int can_mask0, can_mask1;
|
|
||||||
unsigned volatile char forceread;
|
|
||||||
|
|
||||||
|
|
||||||
enum MODE {INIT, CANREAD, DECODE, MODEMTX, USBTX, LOWP, LOOP} ucMODE;
|
|
||||||
unsigned volatile char can_status_test, can_rcv_status_test;
|
|
||||||
unsigned long can_msg_count = 0, can_stall_cnt = 0;
|
|
||||||
unsigned long can_err_count = 0, can_read_cnt = 0;
|
|
||||||
int thrs, tmin, tsec;
|
|
||||||
char ucFLAG,usbENABLE;
|
|
||||||
char CAN1_INT_FLAG = FALSE;
|
|
||||||
|
|
||||||
volatile unsigned char status_flag = FALSE;
|
|
||||||
volatile unsigned char hs_comms_flag = FALSE;
|
|
||||||
volatile unsigned char ls_comms_flag = FALSE;
|
|
||||||
volatile unsigned char st_comms_flag = FALSE;
|
|
||||||
|
|
||||||
static char init_msg_data[21] = "0xHHHHHHHH,0xHHHHHHHH";
|
|
||||||
|
|
||||||
|
|
||||||
// General Variables
|
|
||||||
|
|
||||||
// CAN Communication Variables
|
|
||||||
volatile unsigned char cancomm_flag = FALSE; //used for CAN transmission timing
|
|
||||||
volatile unsigned char send_can = FALSE; //used for CAN transmission timing
|
|
||||||
volatile unsigned char rcv_can = FALSE; //used for CAN transmission timing
|
|
||||||
volatile unsigned char can_full = FALSE; //used for CAN transmission status
|
|
||||||
|
|
||||||
int main(void) {
|
|
||||||
WDTCTL = WDTPW | WDTHOLD; // Stop watchdog timer
|
|
||||||
_DINT(); //disables interrupts
|
|
||||||
|
|
||||||
clock_init(); //Configure HF and LF clocks
|
|
||||||
delay();
|
|
||||||
timerB_init(); //init timer B
|
|
||||||
delay();
|
|
||||||
|
|
||||||
io_init();
|
|
||||||
delay();
|
|
||||||
|
|
||||||
MODEM_init();
|
|
||||||
delay();
|
|
||||||
|
|
||||||
MODEM_command(RFModemS);
|
|
||||||
|
|
||||||
_EINT(); //enable global interrupts
|
|
||||||
|
|
||||||
ucMODE = INIT;
|
|
||||||
|
|
||||||
while(1)
|
|
||||||
{
|
|
||||||
if(status_flag){
|
|
||||||
status_flag = FALSE;
|
|
||||||
P8OUT ^= BIT3; // Toggle P1.0
|
|
||||||
P8OUT ^= BIT6; // Toggle P1.0
|
|
||||||
}
|
|
||||||
|
|
||||||
// __delay_cycles(100000); // Delay
|
|
||||||
}
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Initialise Timer B
|
|
||||||
* - Provides timer tick timebase at 100 Hz
|
|
||||||
*/
|
|
||||||
void timerB_init( void )
|
|
||||||
{
|
|
||||||
TBCTL = CNTL_0 | TBSSEL_1 | ID_3 | TBCLR; // ACLK/8, clear TBR
|
|
||||||
TBCCR0 = (ACLK_RATE/8/TICK_RATE); // Set timer to count to this value = TICK_RATE overflow
|
|
||||||
TBCCTL0 = CCIE; // Enable CCR0 interrrupt
|
|
||||||
TBCTL |= MC_1; // Set timer to 'up' count mode
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Timer B CCR0 Interrupt Service Routine
|
|
||||||
* - Interrupts on Timer B CCR0 match at 10Hz
|
|
||||||
* - Sets Time_Flag variable
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* GNU interropt symantics
|
|
||||||
* interrupt(TIMERB0_VECTOR) timer_b0(void)
|
|
||||||
*/
|
|
||||||
#pragma vector = TIMERB0_VECTOR
|
|
||||||
__interrupt void timer_b0(void)
|
|
||||||
{
|
|
||||||
static unsigned int status_count = TELEM_STATUS_COUNT;
|
|
||||||
static unsigned int hs_comms_count = HS_COMMS_SPEED;
|
|
||||||
static unsigned int ls_comms_count = LS_COMMS_SPEED;
|
|
||||||
static unsigned int st_comms_count = ST_COMMS_SPEED;
|
|
||||||
|
|
||||||
if (ucMODE != INIT)
|
|
||||||
{
|
|
||||||
// Trigger comms events (hs command packet transmission)
|
|
||||||
hs_comms_count--;
|
|
||||||
if( hs_comms_count == 0 ){
|
|
||||||
hs_comms_count = HS_COMMS_SPEED;
|
|
||||||
hs_comms_flag = TRUE;
|
|
||||||
}
|
|
||||||
|
|
||||||
ls_comms_count--;
|
|
||||||
if( ls_comms_count == 0 ){
|
|
||||||
ls_comms_count = LS_COMMS_SPEED;
|
|
||||||
ls_comms_flag = TRUE;
|
|
||||||
}
|
|
||||||
|
|
||||||
st_comms_count--;
|
|
||||||
if( st_comms_count == 0 ){
|
|
||||||
st_comms_count = ST_COMMS_SPEED;
|
|
||||||
st_comms_flag = TRUE;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Primary System Heart beat
|
|
||||||
status_count--;
|
|
||||||
if( status_count == 0 )
|
|
||||||
{
|
|
||||||
status_count = TELEM_STATUS_COUNT;
|
|
||||||
status_flag = TRUE;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,174 +0,0 @@
|
|||||||
################################################################################
|
|
||||||
# Automatically-generated file. Do not edit!
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
SHELL = cmd.exe
|
|
||||||
|
|
||||||
CG_TOOL_ROOT := C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS
|
|
||||||
|
|
||||||
GEN_OPTS__FLAG :=
|
|
||||||
GEN_CMDS__FLAG :=
|
|
||||||
|
|
||||||
ORDERED_OBJS += \
|
|
||||||
"./CAN.obj" \
|
|
||||||
"./MODEM.obj" \
|
|
||||||
"./RTC.obj" \
|
|
||||||
"./RTCASMFunctions_CCE.obj" \
|
|
||||||
"./char_FIFO.obj" \
|
|
||||||
"./clock_init.obj" \
|
|
||||||
"./io_init.obj" \
|
|
||||||
"./main.obj" \
|
|
||||||
"./message_FIFO.obj" \
|
|
||||||
"../lnk_msp430f5438a.cmd" \
|
|
||||||
$(GEN_CMDS__FLAG) \
|
|
||||||
-llibmath.a \
|
|
||||||
-llibc.a \
|
|
||||||
|
|
||||||
-include ../makefile.init
|
|
||||||
|
|
||||||
RM := DEL /F
|
|
||||||
RMDIR := RMDIR /S/Q
|
|
||||||
|
|
||||||
# All of the sources participating in the build are defined here
|
|
||||||
-include sources.mk
|
|
||||||
-include subdir_vars.mk
|
|
||||||
-include subdir_rules.mk
|
|
||||||
-include objects.mk
|
|
||||||
|
|
||||||
ifneq ($(MAKECMDGOALS),clean)
|
|
||||||
ifneq ($(strip $(S_DEPS)),)
|
|
||||||
-include $(S_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(S_UPPER_DEPS)),)
|
|
||||||
-include $(S_UPPER_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(S62_DEPS)),)
|
|
||||||
-include $(S62_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(C64_DEPS)),)
|
|
||||||
-include $(C64_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(ASM_DEPS)),)
|
|
||||||
-include $(ASM_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(CC_DEPS)),)
|
|
||||||
-include $(CC_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(SV7A_DEPS)),)
|
|
||||||
-include $(SV7A_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(S55_DEPS)),)
|
|
||||||
-include $(S55_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(C67_DEPS)),)
|
|
||||||
-include $(C67_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(CLA_DEPS)),)
|
|
||||||
-include $(CLA_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(C??_DEPS)),)
|
|
||||||
-include $(C??_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(CPP_DEPS)),)
|
|
||||||
-include $(CPP_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(S??_DEPS)),)
|
|
||||||
-include $(S??_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(C_DEPS)),)
|
|
||||||
-include $(C_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(C62_DEPS)),)
|
|
||||||
-include $(C62_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(CXX_DEPS)),)
|
|
||||||
-include $(CXX_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(C++_DEPS)),)
|
|
||||||
-include $(C++_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(ASM_UPPER_DEPS)),)
|
|
||||||
-include $(ASM_UPPER_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(K_DEPS)),)
|
|
||||||
-include $(K_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(C43_DEPS)),)
|
|
||||||
-include $(C43_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(INO_DEPS)),)
|
|
||||||
-include $(INO_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(S67_DEPS)),)
|
|
||||||
-include $(S67_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(SA_DEPS)),)
|
|
||||||
-include $(SA_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(S43_DEPS)),)
|
|
||||||
-include $(S43_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(OPT_DEPS)),)
|
|
||||||
-include $(OPT_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(PDE_DEPS)),)
|
|
||||||
-include $(PDE_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(S64_DEPS)),)
|
|
||||||
-include $(S64_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(C_UPPER_DEPS)),)
|
|
||||||
-include $(C_UPPER_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(C55_DEPS)),)
|
|
||||||
-include $(C55_DEPS)
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
-include ../makefile.defs
|
|
||||||
|
|
||||||
# Add inputs and outputs from these tool invocations to the build variables
|
|
||||||
EXE_OUTPUTS += \
|
|
||||||
Debug2.out \
|
|
||||||
|
|
||||||
EXE_OUTPUTS__QUOTED += \
|
|
||||||
"Debug2.out" \
|
|
||||||
|
|
||||||
BIN_OUTPUTS += \
|
|
||||||
Debug2.hex \
|
|
||||||
|
|
||||||
BIN_OUTPUTS__QUOTED += \
|
|
||||||
"Debug2.hex" \
|
|
||||||
|
|
||||||
|
|
||||||
# All Target
|
|
||||||
all: Debug2.out
|
|
||||||
|
|
||||||
# Tool invocations
|
|
||||||
Debug2.out: $(OBJS) $(CMD_SRCS) $(GEN_CMDS)
|
|
||||||
@echo 'Building target: $@'
|
|
||||||
@echo 'Invoking: MSP430 Linker'
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/bin/cl430" -vmspx --data_model=restricted --use_hw_mpy=F5 --advice:power=all -g --define=__MSP430F5438A__ --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal -z -m"Debug2.map" --stack_size=160 --heap_size=160 --cinit_hold_wdt=on -i"C:/ti/ccsv6/ccs_base/msp430/include" -i"C:/ti/ccsv6/ccs_base/msp430/lib/5xx_6xx_FRxx" -i"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/lib" -i"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include" --reread_libs --warn_sections --display_error_number --diag_wrap=off --xml_link_info="Debug2_linkInfo.xml" --use_hw_mpy=F5 --rom_model -o "Debug2.out" $(ORDERED_OBJS)
|
|
||||||
@echo 'Finished building target: $@'
|
|
||||||
@echo ' '
|
|
||||||
|
|
||||||
Debug2.hex: $(EXE_OUTPUTS)
|
|
||||||
@echo 'Invoking: MSP430 Hex Utility'
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/bin/hex430" --memwidth=8 --romwidth=8 -o "Debug2.hex" $(EXE_OUTPUTS__QUOTED)
|
|
||||||
@echo 'Finished building: $@'
|
|
||||||
@echo ' '
|
|
||||||
|
|
||||||
# Other Targets
|
|
||||||
clean:
|
|
||||||
-$(RM) $(EXE_OUTPUTS__QUOTED)$(BIN_OUTPUTS__QUOTED)
|
|
||||||
-$(RM) "CAN.d" "MODEM.d" "RTC.d" "char_FIFO.d" "clock_init.d" "io_init.d" "main.d" "message_FIFO.d"
|
|
||||||
-$(RM) "CAN.obj" "MODEM.obj" "RTC.obj" "RTCASMFunctions_CCE.obj" "char_FIFO.obj" "clock_init.obj" "io_init.obj" "main.obj" "message_FIFO.obj"
|
|
||||||
-$(RM) "RTCASMFunctions_CCE.d"
|
|
||||||
-@echo 'Finished clean'
|
|
||||||
-@echo ' '
|
|
||||||
|
|
||||||
.PHONY: all clean dependents
|
|
||||||
.SECONDARY:
|
|
||||||
|
|
||||||
-include ../makefile.targets
|
|
||||||
|
|
||||||
@@ -1,27 +0,0 @@
|
|||||||
################################################################################
|
|
||||||
# Automatically-generated file. Do not edit!
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
# Add inputs and outputs from these tool invocations to the build variables
|
|
||||||
CMD_SRCS += \
|
|
||||||
../lnk_msp430f5438a.cmd
|
|
||||||
|
|
||||||
C_SRCS += \
|
|
||||||
../main.c
|
|
||||||
|
|
||||||
OBJS += \
|
|
||||||
./main.obj
|
|
||||||
|
|
||||||
C_DEPS += \
|
|
||||||
./main.d
|
|
||||||
|
|
||||||
C_DEPS__QUOTED += \
|
|
||||||
"main.d"
|
|
||||||
|
|
||||||
OBJS__QUOTED += \
|
|
||||||
"main.obj"
|
|
||||||
|
|
||||||
C_SRCS__QUOTED += \
|
|
||||||
"../main.c"
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,80 +0,0 @@
|
|||||||
//
|
|
||||||
// Telemetry MODEM Code
|
|
||||||
//
|
|
||||||
#include "Sunseeker2021.h"
|
|
||||||
|
|
||||||
int synccount = 0;
|
|
||||||
MODEM_UCBRS1
|
|
||||||
//Initialize the MODEM (RS1) Interface
|
|
||||||
//
|
|
||||||
//
|
|
||||||
void MODEM_init()
|
|
||||||
{
|
|
||||||
UART3CTL1 |= UCSWRST | UCSSEL_2; //put state machine in reset & SMCLK
|
|
||||||
UART3CTL0 |= UCMODE_0;
|
|
||||||
|
|
||||||
UART3BRW = (int)(SMCLK_RATE/MODEM_BR1); //10MHZ/115200
|
|
||||||
UART3MCTL |= UCBRF_0 + (char)MODEM_UCBRS1; //modulation UCBRSx=computed from baud rate UCBRFx=0
|
|
||||||
|
|
||||||
UART3IFG &= ~UCTXIFG; //Clear Xmit and Rec interrupt flags
|
|
||||||
UART3IFG &= ~UCRXIFG;
|
|
||||||
UART3CTL1 &= ~UCSWRST; //initalize state machine
|
|
||||||
UART3ABCTL |= UCABDEN;
|
|
||||||
|
|
||||||
//UART3IE |= UCRXIE|UCTXIE; //enable TX & RX interrupt
|
|
||||||
}
|
|
||||||
|
|
||||||
// The Initialization/Synchronization sequence for the modem
|
|
||||||
//
|
|
||||||
void MODEM_command(char data[])
|
|
||||||
{
|
|
||||||
char respRX[4];
|
|
||||||
int ii;
|
|
||||||
UART1_TXN(RFCommand,3);
|
|
||||||
// UART1_RXN(respRX,3); // Hangs if no powered MODEM present
|
|
||||||
for (ii=0;ii<0x100;ii++) delay();
|
|
||||||
//for(int i = 0;i<0xffff;i++);
|
|
||||||
synccount++;
|
|
||||||
UART1_TX(data);
|
|
||||||
// Note: after the completion of the data send
|
|
||||||
// an "OK" is sent of the command is executed
|
|
||||||
// an "ERROR" is sent of there is an error
|
|
||||||
}
|
|
||||||
|
|
||||||
// The MODEM transmission with sync
|
|
||||||
//
|
|
||||||
int MODEM_TX(char data[], int size)
|
|
||||||
{
|
|
||||||
MODEM_command(RFModemS);
|
|
||||||
UART1_TXN(data,size);
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
int MODEM_TX_PCK(char data[])
|
|
||||||
{
|
|
||||||
UART1_TX(data);
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
//
|
|
||||||
//#pragma vector=USCI_A1_VECTOR
|
|
||||||
//__interrupt void USCI_A1_ISR(void)
|
|
||||||
//{
|
|
||||||
// switch(__even_in_range(UCA1IV,4))
|
|
||||||
// {
|
|
||||||
// case 0:break; // Vector 0 - no interrupt
|
|
||||||
// case 2: // Vector 2 - RXIFG
|
|
||||||
// UCA1IFG &= ~(UCRXIFG);
|
|
||||||
// break;
|
|
||||||
// case 4: // Vector 4 - TXIFG
|
|
||||||
//
|
|
||||||
// // UCA1TXBUF = send[txcount++]; //send char and inc txcount
|
|
||||||
// UCA1IFG &= UCTXIFG; //reset TX flag
|
|
||||||
// // if(txcount > 16)
|
|
||||||
// {
|
|
||||||
//// txcount = 0; ///reset txcount
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// break;
|
|
||||||
// default: break;
|
|
||||||
// }
|
|
||||||
//}
|
|
||||||
@@ -1,157 +0,0 @@
|
|||||||
//
|
|
||||||
// Telemetry
|
|
||||||
//
|
|
||||||
// Modified by Erik in 2010-2011
|
|
||||||
//
|
|
||||||
/* Modifications for 2013 by B. Bazuin
|
|
||||||
* - 2013v1
|
|
||||||
* - reworked to operate continuously with CAN at 250 kbps
|
|
||||||
* - no USB device code included
|
|
||||||
* - no ADC code
|
|
||||||
* - table values collected only the first time captured
|
|
||||||
* - 2014V2 MODIFICATIONS
|
|
||||||
* - Reordered and eliminated some messages
|
|
||||||
* - HF rate 10 sec, LF rate 30 sec, ST rate 60 sec
|
|
||||||
* - BP_PCDONE and BP_ISH added
|
|
||||||
* - Precharge Controller Removed
|
|
||||||
*/
|
|
||||||
/* Modifications for 2016 by B. Bazuin
|
|
||||||
* -New BPS and Array Controller
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include "Sunseeker2021.h"
|
|
||||||
|
|
||||||
// structures
|
|
||||||
message_fifo decode_queue;
|
|
||||||
char_fifo USB_FIFO, MODEM_FIFO;
|
|
||||||
|
|
||||||
hf_packet pckHF;
|
|
||||||
lf_packet pckLF;
|
|
||||||
status_packet pckST;
|
|
||||||
|
|
||||||
unsigned volatile char forceread;
|
|
||||||
|
|
||||||
unsigned int can_mask0, can_mask1;
|
|
||||||
|
|
||||||
enum MODE {INIT, CANREAD, DECODE, MODEMTX, USBTX, LOWP, LOOP} ucMODE;
|
|
||||||
unsigned volatile char can_status_test, can_rcv_status_test;
|
|
||||||
unsigned long can_msg_count = 0, can_stall_cnt = 0;
|
|
||||||
unsigned long can_err_count = 0, can_read_cnt = 0;
|
|
||||||
int thrs, tmin, tsec;
|
|
||||||
char ucFLAG,usbENABLE;
|
|
||||||
char CAN1_INT_FLAG = FALSE;
|
|
||||||
|
|
||||||
volatile unsigned char status_flag = FALSE;
|
|
||||||
volatile unsigned char hs_comms_flag = FALSE;
|
|
||||||
volatile unsigned char ls_comms_flag = FALSE;
|
|
||||||
volatile unsigned char st_comms_flag = FALSE;
|
|
||||||
|
|
||||||
static char init_msg_data[21] = "0xHHHHHHHH,0xHHHHHHHH";
|
|
||||||
|
|
||||||
|
|
||||||
// General Variables
|
|
||||||
|
|
||||||
// CAN Communication Variables
|
|
||||||
volatile unsigned char cancomm_flag = FALSE; //used for CAN transmission timing
|
|
||||||
volatile unsigned char send_can = FALSE; //used for CAN transmission timing
|
|
||||||
volatile unsigned char rcv_can = FALSE; //used for CAN transmission timing
|
|
||||||
volatile unsigned char can_full = FALSE; //used for CAN transmission status
|
|
||||||
|
|
||||||
int main(void) {
|
|
||||||
WDTCTL = WDTPW | WDTHOLD; // Stop watchdog timer
|
|
||||||
_DINT(); //disables interrupts
|
|
||||||
|
|
||||||
clock_init(); //Configure HF and LF clocks
|
|
||||||
delay();
|
|
||||||
timerB_init(); //init timer B
|
|
||||||
delay();
|
|
||||||
|
|
||||||
io_init();
|
|
||||||
delay();
|
|
||||||
|
|
||||||
MODEM_init();
|
|
||||||
delay();
|
|
||||||
|
|
||||||
MODEM_command(RFModemS);
|
|
||||||
|
|
||||||
_EINT(); //enable global interrupts
|
|
||||||
|
|
||||||
ucMODE = INIT;
|
|
||||||
|
|
||||||
while(1)
|
|
||||||
{
|
|
||||||
if(status_flag){
|
|
||||||
status_flag = FALSE;
|
|
||||||
P8OUT ^= BIT3; // Toggle P1.0
|
|
||||||
P8OUT ^= BIT6; // Toggle P1.0
|
|
||||||
}
|
|
||||||
|
|
||||||
// __delay_cycles(100000); // Delay
|
|
||||||
}
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Initialise Timer B
|
|
||||||
* - Provides timer tick timebase at 100 Hz
|
|
||||||
*/
|
|
||||||
void timerB_init( void )
|
|
||||||
{
|
|
||||||
TBCTL = CNTL_0 | TBSSEL_1 | ID_3 | TBCLR; // ACLK/8, clear TBR
|
|
||||||
TBCCR0 = (ACLK_RATE/8/TICK_RATE); // Set timer to count to this value = TICK_RATE overflow
|
|
||||||
TBCCTL0 = CCIE; // Enable CCR0 interrrupt
|
|
||||||
TBCTL |= MC_1; // Set timer to 'up' count mode
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Timer B CCR0 Interrupt Service Routine
|
|
||||||
* - Interrupts on Timer B CCR0 match at 10Hz
|
|
||||||
* - Sets Time_Flag variable
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* GNU interropt symantics
|
|
||||||
* interrupt(TIMERB0_VECTOR) timer_b0(void)
|
|
||||||
*/
|
|
||||||
#pragma vector = TIMERB0_VECTOR
|
|
||||||
__interrupt void timer_b0(void)
|
|
||||||
{
|
|
||||||
static unsigned int status_count = TELEM_STATUS_COUNT;
|
|
||||||
static unsigned int hs_comms_count = HS_COMMS_SPEED;
|
|
||||||
static unsigned int ls_comms_count = LS_COMMS_SPEED;
|
|
||||||
static unsigned int st_comms_count = ST_COMMS_SPEED;
|
|
||||||
|
|
||||||
if (ucMODE != INIT)
|
|
||||||
{
|
|
||||||
// Trigger comms events (hs command packet transmission)
|
|
||||||
hs_comms_count--;
|
|
||||||
if( hs_comms_count == 0 ){
|
|
||||||
hs_comms_count = HS_COMMS_SPEED;
|
|
||||||
hs_comms_flag = TRUE;
|
|
||||||
}
|
|
||||||
|
|
||||||
ls_comms_count--;
|
|
||||||
if( ls_comms_count == 0 ){
|
|
||||||
ls_comms_count = LS_COMMS_SPEED;
|
|
||||||
ls_comms_flag = TRUE;
|
|
||||||
}
|
|
||||||
|
|
||||||
st_comms_count--;
|
|
||||||
if( st_comms_count == 0 ){
|
|
||||||
st_comms_count = ST_COMMS_SPEED;
|
|
||||||
st_comms_flag = TRUE;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Primary System Heart beat
|
|
||||||
status_count--;
|
|
||||||
if( status_count == 0 )
|
|
||||||
{
|
|
||||||
status_count = TELEM_STATUS_COUNT;
|
|
||||||
status_flag = TRUE;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,89 +0,0 @@
|
|||||||
################################################################################
|
|
||||||
# Automatically-generated file. Do not edit!
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
# Add inputs and outputs from these tool invocations to the build variables
|
|
||||||
CMD_SRCS += \
|
|
||||||
../lnk_msp430f5438a.cmd
|
|
||||||
|
|
||||||
C_SRCS += \
|
|
||||||
../CAN.c \
|
|
||||||
../Decode_LUT.c \
|
|
||||||
../MODEM.c \
|
|
||||||
../RTC.c \
|
|
||||||
../char_FIFO.c \
|
|
||||||
../clock_init.c \
|
|
||||||
../io_init.c \
|
|
||||||
../main.c \
|
|
||||||
../message_FIFO.c
|
|
||||||
|
|
||||||
S43_SRCS += \
|
|
||||||
../RTCASMFunctions_CCE.s43
|
|
||||||
|
|
||||||
OBJS += \
|
|
||||||
./CAN.obj \
|
|
||||||
./Decode_LUT.obj \
|
|
||||||
./MODEM.obj \
|
|
||||||
./RTC.obj \
|
|
||||||
./RTCASMFunctions_CCE.obj \
|
|
||||||
./char_FIFO.obj \
|
|
||||||
./clock_init.obj \
|
|
||||||
./io_init.obj \
|
|
||||||
./main.obj \
|
|
||||||
./message_FIFO.obj
|
|
||||||
|
|
||||||
C_DEPS += \
|
|
||||||
./CAN.d \
|
|
||||||
./Decode_LUT.d \
|
|
||||||
./MODEM.d \
|
|
||||||
./RTC.d \
|
|
||||||
./char_FIFO.d \
|
|
||||||
./clock_init.d \
|
|
||||||
./io_init.d \
|
|
||||||
./main.d \
|
|
||||||
./message_FIFO.d
|
|
||||||
|
|
||||||
S43_DEPS += \
|
|
||||||
./RTCASMFunctions_CCE.d
|
|
||||||
|
|
||||||
C_DEPS__QUOTED += \
|
|
||||||
"CAN.d" \
|
|
||||||
"Decode_LUT.d" \
|
|
||||||
"MODEM.d" \
|
|
||||||
"RTC.d" \
|
|
||||||
"char_FIFO.d" \
|
|
||||||
"clock_init.d" \
|
|
||||||
"io_init.d" \
|
|
||||||
"main.d" \
|
|
||||||
"message_FIFO.d"
|
|
||||||
|
|
||||||
OBJS__QUOTED += \
|
|
||||||
"CAN.obj" \
|
|
||||||
"Decode_LUT.obj" \
|
|
||||||
"MODEM.obj" \
|
|
||||||
"RTC.obj" \
|
|
||||||
"RTCASMFunctions_CCE.obj" \
|
|
||||||
"char_FIFO.obj" \
|
|
||||||
"clock_init.obj" \
|
|
||||||
"io_init.obj" \
|
|
||||||
"main.obj" \
|
|
||||||
"message_FIFO.obj"
|
|
||||||
|
|
||||||
S43_DEPS__QUOTED += \
|
|
||||||
"RTCASMFunctions_CCE.d"
|
|
||||||
|
|
||||||
C_SRCS__QUOTED += \
|
|
||||||
"../CAN.c" \
|
|
||||||
"../Decode_LUT.c" \
|
|
||||||
"../MODEM.c" \
|
|
||||||
"../RTC.c" \
|
|
||||||
"../char_FIFO.c" \
|
|
||||||
"../clock_init.c" \
|
|
||||||
"../io_init.c" \
|
|
||||||
"../main.c" \
|
|
||||||
"../message_FIFO.c"
|
|
||||||
|
|
||||||
S43_SRCS__QUOTED += \
|
|
||||||
"../RTCASMFunctions_CCE.s43"
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
################################################################################
|
|
||||||
# Automatically-generated file. Do not edit!
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
USER_OBJS :=
|
|
||||||
|
|
||||||
LIBS := -llibmath.a -llibc.a
|
|
||||||
|
|
||||||
@@ -1,115 +0,0 @@
|
|||||||
################################################################################
|
|
||||||
# Automatically-generated file. Do not edit!
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
O_SRCS :=
|
|
||||||
CPP_SRCS :=
|
|
||||||
K_SRCS :=
|
|
||||||
LD_SRCS :=
|
|
||||||
S67_SRCS :=
|
|
||||||
LDS_SRCS :=
|
|
||||||
CMD_SRCS :=
|
|
||||||
EXE_SRCS :=
|
|
||||||
CXX_SRCS :=
|
|
||||||
CMD_UPPER_SRCS :=
|
|
||||||
ELF_SRCS :=
|
|
||||||
C43_SRCS :=
|
|
||||||
S55_SRCS :=
|
|
||||||
LD_UPPER_SRCS :=
|
|
||||||
C62_SRCS :=
|
|
||||||
S_UPPER_SRCS :=
|
|
||||||
A_SRCS :=
|
|
||||||
SA_SRCS :=
|
|
||||||
C55_SRCS :=
|
|
||||||
LDS_UPPER_SRCS :=
|
|
||||||
C_UPPER_SRCS :=
|
|
||||||
OUT_SRCS :=
|
|
||||||
INO_SRCS :=
|
|
||||||
OBJ_SRCS :=
|
|
||||||
S62_SRCS :=
|
|
||||||
LIB_SRCS :=
|
|
||||||
PDE_SRCS :=
|
|
||||||
SV7A_SRCS :=
|
|
||||||
ASM_SRCS :=
|
|
||||||
ASM_UPPER_SRCS :=
|
|
||||||
C++_SRCS :=
|
|
||||||
CLA_SRCS :=
|
|
||||||
S??_SRCS :=
|
|
||||||
C_SRCS :=
|
|
||||||
C67_SRCS :=
|
|
||||||
S_SRCS :=
|
|
||||||
S43_SRCS :=
|
|
||||||
OPT_SRCS :=
|
|
||||||
C64_SRCS :=
|
|
||||||
CC_SRCS :=
|
|
||||||
C??_SRCS :=
|
|
||||||
S64_SRCS :=
|
|
||||||
OBJS :=
|
|
||||||
BIN_OUTPUTS :=
|
|
||||||
S_DEPS :=
|
|
||||||
S_UPPER_DEPS :=
|
|
||||||
S62_DEPS :=
|
|
||||||
C64_DEPS :=
|
|
||||||
ASM_DEPS :=
|
|
||||||
CC_DEPS :=
|
|
||||||
SV7A_DEPS :=
|
|
||||||
S55_DEPS :=
|
|
||||||
C67_DEPS :=
|
|
||||||
CLA_DEPS :=
|
|
||||||
C??_DEPS :=
|
|
||||||
CPP_DEPS :=
|
|
||||||
S??_DEPS :=
|
|
||||||
C_DEPS :=
|
|
||||||
C62_DEPS :=
|
|
||||||
EXE_OUTPUTS :=
|
|
||||||
CXX_DEPS :=
|
|
||||||
C++_DEPS :=
|
|
||||||
ASM_UPPER_DEPS :=
|
|
||||||
K_DEPS :=
|
|
||||||
C43_DEPS :=
|
|
||||||
INO_DEPS :=
|
|
||||||
S67_DEPS :=
|
|
||||||
SA_DEPS :=
|
|
||||||
S43_DEPS :=
|
|
||||||
OPT_DEPS :=
|
|
||||||
PDE_DEPS :=
|
|
||||||
S64_DEPS :=
|
|
||||||
C_UPPER_DEPS :=
|
|
||||||
C55_DEPS :=
|
|
||||||
CPP_DEPS__QUOTED :=
|
|
||||||
C67_DEPS__QUOTED :=
|
|
||||||
INO_DEPS__QUOTED :=
|
|
||||||
C??_DEPS__QUOTED :=
|
|
||||||
S_UPPER_DEPS__QUOTED :=
|
|
||||||
CLA_DEPS__QUOTED :=
|
|
||||||
ASM_UPPER_DEPS__QUOTED :=
|
|
||||||
C62_DEPS__QUOTED :=
|
|
||||||
CXX_DEPS__QUOTED :=
|
|
||||||
EXE_OUTPUTS__QUOTED :=
|
|
||||||
S67_DEPS__QUOTED :=
|
|
||||||
BIN_OUTPUTS__QUOTED :=
|
|
||||||
C_DEPS__QUOTED :=
|
|
||||||
C_UPPER_DEPS__QUOTED :=
|
|
||||||
OPT_DEPS__QUOTED :=
|
|
||||||
S_DEPS__QUOTED :=
|
|
||||||
K_DEPS__QUOTED :=
|
|
||||||
S??_DEPS__QUOTED :=
|
|
||||||
C64_DEPS__QUOTED :=
|
|
||||||
C++_DEPS__QUOTED :=
|
|
||||||
OBJS__QUOTED :=
|
|
||||||
CC_DEPS__QUOTED :=
|
|
||||||
S43_DEPS__QUOTED :=
|
|
||||||
S55_DEPS__QUOTED :=
|
|
||||||
SA_DEPS__QUOTED :=
|
|
||||||
C55_DEPS__QUOTED :=
|
|
||||||
PDE_DEPS__QUOTED :=
|
|
||||||
C43_DEPS__QUOTED :=
|
|
||||||
S62_DEPS__QUOTED :=
|
|
||||||
ASM_DEPS__QUOTED :=
|
|
||||||
SV7A_DEPS__QUOTED :=
|
|
||||||
S64_DEPS__QUOTED :=
|
|
||||||
|
|
||||||
# Every subdirectory with source files must be described here
|
|
||||||
SUBDIRS := \
|
|
||||||
. \
|
|
||||||
|
|
||||||
@@ -1,115 +0,0 @@
|
|||||||
################################################################################
|
|
||||||
# Automatically-generated file. Do not edit!
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
O_SRCS :=
|
|
||||||
CPP_SRCS :=
|
|
||||||
K_SRCS :=
|
|
||||||
LD_SRCS :=
|
|
||||||
S67_SRCS :=
|
|
||||||
LDS_SRCS :=
|
|
||||||
CMD_SRCS :=
|
|
||||||
EXE_SRCS :=
|
|
||||||
CXX_SRCS :=
|
|
||||||
CMD_UPPER_SRCS :=
|
|
||||||
ELF_SRCS :=
|
|
||||||
C43_SRCS :=
|
|
||||||
S55_SRCS :=
|
|
||||||
LD_UPPER_SRCS :=
|
|
||||||
C62_SRCS :=
|
|
||||||
S_UPPER_SRCS :=
|
|
||||||
A_SRCS :=
|
|
||||||
SA_SRCS :=
|
|
||||||
C55_SRCS :=
|
|
||||||
LDS_UPPER_SRCS :=
|
|
||||||
C_UPPER_SRCS :=
|
|
||||||
OUT_SRCS :=
|
|
||||||
INO_SRCS :=
|
|
||||||
OBJ_SRCS :=
|
|
||||||
S62_SRCS :=
|
|
||||||
LIB_SRCS :=
|
|
||||||
PDE_SRCS :=
|
|
||||||
SV7A_SRCS :=
|
|
||||||
ASM_SRCS :=
|
|
||||||
ASM_UPPER_SRCS :=
|
|
||||||
C++_SRCS :=
|
|
||||||
CLA_SRCS :=
|
|
||||||
S??_SRCS :=
|
|
||||||
C_SRCS :=
|
|
||||||
C67_SRCS :=
|
|
||||||
S_SRCS :=
|
|
||||||
S43_SRCS :=
|
|
||||||
OPT_SRCS :=
|
|
||||||
C64_SRCS :=
|
|
||||||
CC_SRCS :=
|
|
||||||
C??_SRCS :=
|
|
||||||
S64_SRCS :=
|
|
||||||
OBJS :=
|
|
||||||
BIN_OUTPUTS :=
|
|
||||||
S_DEPS :=
|
|
||||||
S_UPPER_DEPS :=
|
|
||||||
S62_DEPS :=
|
|
||||||
C64_DEPS :=
|
|
||||||
ASM_DEPS :=
|
|
||||||
CC_DEPS :=
|
|
||||||
SV7A_DEPS :=
|
|
||||||
S55_DEPS :=
|
|
||||||
C67_DEPS :=
|
|
||||||
CLA_DEPS :=
|
|
||||||
C??_DEPS :=
|
|
||||||
CPP_DEPS :=
|
|
||||||
S??_DEPS :=
|
|
||||||
C_DEPS :=
|
|
||||||
C62_DEPS :=
|
|
||||||
EXE_OUTPUTS :=
|
|
||||||
CXX_DEPS :=
|
|
||||||
C++_DEPS :=
|
|
||||||
ASM_UPPER_DEPS :=
|
|
||||||
K_DEPS :=
|
|
||||||
C43_DEPS :=
|
|
||||||
INO_DEPS :=
|
|
||||||
S67_DEPS :=
|
|
||||||
SA_DEPS :=
|
|
||||||
S43_DEPS :=
|
|
||||||
OPT_DEPS :=
|
|
||||||
PDE_DEPS :=
|
|
||||||
S64_DEPS :=
|
|
||||||
C_UPPER_DEPS :=
|
|
||||||
C55_DEPS :=
|
|
||||||
CPP_DEPS__QUOTED :=
|
|
||||||
C67_DEPS__QUOTED :=
|
|
||||||
INO_DEPS__QUOTED :=
|
|
||||||
C??_DEPS__QUOTED :=
|
|
||||||
S_UPPER_DEPS__QUOTED :=
|
|
||||||
CLA_DEPS__QUOTED :=
|
|
||||||
ASM_UPPER_DEPS__QUOTED :=
|
|
||||||
C62_DEPS__QUOTED :=
|
|
||||||
CXX_DEPS__QUOTED :=
|
|
||||||
EXE_OUTPUTS__QUOTED :=
|
|
||||||
S67_DEPS__QUOTED :=
|
|
||||||
BIN_OUTPUTS__QUOTED :=
|
|
||||||
C_DEPS__QUOTED :=
|
|
||||||
C_UPPER_DEPS__QUOTED :=
|
|
||||||
OPT_DEPS__QUOTED :=
|
|
||||||
S_DEPS__QUOTED :=
|
|
||||||
K_DEPS__QUOTED :=
|
|
||||||
S??_DEPS__QUOTED :=
|
|
||||||
C64_DEPS__QUOTED :=
|
|
||||||
C++_DEPS__QUOTED :=
|
|
||||||
OBJS__QUOTED :=
|
|
||||||
CC_DEPS__QUOTED :=
|
|
||||||
S43_DEPS__QUOTED :=
|
|
||||||
S55_DEPS__QUOTED :=
|
|
||||||
SA_DEPS__QUOTED :=
|
|
||||||
C55_DEPS__QUOTED :=
|
|
||||||
PDE_DEPS__QUOTED :=
|
|
||||||
C43_DEPS__QUOTED :=
|
|
||||||
S62_DEPS__QUOTED :=
|
|
||||||
ASM_DEPS__QUOTED :=
|
|
||||||
SV7A_DEPS__QUOTED :=
|
|
||||||
S64_DEPS__QUOTED :=
|
|
||||||
|
|
||||||
# Every subdirectory with source files must be described here
|
|
||||||
SUBDIRS := \
|
|
||||||
. \
|
|
||||||
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
################################################################################
|
|
||||||
# Automatically-generated file. Do not edit!
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
# Each subdirectory must supply rules for building sources it contributes
|
|
||||||
clock_init.obj: ../clock_init.c $(GEN_OPTS) | $(GEN_HDRS)
|
|
||||||
@echo 'Building file: $<'
|
|
||||||
@echo 'Invoking: MSP430 Compiler'
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/bin/cl430" -vmspx --data_model=restricted --use_hw_mpy=F5 --include_path="C:/ti/ccsv6/ccs_base/msp430/include" --include_path="C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include" --advice:power=all -g --define=__MSP430F5438A__ --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="clock_init.d" $(GEN_OPTS__FLAG) "$<"
|
|
||||||
@echo 'Finished building: $<'
|
|
||||||
@echo ' '
|
|
||||||
|
|
||||||
main.obj: ../main.c $(GEN_OPTS) | $(GEN_HDRS)
|
|
||||||
@echo 'Building file: $<'
|
|
||||||
@echo 'Invoking: MSP430 Compiler'
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/bin/cl430" -vmspx --data_model=restricted --use_hw_mpy=F5 --include_path="C:/ti/ccsv6/ccs_base/msp430/include" --include_path="C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include" --advice:power=all -g --define=__MSP430F5438A__ --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="main.d" $(GEN_OPTS__FLAG) "$<"
|
|
||||||
@echo 'Finished building: $<'
|
|
||||||
@echo ' '
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,115 +0,0 @@
|
|||||||
################################################################################
|
|
||||||
# Automatically-generated file. Do not edit!
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
O_SRCS :=
|
|
||||||
CPP_SRCS :=
|
|
||||||
K_SRCS :=
|
|
||||||
LD_SRCS :=
|
|
||||||
S67_SRCS :=
|
|
||||||
LDS_SRCS :=
|
|
||||||
CMD_SRCS :=
|
|
||||||
EXE_SRCS :=
|
|
||||||
CXX_SRCS :=
|
|
||||||
CMD_UPPER_SRCS :=
|
|
||||||
ELF_SRCS :=
|
|
||||||
C43_SRCS :=
|
|
||||||
S55_SRCS :=
|
|
||||||
LD_UPPER_SRCS :=
|
|
||||||
C62_SRCS :=
|
|
||||||
S_UPPER_SRCS :=
|
|
||||||
A_SRCS :=
|
|
||||||
SA_SRCS :=
|
|
||||||
C55_SRCS :=
|
|
||||||
LDS_UPPER_SRCS :=
|
|
||||||
C_UPPER_SRCS :=
|
|
||||||
OUT_SRCS :=
|
|
||||||
INO_SRCS :=
|
|
||||||
OBJ_SRCS :=
|
|
||||||
S62_SRCS :=
|
|
||||||
LIB_SRCS :=
|
|
||||||
PDE_SRCS :=
|
|
||||||
SV7A_SRCS :=
|
|
||||||
ASM_SRCS :=
|
|
||||||
ASM_UPPER_SRCS :=
|
|
||||||
C++_SRCS :=
|
|
||||||
CLA_SRCS :=
|
|
||||||
S??_SRCS :=
|
|
||||||
C_SRCS :=
|
|
||||||
C67_SRCS :=
|
|
||||||
S_SRCS :=
|
|
||||||
S43_SRCS :=
|
|
||||||
OPT_SRCS :=
|
|
||||||
C64_SRCS :=
|
|
||||||
CC_SRCS :=
|
|
||||||
C??_SRCS :=
|
|
||||||
S64_SRCS :=
|
|
||||||
OBJS :=
|
|
||||||
BIN_OUTPUTS :=
|
|
||||||
S_DEPS :=
|
|
||||||
S_UPPER_DEPS :=
|
|
||||||
S62_DEPS :=
|
|
||||||
C64_DEPS :=
|
|
||||||
ASM_DEPS :=
|
|
||||||
CC_DEPS :=
|
|
||||||
SV7A_DEPS :=
|
|
||||||
S55_DEPS :=
|
|
||||||
C67_DEPS :=
|
|
||||||
CLA_DEPS :=
|
|
||||||
C??_DEPS :=
|
|
||||||
CPP_DEPS :=
|
|
||||||
S??_DEPS :=
|
|
||||||
C_DEPS :=
|
|
||||||
C62_DEPS :=
|
|
||||||
EXE_OUTPUTS :=
|
|
||||||
CXX_DEPS :=
|
|
||||||
C++_DEPS :=
|
|
||||||
ASM_UPPER_DEPS :=
|
|
||||||
K_DEPS :=
|
|
||||||
C43_DEPS :=
|
|
||||||
INO_DEPS :=
|
|
||||||
S67_DEPS :=
|
|
||||||
SA_DEPS :=
|
|
||||||
S43_DEPS :=
|
|
||||||
OPT_DEPS :=
|
|
||||||
PDE_DEPS :=
|
|
||||||
S64_DEPS :=
|
|
||||||
C_UPPER_DEPS :=
|
|
||||||
C55_DEPS :=
|
|
||||||
CPP_DEPS__QUOTED :=
|
|
||||||
C67_DEPS__QUOTED :=
|
|
||||||
INO_DEPS__QUOTED :=
|
|
||||||
C??_DEPS__QUOTED :=
|
|
||||||
S_UPPER_DEPS__QUOTED :=
|
|
||||||
CLA_DEPS__QUOTED :=
|
|
||||||
ASM_UPPER_DEPS__QUOTED :=
|
|
||||||
C62_DEPS__QUOTED :=
|
|
||||||
CXX_DEPS__QUOTED :=
|
|
||||||
EXE_OUTPUTS__QUOTED :=
|
|
||||||
S67_DEPS__QUOTED :=
|
|
||||||
BIN_OUTPUTS__QUOTED :=
|
|
||||||
C_DEPS__QUOTED :=
|
|
||||||
C_UPPER_DEPS__QUOTED :=
|
|
||||||
OPT_DEPS__QUOTED :=
|
|
||||||
S_DEPS__QUOTED :=
|
|
||||||
K_DEPS__QUOTED :=
|
|
||||||
S??_DEPS__QUOTED :=
|
|
||||||
C64_DEPS__QUOTED :=
|
|
||||||
C++_DEPS__QUOTED :=
|
|
||||||
OBJS__QUOTED :=
|
|
||||||
CC_DEPS__QUOTED :=
|
|
||||||
S43_DEPS__QUOTED :=
|
|
||||||
S55_DEPS__QUOTED :=
|
|
||||||
SA_DEPS__QUOTED :=
|
|
||||||
C55_DEPS__QUOTED :=
|
|
||||||
PDE_DEPS__QUOTED :=
|
|
||||||
C43_DEPS__QUOTED :=
|
|
||||||
S62_DEPS__QUOTED :=
|
|
||||||
ASM_DEPS__QUOTED :=
|
|
||||||
SV7A_DEPS__QUOTED :=
|
|
||||||
S64_DEPS__QUOTED :=
|
|
||||||
|
|
||||||
# Every subdirectory with source files must be described here
|
|
||||||
SUBDIRS := \
|
|
||||||
. \
|
|
||||||
|
|
||||||
@@ -1,368 +0,0 @@
|
|||||||
/*
|
|
||||||
* Sunseeker Telemetry 2021
|
|
||||||
*
|
|
||||||
* Last modified May 2021 by B. Bazuin
|
|
||||||
*
|
|
||||||
* Main CLK : MCLK = XT2 = 20 MHz
|
|
||||||
* Sub-Main CLK : SMCLK = XT2/2 = 10 MHz
|
|
||||||
* Aux CLK : ACLK = XT1 = 32.768 kHz
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef SUNSEEKER2021_H_
|
|
||||||
#define SUNSEEKER2021_H_
|
|
||||||
|
|
||||||
#include <msp430x54xa.h>
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <msp430x54xa.h>
|
|
||||||
#include <ctype.h>
|
|
||||||
#include <string.h>
|
|
||||||
#include <math.h>
|
|
||||||
#include <float.h>
|
|
||||||
|
|
||||||
|
|
||||||
void clock_init(void);
|
|
||||||
void timerB_init(void);
|
|
||||||
void io_init(void);
|
|
||||||
|
|
||||||
static inline void delay(void)
|
|
||||||
{
|
|
||||||
volatile int jj;
|
|
||||||
volatile int ii;
|
|
||||||
for (ii = 0; ii < 4; ii++)
|
|
||||||
{
|
|
||||||
for (jj = 0; jj < 1000; jj++)
|
|
||||||
{
|
|
||||||
asm(" nop"); //The space is necessary or else the assember things nop is a label!
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Event timing
|
|
||||||
#define SMCLK_RATE 10000000 // Hz
|
|
||||||
#define ACLK_RATE 32768 // Hz
|
|
||||||
#define TICK_RATE 16 // Hz
|
|
||||||
#define TELEM_STATUS_COUNT 16 // Number of ticks per event: 5 sec
|
|
||||||
#define HS_COMMS_SPEED 16*5 // Number of ticks per event: 5 sec
|
|
||||||
#define LS_COMMS_SPEED 16*10 // Number of ticks per event: 15 sec
|
|
||||||
#define ST_COMMS_SPEED 16*20 // Number of ticks per event: 60 sec
|
|
||||||
|
|
||||||
// Constant Definitions
|
|
||||||
#define TRUE 1
|
|
||||||
#define FALSE 0
|
|
||||||
|
|
||||||
#ifndef MODEM_BR1
|
|
||||||
#define MODEM_BR1 9600
|
|
||||||
#define MODEM_UCBRS1 0x04 // 2*ROUND(SMCLK_RATE/MODEM_BR-INT(SMCLK_RATE/MODEM_BR))*8
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef MODEM_BR2
|
|
||||||
#define MODEM_BR2 115200
|
|
||||||
#define MODEM_UCBRS2 0x0A // 2*ROUND(SMCLK_RATE/MODEM_BR-INT(SMCLK_RATE/MODEM_BR))*8
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef USB_BR
|
|
||||||
#define USB_BR 9600
|
|
||||||
#define USB_UCBRS 0x04 // 2*ROUND(SMCLK_RATE/UART_BR-INT(SMCLK_RATE/UART_BR))*8
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef UART_BR
|
|
||||||
#define UART_BR 19200
|
|
||||||
#define UART_UCBRS 0x0D // 2*ROUND(SMCLK_RATE/UART_BR-INT(SMCLK_RATE/UART_BR))*8
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "RTC.h"
|
|
||||||
#include "CAN.h"
|
|
||||||
#include "RS232.h"
|
|
||||||
|
|
||||||
|
|
||||||
/******************** Pin Definitions *************************/
|
|
||||||
|
|
||||||
// PORT 1
|
|
||||||
#define P10 0x01
|
|
||||||
#define P11 0x02
|
|
||||||
#define P12 0x04
|
|
||||||
#define P13 0x08
|
|
||||||
#define P14 0x10
|
|
||||||
#define P15 0x20
|
|
||||||
#define RTC_MFP 0x40
|
|
||||||
#define IMU_INTn 0x80
|
|
||||||
#define P1_UNUSED 0x01 | 0x02 | 0x04 | 0x08 | 0x10 | 0x20
|
|
||||||
|
|
||||||
// PORT 2
|
|
||||||
#define CAN0_INTn 0x01
|
|
||||||
#define CAN0_RXB0n 0x02
|
|
||||||
#define CAN0_RXB1n 0x04
|
|
||||||
#define CAN1_INTn 0x08
|
|
||||||
#define CAN1_RXB0n 0x10
|
|
||||||
#define CAN1_RXB1n 0x20
|
|
||||||
#define GPS_INTn 0x40
|
|
||||||
#define P27 0x80
|
|
||||||
#define P2_UNUSED 0x80
|
|
||||||
|
|
||||||
// PORT 3
|
|
||||||
#define CAN0_SCLK 0x01
|
|
||||||
#define SDC_SIMO 0x02
|
|
||||||
#define SDC_SOMI 0x04
|
|
||||||
#define SDC_SCLK 0x08
|
|
||||||
#define CAN0_MOSI 0x10
|
|
||||||
#define CAN0_MISO 0x20
|
|
||||||
#define CAN1_CLK 0x40
|
|
||||||
#define IMU_SDA 0x80
|
|
||||||
#define P3_UNUSED 0x00
|
|
||||||
|
|
||||||
// PORT 4
|
|
||||||
#define CAN0_RSTn 0x01
|
|
||||||
#define CAN0_CSn 0x02
|
|
||||||
#define CAN1_RSTn 0x04
|
|
||||||
#define CAN1_CSn 0x08
|
|
||||||
#define SDC_WPn 0x10
|
|
||||||
#define SDC_CDn 0x20
|
|
||||||
#define P46 0x40
|
|
||||||
#define P47 0x80
|
|
||||||
#define P4_UNUSED 0x40 | 0x80
|
|
||||||
|
|
||||||
// PORT 5
|
|
||||||
#define P50 0x01
|
|
||||||
#define P51 0x02
|
|
||||||
#define XT2IN 0x04
|
|
||||||
#define XT2OUT 0x08
|
|
||||||
#define IMU_SCL 0x10
|
|
||||||
#define P55 0x20
|
|
||||||
#define CAN1_MOSI 0x40
|
|
||||||
#define CAN1_MISO 0x80
|
|
||||||
#define P5_UNUSED 0x01 | 0x02 | 0x20
|
|
||||||
|
|
||||||
// PORT 6
|
|
||||||
#define P60 0x01
|
|
||||||
#define P61 0x02
|
|
||||||
#define P62 0x04
|
|
||||||
#define P63 0x08
|
|
||||||
#define P64 0x10
|
|
||||||
#define P65 0x20
|
|
||||||
#define P66 0x40
|
|
||||||
#define P67 0x80
|
|
||||||
#define P6_UNUSED 0x01 | 0x02 | 0x04 | 0x08 | 0x10 | 0x20 | 0x40 | 0x80
|
|
||||||
|
|
||||||
// PORT 7
|
|
||||||
#define XT1IN 0x01
|
|
||||||
#define XT1OUT 0x02
|
|
||||||
#define P72 0x04
|
|
||||||
#define P73 0x08
|
|
||||||
#define P74 0x10
|
|
||||||
#define P75 0x20
|
|
||||||
#define P76 0x40
|
|
||||||
#define P77 0x80
|
|
||||||
#define P7_UNUSED 0x04 | 0x08 | 0x10 | 0x20 | 0x40 | 0x80
|
|
||||||
|
|
||||||
// PORT 8
|
|
||||||
#define P80 0x01
|
|
||||||
#define P81 0x02
|
|
||||||
#define P82 0x04
|
|
||||||
#define LEDG 0x08
|
|
||||||
#define LEDR 0x10
|
|
||||||
#define LEDY0 0x20
|
|
||||||
#define LEDY1 0x40
|
|
||||||
#define Button0 0x80
|
|
||||||
#define P8_UNUSED 0x01 | 0x02 | 0x04
|
|
||||||
|
|
||||||
// PORT 9
|
|
||||||
#define P90 0x01
|
|
||||||
#define RTC_SDA 0x02
|
|
||||||
#define RTC_SCL 0x04
|
|
||||||
#define P93 0x08
|
|
||||||
#define USB_TX 0x10
|
|
||||||
#define USB_RX 0x20
|
|
||||||
#define SDC_CSn 0x40
|
|
||||||
#define GPS_CSn 0x80
|
|
||||||
#define P9_UNUSED 0x40 | 0x80
|
|
||||||
|
|
||||||
// PORT 10
|
|
||||||
#define BT_CSn 0x01
|
|
||||||
#define BT_MOSI 0x02
|
|
||||||
#define BT_MISO 0x04
|
|
||||||
#define BT_SCLK 0x08
|
|
||||||
#define UART_TX 0x10
|
|
||||||
#define UART_RX 0x20
|
|
||||||
#define BT_EN 0x40
|
|
||||||
#define P107 0x80
|
|
||||||
#define P10_UNUSED 0x80
|
|
||||||
|
|
||||||
// PORT 11
|
|
||||||
#define ACLK_TEST 0x01
|
|
||||||
#define MCLK_TEST 0x02
|
|
||||||
#define SMCLK_TEST 0x04
|
|
||||||
|
|
||||||
// PORT J
|
|
||||||
#define JTAG_TDO 0x01
|
|
||||||
#define JTAG_TDI 0x02
|
|
||||||
#define JTAG_TMS 0x04
|
|
||||||
#define JTAG_TCK 0x08
|
|
||||||
|
|
||||||
// Motor controller CAN base address and packet offsets
|
|
||||||
#define MC_CAN_BASE1 0x400 // High = CAN1_SERIAL Number Low = 0x00004003 P=1s
|
|
||||||
#define MC_CAN_BASE2 0x420 // High = CAN1_SERIAL Number Low = 0x00004003 P=1s
|
|
||||||
#define MC_LIMITS 0x01 // High = CAN_Err,Active Motor Low = Error & Limit flags P=200ms
|
|
||||||
#define MC_BUS 0x02 // High = Bus Current Low = Bus Voltage P=200ms
|
|
||||||
#define MC_VELOCITY 0x03 // High = Velocity (m/s) Low = Velocity (rpm) P=200ms
|
|
||||||
#define MC_PHASE 0x04 // High = Phase C Current Low = Phase B Current P=200ms
|
|
||||||
#define MC_V_VECTOR 0x05 // High = Vd vector Low = Vq vector P=200ms
|
|
||||||
#define MC_I_VECTOR 0x06 // High = Id vector Low = Iq vector P=200ms
|
|
||||||
#define MC_BEMF_VECTOR 0x07 // High = BEMFd vector Low = BEMFq vector P=200ms
|
|
||||||
#define MC_RAIL1 0x08 // High = 15V Low = Reserved P=1s
|
|
||||||
#define MC_RAIL2 0x09 // High = 3.3V Low = 1.9V P=1s
|
|
||||||
//#define MC_FAN 0x0A // High = Reserved Low = Reserved P=
|
|
||||||
#define MC_TEMP1 0x0B // High = Heatsink Temp (case) Low = Motor Temp (internal) P=1s
|
|
||||||
#define MC_TEMP2 0x0C // High = Reserved Low = DSP Temp P=1s
|
|
||||||
//#define MC_TEMP3 0x0D // High = Outlet Temp Low = Capacitor Temp P=
|
|
||||||
#define MC_CUMULATIVE 0x0E // High = DC Bus AmpHours (A-Hr) Low = Odometer (m) P=1s
|
|
||||||
#define MC_SLIPSPEED 0x17 // High = Slip Speed (Hz ) Low = Reserved P=200ms
|
|
||||||
|
|
||||||
// Driver controls CAN base address and packet offsets
|
|
||||||
#define DC_CAN_BASE 0x500 // High = CAN1_SERIAL Number Low = "TRIb" string P=1s
|
|
||||||
#define DC_DRIVE 0x01 // High = Motor Current Setpoint Low = Motor Velocity Setpoint P=100ms
|
|
||||||
#define DC_POWER 0x02 // High = Bus Current Setpoint Low = Unused P=100ms
|
|
||||||
#define DC_RESET 0x03 // High = Unused Low = Unused P=
|
|
||||||
#define DC_SWITCH 0x04 // High = Switch position Low = Switch state change P=100ms
|
|
||||||
|
|
||||||
//Battery Protection System base address and packet offsets
|
|
||||||
#define BP_CAN_BASE 0x580 // High = "BPV1" string or nulls Low = CAN1_SERIAL Number P=10s
|
|
||||||
#define BP_VMAX 0x01 // High = Max. Voltage Value Low = Max. Voltage Cell Num. P=10s
|
|
||||||
#define BP_VMIN 0x02 // High = Min. Voltage Value Low = Min. Voltage Cell Num. P=10s
|
|
||||||
#define BP_TMAX 0x03 // High = Max. Temperature Low = Max. Temperature Cell P=10s
|
|
||||||
#define BP_PCDONE 0x04 // High = "BPV2" or "0000" string Low = CAN1_SERIAL Number P=When Ready
|
|
||||||
#define BP_ISH 0x05 // High = Shunt Current Low = Battery Voltage P=1s
|
|
||||||
|
|
||||||
//Battery Protection System base address and packet offsets
|
|
||||||
#define AC_CAN_BASE 0x5C0 // High = "ACV1" string or nulls Low = CAN1_SERIAL Number P=10s
|
|
||||||
#define AC_M1 0x01 // High = Array Voltage Average Low = Array Current Average P=10s
|
|
||||||
#define AC_M2 0x02 // High = Array Voltage Average Low = Array Current Average P=10s
|
|
||||||
#define AC_M3 0x03 // High = Array Voltage Average Low = Array Current Average P=10s
|
|
||||||
#define AC_ISH 0x04 // High = Shunt Current Low = Battery Voltage P=1s
|
|
||||||
#define AC_TMAX 0x05 // High = Max. Temperature Low = Max. Temperature MPPT P=10s
|
|
||||||
#define AC_TVAL1 0x06 // High = Temp AC1 Low = Temp AC2 P=10s
|
|
||||||
#define AC_TVAL2 0x06 // High = Temp AC3 Low = Reserved P=10s
|
|
||||||
#define AC_BP_CHARGE 0x07 // High = "ACV1" or "0000" string Low = CAN1_SERIAL Number P=When Charge
|
|
||||||
|
|
||||||
static int addr_lookup[LOOKUP_ROWS][5] = {
|
|
||||||
//address ASCII Offset MSG_REC position Packet(0-HF:1-LF:2-Status) Filter Priority
|
|
||||||
{MC_CAN_BASE1, 0, 0x0001, 3, 29}, //0-0x400 High = CAN1_SERIAL Number Low = "TRIa" string
|
|
||||||
{MC_CAN_BASE1 + MC_LIMITS, 0, 0x0001, 3, 15}, //1-0x01 High = Active Motor Low = Error & Limit flags
|
|
||||||
{MC_CAN_BASE1 + MC_BUS, 0, 0x0002, 0, 1}, //2-0x02 High = Bus Current Low = Bus Voltage
|
|
||||||
{MC_CAN_BASE1 + MC_VELOCITY, 1, 0x0004, 0, 2}, //3-0x03 High = Velocity (m/s) Low = Velocity (rpm)
|
|
||||||
{MC_CAN_BASE1 + MC_PHASE, 1, 0x0001, 3, 30}, //4-0x04 High = Phase A Current Low = Phase B Current
|
|
||||||
{MC_CAN_BASE1 + MC_V_VECTOR, 2, 0x0002, 3, 31}, //5-0x05 High = Vd vector Low = Vq vector
|
|
||||||
{MC_CAN_BASE1 + MC_I_VECTOR, 3, 0x0004, 3, 32}, //6-0x06 High = Id vector Low = Iq vector
|
|
||||||
{MC_CAN_BASE1 + MC_BEMF_VECTOR, 4, 0x0008, 3, 33}, //7-0x07 High = BEMFd vector Low = BEMFq vector
|
|
||||||
{MC_CAN_BASE1 + MC_RAIL1, 1, 0x0002, 3, 16}, //8-0x08 High = 15V Low = Reserved
|
|
||||||
{MC_CAN_BASE1 + MC_RAIL2, 2, 0x0004, 3, 17}, //9-0x09 High = 3.3V Low = 1.9V
|
|
||||||
{MC_CAN_BASE1 + MC_TEMP1, 0, 0x0001, 3, 7}, //10-0x0B High = Heatsink Temp Low = Motor Temp
|
|
||||||
{MC_CAN_BASE1 + MC_TEMP2, 1, 0x0002, 3, 8}, //11-0x0C High = Inlet Temp Low = CPU Temp
|
|
||||||
{MC_CAN_BASE1 + MC_CUMULATIVE, 3, 0x0008, 3, 18}, //12-x0E High = DC Bus AmpHours Low = Odometer
|
|
||||||
{MC_CAN_BASE1 + MC_SLIPSPEED, 5, 0x0010, 3, 34}, //13-0x17 High =Slip Speed (Hz) Low = Reserved
|
|
||||||
{MC_CAN_BASE2, 6, 0x0020, 3, 35}, //14-0x420 High = CAN1_SERIAL Number Low = "TRIa" string
|
|
||||||
{MC_CAN_BASE2 + MC_LIMITS, 4, 0x0010, 3, 19}, //15-0x01 High = Active Motor Low = Error & Limit flags
|
|
||||||
{MC_CAN_BASE2 + MC_BUS, 2, 0x0010, 0, 3}, //16-0x02 High = Bus Current Low = Bus Voltage
|
|
||||||
{MC_CAN_BASE2 + MC_VELOCITY, 3, 0x0020, 0, 4}, //17-0x03 High = Velocity (m/s) Low = Velocity (rpm)
|
|
||||||
{MC_CAN_BASE2 + MC_PHASE, 7, 0x0040, 3, 36}, //18-0x04 High = Phase A Current Low = Phase B Current
|
|
||||||
{MC_CAN_BASE2 + MC_V_VECTOR, 8, 0x0080, 3, 37}, //19-0x05 High = Vd vector Low = Vq vector
|
|
||||||
{MC_CAN_BASE2 + MC_I_VECTOR, 9, 0x0100, 3, 38}, //20-0x06 High = Id vector Low = Iq vector
|
|
||||||
{MC_CAN_BASE2 + MC_BEMF_VECTOR, 10, 0x0200, 3, 39}, //21-0x07 High = BEMFd vector Low = BEMFq vector
|
|
||||||
{MC_CAN_BASE2 + MC_RAIL1, 5, 0x0020, 3, 20}, //22-0x08 High = 15V Low = Reserved
|
|
||||||
{MC_CAN_BASE2 + MC_RAIL2, 6, 0x0040, 3, 21}, //23-0x09 High = 3.3V Low = 1.9V
|
|
||||||
{MC_CAN_BASE2 + MC_TEMP1, 2, 0x0004, 3, 9}, //24-0x0B High = Heatsink Temp Low = Motor Temp
|
|
||||||
{MC_CAN_BASE2 + MC_TEMP2, 3, 0x0008, 3, 10}, //25-0x0C High = Inlet Temp Low = CPU Temp
|
|
||||||
{MC_CAN_BASE2 + MC_CUMULATIVE, 7, 0x0080, 3, 22}, //26-0x0E High = DC Bus AmpHours Low = Odometer
|
|
||||||
{MC_CAN_BASE2 + MC_SLIPSPEED, 11, 0x0400, 3, 40}, //27-0x17 High =Slip Speed (Hz) Low = Reserved
|
|
||||||
{DC_CAN_BASE, 12, 0x0800, 3, 41}, //28-0x500 High = CAN1_SERIAL Number Low = "TRIb" string
|
|
||||||
{DC_CAN_BASE + DC_DRIVE, 4, 0x0800, 0, 23}, //29-0x01 High = Motor Current Setpoint Low = Motor Velocity Setpoint
|
|
||||||
{DC_CAN_BASE + DC_POWER, 9, 0x0200, 3, 24}, //30-0x02 High = Bus Current Setpoint Low = Unused
|
|
||||||
{DC_CAN_BASE + DC_RESET, 13, 0x1000, 3, 42}, //31-0x03 High = Unused Low = Unused
|
|
||||||
{DC_CAN_BASE + DC_SWITCH, 5, 0x0080, 0, 25}, //32-0x04 High = Switch position Low = Switch state change
|
|
||||||
{BP_CAN_BASE, 14, 0x2000, 3, 43}, //33-0x580 High = BPV2" string or nulls Low = CAN1_SERIAL Number
|
|
||||||
{BP_CAN_BASE + BP_VMAX, 6, 0x0010, 0, 11}, //34-0x01 High = Max Voltage Low = Cell Number
|
|
||||||
{BP_CAN_BASE + BP_VMIN, 7, 0x0020, 0, 12}, //35-0x02 High = Min Voltage Low = Cell Number
|
|
||||||
{BP_CAN_BASE + BP_TMAX, 8, 0x0040, 0, 13}, //36-0x03 High = Temp Max Low = Cell Number
|
|
||||||
{BP_CAN_BASE + BP_PCDONE, 15, 0x0200, 3, 44}, //37-0x04 High = "BPV1" string Low = CAN1_SERIAL Number
|
|
||||||
{BP_CAN_BASE + BP_ISH, 9, 0x0010, 0, 5}, //38-0x05 High = Shunt Current Low = Battery Voltage
|
|
||||||
{AC_CAN_BASE, 16, 0x8000, 3, 45}, //39-0x5C0 High = ACV1" string or nulls Low = CAN1_SERIAL Number
|
|
||||||
{AC_CAN_BASE + AC_M1, 11, 0x0800, 3, 26}, //40-0x01 High = Array Voltage Average Low = Array Current Average
|
|
||||||
{AC_CAN_BASE + AC_M2, 12, 0x1000, 3, 27}, //41-0x02 High = Array Voltage Average Low = Array Current Average
|
|
||||||
{AC_CAN_BASE + AC_M3, 13, 0x2000, 3, 28}, //42-0x03 High = Array Voltage Average Low = Array Current Average
|
|
||||||
{AC_CAN_BASE + AC_ISH, 5, 0x0020, 3, 6}, //43-0x04 High = Shunt Current Low = Battery Voltage
|
|
||||||
{AC_CAN_BASE + AC_TMAX, 7, 0x0080, 3, 14}, //44-0x05 High = Max. Temperature Low = Max. Temperature MPPT
|
|
||||||
{AC_CAN_BASE + AC_TVAL1, 17, 0x1000, 3, 46}, //45-0x03 High = Temp AC1 Low = Temp AC2
|
|
||||||
{AC_CAN_BASE + AC_TVAL2, 18, 0x2000, 3, 47}, //46-0x04 High = Temp AC3 Low = Reserved
|
|
||||||
{AC_CAN_BASE + AC_BP_CHARGE, 19, 0x4000, 3, 48}, //47-0x05 High = "ACV1" or "0000" string Low = CAN1_SERIAL Number
|
|
||||||
};
|
|
||||||
// removed
|
|
||||||
//{MC_CAN_BASE1 + MC_FAN, -, 0x----, -, --}, //xx-0x0A High = Fan speed (rpm) Low = Fan drive (%)
|
|
||||||
//{MC_CAN_BASE1 + MC_TEMP3, -, 0x----, -, --}, //xx-0x0D High = Outlet Temp Low = Capacitor Temp
|
|
||||||
//{MC_CAN_BASE2 + MC_FAN, -, 0x----, -, --}, //xx-0x0A High = Fan speed (rpm) Low = Fan drive (%)
|
|
||||||
//{MC_CAN_BASE2 + MC_TEMP3, -, 0x----, -, --}, //xx-0x0D High = Outlet Temp Low = Capacitor Temp
|
|
||||||
|
|
||||||
|
|
||||||
//static char lut_blacklist[] = {32,11,4,5,11,12,13,14,15,23,24,25,3,26,27,28};
|
|
||||||
//static char lut_blacklist[] = {44};
|
|
||||||
static char lut_blacklist[] = {49};
|
|
||||||
|
|
||||||
static char *name_lookup[NAME_LOOKUP_ROWS] = {
|
|
||||||
//name
|
|
||||||
"MC1BAS", //MC_CAN_BASE1_
|
|
||||||
"MC1LIM", //MC_CAN_BASE1 + MC_LIMITS
|
|
||||||
"MC1BUS", //MC_CAN_BASE1 + MC_BUS
|
|
||||||
"MC1VEL", //MC_CAN_BASE1 + MC_VELOCITY
|
|
||||||
"MC1PHA", //MC_CAN_BASE1 + MC_PHASE
|
|
||||||
"MC1VVC", //MC_CAN_BASE1 + MC_V_VECTOR
|
|
||||||
"MC1IVC", //MC_CAN_BASE1 + MC_I_VECTOR
|
|
||||||
"MC1BEM", //MC_CAN_BASE1 + MC_BEMF_VECTOR
|
|
||||||
"MC1RL1", //MC_CAN_BASE1 + MC_RAIL1
|
|
||||||
"MC1RL2", //MC_CAN_BASE1 + MC_RAIL2
|
|
||||||
"MC1TP1", //MC_CAN_BASE1 + MC_TEMP1
|
|
||||||
"MC1TP2", //MC_CAN_BASE1 + MC_TEMP2
|
|
||||||
"MC1CUM", //MC_CAN_BASE1 + MC_CUMULATIVE
|
|
||||||
"MC1SLS", //MC_CAN_BASE1 + MC_SLIPSPEED
|
|
||||||
"MC2BAS", //MC_CAN_BASE2
|
|
||||||
"MC2LIM", //MC_CAN_BASE2 + MC_LIMITS
|
|
||||||
"MC2BUS", //MC_CAN_BASE2 + MC_BUS
|
|
||||||
"MC2VEL", //MC_CAN_BASE2 + MC_VELOCITY
|
|
||||||
"MC2PHA", //MC_CAN_BASE2 + MC_PHASE
|
|
||||||
"MC2VVC", //MC_CAN_BASE2 + MC_V_VECTOR
|
|
||||||
"MC2IVC", //MC_CAN_BASE2 + MC_I_VECTOR
|
|
||||||
"MC2BEM", //MC_CAN_BASE2 + MC_BEMF_VECTOR
|
|
||||||
"MC2RL1", //MC_CAN_BASE2 + MC_RAIL1
|
|
||||||
"MC2RL2", //MC_CAN_BASE2 + MC_RAIL2
|
|
||||||
"MC2TP1", //MC_CAN_BASE2 + MC_TEMP1
|
|
||||||
"MC2TP2", //MC_CAN_BASE2 + MC_TEMP2
|
|
||||||
"MC2CUM", //MC_CAN_BASE2 + MC_CUMULATIVE
|
|
||||||
"MC2SLS", //MC_CAN_BASE2 + MC_SLIPSPEED
|
|
||||||
"DC_BAS", //DC_CAN_BASE
|
|
||||||
"DC_DRV", //DC_CAN_BASE + DC_DRIVE
|
|
||||||
"DC_POW", //DC_CAN_BASE + DC_POWER
|
|
||||||
"DC_RST", //DC_CAN_BASE + DC_RESET
|
|
||||||
"DC_SWC", //DC_CAN_BASE + DC_SWITCH
|
|
||||||
"BP_BAS", //BP_CAN_BASE
|
|
||||||
"BP_VMX", //BP_CAN_BASE + BP_VMAX
|
|
||||||
"BP_VMN", //BP_CAN_BASE + BP_VMIN
|
|
||||||
"BP_TMX", //BP_CAN_BASE + BP_TMAX
|
|
||||||
"BP_PCD", //BP_CAN_BASE + BP_PCDONE
|
|
||||||
"BP_ISH", //BP_CAN_BASE + BP_ISH
|
|
||||||
"AC_BAS", //AC_CAN_BASE
|
|
||||||
"AC_MP1", //AC_CAN_BASE + AC_M1
|
|
||||||
"AC_MP2", //AC_CAN_BASE + AC_M2
|
|
||||||
"AC_MP3", //AC_CAN_BASE + AC_M3
|
|
||||||
"AC_ISH", //AC_CAN_BASE + AC_ISH
|
|
||||||
"AC_TMX", //AC_CAN_BASE + AC_TMAX
|
|
||||||
"AC_TV1", //AC_CAN_BASE + AC_TVAL1
|
|
||||||
"AC_TV2", //AC_CAN_BASE + AC_TVAL2
|
|
||||||
"AC_BPC", //AC_CAN_BASE + AC_BP_CHARGE
|
|
||||||
};
|
|
||||||
|
|
||||||
// removed
|
|
||||||
// "MC1FAN", //MC_CAN_BASE1 + MC_FAN
|
|
||||||
// "MC1TP3", //MC_CAN_BASE1 + MC_TEMP3
|
|
||||||
// "MC2FAN", //MC_CAN_BASE2 + MC_FAN
|
|
||||||
//"MC2TP3", //MC_CAN_BASE2 + MC_TEMP3
|
|
||||||
|
|
||||||
#endif /* SUNSEEKER2021_H_ */
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
#include <msp430.h>
|
|
||||||
|
|
||||||
/*
|
|
||||||
* main.c
|
|
||||||
*/
|
|
||||||
int main(void) {
|
|
||||||
WDTCTL = WDTPW | WDTHOLD; // Stop watchdog timer
|
|
||||||
P8DIR |= BIT3; // P1.0 output
|
|
||||||
P8DIR |= BIT4; // P1.0 output
|
|
||||||
P8DIR |= BIT5; // P1.0 output
|
|
||||||
P8DIR |= BIT6; // P1.0 output
|
|
||||||
P11DIR |= 0x07; // ACLK, MCLK, SMCLK set out to pins
|
|
||||||
P11SEL |= 0x07; // P11.0,1,2 for debugging purposes.
|
|
||||||
|
|
||||||
while(1)
|
|
||||||
{
|
|
||||||
P8OUT ^= BIT3; // Toggle P1.0
|
|
||||||
P8OUT ^= BIT4; // Toggle P1.0
|
|
||||||
P8OUT ^= BIT5; // Toggle P1.0
|
|
||||||
P8OUT ^= BIT6; // Toggle P1.0
|
|
||||||
__delay_cycles(60000); // Delay
|
|
||||||
}
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
@@ -1,175 +0,0 @@
|
|||||||
################################################################################
|
|
||||||
# Automatically-generated file. Do not edit!
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
SHELL = cmd.exe
|
|
||||||
|
|
||||||
CG_TOOL_ROOT := C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS
|
|
||||||
|
|
||||||
GEN_OPTS__FLAG :=
|
|
||||||
GEN_CMDS__FLAG :=
|
|
||||||
|
|
||||||
ORDERED_OBJS += \
|
|
||||||
"./CAN.obj" \
|
|
||||||
"./Decode_LUT.obj" \
|
|
||||||
"./MODEM.obj" \
|
|
||||||
"./RTC.obj" \
|
|
||||||
"./RTCASMFunctions_CCE.obj" \
|
|
||||||
"./char_FIFO.obj" \
|
|
||||||
"./clock_init.obj" \
|
|
||||||
"./io_init.obj" \
|
|
||||||
"./main.obj" \
|
|
||||||
"./message_FIFO.obj" \
|
|
||||||
"../lnk_msp430f5438a.cmd" \
|
|
||||||
$(GEN_CMDS__FLAG) \
|
|
||||||
-llibmath.a \
|
|
||||||
-llibc.a \
|
|
||||||
|
|
||||||
-include ../makefile.init
|
|
||||||
|
|
||||||
RM := DEL /F
|
|
||||||
RMDIR := RMDIR /S/Q
|
|
||||||
|
|
||||||
# All of the sources participating in the build are defined here
|
|
||||||
-include sources.mk
|
|
||||||
-include subdir_vars.mk
|
|
||||||
-include subdir_rules.mk
|
|
||||||
-include objects.mk
|
|
||||||
|
|
||||||
ifneq ($(MAKECMDGOALS),clean)
|
|
||||||
ifneq ($(strip $(S_DEPS)),)
|
|
||||||
-include $(S_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(S_UPPER_DEPS)),)
|
|
||||||
-include $(S_UPPER_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(S62_DEPS)),)
|
|
||||||
-include $(S62_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(C64_DEPS)),)
|
|
||||||
-include $(C64_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(ASM_DEPS)),)
|
|
||||||
-include $(ASM_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(CC_DEPS)),)
|
|
||||||
-include $(CC_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(SV7A_DEPS)),)
|
|
||||||
-include $(SV7A_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(S55_DEPS)),)
|
|
||||||
-include $(S55_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(C67_DEPS)),)
|
|
||||||
-include $(C67_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(CLA_DEPS)),)
|
|
||||||
-include $(CLA_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(C??_DEPS)),)
|
|
||||||
-include $(C??_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(CPP_DEPS)),)
|
|
||||||
-include $(CPP_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(S??_DEPS)),)
|
|
||||||
-include $(S??_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(C_DEPS)),)
|
|
||||||
-include $(C_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(C62_DEPS)),)
|
|
||||||
-include $(C62_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(CXX_DEPS)),)
|
|
||||||
-include $(CXX_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(C++_DEPS)),)
|
|
||||||
-include $(C++_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(ASM_UPPER_DEPS)),)
|
|
||||||
-include $(ASM_UPPER_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(K_DEPS)),)
|
|
||||||
-include $(K_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(C43_DEPS)),)
|
|
||||||
-include $(C43_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(INO_DEPS)),)
|
|
||||||
-include $(INO_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(S67_DEPS)),)
|
|
||||||
-include $(S67_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(SA_DEPS)),)
|
|
||||||
-include $(SA_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(S43_DEPS)),)
|
|
||||||
-include $(S43_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(OPT_DEPS)),)
|
|
||||||
-include $(OPT_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(PDE_DEPS)),)
|
|
||||||
-include $(PDE_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(S64_DEPS)),)
|
|
||||||
-include $(S64_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(C_UPPER_DEPS)),)
|
|
||||||
-include $(C_UPPER_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(C55_DEPS)),)
|
|
||||||
-include $(C55_DEPS)
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
-include ../makefile.defs
|
|
||||||
|
|
||||||
# Add inputs and outputs from these tool invocations to the build variables
|
|
||||||
EXE_OUTPUTS += \
|
|
||||||
Debug2.out \
|
|
||||||
|
|
||||||
EXE_OUTPUTS__QUOTED += \
|
|
||||||
"Debug2.out" \
|
|
||||||
|
|
||||||
BIN_OUTPUTS += \
|
|
||||||
Debug2.hex \
|
|
||||||
|
|
||||||
BIN_OUTPUTS__QUOTED += \
|
|
||||||
"Debug2.hex" \
|
|
||||||
|
|
||||||
|
|
||||||
# All Target
|
|
||||||
all: Debug2.out
|
|
||||||
|
|
||||||
# Tool invocations
|
|
||||||
Debug2.out: $(OBJS) $(CMD_SRCS) $(GEN_CMDS)
|
|
||||||
@echo 'Building target: $@'
|
|
||||||
@echo 'Invoking: MSP430 Linker'
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/bin/cl430" -vmspx --data_model=restricted --use_hw_mpy=F5 --advice:power=all -g --define=__MSP430F5438A__ --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal -z -m"Debug2.map" --stack_size=160 --heap_size=160 --cinit_hold_wdt=on -i"C:/ti/ccsv6/ccs_base/msp430/include" -i"C:/ti/ccsv6/ccs_base/msp430/lib/5xx_6xx_FRxx" -i"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/lib" -i"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include" --reread_libs --warn_sections --display_error_number --diag_wrap=off --xml_link_info="Debug2_linkInfo.xml" --use_hw_mpy=F5 --rom_model -o "Debug2.out" $(ORDERED_OBJS)
|
|
||||||
@echo 'Finished building target: $@'
|
|
||||||
@echo ' '
|
|
||||||
|
|
||||||
Debug2.hex: $(EXE_OUTPUTS)
|
|
||||||
@echo 'Invoking: MSP430 Hex Utility'
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/bin/hex430" --memwidth=8 --romwidth=8 -o "Debug2.hex" $(EXE_OUTPUTS__QUOTED)
|
|
||||||
@echo 'Finished building: $@'
|
|
||||||
@echo ' '
|
|
||||||
|
|
||||||
# Other Targets
|
|
||||||
clean:
|
|
||||||
-$(RM) $(EXE_OUTPUTS__QUOTED)$(BIN_OUTPUTS__QUOTED)
|
|
||||||
-$(RM) "CAN.d" "Decode_LUT.d" "MODEM.d" "RTC.d" "char_FIFO.d" "clock_init.d" "io_init.d" "main.d" "message_FIFO.d"
|
|
||||||
-$(RM) "CAN.obj" "Decode_LUT.obj" "MODEM.obj" "RTC.obj" "RTCASMFunctions_CCE.obj" "char_FIFO.obj" "clock_init.obj" "io_init.obj" "main.obj" "message_FIFO.obj"
|
|
||||||
-$(RM) "RTCASMFunctions_CCE.d"
|
|
||||||
-@echo 'Finished clean'
|
|
||||||
-@echo ' '
|
|
||||||
|
|
||||||
.PHONY: all clean dependents
|
|
||||||
.SECONDARY:
|
|
||||||
|
|
||||||
-include ../makefile.targets
|
|
||||||
|
|
||||||
@@ -1,115 +0,0 @@
|
|||||||
################################################################################
|
|
||||||
# Automatically-generated file. Do not edit!
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
O_SRCS :=
|
|
||||||
CPP_SRCS :=
|
|
||||||
K_SRCS :=
|
|
||||||
LD_SRCS :=
|
|
||||||
S67_SRCS :=
|
|
||||||
LDS_SRCS :=
|
|
||||||
CMD_SRCS :=
|
|
||||||
EXE_SRCS :=
|
|
||||||
CXX_SRCS :=
|
|
||||||
CMD_UPPER_SRCS :=
|
|
||||||
ELF_SRCS :=
|
|
||||||
C43_SRCS :=
|
|
||||||
S55_SRCS :=
|
|
||||||
LD_UPPER_SRCS :=
|
|
||||||
C62_SRCS :=
|
|
||||||
S_UPPER_SRCS :=
|
|
||||||
A_SRCS :=
|
|
||||||
SA_SRCS :=
|
|
||||||
C55_SRCS :=
|
|
||||||
LDS_UPPER_SRCS :=
|
|
||||||
C_UPPER_SRCS :=
|
|
||||||
OUT_SRCS :=
|
|
||||||
INO_SRCS :=
|
|
||||||
OBJ_SRCS :=
|
|
||||||
S62_SRCS :=
|
|
||||||
LIB_SRCS :=
|
|
||||||
PDE_SRCS :=
|
|
||||||
SV7A_SRCS :=
|
|
||||||
ASM_SRCS :=
|
|
||||||
ASM_UPPER_SRCS :=
|
|
||||||
C++_SRCS :=
|
|
||||||
CLA_SRCS :=
|
|
||||||
S??_SRCS :=
|
|
||||||
C_SRCS :=
|
|
||||||
C67_SRCS :=
|
|
||||||
S_SRCS :=
|
|
||||||
S43_SRCS :=
|
|
||||||
OPT_SRCS :=
|
|
||||||
C64_SRCS :=
|
|
||||||
CC_SRCS :=
|
|
||||||
C??_SRCS :=
|
|
||||||
S64_SRCS :=
|
|
||||||
OBJS :=
|
|
||||||
BIN_OUTPUTS :=
|
|
||||||
S_DEPS :=
|
|
||||||
S_UPPER_DEPS :=
|
|
||||||
S62_DEPS :=
|
|
||||||
C64_DEPS :=
|
|
||||||
ASM_DEPS :=
|
|
||||||
CC_DEPS :=
|
|
||||||
SV7A_DEPS :=
|
|
||||||
S55_DEPS :=
|
|
||||||
C67_DEPS :=
|
|
||||||
CLA_DEPS :=
|
|
||||||
C??_DEPS :=
|
|
||||||
CPP_DEPS :=
|
|
||||||
S??_DEPS :=
|
|
||||||
C_DEPS :=
|
|
||||||
C62_DEPS :=
|
|
||||||
EXE_OUTPUTS :=
|
|
||||||
CXX_DEPS :=
|
|
||||||
C++_DEPS :=
|
|
||||||
ASM_UPPER_DEPS :=
|
|
||||||
K_DEPS :=
|
|
||||||
C43_DEPS :=
|
|
||||||
INO_DEPS :=
|
|
||||||
S67_DEPS :=
|
|
||||||
SA_DEPS :=
|
|
||||||
S43_DEPS :=
|
|
||||||
OPT_DEPS :=
|
|
||||||
PDE_DEPS :=
|
|
||||||
S64_DEPS :=
|
|
||||||
C_UPPER_DEPS :=
|
|
||||||
C55_DEPS :=
|
|
||||||
CPP_DEPS__QUOTED :=
|
|
||||||
C67_DEPS__QUOTED :=
|
|
||||||
INO_DEPS__QUOTED :=
|
|
||||||
C??_DEPS__QUOTED :=
|
|
||||||
S_UPPER_DEPS__QUOTED :=
|
|
||||||
CLA_DEPS__QUOTED :=
|
|
||||||
ASM_UPPER_DEPS__QUOTED :=
|
|
||||||
C62_DEPS__QUOTED :=
|
|
||||||
CXX_DEPS__QUOTED :=
|
|
||||||
EXE_OUTPUTS__QUOTED :=
|
|
||||||
S67_DEPS__QUOTED :=
|
|
||||||
BIN_OUTPUTS__QUOTED :=
|
|
||||||
C_DEPS__QUOTED :=
|
|
||||||
C_UPPER_DEPS__QUOTED :=
|
|
||||||
OPT_DEPS__QUOTED :=
|
|
||||||
S_DEPS__QUOTED :=
|
|
||||||
K_DEPS__QUOTED :=
|
|
||||||
S??_DEPS__QUOTED :=
|
|
||||||
C64_DEPS__QUOTED :=
|
|
||||||
C++_DEPS__QUOTED :=
|
|
||||||
OBJS__QUOTED :=
|
|
||||||
CC_DEPS__QUOTED :=
|
|
||||||
S43_DEPS__QUOTED :=
|
|
||||||
S55_DEPS__QUOTED :=
|
|
||||||
SA_DEPS__QUOTED :=
|
|
||||||
C55_DEPS__QUOTED :=
|
|
||||||
PDE_DEPS__QUOTED :=
|
|
||||||
C43_DEPS__QUOTED :=
|
|
||||||
S62_DEPS__QUOTED :=
|
|
||||||
ASM_DEPS__QUOTED :=
|
|
||||||
SV7A_DEPS__QUOTED :=
|
|
||||||
S64_DEPS__QUOTED :=
|
|
||||||
|
|
||||||
# Every subdirectory with source files must be described here
|
|
||||||
SUBDIRS := \
|
|
||||||
. \
|
|
||||||
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
################################################################################
|
|
||||||
# Automatically-generated file. Do not edit!
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
# Each subdirectory must supply rules for building sources it contributes
|
|
||||||
clock_init.obj: ../clock_init.c $(GEN_OPTS) | $(GEN_HDRS)
|
|
||||||
@echo 'Building file: $<'
|
|
||||||
@echo 'Invoking: MSP430 Compiler'
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/bin/cl430" -vmspx --data_model=restricted --use_hw_mpy=F5 --include_path="C:/ti/ccsv6/ccs_base/msp430/include" --include_path="C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include" --advice:power=all -g --define=__MSP430F5438A__ --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="clock_init.d" $(GEN_OPTS__FLAG) "$<"
|
|
||||||
@echo 'Finished building: $<'
|
|
||||||
@echo ' '
|
|
||||||
|
|
||||||
main.obj: ../main.c $(GEN_OPTS) | $(GEN_HDRS)
|
|
||||||
@echo 'Building file: $<'
|
|
||||||
@echo 'Invoking: MSP430 Compiler'
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/bin/cl430" -vmspx --data_model=restricted --use_hw_mpy=F5 --include_path="C:/ti/ccsv6/ccs_base/msp430/include" --include_path="C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include" --advice:power=all -g --define=__MSP430F5438A__ --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="main.d" $(GEN_OPTS__FLAG) "$<"
|
|
||||||
@echo 'Finished building: $<'
|
|
||||||
@echo ' '
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,33 +0,0 @@
|
|||||||
################################################################################
|
|
||||||
# Automatically-generated file. Do not edit!
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
# Add inputs and outputs from these tool invocations to the build variables
|
|
||||||
CMD_SRCS += \
|
|
||||||
../lnk_msp430f5438a.cmd
|
|
||||||
|
|
||||||
C_SRCS += \
|
|
||||||
../clock_init.c \
|
|
||||||
../main.c
|
|
||||||
|
|
||||||
OBJS += \
|
|
||||||
./clock_init.obj \
|
|
||||||
./main.obj
|
|
||||||
|
|
||||||
C_DEPS += \
|
|
||||||
./clock_init.d \
|
|
||||||
./main.d
|
|
||||||
|
|
||||||
C_DEPS__QUOTED += \
|
|
||||||
"clock_init.d" \
|
|
||||||
"main.d"
|
|
||||||
|
|
||||||
OBJS__QUOTED += \
|
|
||||||
"clock_init.obj" \
|
|
||||||
"main.obj"
|
|
||||||
|
|
||||||
C_SRCS__QUOTED += \
|
|
||||||
"../clock_init.c" \
|
|
||||||
"../main.c"
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,140 +0,0 @@
|
|||||||
#include <msp430.h>
|
|
||||||
|
|
||||||
/*
|
|
||||||
* main.c
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <msp430x54xa.h>
|
|
||||||
#include <ctype.h>
|
|
||||||
#include <string.h>
|
|
||||||
#include <math.h>
|
|
||||||
#include <float.h>
|
|
||||||
|
|
||||||
#include "Sunseeker2021.h"
|
|
||||||
|
|
||||||
// structures
|
|
||||||
message_fifo decode_queue;
|
|
||||||
char_fifo USB_FIFO, MODEM_FIFO;
|
|
||||||
|
|
||||||
hf_packet pckHF;
|
|
||||||
lf_packet pckLF;
|
|
||||||
status_packet pckST;
|
|
||||||
|
|
||||||
unsigned int can_mask0, can_mask1;
|
|
||||||
|
|
||||||
enum MODE {INIT, CANREAD, DECODE, MODEMTX, USBTX, LOWP, LOOP} ucMODE;
|
|
||||||
unsigned volatile char can_status_test, can_rcv_status_test;
|
|
||||||
unsigned long can_msg_count = 0, can_stall_cnt = 0;
|
|
||||||
unsigned long can_err_count = 0, can_read_cnt = 0;
|
|
||||||
int thrs, tmin, tsec;
|
|
||||||
char ucFLAG,usbENABLE;
|
|
||||||
char CAN1_INT_FLAG = FALSE;
|
|
||||||
|
|
||||||
volatile unsigned char hs_comms_flag = FALSE;
|
|
||||||
volatile unsigned char ls_comms_flag = FALSE;
|
|
||||||
volatile unsigned char st_comms_flag = FALSE;
|
|
||||||
|
|
||||||
static char init_msg_data[21] = "0xHHHHHHHH,0xHHHHHHHH";
|
|
||||||
|
|
||||||
|
|
||||||
// General Variables
|
|
||||||
|
|
||||||
// CAN Communication Variables
|
|
||||||
volatile unsigned char cancomm_flag = FALSE; //used for CAN transmission timing
|
|
||||||
volatile unsigned char send_can = FALSE; //used for CAN transmission timing
|
|
||||||
volatile unsigned char rcv_can = FALSE; //used for CAN transmission timing
|
|
||||||
volatile unsigned char can_full = FALSE; //used for CAN transmission status
|
|
||||||
|
|
||||||
int main(void) {
|
|
||||||
WDTCTL = WDTPW | WDTHOLD; // Stop watchdog timer
|
|
||||||
_DINT(); //disables interrupts
|
|
||||||
|
|
||||||
clock_init(); //Configure HF and LF clocks
|
|
||||||
timerB_init(); //init timer B
|
|
||||||
|
|
||||||
io_init();
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
_EINT(); //enable global interrupts
|
|
||||||
|
|
||||||
ucMODE = INIT;
|
|
||||||
|
|
||||||
while(1)
|
|
||||||
{
|
|
||||||
if(hs_comms_flag){
|
|
||||||
hs_comms_flag = FALSE;
|
|
||||||
P8OUT ^= BIT3; // Toggle P1.0
|
|
||||||
P8OUT ^= BIT6; // Toggle P1.0
|
|
||||||
}
|
|
||||||
|
|
||||||
// __delay_cycles(100000); // Delay
|
|
||||||
}
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Initialise Timer B
|
|
||||||
* - Provides timer tick timebase at 100 Hz
|
|
||||||
*/
|
|
||||||
void timerB_init( void )
|
|
||||||
{
|
|
||||||
TBCTL = CNTL_0 | TBSSEL_1 | ID_3 | TBCLR; // ACLK/8, clear TBR
|
|
||||||
TBCCR0 = (ACLK_RATE/8/TICK_RATE); // Set timer to count to this value = TICK_RATE overflow
|
|
||||||
TBCCTL0 = CCIE; // Enable CCR0 interrrupt
|
|
||||||
TBCTL |= MC_1; // Set timer to 'up' count mode
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Timer B CCR0 Interrupt Service Routine
|
|
||||||
* - Interrupts on Timer B CCR0 match at 10Hz
|
|
||||||
* - Sets Time_Flag variable
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* GNU interropt symantics
|
|
||||||
* interrupt(TIMERB0_VECTOR) timer_b0(void)
|
|
||||||
*/
|
|
||||||
#pragma vector = TIMERB0_VECTOR
|
|
||||||
__interrupt void timer_b0(void)
|
|
||||||
{
|
|
||||||
static unsigned int status_count = TELEM_STATUS_COUNT;
|
|
||||||
static unsigned int hs_comms_count = HS_COMMS_SPEED;
|
|
||||||
static unsigned int ls_comms_count = LS_COMMS_SPEED;
|
|
||||||
static unsigned int st_comms_count = ST_COMMS_SPEED;
|
|
||||||
|
|
||||||
if (ucMODE != INIT)
|
|
||||||
{
|
|
||||||
// Trigger comms events (hs command packet transmission)
|
|
||||||
hs_comms_count--;
|
|
||||||
if( hs_comms_count == 0 ){
|
|
||||||
hs_comms_count = HS_COMMS_SPEED;
|
|
||||||
hs_comms_flag = TRUE;
|
|
||||||
}
|
|
||||||
|
|
||||||
ls_comms_count--;
|
|
||||||
if( ls_comms_count == 0 ){
|
|
||||||
ls_comms_count = LS_COMMS_SPEED;
|
|
||||||
ls_comms_flag = TRUE;
|
|
||||||
}
|
|
||||||
|
|
||||||
st_comms_count--;
|
|
||||||
if( st_comms_count == 0 ){
|
|
||||||
st_comms_count = ST_COMMS_SPEED;
|
|
||||||
st_comms_flag = TRUE;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Primary System Heartbeat
|
|
||||||
status_count--;
|
|
||||||
if( status_count == 0 )
|
|
||||||
{
|
|
||||||
status_count = TELEM_STATUS_COUNT;
|
|
||||||
status_flag = TRUE;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,165 +0,0 @@
|
|||||||
################################################################################
|
|
||||||
# Automatically-generated file. Do not edit!
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
SHELL = cmd.exe
|
|
||||||
|
|
||||||
CG_TOOL_ROOT := C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS
|
|
||||||
|
|
||||||
GEN_OPTS__FLAG :=
|
|
||||||
GEN_CMDS__FLAG :=
|
|
||||||
|
|
||||||
ORDERED_OBJS += \
|
|
||||||
"./main.obj" \
|
|
||||||
"../lnk_msp430f5438a.cmd" \
|
|
||||||
$(GEN_CMDS__FLAG) \
|
|
||||||
-llibmath.a \
|
|
||||||
-llibc.a \
|
|
||||||
|
|
||||||
-include ../makefile.init
|
|
||||||
|
|
||||||
RM := DEL /F
|
|
||||||
RMDIR := RMDIR /S/Q
|
|
||||||
|
|
||||||
# All of the sources participating in the build are defined here
|
|
||||||
-include sources.mk
|
|
||||||
-include subdir_vars.mk
|
|
||||||
-include subdir_rules.mk
|
|
||||||
-include objects.mk
|
|
||||||
|
|
||||||
ifneq ($(MAKECMDGOALS),clean)
|
|
||||||
ifneq ($(strip $(S_DEPS)),)
|
|
||||||
-include $(S_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(S_UPPER_DEPS)),)
|
|
||||||
-include $(S_UPPER_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(S62_DEPS)),)
|
|
||||||
-include $(S62_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(C64_DEPS)),)
|
|
||||||
-include $(C64_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(ASM_DEPS)),)
|
|
||||||
-include $(ASM_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(CC_DEPS)),)
|
|
||||||
-include $(CC_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(SV7A_DEPS)),)
|
|
||||||
-include $(SV7A_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(S55_DEPS)),)
|
|
||||||
-include $(S55_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(C67_DEPS)),)
|
|
||||||
-include $(C67_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(CLA_DEPS)),)
|
|
||||||
-include $(CLA_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(C??_DEPS)),)
|
|
||||||
-include $(C??_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(CPP_DEPS)),)
|
|
||||||
-include $(CPP_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(S??_DEPS)),)
|
|
||||||
-include $(S??_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(C_DEPS)),)
|
|
||||||
-include $(C_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(C62_DEPS)),)
|
|
||||||
-include $(C62_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(CXX_DEPS)),)
|
|
||||||
-include $(CXX_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(C++_DEPS)),)
|
|
||||||
-include $(C++_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(ASM_UPPER_DEPS)),)
|
|
||||||
-include $(ASM_UPPER_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(K_DEPS)),)
|
|
||||||
-include $(K_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(C43_DEPS)),)
|
|
||||||
-include $(C43_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(INO_DEPS)),)
|
|
||||||
-include $(INO_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(S67_DEPS)),)
|
|
||||||
-include $(S67_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(SA_DEPS)),)
|
|
||||||
-include $(SA_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(S43_DEPS)),)
|
|
||||||
-include $(S43_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(OPT_DEPS)),)
|
|
||||||
-include $(OPT_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(PDE_DEPS)),)
|
|
||||||
-include $(PDE_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(S64_DEPS)),)
|
|
||||||
-include $(S64_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(C_UPPER_DEPS)),)
|
|
||||||
-include $(C_UPPER_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(C55_DEPS)),)
|
|
||||||
-include $(C55_DEPS)
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
-include ../makefile.defs
|
|
||||||
|
|
||||||
# Add inputs and outputs from these tool invocations to the build variables
|
|
||||||
EXE_OUTPUTS += \
|
|
||||||
Debug1.out \
|
|
||||||
|
|
||||||
EXE_OUTPUTS__QUOTED += \
|
|
||||||
"Debug1.out" \
|
|
||||||
|
|
||||||
BIN_OUTPUTS += \
|
|
||||||
Debug1.hex \
|
|
||||||
|
|
||||||
BIN_OUTPUTS__QUOTED += \
|
|
||||||
"Debug1.hex" \
|
|
||||||
|
|
||||||
|
|
||||||
# All Target
|
|
||||||
all: Debug1.out
|
|
||||||
|
|
||||||
# Tool invocations
|
|
||||||
Debug1.out: $(OBJS) $(CMD_SRCS) $(GEN_CMDS)
|
|
||||||
@echo 'Building target: $@'
|
|
||||||
@echo 'Invoking: MSP430 Linker'
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/bin/cl430" -vmspx --data_model=restricted --use_hw_mpy=F5 --advice:power=all -g --define=__MSP430F5438A__ --diag_warning=225 --display_error_number --diag_wrap=off --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal -z -m"Debug1.map" --heap_size=160 --stack_size=160 --cinit_hold_wdt=on -i"C:/ti/ccsv6/ccs_base/msp430/include" -i"C:/ti/ccsv6/ccs_base/msp430/lib/5xx_6xx_FRxx" -i"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/lib" -i"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include" --reread_libs --display_error_number --warn_sections --diag_wrap=off --xml_link_info="Debug1_linkInfo.xml" --use_hw_mpy=F5 --rom_model -o "Debug1.out" $(ORDERED_OBJS)
|
|
||||||
@echo 'Finished building target: $@'
|
|
||||||
@echo ' '
|
|
||||||
|
|
||||||
Debug1.hex: $(EXE_OUTPUTS)
|
|
||||||
@echo 'Invoking: MSP430 Hex Utility'
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/bin/hex430" --memwidth=8 --romwidth=8 -o "Debug1.hex" $(EXE_OUTPUTS__QUOTED)
|
|
||||||
@echo 'Finished building: $@'
|
|
||||||
@echo ' '
|
|
||||||
|
|
||||||
# Other Targets
|
|
||||||
clean:
|
|
||||||
-$(RM) $(EXE_OUTPUTS__QUOTED)$(BIN_OUTPUTS__QUOTED)
|
|
||||||
-$(RM) "main.d"
|
|
||||||
-$(RM) "main.obj"
|
|
||||||
-@echo 'Finished clean'
|
|
||||||
-@echo ' '
|
|
||||||
|
|
||||||
.PHONY: all clean dependents
|
|
||||||
.SECONDARY:
|
|
||||||
|
|
||||||
-include ../makefile.targets
|
|
||||||
|
|
||||||
@@ -1,166 +0,0 @@
|
|||||||
################################################################################
|
|
||||||
# Automatically-generated file. Do not edit!
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
SHELL = cmd.exe
|
|
||||||
|
|
||||||
CG_TOOL_ROOT := C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS
|
|
||||||
|
|
||||||
GEN_OPTS__FLAG :=
|
|
||||||
GEN_CMDS__FLAG :=
|
|
||||||
|
|
||||||
ORDERED_OBJS += \
|
|
||||||
"./clock_init.obj" \
|
|
||||||
"./main.obj" \
|
|
||||||
"../lnk_msp430f5438a.cmd" \
|
|
||||||
$(GEN_CMDS__FLAG) \
|
|
||||||
-llibmath.a \
|
|
||||||
-llibc.a \
|
|
||||||
|
|
||||||
-include ../makefile.init
|
|
||||||
|
|
||||||
RM := DEL /F
|
|
||||||
RMDIR := RMDIR /S/Q
|
|
||||||
|
|
||||||
# All of the sources participating in the build are defined here
|
|
||||||
-include sources.mk
|
|
||||||
-include subdir_vars.mk
|
|
||||||
-include subdir_rules.mk
|
|
||||||
-include objects.mk
|
|
||||||
|
|
||||||
ifneq ($(MAKECMDGOALS),clean)
|
|
||||||
ifneq ($(strip $(S_DEPS)),)
|
|
||||||
-include $(S_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(S_UPPER_DEPS)),)
|
|
||||||
-include $(S_UPPER_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(S62_DEPS)),)
|
|
||||||
-include $(S62_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(C64_DEPS)),)
|
|
||||||
-include $(C64_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(ASM_DEPS)),)
|
|
||||||
-include $(ASM_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(CC_DEPS)),)
|
|
||||||
-include $(CC_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(SV7A_DEPS)),)
|
|
||||||
-include $(SV7A_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(S55_DEPS)),)
|
|
||||||
-include $(S55_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(C67_DEPS)),)
|
|
||||||
-include $(C67_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(CLA_DEPS)),)
|
|
||||||
-include $(CLA_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(C??_DEPS)),)
|
|
||||||
-include $(C??_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(CPP_DEPS)),)
|
|
||||||
-include $(CPP_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(S??_DEPS)),)
|
|
||||||
-include $(S??_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(C_DEPS)),)
|
|
||||||
-include $(C_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(C62_DEPS)),)
|
|
||||||
-include $(C62_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(CXX_DEPS)),)
|
|
||||||
-include $(CXX_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(C++_DEPS)),)
|
|
||||||
-include $(C++_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(ASM_UPPER_DEPS)),)
|
|
||||||
-include $(ASM_UPPER_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(K_DEPS)),)
|
|
||||||
-include $(K_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(C43_DEPS)),)
|
|
||||||
-include $(C43_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(INO_DEPS)),)
|
|
||||||
-include $(INO_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(S67_DEPS)),)
|
|
||||||
-include $(S67_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(SA_DEPS)),)
|
|
||||||
-include $(SA_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(S43_DEPS)),)
|
|
||||||
-include $(S43_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(OPT_DEPS)),)
|
|
||||||
-include $(OPT_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(PDE_DEPS)),)
|
|
||||||
-include $(PDE_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(S64_DEPS)),)
|
|
||||||
-include $(S64_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(C_UPPER_DEPS)),)
|
|
||||||
-include $(C_UPPER_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(C55_DEPS)),)
|
|
||||||
-include $(C55_DEPS)
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
-include ../makefile.defs
|
|
||||||
|
|
||||||
# Add inputs and outputs from these tool invocations to the build variables
|
|
||||||
EXE_OUTPUTS += \
|
|
||||||
Debug1.out \
|
|
||||||
|
|
||||||
EXE_OUTPUTS__QUOTED += \
|
|
||||||
"Debug1.out" \
|
|
||||||
|
|
||||||
BIN_OUTPUTS += \
|
|
||||||
Debug1.hex \
|
|
||||||
|
|
||||||
BIN_OUTPUTS__QUOTED += \
|
|
||||||
"Debug1.hex" \
|
|
||||||
|
|
||||||
|
|
||||||
# All Target
|
|
||||||
all: Debug1.out
|
|
||||||
|
|
||||||
# Tool invocations
|
|
||||||
Debug1.out: $(OBJS) $(CMD_SRCS) $(GEN_CMDS)
|
|
||||||
@echo 'Building target: $@'
|
|
||||||
@echo 'Invoking: MSP430 Linker'
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/bin/cl430" -vmspx --data_model=restricted --use_hw_mpy=F5 --advice:power=all -g --define=__MSP430F5438A__ --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal -z -m"Debug1.map" --stack_size=160 --heap_size=160 --cinit_hold_wdt=on -i"C:/ti/ccsv6/ccs_base/msp430/include" -i"C:/ti/ccsv6/ccs_base/msp430/lib/5xx_6xx_FRxx" -i"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/lib" -i"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include" --reread_libs --warn_sections --display_error_number --diag_wrap=off --xml_link_info="Debug1_linkInfo.xml" --use_hw_mpy=F5 --rom_model -o "Debug1.out" $(ORDERED_OBJS)
|
|
||||||
@echo 'Finished building target: $@'
|
|
||||||
@echo ' '
|
|
||||||
|
|
||||||
Debug1.hex: $(EXE_OUTPUTS)
|
|
||||||
@echo 'Invoking: MSP430 Hex Utility'
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/bin/hex430" --memwidth=8 --romwidth=8 -o "Debug1.hex" $(EXE_OUTPUTS__QUOTED)
|
|
||||||
@echo 'Finished building: $@'
|
|
||||||
@echo ' '
|
|
||||||
|
|
||||||
# Other Targets
|
|
||||||
clean:
|
|
||||||
-$(RM) $(EXE_OUTPUTS__QUOTED)$(BIN_OUTPUTS__QUOTED)
|
|
||||||
-$(RM) "clock_init.d" "main.d"
|
|
||||||
-$(RM) "clock_init.obj" "main.obj"
|
|
||||||
-@echo 'Finished clean'
|
|
||||||
-@echo ' '
|
|
||||||
|
|
||||||
.PHONY: all clean dependents
|
|
||||||
.SECONDARY:
|
|
||||||
|
|
||||||
-include ../makefile.targets
|
|
||||||
|
|
||||||
@@ -1,115 +0,0 @@
|
|||||||
################################################################################
|
|
||||||
# Automatically-generated file. Do not edit!
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
O_SRCS :=
|
|
||||||
CPP_SRCS :=
|
|
||||||
K_SRCS :=
|
|
||||||
LD_SRCS :=
|
|
||||||
S67_SRCS :=
|
|
||||||
LDS_SRCS :=
|
|
||||||
CMD_SRCS :=
|
|
||||||
EXE_SRCS :=
|
|
||||||
CXX_SRCS :=
|
|
||||||
CMD_UPPER_SRCS :=
|
|
||||||
ELF_SRCS :=
|
|
||||||
C43_SRCS :=
|
|
||||||
S55_SRCS :=
|
|
||||||
LD_UPPER_SRCS :=
|
|
||||||
C62_SRCS :=
|
|
||||||
S_UPPER_SRCS :=
|
|
||||||
A_SRCS :=
|
|
||||||
SA_SRCS :=
|
|
||||||
C55_SRCS :=
|
|
||||||
LDS_UPPER_SRCS :=
|
|
||||||
C_UPPER_SRCS :=
|
|
||||||
OUT_SRCS :=
|
|
||||||
INO_SRCS :=
|
|
||||||
OBJ_SRCS :=
|
|
||||||
S62_SRCS :=
|
|
||||||
LIB_SRCS :=
|
|
||||||
PDE_SRCS :=
|
|
||||||
SV7A_SRCS :=
|
|
||||||
ASM_SRCS :=
|
|
||||||
ASM_UPPER_SRCS :=
|
|
||||||
C++_SRCS :=
|
|
||||||
CLA_SRCS :=
|
|
||||||
S??_SRCS :=
|
|
||||||
C_SRCS :=
|
|
||||||
C67_SRCS :=
|
|
||||||
S_SRCS :=
|
|
||||||
S43_SRCS :=
|
|
||||||
OPT_SRCS :=
|
|
||||||
C64_SRCS :=
|
|
||||||
CC_SRCS :=
|
|
||||||
C??_SRCS :=
|
|
||||||
S64_SRCS :=
|
|
||||||
OBJS :=
|
|
||||||
BIN_OUTPUTS :=
|
|
||||||
S_DEPS :=
|
|
||||||
S_UPPER_DEPS :=
|
|
||||||
S62_DEPS :=
|
|
||||||
C64_DEPS :=
|
|
||||||
ASM_DEPS :=
|
|
||||||
CC_DEPS :=
|
|
||||||
SV7A_DEPS :=
|
|
||||||
S55_DEPS :=
|
|
||||||
C67_DEPS :=
|
|
||||||
CLA_DEPS :=
|
|
||||||
C??_DEPS :=
|
|
||||||
CPP_DEPS :=
|
|
||||||
S??_DEPS :=
|
|
||||||
C_DEPS :=
|
|
||||||
C62_DEPS :=
|
|
||||||
EXE_OUTPUTS :=
|
|
||||||
CXX_DEPS :=
|
|
||||||
C++_DEPS :=
|
|
||||||
ASM_UPPER_DEPS :=
|
|
||||||
K_DEPS :=
|
|
||||||
C43_DEPS :=
|
|
||||||
INO_DEPS :=
|
|
||||||
S67_DEPS :=
|
|
||||||
SA_DEPS :=
|
|
||||||
S43_DEPS :=
|
|
||||||
OPT_DEPS :=
|
|
||||||
PDE_DEPS :=
|
|
||||||
S64_DEPS :=
|
|
||||||
C_UPPER_DEPS :=
|
|
||||||
C55_DEPS :=
|
|
||||||
CPP_DEPS__QUOTED :=
|
|
||||||
C67_DEPS__QUOTED :=
|
|
||||||
INO_DEPS__QUOTED :=
|
|
||||||
C??_DEPS__QUOTED :=
|
|
||||||
S_UPPER_DEPS__QUOTED :=
|
|
||||||
CLA_DEPS__QUOTED :=
|
|
||||||
ASM_UPPER_DEPS__QUOTED :=
|
|
||||||
C62_DEPS__QUOTED :=
|
|
||||||
CXX_DEPS__QUOTED :=
|
|
||||||
EXE_OUTPUTS__QUOTED :=
|
|
||||||
S67_DEPS__QUOTED :=
|
|
||||||
BIN_OUTPUTS__QUOTED :=
|
|
||||||
C_DEPS__QUOTED :=
|
|
||||||
C_UPPER_DEPS__QUOTED :=
|
|
||||||
OPT_DEPS__QUOTED :=
|
|
||||||
S_DEPS__QUOTED :=
|
|
||||||
K_DEPS__QUOTED :=
|
|
||||||
S??_DEPS__QUOTED :=
|
|
||||||
C64_DEPS__QUOTED :=
|
|
||||||
C++_DEPS__QUOTED :=
|
|
||||||
OBJS__QUOTED :=
|
|
||||||
CC_DEPS__QUOTED :=
|
|
||||||
S43_DEPS__QUOTED :=
|
|
||||||
S55_DEPS__QUOTED :=
|
|
||||||
SA_DEPS__QUOTED :=
|
|
||||||
C55_DEPS__QUOTED :=
|
|
||||||
PDE_DEPS__QUOTED :=
|
|
||||||
C43_DEPS__QUOTED :=
|
|
||||||
S62_DEPS__QUOTED :=
|
|
||||||
ASM_DEPS__QUOTED :=
|
|
||||||
SV7A_DEPS__QUOTED :=
|
|
||||||
S64_DEPS__QUOTED :=
|
|
||||||
|
|
||||||
# Every subdirectory with source files must be described here
|
|
||||||
SUBDIRS := \
|
|
||||||
. \
|
|
||||||
|
|
||||||
@@ -1,41 +0,0 @@
|
|||||||
################################################################################
|
|
||||||
# Automatically-generated file. Do not edit!
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
# Each subdirectory must supply rules for building sources it contributes
|
|
||||||
can.obj: ../can.c $(GEN_OPTS) | $(GEN_HDRS)
|
|
||||||
@echo 'Building file: $<'
|
|
||||||
@echo 'Invoking: MSP430 Compiler'
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/bin/cl430" -vmspx --data_model=restricted --use_hw_mpy=F5 --include_path="C:/ti/ccsv6/ccs_base/msp430/include" --include_path="C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include" --advice:power=all -g --define=__MSP430F5438A__ --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="can.d" $(GEN_OPTS__FLAG) "$<"
|
|
||||||
@echo 'Finished building: $<'
|
|
||||||
@echo ' '
|
|
||||||
|
|
||||||
canspi.obj: ../canspi.c $(GEN_OPTS) | $(GEN_HDRS)
|
|
||||||
@echo 'Building file: $<'
|
|
||||||
@echo 'Invoking: MSP430 Compiler'
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/bin/cl430" -vmspx --data_model=restricted --use_hw_mpy=F5 --include_path="C:/ti/ccsv6/ccs_base/msp430/include" --include_path="C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include" --advice:power=all -g --define=__MSP430F5438A__ --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="canspi.d" $(GEN_OPTS__FLAG) "$<"
|
|
||||||
@echo 'Finished building: $<'
|
|
||||||
@echo ' '
|
|
||||||
|
|
||||||
clock_init.obj: ../clock_init.c $(GEN_OPTS) | $(GEN_HDRS)
|
|
||||||
@echo 'Building file: $<'
|
|
||||||
@echo 'Invoking: MSP430 Compiler'
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/bin/cl430" -vmspx --data_model=restricted --use_hw_mpy=F5 --include_path="C:/ti/ccsv6/ccs_base/msp430/include" --include_path="C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include" --advice:power=all -g --define=__MSP430F5438A__ --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="clock_init.d" $(GEN_OPTS__FLAG) "$<"
|
|
||||||
@echo 'Finished building: $<'
|
|
||||||
@echo ' '
|
|
||||||
|
|
||||||
io_init.obj: ../io_init.c $(GEN_OPTS) | $(GEN_HDRS)
|
|
||||||
@echo 'Building file: $<'
|
|
||||||
@echo 'Invoking: MSP430 Compiler'
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/bin/cl430" -vmspx --data_model=restricted --use_hw_mpy=F5 --include_path="C:/ti/ccsv6/ccs_base/msp430/include" --include_path="C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include" --advice:power=all -g --define=__MSP430F5438A__ --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="io_init.d" $(GEN_OPTS__FLAG) "$<"
|
|
||||||
@echo 'Finished building: $<'
|
|
||||||
@echo ' '
|
|
||||||
|
|
||||||
main.obj: ../main.c $(GEN_OPTS) | $(GEN_HDRS)
|
|
||||||
@echo 'Building file: $<'
|
|
||||||
@echo 'Invoking: MSP430 Compiler'
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/bin/cl430" -vmspx --data_model=restricted --use_hw_mpy=F5 --include_path="C:/ti/ccsv6/ccs_base/msp430/include" --include_path="C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include" --advice:power=all -g --define=__MSP430F5438A__ --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="main.d" $(GEN_OPTS__FLAG) "$<"
|
|
||||||
@echo 'Finished building: $<'
|
|
||||||
@echo ' '
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,111 +0,0 @@
|
|||||||
/*
|
|
||||||
* Battery Protection Software for BPS PCB Development
|
|
||||||
* Originally Written for BPS_V1 2012
|
|
||||||
*
|
|
||||||
* Modified for BPS_V2 2015 by Scott Haver
|
|
||||||
* WMU Sunseeker 2015
|
|
||||||
*
|
|
||||||
* I/O Initialization
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Include files
|
|
||||||
#include "main.h"
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Initialise I/O port directions and states
|
|
||||||
* Drive unused pins as outputs to avoid floating inputs
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
void io_init( void )
|
|
||||||
{
|
|
||||||
/******************************PORT 1**************************************/
|
|
||||||
P1OUT = 0x00; // Pull pins low
|
|
||||||
P1DIR = P1_UNUSED; //set to output
|
|
||||||
P1DIR &= ~(RTC_MFP | IMU_INTn); //set to input
|
|
||||||
/*Interrupts Enable*/
|
|
||||||
// P1SEL = RTC_MFP | IMU_INTn;
|
|
||||||
// P1IE = RTC_MFP | IMU_INTn; // Enable Interrupts
|
|
||||||
P1IES = IMU_INTn; //high to low
|
|
||||||
P1IFG = 0x00; //Clears all interrupt flags on Port 1
|
|
||||||
delay();
|
|
||||||
|
|
||||||
/******************************PORT 2**************************************/
|
|
||||||
P2OUT = 0x00; // Pull pins low
|
|
||||||
P2DIR = P2_UNUSED; //set to output
|
|
||||||
/*Interrupts Enable */
|
|
||||||
// P2SEL = CAN0_INTn | CAN1_INTn | GPS_INTn; //Interrupts Select
|
|
||||||
// P2IES = CAN0_INTn | CAN1_INTn | GPS_INTn;
|
|
||||||
// P2IE = CAN0_INTn | CAN1_INTn | GPS_INTn; // Enable Interrupts
|
|
||||||
// P2SEL |= CAN0_RXB0n | CAN0_RXB1n | CAN1_RXB0n | CAN1_RXB1n; //Interrupts Select
|
|
||||||
// P2IES |= CAN0_RXB0n | CAN0_RXB1n | CAN1_RXB0n | CAN1_RXB1n;
|
|
||||||
// P2IE |= CAN0_RXB0n | CAN0_RXB1n | CAN1_RXB0n | CAN1_RXB1n; // Enable Interrupts
|
|
||||||
P2IFG = 0x00; //Clears all interrupt flags on Port 2
|
|
||||||
delay();
|
|
||||||
|
|
||||||
/******************************PORT 3**************************************/
|
|
||||||
P3OUT = 0x00; // Pull pins low
|
|
||||||
P3DIR = CAN_SIMO | CAN_SCLK | ADC_bus1_CLK | ADC_misc_CLK | ADC_bus1_MOSI | ADC_bus2_MOSI | P3_UNUSED;
|
|
||||||
P3OUT |= CAN_SIMO | CAN_SCLK | ADC_bus1_CLK | ADC_misc_CLK | ADC_bus1_MOSI | ADC_bus2_MOSI;
|
|
||||||
P3DIR &= ~(CAN_SOMI | ADC_bus1_MISO);
|
|
||||||
P3SEL = ADC_bus1_CLK | CAN_SIMO | CAN_SOMI | CAN_SCLK | ADC_bus1_MOSI | ADC_bus1_MISO | ADC_misc_CLK | ADC_bus2_MOSI;
|
|
||||||
|
|
||||||
/******************************PORT 4**************************************/
|
|
||||||
P4OUT = 0x00; // Pull pins low
|
|
||||||
P4DIR = ADC_CS1 | ADC_CS2 | ADC_CS3 | ADC_CS4 | ADC_CS4 | ADC_CS5 | ADC_CS6 | ADC_CS7 | ADC_RSTn | P4_UNUSED;
|
|
||||||
P4OUT = ADC_CS1 | ADC_CS2 | ADC_CS3 | ADC_CS4 | ADC_CS4 | ADC_CS5 | ADC_CS6 | ADC_CS7 | ADC_RSTn;
|
|
||||||
delay();
|
|
||||||
P4OUT &= ~ADC_RSTn ;
|
|
||||||
delay();
|
|
||||||
delay();
|
|
||||||
P4OUT |= ADC_RSTn ;
|
|
||||||
|
|
||||||
/******************************PORT 5**************************************/
|
|
||||||
P5OUT = 0x00; // Pull pins low
|
|
||||||
P5DIR = ADC_misc_MOSI | ADC_bus2_CLK | XT2OUT | P5_UNUSED;
|
|
||||||
P5OUT = ADC_misc_MOSI | ADC_bus2_CLK;
|
|
||||||
P5DIR &= ~(ADC_misc_MISO | ADC_bus2_MISO);
|
|
||||||
P5SEL = XT2IN | XT2OUT | ADC_misc_MOSI | ADC_misc_MISO | ADC_bus2_CLK | ADC_bus2_MISO;
|
|
||||||
|
|
||||||
/******************************PORT 6**************************************/
|
|
||||||
P6OUT = 0x00; // Pull pins low
|
|
||||||
P6DIR = LED2 | LED3 | LED4 | LED5 | RELAY_BATT_OPEN | RELAY_ARRAY | RELAY_MCPC | RELAY_MC | P6_UNUSED;
|
|
||||||
P6OUT |= LED2 | LED3 | LED4 | LED5; //Turn off active low LEDs by pulling high
|
|
||||||
P6SEL = 0x00;
|
|
||||||
|
|
||||||
/******************************PORT 7**************************************/
|
|
||||||
P7OUT = 0x00; // Pull pins low
|
|
||||||
P7DIR = XT1OUT | RELAY_SCPC | RELAY_SC | EXT_RELAY_SCPC | EXT_RELAY_MCPC | P7_UNUSED;
|
|
||||||
P7SEL = XT1IN | XT1OUT;
|
|
||||||
|
|
||||||
/******************************PORT 8**************************************/
|
|
||||||
P8OUT = 0x00; // Pull pins low
|
|
||||||
P8DIR |= LT_CS1 | LT_CS2 | LT_CS3 | P8_UNUSED;
|
|
||||||
P8SEL = 0x00;
|
|
||||||
|
|
||||||
/******************************PORT 9**************************************/
|
|
||||||
P9OUT = 0x00; // Pull pins low
|
|
||||||
P9DIR = LT_SCLK_1 | LT_MOSI_2 | LT_SCLK_2 | LT_MOSI_1 | P9_UNUSED;
|
|
||||||
P9OUT = LT_SCLK_1 | LT_MOSI_2 | LT_SCLK_2 | LT_MOSI_1;
|
|
||||||
P9SEL = LT_SCLK_1 | LT_MOSI_2 | LT_SCLK_2 | LT_MOSI_1 | LT_MISO_2 | LT_MISO_1;
|
|
||||||
|
|
||||||
/******************************PORT 10**************************************/
|
|
||||||
P10OUT = 0x00; // Pull pins low
|
|
||||||
// P10DIR = EXT_TX | LT_MOSI_3 | LT_SCLK_3 | P10_UNUSED;
|
|
||||||
P10DIR = EXT_TX | LT_MOSI_3 | LT_SCLK_3 | RELAY_BATT |P10_UNUSED;
|
|
||||||
P10OUT = EXT_TX | LT_MOSI_3 | LT_SCLK_3;
|
|
||||||
P10SEL = EXT_TX | EXT_RX | LT_MOSI_3 | LT_MISO_3 | LT_SCLK_3;
|
|
||||||
|
|
||||||
|
|
||||||
/******************************PORT 11**************************************/
|
|
||||||
P11OUT = 0x00; // Pull pins low
|
|
||||||
P11DIR = ACLK_TEST | MCLK_TEST | SMCLK_TEST;
|
|
||||||
P11OUT = ACLK_TEST | MCLK_TEST | SMCLK_TEST;
|
|
||||||
P11SEL = ACLK_TEST | MCLK_TEST | SMCLK_TEST;
|
|
||||||
|
|
||||||
/******************************PORT J**************************************/
|
|
||||||
PJOUT = 0x00;
|
|
||||||
PJDIR = 0x0F; //set to output as per user's guide
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,104 +0,0 @@
|
|||||||
#include <msp430.h>
|
|
||||||
|
|
||||||
/*
|
|
||||||
* main.c
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <msp430x54xa.h>
|
|
||||||
#include <ctype.h>
|
|
||||||
#include <string.h>
|
|
||||||
#include <math.h>
|
|
||||||
#include <float.h>
|
|
||||||
|
|
||||||
#include "main.h"
|
|
||||||
|
|
||||||
// General Variables
|
|
||||||
volatile unsigned char status_flag = FALSE; //status flag set on timer B
|
|
||||||
|
|
||||||
// CAN Communication Variables
|
|
||||||
volatile unsigned char cancomm_flag = FALSE; //used for CAN transmission timing
|
|
||||||
volatile unsigned char send_can = FALSE; //used for CAN transmission timing
|
|
||||||
volatile unsigned char rcv_can = FALSE; //used for CAN transmission timing
|
|
||||||
volatile unsigned char can_full = FALSE; //used for CAN transmission status
|
|
||||||
volatile unsigned char ac_charge_mode = FALSE; //used for CAN transmission
|
|
||||||
volatile unsigned char dc_charge_mode = FALSE; //used for CAN transmission
|
|
||||||
volatile unsigned char charge_mode = 0x00; //used for CAN transmission
|
|
||||||
|
|
||||||
int main(void) {
|
|
||||||
WDTCTL = WDTPW | WDTHOLD; // Stop watchdog timer
|
|
||||||
_DINT(); //disables interrupts
|
|
||||||
|
|
||||||
clock_init(); //Configure HF and LF clocks
|
|
||||||
|
|
||||||
|
|
||||||
P8DIR |= BIT3; // P1.0 output
|
|
||||||
P8DIR |= BIT4; // P1.0 output
|
|
||||||
P8DIR |= BIT5; // P1.0 output
|
|
||||||
P8DIR |= BIT6; // P1.0 output
|
|
||||||
P8OUT &= ~BIT3; // Toggle P1.0
|
|
||||||
P8OUT &= ~BIT4; // Toggle P1.0
|
|
||||||
P8OUT &= ~BIT5; // Toggle P1.0
|
|
||||||
P8OUT &= ~BIT6; // Toggle P1.0
|
|
||||||
|
|
||||||
__EINT(); //enable global interrupts
|
|
||||||
|
|
||||||
while(1)
|
|
||||||
{
|
|
||||||
if(status_flag){
|
|
||||||
status_flag = FALSE;
|
|
||||||
P8OUT ^= BIT3; // Toggle P1.0
|
|
||||||
P8OUT ^= BIT6; // Toggle P1.0
|
|
||||||
}
|
|
||||||
|
|
||||||
// __delay_cycles(100000); // Delay
|
|
||||||
}
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Initialise Timer B
|
|
||||||
* - Provides timer tick timebase at 100 Hz
|
|
||||||
*/
|
|
||||||
void timerB_init( void )
|
|
||||||
{
|
|
||||||
TBCTL = CNTL_0 | TBSSEL_1 | ID_3 | TBCLR; // ACLK/8, clear TBR
|
|
||||||
TBCCR0 = (ACLK_RATE/8/TICK_RATE); // Set timer to count to this value = TICK_RATE overflow
|
|
||||||
TBCCTL0 = CCIE; // Enable CCR0 interrrupt
|
|
||||||
TBCTL |= MC_1; // Set timer to 'up' count mode
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Timer B CCR0 Interrupt Service Routine
|
|
||||||
* - Interrupts on Timer B CCR0 match at 10Hz
|
|
||||||
* - Sets Time_Flag variable
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* GNU interropt symantics
|
|
||||||
* interrupt(TIMERB0_VECTOR) timer_b0(void)
|
|
||||||
*/
|
|
||||||
#pragma vector = TIMERB0_VECTOR
|
|
||||||
__interrupt void timer_b0(void)
|
|
||||||
{
|
|
||||||
static unsigned int status_count = TELEM_STATUS_COUNT;
|
|
||||||
static unsigned int cancomm_count = CAN_COMMS_COUNT;
|
|
||||||
|
|
||||||
// Primary System Heartbeat
|
|
||||||
status_count--;
|
|
||||||
if( status_count == 0 )
|
|
||||||
{
|
|
||||||
status_count = TELEM_STATUS_COUNT;
|
|
||||||
status_flag = TRUE;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Periodic CAN Satus Transmission
|
|
||||||
if(send_can) cancomm_count--;
|
|
||||||
if( cancomm_count == 0 )
|
|
||||||
{
|
|
||||||
cancomm_count = CAN_COMMS_COUNT;
|
|
||||||
cancomm_flag = TRUE;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,42 +0,0 @@
|
|||||||
#include <msp430.h>
|
|
||||||
|
|
||||||
/*
|
|
||||||
* main.c
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <msp430x54xa.h>
|
|
||||||
#include <ctype.h>
|
|
||||||
#include <string.h>
|
|
||||||
#include <math.h>
|
|
||||||
#include <float.h>
|
|
||||||
|
|
||||||
#include "main.h"
|
|
||||||
|
|
||||||
|
|
||||||
int main(void) {
|
|
||||||
WDTCTL = WDTPW | WDTHOLD; // Stop watchdog timer
|
|
||||||
_DINT(); //disables interrupts
|
|
||||||
|
|
||||||
clock_init(); //Configure HF and LF clocks
|
|
||||||
|
|
||||||
|
|
||||||
P8DIR |= BIT3; // P1.0 output
|
|
||||||
P8DIR |= BIT4; // P1.0 output
|
|
||||||
P8DIR |= BIT5; // P1.0 output
|
|
||||||
P8DIR |= BIT6; // P1.0 output
|
|
||||||
P8OUT &= ~BIT3; // Toggle P1.0
|
|
||||||
P8OUT &= ~BIT4; // Toggle P1.0
|
|
||||||
P8OUT &= ~BIT5; // Toggle P1.0
|
|
||||||
P8OUT &= ~BIT6; // Toggle P1.0
|
|
||||||
|
|
||||||
while(1)
|
|
||||||
{
|
|
||||||
P8OUT ^= BIT3; // Toggle P1.0
|
|
||||||
P8OUT ^= BIT6; // Toggle P1.0
|
|
||||||
__delay_cycles(60000); // Delay
|
|
||||||
}
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
@@ -1,172 +0,0 @@
|
|||||||
################################################################################
|
|
||||||
# Automatically-generated file. Do not edit!
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
SHELL = cmd.exe
|
|
||||||
|
|
||||||
CG_TOOL_ROOT := C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS
|
|
||||||
|
|
||||||
GEN_OPTS__FLAG :=
|
|
||||||
GEN_CMDS__FLAG :=
|
|
||||||
|
|
||||||
ORDERED_OBJS += \
|
|
||||||
"./CAN.obj" \
|
|
||||||
"./MODEM.obj" \
|
|
||||||
"./RTC.obj" \
|
|
||||||
"./RTCASMFunctions_CCE.obj" \
|
|
||||||
"./clock_init.obj" \
|
|
||||||
"./io_init.obj" \
|
|
||||||
"./main.obj" \
|
|
||||||
"../lnk_msp430f5438a.cmd" \
|
|
||||||
$(GEN_CMDS__FLAG) \
|
|
||||||
-llibmath.a \
|
|
||||||
-llibc.a \
|
|
||||||
|
|
||||||
-include ../makefile.init
|
|
||||||
|
|
||||||
RM := DEL /F
|
|
||||||
RMDIR := RMDIR /S/Q
|
|
||||||
|
|
||||||
# All of the sources participating in the build are defined here
|
|
||||||
-include sources.mk
|
|
||||||
-include subdir_vars.mk
|
|
||||||
-include subdir_rules.mk
|
|
||||||
-include objects.mk
|
|
||||||
|
|
||||||
ifneq ($(MAKECMDGOALS),clean)
|
|
||||||
ifneq ($(strip $(S_DEPS)),)
|
|
||||||
-include $(S_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(S_UPPER_DEPS)),)
|
|
||||||
-include $(S_UPPER_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(S62_DEPS)),)
|
|
||||||
-include $(S62_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(C64_DEPS)),)
|
|
||||||
-include $(C64_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(ASM_DEPS)),)
|
|
||||||
-include $(ASM_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(CC_DEPS)),)
|
|
||||||
-include $(CC_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(SV7A_DEPS)),)
|
|
||||||
-include $(SV7A_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(S55_DEPS)),)
|
|
||||||
-include $(S55_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(C67_DEPS)),)
|
|
||||||
-include $(C67_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(CLA_DEPS)),)
|
|
||||||
-include $(CLA_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(C??_DEPS)),)
|
|
||||||
-include $(C??_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(CPP_DEPS)),)
|
|
||||||
-include $(CPP_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(S??_DEPS)),)
|
|
||||||
-include $(S??_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(C_DEPS)),)
|
|
||||||
-include $(C_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(C62_DEPS)),)
|
|
||||||
-include $(C62_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(CXX_DEPS)),)
|
|
||||||
-include $(CXX_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(C++_DEPS)),)
|
|
||||||
-include $(C++_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(ASM_UPPER_DEPS)),)
|
|
||||||
-include $(ASM_UPPER_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(K_DEPS)),)
|
|
||||||
-include $(K_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(C43_DEPS)),)
|
|
||||||
-include $(C43_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(INO_DEPS)),)
|
|
||||||
-include $(INO_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(S67_DEPS)),)
|
|
||||||
-include $(S67_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(SA_DEPS)),)
|
|
||||||
-include $(SA_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(S43_DEPS)),)
|
|
||||||
-include $(S43_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(OPT_DEPS)),)
|
|
||||||
-include $(OPT_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(PDE_DEPS)),)
|
|
||||||
-include $(PDE_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(S64_DEPS)),)
|
|
||||||
-include $(S64_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(C_UPPER_DEPS)),)
|
|
||||||
-include $(C_UPPER_DEPS)
|
|
||||||
endif
|
|
||||||
ifneq ($(strip $(C55_DEPS)),)
|
|
||||||
-include $(C55_DEPS)
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
-include ../makefile.defs
|
|
||||||
|
|
||||||
# Add inputs and outputs from these tool invocations to the build variables
|
|
||||||
EXE_OUTPUTS += \
|
|
||||||
Debug2.out \
|
|
||||||
|
|
||||||
EXE_OUTPUTS__QUOTED += \
|
|
||||||
"Debug2.out" \
|
|
||||||
|
|
||||||
BIN_OUTPUTS += \
|
|
||||||
Debug2.hex \
|
|
||||||
|
|
||||||
BIN_OUTPUTS__QUOTED += \
|
|
||||||
"Debug2.hex" \
|
|
||||||
|
|
||||||
|
|
||||||
# All Target
|
|
||||||
all: Debug2.out
|
|
||||||
|
|
||||||
# Tool invocations
|
|
||||||
Debug2.out: $(OBJS) $(CMD_SRCS) $(GEN_CMDS)
|
|
||||||
@echo 'Building target: $@'
|
|
||||||
@echo 'Invoking: MSP430 Linker'
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/bin/cl430" -vmspx --data_model=restricted --use_hw_mpy=F5 --advice:power=all -g --define=__MSP430F5438A__ --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal -z -m"Debug2.map" --stack_size=160 --heap_size=160 --cinit_hold_wdt=on -i"C:/ti/ccsv6/ccs_base/msp430/include" -i"C:/ti/ccsv6/ccs_base/msp430/lib/5xx_6xx_FRxx" -i"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/lib" -i"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/include" --reread_libs --warn_sections --display_error_number --diag_wrap=off --xml_link_info="Debug2_linkInfo.xml" --use_hw_mpy=F5 --rom_model -o "Debug2.out" $(ORDERED_OBJS)
|
|
||||||
@echo 'Finished building target: $@'
|
|
||||||
@echo ' '
|
|
||||||
|
|
||||||
Debug2.hex: $(EXE_OUTPUTS)
|
|
||||||
@echo 'Invoking: MSP430 Hex Utility'
|
|
||||||
"C:/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/bin/hex430" --memwidth=8 --romwidth=8 -o "Debug2.hex" $(EXE_OUTPUTS__QUOTED)
|
|
||||||
@echo 'Finished building: $@'
|
|
||||||
@echo ' '
|
|
||||||
|
|
||||||
# Other Targets
|
|
||||||
clean:
|
|
||||||
-$(RM) $(EXE_OUTPUTS__QUOTED)$(BIN_OUTPUTS__QUOTED)
|
|
||||||
-$(RM) "CAN.d" "MODEM.d" "RTC.d" "clock_init.d" "io_init.d" "main.d"
|
|
||||||
-$(RM) "CAN.obj" "MODEM.obj" "RTC.obj" "RTCASMFunctions_CCE.obj" "clock_init.obj" "io_init.obj" "main.obj"
|
|
||||||
-$(RM) "RTCASMFunctions_CCE.d"
|
|
||||||
-@echo 'Finished clean'
|
|
||||||
-@echo ' '
|
|
||||||
|
|
||||||
.PHONY: all clean dependents
|
|
||||||
.SECONDARY:
|
|
||||||
|
|
||||||
-include ../makefile.targets
|
|
||||||
|
|
||||||
@@ -1,165 +0,0 @@
|
|||||||
//
|
|
||||||
// Telemetry
|
|
||||||
//
|
|
||||||
// Modified by Erik in 2010-2011
|
|
||||||
//
|
|
||||||
/* Modifications for 2013 by B. Bazuin
|
|
||||||
* - 2013v1
|
|
||||||
* - reworked to operate continuously with CAN at 250 kbps
|
|
||||||
* - no USB device code included
|
|
||||||
* - no ADC code
|
|
||||||
* - table values collected only the first time captured
|
|
||||||
* - 2014V2 MODIFICATIONS
|
|
||||||
* - Reordered and eliminated some messages
|
|
||||||
* - HF rate 10 sec, LF rate 30 sec, ST rate 60 sec
|
|
||||||
* - BP_PCDONE and BP_ISH added
|
|
||||||
* - Precharge Controller Removed
|
|
||||||
*/
|
|
||||||
/* Modifications for 2016 by B. Bazuin
|
|
||||||
* -New BPS and Array Controller
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <msp430x54xa.h>
|
|
||||||
#include <ctype.h>
|
|
||||||
#include <string.h>
|
|
||||||
#include <math.h>
|
|
||||||
#include <float.h>
|
|
||||||
|
|
||||||
#include "Sunseeker2021.h"
|
|
||||||
|
|
||||||
// structures
|
|
||||||
message_fifo decode_queue;
|
|
||||||
char_fifo USB_FIFO, MODEM_FIFO;
|
|
||||||
|
|
||||||
hf_packet pckHF;
|
|
||||||
lf_packet pckLF;
|
|
||||||
status_packet pckST;
|
|
||||||
|
|
||||||
unsigned volatile char forceread;
|
|
||||||
|
|
||||||
unsigned int can_mask0, can_mask1;
|
|
||||||
|
|
||||||
enum MODE {INIT, CANREAD, DECODE, MODEMTX, USBTX, LOWP, LOOP} ucMODE;
|
|
||||||
unsigned volatile char can_status_test, can_rcv_status_test;
|
|
||||||
unsigned long can_msg_count = 0, can_stall_cnt = 0;
|
|
||||||
unsigned long can_err_count = 0, can_read_cnt = 0;
|
|
||||||
int thrs, tmin, tsec;
|
|
||||||
char ucFLAG,usbENABLE;
|
|
||||||
char CAN1_INT_FLAG = FALSE;
|
|
||||||
|
|
||||||
volatile unsigned char status_flag = FALSE;
|
|
||||||
volatile unsigned char hs_comms_flag = FALSE;
|
|
||||||
volatile unsigned char ls_comms_flag = FALSE;
|
|
||||||
volatile unsigned char st_comms_flag = FALSE;
|
|
||||||
|
|
||||||
static char init_msg_data[21] = "0xHHHHHHHH,0xHHHHHHHH";
|
|
||||||
|
|
||||||
|
|
||||||
// General Variables
|
|
||||||
|
|
||||||
// CAN Communication Variables
|
|
||||||
volatile unsigned char cancomm_flag = FALSE; //used for CAN transmission timing
|
|
||||||
volatile unsigned char send_can = FALSE; //used for CAN transmission timing
|
|
||||||
volatile unsigned char rcv_can = FALSE; //used for CAN transmission timing
|
|
||||||
volatile unsigned char can_full = FALSE; //used for CAN transmission status
|
|
||||||
|
|
||||||
int main(void) {
|
|
||||||
WDTCTL = WDTPW | WDTHOLD; // Stop watchdog timer
|
|
||||||
_DINT(); //disables interrupts
|
|
||||||
|
|
||||||
clock_init(); //Configure HF and LF clocks
|
|
||||||
delay();
|
|
||||||
timerB_init(); //init timer B
|
|
||||||
delay();
|
|
||||||
|
|
||||||
io_init();
|
|
||||||
delay();
|
|
||||||
|
|
||||||
MODEM_init();
|
|
||||||
delay();
|
|
||||||
|
|
||||||
MODEM_command(RFModemS);
|
|
||||||
|
|
||||||
_EINT(); //enable global interrupts
|
|
||||||
|
|
||||||
ucMODE = INIT;
|
|
||||||
|
|
||||||
while(1)
|
|
||||||
{
|
|
||||||
if(status_flag){
|
|
||||||
status_flag = FALSE;
|
|
||||||
P8OUT ^= BIT3; // Toggle P1.0
|
|
||||||
P8OUT ^= BIT6; // Toggle P1.0
|
|
||||||
}
|
|
||||||
|
|
||||||
// __delay_cycles(100000); // Delay
|
|
||||||
}
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Initialise Timer B
|
|
||||||
* - Provides timer tick timebase at 100 Hz
|
|
||||||
*/
|
|
||||||
void timerB_init( void )
|
|
||||||
{
|
|
||||||
TBCTL = CNTL_0 | TBSSEL_1 | ID_3 | TBCLR; // ACLK/8, clear TBR
|
|
||||||
TBCCR0 = (ACLK_RATE/8/TICK_RATE); // Set timer to count to this value = TICK_RATE overflow
|
|
||||||
TBCCTL0 = CCIE; // Enable CCR0 interrrupt
|
|
||||||
TBCTL |= MC_1; // Set timer to 'up' count mode
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Timer B CCR0 Interrupt Service Routine
|
|
||||||
* - Interrupts on Timer B CCR0 match at 10Hz
|
|
||||||
* - Sets Time_Flag variable
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
* GNU interropt symantics
|
|
||||||
* interrupt(TIMERB0_VECTOR) timer_b0(void)
|
|
||||||
*/
|
|
||||||
#pragma vector = TIMERB0_VECTOR
|
|
||||||
__interrupt void timer_b0(void)
|
|
||||||
{
|
|
||||||
static unsigned int status_count = TELEM_STATUS_COUNT;
|
|
||||||
static unsigned int hs_comms_count = HS_COMMS_SPEED;
|
|
||||||
static unsigned int ls_comms_count = LS_COMMS_SPEED;
|
|
||||||
static unsigned int st_comms_count = ST_COMMS_SPEED;
|
|
||||||
|
|
||||||
if (ucMODE != INIT)
|
|
||||||
{
|
|
||||||
// Trigger comms events (hs command packet transmission)
|
|
||||||
hs_comms_count--;
|
|
||||||
if( hs_comms_count == 0 ){
|
|
||||||
hs_comms_count = HS_COMMS_SPEED;
|
|
||||||
hs_comms_flag = TRUE;
|
|
||||||
}
|
|
||||||
|
|
||||||
ls_comms_count--;
|
|
||||||
if( ls_comms_count == 0 ){
|
|
||||||
ls_comms_count = LS_COMMS_SPEED;
|
|
||||||
ls_comms_flag = TRUE;
|
|
||||||
}
|
|
||||||
|
|
||||||
st_comms_count--;
|
|
||||||
if( st_comms_count == 0 ){
|
|
||||||
st_comms_count = ST_COMMS_SPEED;
|
|
||||||
st_comms_flag = TRUE;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Primary System Heart beat
|
|
||||||
status_count--;
|
|
||||||
if( status_count == 0 )
|
|
||||||
{
|
|
||||||
status_count = TELEM_STATUS_COUNT;
|
|
||||||
status_flag = TRUE;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,371 +0,0 @@
|
|||||||
/*
|
|
||||||
* Sunseeker Telemetry 2021
|
|
||||||
*
|
|
||||||
* Last modified May 2021 by B. Bazuin
|
|
||||||
*
|
|
||||||
* Main CLK : MCLK = XT2 = 20 MHz
|
|
||||||
* Sub-Main CLK : SMCLK = XT2/2 = 10 MHz
|
|
||||||
* Aux CLK : ACLK = XT1 = 32.768 kHz
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef SUNSEEKER2021_H_
|
|
||||||
#define SUNSEEKER2021_H_
|
|
||||||
|
|
||||||
#include <msp430x54xa.h>
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <msp430x54xa.h>
|
|
||||||
#include <ctype.h>
|
|
||||||
#include <string.h>
|
|
||||||
#include <math.h>
|
|
||||||
#include <float.h>
|
|
||||||
|
|
||||||
|
|
||||||
void clock_init(void);
|
|
||||||
void timerB_init(void);
|
|
||||||
|
|
||||||
static inline void delay(void)
|
|
||||||
{
|
|
||||||
volatile int jj;
|
|
||||||
volatile int ii;
|
|
||||||
for (ii = 0; ii < 4; ii++)
|
|
||||||
{
|
|
||||||
for (jj = 0; jj < 1000; jj++)
|
|
||||||
{
|
|
||||||
asm(" nop"); //The space is necessary or else the assember things nop is a label!
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Event timing
|
|
||||||
#define SMCLK_RATE 10000000 // Hz
|
|
||||||
#define ACLK_RATE 32768 // Hz
|
|
||||||
#define TICK_RATE 16 // Hz
|
|
||||||
#define TELEM_STATUS_COUNT 16 // Number of ticks per event: 5 sec
|
|
||||||
#define HS_COMMS_SPEED 16*5 // Number of ticks per event: 5 sec
|
|
||||||
#define LS_COMMS_SPEED 16*10 // Number of ticks per event: 15 sec
|
|
||||||
#define ST_COMMS_SPEED 16*20 // Number of ticks per event: 60 sec
|
|
||||||
|
|
||||||
// Constant Definitions
|
|
||||||
#define TRUE 1
|
|
||||||
#define FALSE 0
|
|
||||||
|
|
||||||
#ifndef MODEM_BR1
|
|
||||||
#define MODEM_BR1 9600
|
|
||||||
#define MODEM_UCBRS1 0x04 // 2*ROUND(SMCLK_RATE/MODEM_BR-INT(SMCLK_RATE/MODEM_BR))*8
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef MODEM_BR2
|
|
||||||
#define MODEM_BR2 115200
|
|
||||||
#define MODEM_UCBRS2 0x0A // 2*ROUND(SMCLK_RATE/MODEM_BR-INT(SMCLK_RATE/MODEM_BR))*8
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef USB_BR
|
|
||||||
#define USB_BR 9600
|
|
||||||
#define USB_UCBRS 0x04 // 2*ROUND(SMCLK_RATE/UART_BR-INT(SMCLK_RATE/UART_BR))*8
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef UART_BR
|
|
||||||
#define UART_BR 19200
|
|
||||||
#define UART_UCBRS 0x0D // 2*ROUND(SMCLK_RATE/UART_BR-INT(SMCLK_RATE/UART_BR))*8
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "UART.h"
|
|
||||||
#include "MODEM.h"
|
|
||||||
#include "SPI.h"
|
|
||||||
#include "PACKET.h" //order important
|
|
||||||
#include "char_FIFO.h"
|
|
||||||
#include "message_FIFO.h"
|
|
||||||
#include "CAN.h"
|
|
||||||
#include "RTC.h"
|
|
||||||
|
|
||||||
/******************** Pin Definitions *************************/
|
|
||||||
|
|
||||||
// PORT 1
|
|
||||||
#define P10 0x01
|
|
||||||
#define P11 0x02
|
|
||||||
#define P12 0x04
|
|
||||||
#define P13 0x08
|
|
||||||
#define P14 0x10
|
|
||||||
#define P15 0x20
|
|
||||||
#define RTC_MFP 0x40
|
|
||||||
#define IMU_INTn 0x80
|
|
||||||
#define P1_UNUSED 0x01 | 0x02 | 0x04 | 0x08 | 0x10 | 0x20
|
|
||||||
|
|
||||||
// PORT 2
|
|
||||||
#define CAN0_INTn 0x01
|
|
||||||
#define CAN0_RXB0n 0x02
|
|
||||||
#define CAN0_RXB1n 0x04
|
|
||||||
#define CAN1_INTn 0x08
|
|
||||||
#define CAN1_RXB0n 0x10
|
|
||||||
#define CAN1_RXB1n 0x20
|
|
||||||
#define GPS_INTn 0x40
|
|
||||||
#define P27 0x80
|
|
||||||
#define P2_UNUSED 0x80
|
|
||||||
|
|
||||||
// PORT 3
|
|
||||||
#define CAN0_SCLK 0x01
|
|
||||||
#define SDC_SIMO 0x02
|
|
||||||
#define SDC_SOMI 0x04
|
|
||||||
#define SDC_SCLK 0x08
|
|
||||||
#define CAN0_MOSI 0x10
|
|
||||||
#define CAN0_MISO 0x20
|
|
||||||
#define CAN1_CLK 0x40
|
|
||||||
#define IMU_SDA 0x80
|
|
||||||
#define P3_UNUSED 0x00
|
|
||||||
|
|
||||||
// PORT 4
|
|
||||||
#define CAN0_RSTn 0x01
|
|
||||||
#define CAN0_CSn 0x02
|
|
||||||
#define CAN1_RSTn 0x04
|
|
||||||
#define CAN1_CSn 0x08
|
|
||||||
#define SDC_WPn 0x10
|
|
||||||
#define SDC_CDn 0x20
|
|
||||||
#define P46 0x40
|
|
||||||
#define P47 0x80
|
|
||||||
#define P4_UNUSED 0x40 | 0x80
|
|
||||||
|
|
||||||
// PORT 5
|
|
||||||
#define P50 0x01
|
|
||||||
#define P51 0x02
|
|
||||||
#define XT2IN 0x04
|
|
||||||
#define XT2OUT 0x08
|
|
||||||
#define IMU_SCL 0x10
|
|
||||||
#define P55 0x20
|
|
||||||
#define CAN1_MOSI 0x40
|
|
||||||
#define CAN1_MISO 0x80
|
|
||||||
#define P5_UNUSED 0x01 | 0x02 | 0x20
|
|
||||||
|
|
||||||
// PORT 6
|
|
||||||
#define P60 0x01
|
|
||||||
#define P61 0x02
|
|
||||||
#define P62 0x04
|
|
||||||
#define P63 0x08
|
|
||||||
#define P64 0x10
|
|
||||||
#define P65 0x20
|
|
||||||
#define P66 0x40
|
|
||||||
#define P67 0x80
|
|
||||||
#define P6_UNUSED 0x01 | 0x02 | 0x04 | 0x08 | 0x10 | 0x20 | 0x40 | 0x80
|
|
||||||
|
|
||||||
// PORT 7
|
|
||||||
#define XT1IN 0x01
|
|
||||||
#define XT1OUT 0x02
|
|
||||||
#define P72 0x04
|
|
||||||
#define P73 0x08
|
|
||||||
#define P74 0x10
|
|
||||||
#define P75 0x20
|
|
||||||
#define P76 0x40
|
|
||||||
#define P77 0x80
|
|
||||||
#define P7_UNUSED 0x04 | 0x08 | 0x10 | 0x20 | 0x40 | 0x80
|
|
||||||
|
|
||||||
// PORT 8
|
|
||||||
#define P80 0x01
|
|
||||||
#define P81 0x02
|
|
||||||
#define P82 0x04
|
|
||||||
#define LEDG 0x08
|
|
||||||
#define LEDR 0x10
|
|
||||||
#define LEDY0 0x20
|
|
||||||
#define LEDY1 0x40
|
|
||||||
#define Button0 0x80
|
|
||||||
#define P8_UNUSED 0x01 | 0x02 | 0x04
|
|
||||||
|
|
||||||
// PORT 9
|
|
||||||
#define P90 0x01
|
|
||||||
#define RTC_SDA 0x02
|
|
||||||
#define RTC_SCL 0x04
|
|
||||||
#define P93 0x08
|
|
||||||
#define USB_TX 0x10
|
|
||||||
#define USB_RX 0x20
|
|
||||||
#define SDC_CSn 0x40
|
|
||||||
#define GPS_CSn 0x80
|
|
||||||
#define P9_UNUSED 0x40 | 0x80
|
|
||||||
|
|
||||||
// PORT 10
|
|
||||||
#define BT_CSn 0x01
|
|
||||||
#define BT_MOSI 0x02
|
|
||||||
#define BT_MISO 0x04
|
|
||||||
#define BT_SCLK 0x08
|
|
||||||
#define UART_TX 0x10
|
|
||||||
#define UART_RX 0x20
|
|
||||||
#define BT_EN 0x40
|
|
||||||
#define P107 0x80
|
|
||||||
#define P10_UNUSED 0x80
|
|
||||||
|
|
||||||
// PORT 11
|
|
||||||
#define ACLK_TEST 0x01
|
|
||||||
#define MCLK_TEST 0x02
|
|
||||||
#define SMCLK_TEST 0x04
|
|
||||||
|
|
||||||
// PORT J
|
|
||||||
#define JTAG_TDO 0x01
|
|
||||||
#define JTAG_TDI 0x02
|
|
||||||
#define JTAG_TMS 0x04
|
|
||||||
#define JTAG_TCK 0x08
|
|
||||||
|
|
||||||
// Motor controller CAN base address and packet offsets
|
|
||||||
#define MC_CAN_BASE1 0x400 // High = CAN1_SERIAL Number Low = 0x00004003 P=1s
|
|
||||||
#define MC_CAN_BASE2 0x420 // High = CAN1_SERIAL Number Low = 0x00004003 P=1s
|
|
||||||
#define MC_LIMITS 0x01 // High = CAN_Err,Active Motor Low = Error & Limit flags P=200ms
|
|
||||||
#define MC_BUS 0x02 // High = Bus Current Low = Bus Voltage P=200ms
|
|
||||||
#define MC_VELOCITY 0x03 // High = Velocity (m/s) Low = Velocity (rpm) P=200ms
|
|
||||||
#define MC_PHASE 0x04 // High = Phase C Current Low = Phase B Current P=200ms
|
|
||||||
#define MC_V_VECTOR 0x05 // High = Vd vector Low = Vq vector P=200ms
|
|
||||||
#define MC_I_VECTOR 0x06 // High = Id vector Low = Iq vector P=200ms
|
|
||||||
#define MC_BEMF_VECTOR 0x07 // High = BEMFd vector Low = BEMFq vector P=200ms
|
|
||||||
#define MC_RAIL1 0x08 // High = 15V Low = Reserved P=1s
|
|
||||||
#define MC_RAIL2 0x09 // High = 3.3V Low = 1.9V P=1s
|
|
||||||
//#define MC_FAN 0x0A // High = Reserved Low = Reserved P=
|
|
||||||
#define MC_TEMP1 0x0B // High = Heatsink Temp (case) Low = Motor Temp (internal) P=1s
|
|
||||||
#define MC_TEMP2 0x0C // High = Reserved Low = DSP Temp P=1s
|
|
||||||
//#define MC_TEMP3 0x0D // High = Outlet Temp Low = Capacitor Temp P=
|
|
||||||
#define MC_CUMULATIVE 0x0E // High = DC Bus AmpHours (A-Hr) Low = Odometer (m) P=1s
|
|
||||||
#define MC_SLIPSPEED 0x17 // High = Slip Speed (Hz ) Low = Reserved P=200ms
|
|
||||||
|
|
||||||
// Driver controls CAN base address and packet offsets
|
|
||||||
#define DC_CAN_BASE 0x500 // High = CAN1_SERIAL Number Low = "TRIb" string P=1s
|
|
||||||
#define DC_DRIVE 0x01 // High = Motor Current Setpoint Low = Motor Velocity Setpoint P=100ms
|
|
||||||
#define DC_POWER 0x02 // High = Bus Current Setpoint Low = Unused P=100ms
|
|
||||||
#define DC_RESET 0x03 // High = Unused Low = Unused P=
|
|
||||||
#define DC_SWITCH 0x04 // High = Switch position Low = Switch state change P=100ms
|
|
||||||
|
|
||||||
//Battery Protection System base address and packet offsets
|
|
||||||
#define BP_CAN_BASE 0x580 // High = "BPV1" string or nulls Low = CAN1_SERIAL Number P=10s
|
|
||||||
#define BP_VMAX 0x01 // High = Max. Voltage Value Low = Max. Voltage Cell Num. P=10s
|
|
||||||
#define BP_VMIN 0x02 // High = Min. Voltage Value Low = Min. Voltage Cell Num. P=10s
|
|
||||||
#define BP_TMAX 0x03 // High = Max. Temperature Low = Max. Temperature Cell P=10s
|
|
||||||
#define BP_PCDONE 0x04 // High = "BPV2" or "0000" string Low = CAN1_SERIAL Number P=When Ready
|
|
||||||
#define BP_ISH 0x05 // High = Shunt Current Low = Battery Voltage P=1s
|
|
||||||
|
|
||||||
//Battery Protection System base address and packet offsets
|
|
||||||
#define AC_CAN_BASE 0x5C0 // High = "ACV1" string or nulls Low = CAN1_SERIAL Number P=10s
|
|
||||||
#define AC_M1 0x01 // High = Array Voltage Average Low = Array Current Average P=10s
|
|
||||||
#define AC_M2 0x02 // High = Array Voltage Average Low = Array Current Average P=10s
|
|
||||||
#define AC_M3 0x03 // High = Array Voltage Average Low = Array Current Average P=10s
|
|
||||||
#define AC_ISH 0x04 // High = Shunt Current Low = Battery Voltage P=1s
|
|
||||||
#define AC_TMAX 0x05 // High = Max. Temperature Low = Max. Temperature MPPT P=10s
|
|
||||||
#define AC_TVAL1 0x06 // High = Temp AC1 Low = Temp AC2 P=10s
|
|
||||||
#define AC_TVAL2 0x06 // High = Temp AC3 Low = Reserved P=10s
|
|
||||||
#define AC_BP_CHARGE 0x07 // High = "ACV1" or "0000" string Low = CAN1_SERIAL Number P=When Charge
|
|
||||||
|
|
||||||
static int addr_lookup[LOOKUP_ROWS][5] = {
|
|
||||||
//address ASCII Offset MSG_REC position Packet(0-HF:1-LF:2-Status) Filter Priority
|
|
||||||
{MC_CAN_BASE1, 0, 0x0001, 3, 29}, //0-0x400 High = CAN1_SERIAL Number Low = "TRIa" string
|
|
||||||
{MC_CAN_BASE1 + MC_LIMITS, 0, 0x0001, 3, 15}, //1-0x01 High = Active Motor Low = Error & Limit flags
|
|
||||||
{MC_CAN_BASE1 + MC_BUS, 0, 0x0002, 0, 1}, //2-0x02 High = Bus Current Low = Bus Voltage
|
|
||||||
{MC_CAN_BASE1 + MC_VELOCITY, 1, 0x0004, 0, 2}, //3-0x03 High = Velocity (m/s) Low = Velocity (rpm)
|
|
||||||
{MC_CAN_BASE1 + MC_PHASE, 1, 0x0001, 3, 30}, //4-0x04 High = Phase A Current Low = Phase B Current
|
|
||||||
{MC_CAN_BASE1 + MC_V_VECTOR, 2, 0x0002, 3, 31}, //5-0x05 High = Vd vector Low = Vq vector
|
|
||||||
{MC_CAN_BASE1 + MC_I_VECTOR, 3, 0x0004, 3, 32}, //6-0x06 High = Id vector Low = Iq vector
|
|
||||||
{MC_CAN_BASE1 + MC_BEMF_VECTOR, 4, 0x0008, 3, 33}, //7-0x07 High = BEMFd vector Low = BEMFq vector
|
|
||||||
{MC_CAN_BASE1 + MC_RAIL1, 1, 0x0002, 3, 16}, //8-0x08 High = 15V Low = Reserved
|
|
||||||
{MC_CAN_BASE1 + MC_RAIL2, 2, 0x0004, 3, 17}, //9-0x09 High = 3.3V Low = 1.9V
|
|
||||||
{MC_CAN_BASE1 + MC_TEMP1, 0, 0x0001, 3, 7}, //10-0x0B High = Heatsink Temp Low = Motor Temp
|
|
||||||
{MC_CAN_BASE1 + MC_TEMP2, 1, 0x0002, 3, 8}, //11-0x0C High = Inlet Temp Low = CPU Temp
|
|
||||||
{MC_CAN_BASE1 + MC_CUMULATIVE, 3, 0x0008, 3, 18}, //12-x0E High = DC Bus AmpHours Low = Odometer
|
|
||||||
{MC_CAN_BASE1 + MC_SLIPSPEED, 5, 0x0010, 3, 34}, //13-0x17 High =Slip Speed (Hz) Low = Reserved
|
|
||||||
{MC_CAN_BASE2, 6, 0x0020, 3, 35}, //14-0x420 High = CAN1_SERIAL Number Low = "TRIa" string
|
|
||||||
{MC_CAN_BASE2 + MC_LIMITS, 4, 0x0010, 3, 19}, //15-0x01 High = Active Motor Low = Error & Limit flags
|
|
||||||
{MC_CAN_BASE2 + MC_BUS, 2, 0x0010, 0, 3}, //16-0x02 High = Bus Current Low = Bus Voltage
|
|
||||||
{MC_CAN_BASE2 + MC_VELOCITY, 3, 0x0020, 0, 4}, //17-0x03 High = Velocity (m/s) Low = Velocity (rpm)
|
|
||||||
{MC_CAN_BASE2 + MC_PHASE, 7, 0x0040, 3, 36}, //18-0x04 High = Phase A Current Low = Phase B Current
|
|
||||||
{MC_CAN_BASE2 + MC_V_VECTOR, 8, 0x0080, 3, 37}, //19-0x05 High = Vd vector Low = Vq vector
|
|
||||||
{MC_CAN_BASE2 + MC_I_VECTOR, 9, 0x0100, 3, 38}, //20-0x06 High = Id vector Low = Iq vector
|
|
||||||
{MC_CAN_BASE2 + MC_BEMF_VECTOR, 10, 0x0200, 3, 39}, //21-0x07 High = BEMFd vector Low = BEMFq vector
|
|
||||||
{MC_CAN_BASE2 + MC_RAIL1, 5, 0x0020, 3, 20}, //22-0x08 High = 15V Low = Reserved
|
|
||||||
{MC_CAN_BASE2 + MC_RAIL2, 6, 0x0040, 3, 21}, //23-0x09 High = 3.3V Low = 1.9V
|
|
||||||
{MC_CAN_BASE2 + MC_TEMP1, 2, 0x0004, 3, 9}, //24-0x0B High = Heatsink Temp Low = Motor Temp
|
|
||||||
{MC_CAN_BASE2 + MC_TEMP2, 3, 0x0008, 3, 10}, //25-0x0C High = Inlet Temp Low = CPU Temp
|
|
||||||
{MC_CAN_BASE2 + MC_CUMULATIVE, 7, 0x0080, 3, 22}, //26-0x0E High = DC Bus AmpHours Low = Odometer
|
|
||||||
{MC_CAN_BASE2 + MC_SLIPSPEED, 11, 0x0400, 3, 40}, //27-0x17 High =Slip Speed (Hz) Low = Reserved
|
|
||||||
{DC_CAN_BASE, 12, 0x0800, 3, 41}, //28-0x500 High = CAN1_SERIAL Number Low = "TRIb" string
|
|
||||||
{DC_CAN_BASE + DC_DRIVE, 4, 0x0800, 0, 23}, //29-0x01 High = Motor Current Setpoint Low = Motor Velocity Setpoint
|
|
||||||
{DC_CAN_BASE + DC_POWER, 9, 0x0200, 3, 24}, //30-0x02 High = Bus Current Setpoint Low = Unused
|
|
||||||
{DC_CAN_BASE + DC_RESET, 13, 0x1000, 3, 42}, //31-0x03 High = Unused Low = Unused
|
|
||||||
{DC_CAN_BASE + DC_SWITCH, 5, 0x0080, 0, 25}, //32-0x04 High = Switch position Low = Switch state change
|
|
||||||
{BP_CAN_BASE, 14, 0x2000, 3, 43}, //33-0x580 High = BPV2" string or nulls Low = CAN1_SERIAL Number
|
|
||||||
{BP_CAN_BASE + BP_VMAX, 6, 0x0010, 0, 11}, //34-0x01 High = Max Voltage Low = Cell Number
|
|
||||||
{BP_CAN_BASE + BP_VMIN, 7, 0x0020, 0, 12}, //35-0x02 High = Min Voltage Low = Cell Number
|
|
||||||
{BP_CAN_BASE + BP_TMAX, 8, 0x0040, 0, 13}, //36-0x03 High = Temp Max Low = Cell Number
|
|
||||||
{BP_CAN_BASE + BP_PCDONE, 15, 0x0200, 3, 44}, //37-0x04 High = "BPV1" string Low = CAN1_SERIAL Number
|
|
||||||
{BP_CAN_BASE + BP_ISH, 9, 0x0010, 0, 5}, //38-0x05 High = Shunt Current Low = Battery Voltage
|
|
||||||
{AC_CAN_BASE, 16, 0x8000, 3, 45}, //39-0x5C0 High = ACV1" string or nulls Low = CAN1_SERIAL Number
|
|
||||||
{AC_CAN_BASE + AC_M1, 11, 0x0800, 3, 26}, //40-0x01 High = Array Voltage Average Low = Array Current Average
|
|
||||||
{AC_CAN_BASE + AC_M2, 12, 0x1000, 3, 27}, //41-0x02 High = Array Voltage Average Low = Array Current Average
|
|
||||||
{AC_CAN_BASE + AC_M3, 13, 0x2000, 3, 28}, //42-0x03 High = Array Voltage Average Low = Array Current Average
|
|
||||||
{AC_CAN_BASE + AC_ISH, 5, 0x0020, 3, 6}, //43-0x04 High = Shunt Current Low = Battery Voltage
|
|
||||||
{AC_CAN_BASE + AC_TMAX, 7, 0x0080, 3, 14}, //44-0x05 High = Max. Temperature Low = Max. Temperature MPPT
|
|
||||||
{AC_CAN_BASE + AC_TVAL1, 17, 0x1000, 3, 46}, //45-0x03 High = Temp AC1 Low = Temp AC2
|
|
||||||
{AC_CAN_BASE + AC_TVAL2, 18, 0x2000, 3, 47}, //46-0x04 High = Temp AC3 Low = Reserved
|
|
||||||
{AC_CAN_BASE + AC_BP_CHARGE, 19, 0x4000, 3, 48}, //47-0x05 High = "ACV1" or "0000" string Low = CAN1_SERIAL Number
|
|
||||||
};
|
|
||||||
// removed
|
|
||||||
//{MC_CAN_BASE1 + MC_FAN, -, 0x----, -, --}, //xx-0x0A High = Fan speed (rpm) Low = Fan drive (%)
|
|
||||||
//{MC_CAN_BASE1 + MC_TEMP3, -, 0x----, -, --}, //xx-0x0D High = Outlet Temp Low = Capacitor Temp
|
|
||||||
//{MC_CAN_BASE2 + MC_FAN, -, 0x----, -, --}, //xx-0x0A High = Fan speed (rpm) Low = Fan drive (%)
|
|
||||||
//{MC_CAN_BASE2 + MC_TEMP3, -, 0x----, -, --}, //xx-0x0D High = Outlet Temp Low = Capacitor Temp
|
|
||||||
|
|
||||||
|
|
||||||
//static char lut_blacklist[] = {32,11,4,5,11,12,13,14,15,23,24,25,3,26,27,28};
|
|
||||||
//static char lut_blacklist[] = {44};
|
|
||||||
static char lut_blacklist[] = {49};
|
|
||||||
|
|
||||||
static char *name_lookup[NAME_LOOKUP_ROWS] = {
|
|
||||||
//name
|
|
||||||
"MC1BAS", //MC_CAN_BASE1_
|
|
||||||
"MC1LIM", //MC_CAN_BASE1 + MC_LIMITS
|
|
||||||
"MC1BUS", //MC_CAN_BASE1 + MC_BUS
|
|
||||||
"MC1VEL", //MC_CAN_BASE1 + MC_VELOCITY
|
|
||||||
"MC1PHA", //MC_CAN_BASE1 + MC_PHASE
|
|
||||||
"MC1VVC", //MC_CAN_BASE1 + MC_V_VECTOR
|
|
||||||
"MC1IVC", //MC_CAN_BASE1 + MC_I_VECTOR
|
|
||||||
"MC1BEM", //MC_CAN_BASE1 + MC_BEMF_VECTOR
|
|
||||||
"MC1RL1", //MC_CAN_BASE1 + MC_RAIL1
|
|
||||||
"MC1RL2", //MC_CAN_BASE1 + MC_RAIL2
|
|
||||||
"MC1TP1", //MC_CAN_BASE1 + MC_TEMP1
|
|
||||||
"MC1TP2", //MC_CAN_BASE1 + MC_TEMP2
|
|
||||||
"MC1CUM", //MC_CAN_BASE1 + MC_CUMULATIVE
|
|
||||||
"MC1SLS", //MC_CAN_BASE1 + MC_SLIPSPEED
|
|
||||||
"MC2BAS", //MC_CAN_BASE2
|
|
||||||
"MC2LIM", //MC_CAN_BASE2 + MC_LIMITS
|
|
||||||
"MC2BUS", //MC_CAN_BASE2 + MC_BUS
|
|
||||||
"MC2VEL", //MC_CAN_BASE2 + MC_VELOCITY
|
|
||||||
"MC2PHA", //MC_CAN_BASE2 + MC_PHASE
|
|
||||||
"MC2VVC", //MC_CAN_BASE2 + MC_V_VECTOR
|
|
||||||
"MC2IVC", //MC_CAN_BASE2 + MC_I_VECTOR
|
|
||||||
"MC2BEM", //MC_CAN_BASE2 + MC_BEMF_VECTOR
|
|
||||||
"MC2RL1", //MC_CAN_BASE2 + MC_RAIL1
|
|
||||||
"MC2RL2", //MC_CAN_BASE2 + MC_RAIL2
|
|
||||||
"MC2TP1", //MC_CAN_BASE2 + MC_TEMP1
|
|
||||||
"MC2TP2", //MC_CAN_BASE2 + MC_TEMP2
|
|
||||||
"MC2CUM", //MC_CAN_BASE2 + MC_CUMULATIVE
|
|
||||||
"MC2SLS", //MC_CAN_BASE2 + MC_SLIPSPEED
|
|
||||||
"DC_BAS", //DC_CAN_BASE
|
|
||||||
"DC_DRV", //DC_CAN_BASE + DC_DRIVE
|
|
||||||
"DC_POW", //DC_CAN_BASE + DC_POWER
|
|
||||||
"DC_RST", //DC_CAN_BASE + DC_RESET
|
|
||||||
"DC_SWC", //DC_CAN_BASE + DC_SWITCH
|
|
||||||
"BP_BAS", //BP_CAN_BASE
|
|
||||||
"BP_VMX", //BP_CAN_BASE + BP_VMAX
|
|
||||||
"BP_VMN", //BP_CAN_BASE + BP_VMIN
|
|
||||||
"BP_TMX", //BP_CAN_BASE + BP_TMAX
|
|
||||||
"BP_PCD", //BP_CAN_BASE + BP_PCDONE
|
|
||||||
"BP_ISH", //BP_CAN_BASE + BP_ISH
|
|
||||||
"AC_BAS", //AC_CAN_BASE
|
|
||||||
"AC_MP1", //AC_CAN_BASE + AC_M1
|
|
||||||
"AC_MP2", //AC_CAN_BASE + AC_M2
|
|
||||||
"AC_MP3", //AC_CAN_BASE + AC_M3
|
|
||||||
"AC_ISH", //AC_CAN_BASE + AC_ISH
|
|
||||||
"AC_TMX", //AC_CAN_BASE + AC_TMAX
|
|
||||||
"AC_TV1", //AC_CAN_BASE + AC_TVAL1
|
|
||||||
"AC_TV2", //AC_CAN_BASE + AC_TVAL2
|
|
||||||
"AC_BPC", //AC_CAN_BASE + AC_BP_CHARGE
|
|
||||||
};
|
|
||||||
|
|
||||||
// removed
|
|
||||||
// "MC1FAN", //MC_CAN_BASE1 + MC_FAN
|
|
||||||
// "MC1TP3", //MC_CAN_BASE1 + MC_TEMP3
|
|
||||||
// "MC2FAN", //MC_CAN_BASE2 + MC_FAN
|
|
||||||
//"MC2TP3", //MC_CAN_BASE2 + MC_TEMP3
|
|
||||||
|
|
||||||
#endif /* SUNSEEKER2021_H_ */
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user