You are on page 1of 11

E4000 Flash Programming Procedure – USB

M-303-7 Rev. D 4/17/12

NOTES:

-Use these instructions in place of revision B on the disc.

-Reprogramming erases the register’s product configuration. Prior to reprogramming,


run a calibration report or save the current configuration with the E4000 configuration
program.

1) Materials Required:
a) Flash programmer kit with USB cable and micro PSD connector

b) PC with Windows 7, Vista, XP, 2000, NT, 98, or ME.

c) CD titled: Neptune E4000 Register Flash Memory Programming Files USB.

2) Run the setup program


a) Load the CD. The setup program should run automatically. If it does not, locate
“E4000_Setup.exe” and double-click.
b) Follow the steps in the installer program. This will create a folder called E4000
Flash Programming on the computer’s C drive. Do not change the default
installation path. The firmware files must be in this directory for successful
installation.

3) Complete the Rlink driver installation

The following operating systems are supported::


• Windows XP32 and older versions (NT, ME, 98). XP64 is not supported.
• Windows Vista32, Vista64 and all newer versions.

a) Plug the Rlink Dongle into a USB port. Check that the LEDs labeled PWR and
BUSY turn on. PWR confirms that the RLink is powered and BUSY means that
the RLink firmware is running correctly.
b) The Found New Hardware Wizard window will pop up.
c) Answer “No, not this time” when asked if you want Windows Update to search for
software. Click “Next”.
d) Choose “Install software automatically” and click “Next”.

e) Click “Finish” to exit the wizard.

f) You should then see the BUSY LED turn off, which means that Windows and the
Rlink are able to communicate through the USB driver and cable.
g) Check proper driver installation by running “RlinkCapab.exe”, found in the
C:\E4000 Flash Programming folder. This will read the RLink serial number.
This validates most of the RLink hardware and firmware. (Also explained in
Appendix C.)

4) Connect the computer to the E4000:


a) Connect the Raisonance programmer to the PC’s USB port. (If you have just
completed step 3, it should still be connected.)
b) With the E4000 powered down, disconnect the main PCB display cable for easier
access to the JTAG connector.
c) Connect the R-Link dongle to the E4000:
i) Connect the black, 14 pin IDC connector of the extension cable to the
E4000’s JTAG connector on the main PCB.
ii) Connect the grey IDC shrouded header of the extension cable to the RLink
JTAG micro-PSD adapter.
iii) Connect the RLink USB dongle to the RLink JTAG micro-PSD adapter.

d) Reconnect the main PCB display cable.

Figure 1. JTAG connector view (underside)


5) Reprogram the flash memory:
a) Turn on the E4000’s power

b) Double click either the desktop icon “E4000 Flash Programming (USB)”, or the
“pWinFLINK.exe” icon (it might appear as just “pWinFLINK”) in the
C:\E4000 Flash Programming folder. The pWinFlink screen should appear as
below:

Figure 2. pWinFlink front panel after startup.

c) When the pWinFlink screen appears, click the Browse button and go to C:E4000
Flash Programming\E4000 Flash. This folder contains subfolders for various
versions of the firmware, for example, E4000_US_16. Open the folder for the
version you want to install, and locate the file ending in “.jcf” (e.g. “EA0116E.jcf”).
Select this file and click Open.

d) Verify that the filename to be installed is displayed and highlighted in the window just
above the box labeled “Step 2”, as in Figure 3. (This file will have the same name as
the file in step c, but will end in “.obj” instead of “.jcf”.)
e) Click the Execute button. Reprogramming will begin and status messages will
appear in the Log Information box. When reprogramming is complete you will see
“Program/verify operation completed” followed by “Elapsed time XX sec.” You can
now close the application.

Figure 3. pWinFlink frontpanel after successful programming.


6. Re-Initialize the E4000:
a) Turn off power to the E4000
b) Press and hold the W&M switch, the UP ARROW, and the STOP/CANCEL
buttons simultaneously.
c) While holding these buttons, turn on power to the E4000.
d) Release the W&M, UP ARROW, and STOP/CANCEL buttons once the display
shows activity.
e) The E4000 display will display the message “Initializing Unit”.
f) Turn the power off and on and verify the software version.

7. Turn off the E4000’s power and disconnect the cable.


Troubleshooting

1. Upon successful installation of the program and drivers, you should be able to
plug in the USB Rlink dongle and after a few seconds, see the following entry
in your Device Manager table:

2. The pWinflink.exe application, as of version 2.1, checks the status of both the
parallel drivers (PEP) and the Rlink drivers at program start-up. The parallel
cable is not provided for use with the E4000, and the drivers are not installed
during the E4000 flash memory program setup. The following error can be
ignored with no adverse effects to the E4000 flash programming success.
Just click “OK” and continue.
3. An 0304 error, as shown below, usually indicates that your USB cable is not
plugged in.

4. After launching the pWinFlink program, you should be able to successfully


test the Rlink USB dongle connectivity by clicking the, “HW Setup” button as
outlined in red below:
The Hardware (HW) Setup window will then appear. Press the Rlink Connect
Test, button and verify that the test passed as shown in the Test Status
window. This assures that your drivers are installed correctly and are
recognizing the USB dongle properly.
Appendix A

Manual installation of the RLink USB driver


This procedure should only be used when the automatic procedure fails, which can happen on
some versions of Windows with special configurations.

For XP (and earlier) users:


1. Make sure the RLink is NOT connected to the PC.
2. Make sure you are logged in as Administrator, or a user that has administrator rights.
3. Remove the installation CD from the drives (This is important!).
4. Goto directory C:\E4000…\DriversRLinkDrv\Jungo_WinDriver_2000_NT_XP\
6. Double Click: RLinkUSBInstall_verbose.bat (watch out for error messages).
7. If you have a recent version of XP, or if you have automatic updates activated, check that there
are two directories in C:\WINDOWS\SYSTEM32\DRVSTORE\..., one with the name starting
with windrvr6, and the second with RLinkDRV.
8. Plug in the RLink. Check that the PWR and BUSY LEDs turn ON. The PWR LED means that
the RLink is powered (!) and the BUSY LED means that the RLink firmware is running
correctly. This validates most of the RLink hardware and firmware.
9. Tell the Windows 'Found new hardware' wizard NOT to search on the internet.
10. Tell the Windows 'Found new hardware' wizard not to search automatically, but point it to
C:\E4000…\Drivers\RLinkDrv\Jungo_WinDriver_2000_NT_XP\ directory.
11. It should then find the driver, finish installing it, and associate it with the RLink.
12. Then you should see the BUSY LED turning OFF, which means that Windows and the RLink
are able to communicate through the USB driver and cable.
13. Check with RLinkCapab that you are able to read the RLink serial number as explained in
Appendix C.

For Vista (and later) users:


1. Make sure the RLink is NOT connected to the PC.
2. Make sure you are logged in as Administrator, or a user that has administrator rights.
3. Install Ride7 in 'Run as Admin' mode.
4. Remove any CDs from the drives, including the Ride7 CD (this is important!).
5. Open a command prompt in 'Run as Admin' mode.
6. Change Directory to C:\E4000…\Driver\RLinkDrv\MS_WinUSB_XP_Vista\
7. Execute RLink_WinUSB_Install_verbose.bat (watch out for error messages)
8. Check that there is a directory in C:\Windows\System32\DriverStore\FileRepository\... with the
name starting with rlink_winusb.
9. Plug in the RLink. Check that the PWR and BUSY LEDs turn ON. The PWR LED means that
the RLink is powered (!) and the BUSY LED means that the RLink firmware is running
correctly.

This validates most of the RLink hardware and firmware.

10. Tell the Windows 'Found new hardware' wizard not to search on the internet
11. Tell the Windows 'Found new hardware' wizard not to search automatically, but point it to
C:\E4000…\Driver\RLinkDrv\MS_WinUSB_XP_Vista\
12. It should then find the driver, finish to install it, and associate it with this RLink.
13. Then you should see the BUSY LED turning OFF, which means that Windows and the RLink
are able to communicate through the USB driver and cable.
14. Check with RlinkCapab.exe that you are able to read the RLink serial number as explained
in Appendix C.
Appendix B
Uninstallation of the RLink USB driver
Sometimes you will need to completely uninstall the RLink driver. Normally it is because the
wrong driver (for the wrong version of Windows) has been installed. If that happens, you must
completely uninstall the driver, which is no easy task.
You must get to the point where when you plug in RLink and let Windows search automatically for
a driver, it doesn't find any. Only then can you install the correct driver using one of the
procedures described previously.

Standard procedure
Here is how to uninstall the RLink driver:
1. Plug in the RLink.
2. If a driver is loaded for it, go to the Device Manager and ask Windows to uninstall it (the driver,
not just the RLink).
3. If you see a "Jungo" section in the Device Manager, you should also try to uninstall it.
4. Then, unplug the RLink.
5. Remove all the files, directories and registry keys (using regedit.exe started as admin) in the
list below. In DriverStore (Vista) or DRVSTORE (XP), try to remove the whole directories listed
below. If you cannot, remove as many of the files in them as you can. Also remove the registry
entries if you manage to do it. You will need to change the ownership to yourself, recursively,
then give "everyone" complete access to the keys, directories and files, then you should be
able to remove them.
6. Go back to the first point of the procedure, the plugging of the RLink, and repeat the process
until Windows does not find any driver for the RLink when you ask it to search automatically.
If after several tries it still finds one, go to the Device Manager, display the details of the driver
that has been associated with RLink, and try to locate the inf and/or sys files that are used.
Then, repeat the procedure and make sure that you remove those files.

Other items to remove (if they exist)


Files and folders to remove:
• C:\Windows\inf\Windrvr6.*
• C:\Windows\inf\RLink*.*
• C:\Windows\System32\Drivers\Windrvr6.*
• C:\Windows\System32\Drivers\RLink*.*
• C:\Windows\System32\DriverStore\FileRepository\Windrvr6*.*
• C:\Windows\System32\DriverStore\FileRepository\RLink*.*
• C:\Windows\System32\DRVSTORE\Windrvr6*.*
• C:\Windows\System32\DRVSTORE\FileRepository\RLink*.*
• search for all C:\Windows\inf\oem*.inf files that contain the string “RLink” or “Jungo”. If you find
any, you must remove them, and also the associated oem*.pnf files.
Registry key to remove:
HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Enum/USB/VID_138E&PID_9000/...
Appendix C

RLink serial number


Reading the serial number of the RLink is the simplest way to check that the USB
communication between RLink and the host PC is correctly configured and working. If this
works, it validates the USB driver and its installation, the USB cable, and the USB and firmware
parts of the RLink.

Reading RLink serial number


1. Double click the RlinkCapab.exe file found in the C:\E4000 Flash Programming directory.

You might also like