![](/html/43/4347/434731e8b2a9fcb80d27e52d29fffa81bfeda08a284961c3c9fbeb3c23926f36/bg1.png)
2202 South Riverside Drive, Ames, IA 50010
Phone: 515-232-5363 Internet: http://www.agleader.com
1. Scope
This document describes how to use the SAM Code Upload application. The code upload is
assumed to occur on an existing system on a vehicle that already has the SA Module harness and
Main Data harness already installed.
2. System Requirements
In order to properly use the software, the following components are required
PC with Microsoft Windows and at least 1 RS-232 communication port
SA Module Programming cable (Novariant P/N: 201-0350-01)
SA Module
Microsoft’s .NET must be installed on the computer
3. Introduction to "SAM Code Upload" Utility
The SAM Code Upload utility was designed to allow new SA Module firmware uploads in the
field. The SA Module programming cable must be connected to the SA Module harness at the inline connection between Main Data harness and SA Module harness (12-way Deutsch). The
power to the SA Module programming cable can be taken from the Main Data harness in-line
power to SA Module (2-way Deutsch). The serial connection from the SA Module programming
harness must be connected to the PC serial port and then the application can be started.
4. Software Installation
The software package includes several files:
SAMCodeUpload.exe
SAMCodeUpload.mse
MSFCS32.dll
MSLibrary.dll
SA Module Code Upload User Manual.pdf
sam18.mcs
samwh19.mcs
samwh111_0.mcs
In order for the programming utility to run, Microsoft’s .NET framework (version 2.0 or later)
must be installed on the user’s computer. If an error “The application failed to initialize properly
(0xc0000135). Click on OK to terminate the application” shows up when the utility is started,
Microsoft’s .NET framework has not been installed yet. To install Microsoft’s .NET framework,
download the file from the Dealer Portal and run the dotnetfx.exe executable file. It is strongly
recommended not to edit, rename or change in any way any of the *.mcs files.
P/N 4002312
Rev B
![](/html/43/4347/434731e8b2a9fcb80d27e52d29fffa81bfeda08a284961c3c9fbeb3c23926f36/bg2.png)
2202 South Riverside Drive, Ames, IA 50010
Phone: 515-232-5363 Internet: http://www.agleader.com
5. Description of the Software
When the software is started, the window shown on Figure 1 will appear.
Figure 1 – SAM Firmware Upload Tool startup screen
At this point, the user must select a serial port to be used to connect to the SA Module. The
software will list the available COM ports to choose from as shown in Figure 2.
Figure 2 – COM port selection
Once a COM port has been selected, the Start Comm with SAM button becomes enabled.
Pressing this button will open the COM port and start the communication with the SA Module.
Figure 3 shows the application screen with the button enabled.
P/N 4002312
Rev B
![](/html/43/4347/434731e8b2a9fcb80d27e52d29fffa81bfeda08a284961c3c9fbeb3c23926f36/bg3.png)
2202 South Riverside Drive, Ames, IA 50010
Phone: 515-232-5363 Internet: http://www.agleader.com
Note: Depending on the computer’s available COM ports, the list of COM ports will be different
than those shown in the figure.
Figure 3 -Application window ready to go
After pressing the Start Comm with SAM button, the application starts a message counter in the
bottom right of the application window and enables the Get SA Module Info button as shown in
Figure 4. As long as the utility is connected to the SA Module and the communications have
been enabled, the counter will continue to count up. If the counter stops, the communications
have stopped.
Figure 4 – SA Module communication is running
P/N 4002312
Rev B