|
|
|
| Previous | ||
| The Atmega 128 |
Section 4 |
WinVU |
These programs emulate your CAM and as such, you run camless when using them. They also use the horsepower of your PC for stream decryption and as such still autoroll. TSOP locking is currently not necessary when using BEV. To use emulation, you will require a couple of items in addition to your AVR. One is your boxkeys. See the section covering this topic. Secondly, you will need an emulation cable. You can build one of these yourself from parts found at your local electronics store, or purchase a prebuild from a vendor. Here is a diagram that shows a cable:

Have
a look at the chart below to decide which EMU package will work best for
you. There are some considerations you should be made aware of, but I
have yet to meet anyone who has blown up their computer or IRD using emulation.
Some folks also recommend inserting some electronics in the EMU cable
for voltage protection. Haven't see a problem, but the choice is yours.
(an easy way to add resistance to your cable is to make it mucho longer
than you may need; upwards of 100' (coil in room corner) should cause
no problems.)
********************************
-> Posted by qwert on March 21, 2002 at 23:40:46
There's a lot of confusion relating to PC and Amtel chip voltage levels when running Winvu. Some people think that you can burn out your chip. Here are the facts.
The Winvu PC to AVR cable only uses 3 leads, Ground, Send Data and Receive Data. If you wire the cable this way, then there is no way that the Amtel in your AVR can be damaged by your PC comm port! I'm beginning to think that BEV's Boris may be behind some of the posts that I've seen on a few boards.
The only real voltage issue that exists with the Amtel chip is that it's send data lead outputs at just below 5 volts, and that this is too low for some PC comm boards to detect. EIA standards define a positive data level at 5 volts (while the Amtel output is about 4.75V).
This is why some people attempting Winvu have no success even though everything has been done properly. I have 2 PC's and the older and slower machine works but my main one does not.
-> Posted by Fred on March 21, 2002 at 23:53:17
In Reply to: Winvu & Voltage Issues Explained posted by qwert on March 21, 2002 at 23:40:46
PC comm port
Rx/Tx specs are -12 to +12, but typically output -10 to +10. The Atmel's
max rating on any pin, except /reset, is -1 to 5.5vdc. I know this would
normally be hard on this device but it still keeps ticking. I even tried
to a non-inverting rs232 circuit but the 0 to 5vdc signal at the Atmel
pin 6 got eaten up. Only works when +/-10 from rs232 port. weird.
********************************
Emulation Requirements:
1. A computer (specific requirements below) that can be continually connected
to IRD
2. A DB9 Female connector to a DB25 Male connector (See Communication
Cable Setup)
3. An AVR3 or autoroll AVR6
4. A receiver (IRD) with boxkeys
5. One of: Winvu 2009 Software, LinuxEMU (TOAD), CEMU, JavaEMU
6. Jeepersdx207_ ird2pcv2 Software
7. AVR_ EMU Software (optional for testing the communication links)
8. Read this document if you are new to testing
All software can be found at: http://www.evuavr3.com/files.html
PC Chart
| Emulator | Min. PC | Notes |
| WinVU (Win) | P200/32M RAM | A stronger PC will be required if it is not dedicated to WinVU |
| CEMU (DOS) | Higher 486 | A dedicated setup |
| JavaEmu (JAVA) | Same WinVU | Same WinVU |
| Toad (Linux) | Same CEMU | Same CEMU |
Once
you have your boxkeys and your cable, there are a couple more steps to
complete and then you're ready.
1) Flash your AVR with IRD2PC
Add the following pfg's to your jeepers directory: IRD2PC
There are two in the archive: IRD2PC and IRD2PCV2. Using Jeepers, select
the appropriate version based on the AVR type you have and full monty.
IRD2PC for AVR w/o autoroll and IRC2PCV2 for AVR w/autoroll. This flash
sets up your AVR to act as a serial communications device that operates
at the same speed as your IRD.
2) Convert your IRD# and CAMID to hex
EMU (WinVU
only) needs
the numbers in hex not decimal. S045..... and R002... are decimal. To
convert it use the windows calculator in scientific mode with dec selected.
Example CAM: S 00 4512 3456-xx
Put 45123456 in calculator then select hex(.) You should get
2B08780. This is what you put 02b08780 in WinVU for cam #. You
must put in 8 digits so add leading zero if required.
Example IRD: R 00 1234 5678-xx
Put 12345678 in calculator then select hex(.) you get 12d688 put 0012D688
in WinVU. You must put in 8 digits so add leading
zero if required.
It has been reported, and confirmed via testing, that the CAM # is irrelevant
as long as 8 characters are present.
General Notes:
HEX Values for Timezones
| Timezone | Hex value |
| ST Hawaii | D8 |
| DST Hawaii | DC |
| ST Alaska | DC |
| DST Alaska | E0 |
| PST | E0 |
| CST | E8 |
| PDT | E4 |
| CDT | EC |
| MST | E4 |
| EST | EC |
| MDT | E8 |
| EDT | F0 |