2009年2月11日星期三

http://www.bavariantechnic.com

http://www.bavariantechnic.com
arly Release
With the release of the Bavarian Technic Diagnostic Tool for BMW, we begin the next phase of this long-term project. Today, we offer a product that includes comprehensive coverage and a long list of features with a focus on late-model cars. Development, however, is not yet complete Read more.

What cars does it work on?
2005-2008 BMW 1 Series
1996-2009 BMW 3 Series
1996-2008 BMW 5 Series
2003-2008 BMW 6 Series
1994-2008 BMW 7 Series
2004-2008 BMW X3
1999-2006 BMW X5
2008-2009 BMW X6
1996-2002 BMW Z3
2002-2003 BMW Z4
2000-2003 BMW Z8
All BMW M models
Mini Cooper R50 & R56
Looking for Porsche? Please see Durametric

What does it do?
The tool accesses the electronic control units in your car to:
Read and clear diagnostic fault codes
Display shadow faults and soft faults
Display and record real-time actual values
Activate components of the car for troubleshooting
Reset service reminders
Reset condition-based service indicators
Send special commands to control units
Show ECU information
Access the latest BMW DCAN systems for 2007+ models

What systems does it work on?
Engine
Airbag
ABS
Transmission
Alarm
Central electronics
Heating & A/C
And much more...
*Not all features are supported on all modules or vehicles. See our Model/Feature Matrix for specific coverage.


How does it work?
Our product is a hardware and software tool that plugs into your Windows PC's USB port (check system requirements). Once plugged into the car, the tool is capable of communicating with the different system control units in the car.


Can it really help me turn off my airbag light?
Yes! The tool can show you why it is on in the first place so you can correct the problem and turn the light off.


Beta
The Bavarian Technic tool for BMW is not yet available for sale. We are currently undergoing beta testing on our BMW product and expect the first release in January 2009.


How is your product different from the OBD2 products available?
Our product communicates with your car just like the factory tool does and can access all of the systems in the car. OBD2 was created for emissions-related problems and only covers a limited subset of your car's engine.

30-day Satisfaction Guarantee
If you are not satisfied with our product for any reason, you may return the tool to us for a full refund (less shipping costs). Click here for details.

2009年1月18日星期日

WII

根据众多电玩店主的反映,主机序号在11975~11980之间的机器有一半几率是被截断针脚的,而12000之后的机器则全都是。但这并不意味不能再加直读,只是对电玩店的改机人员来说难度又加大了,改机用的IC都需要磨针脚到跳线的范围,并且耗费的时间翻倍。一般的小店已经无力改机,又或者改机的质量不过关,略有震动就会出现脱线问题,翻修率增大。

对任天堂来说截断针脚仅仅只是开始,来自台湾代工厂商的消息表明对Wii芯片做过再次改动的主机将于7月进入市场,推测这批机器的针脚可能经过硅胶固化,而想要去除硅胶将是非常的难,而且极其容易引起旁边的针脚脱落,改机几乎会无法实现。

AVR speed

#include
#include
#pragma interrupt_handler Icp_timer1:12
unsigned int oldcount;
unsigned int newcount;

void mcu_init(void)
{
DDRD=0X3F;
//PORTD=0X00;
TIMSK=0X08;
TCCR1A=0X00;
TCCR1B=0XC2;
ICR1=0;
TCNT1=0;
}
void Icp_timer1(void)
{
newcount=ICR1;
ICR1=0;
TCNT1=0;
TCCR1B=0XC2;
}
void main()
{
unsigned long int p;
DDRC=0XFF;
mcu_init();
SREG|=0X80;
while(1)//for(;;)
{
if ((newcount&0XFFF8)!=(oldcount&0XFFF8))
{
oldcount=newcount;
}
if (oldcount>10) PORTC=0XFF;
else
PORTC=0X00;
}
}

2008年12月29日星期一

PROSCHE BRAND CD FOR VAS505X

2008年12月25日星期四

JTAG

JTAG (Joint Test Action Group)

JTAG
JTAG是英文“Joint Test Action Group(联合测试行为组织)”的词头字母的简写,该组织成立于1985 年,是由几家主要的电子制造商发起制订的PCB 和IC 测试标准。JTAG 建议于1990 年被IEEE 批准为IEEE1149.1-1990 测试访问端口和边界扫描结构标准。该标准规定了进行边界扫描所需要的硬件和软件。自从1990 年批准后,IEEE 分别于1993 年和1995 年对该标准作了补充,形成了现在使用的IEEE1149.1a-1993 和IEEE1149.1b-1994。JTAG 主要应用于:电路的边界扫描测试和可编程芯片的在系统编程。

JTAG也是一种国际标准测试协议(IEEE 1149.1兼容),主要用于芯片内部测试。现在多数的高级器件都支持JTAG协议,如DSP、FPGA器件等。标准的JTAG接口是4线:TMS、TCK、TDI、TDO,分别为模式选择、时钟、数据输入和数据输出线。 相关JTAG引脚的定义为:TCK为测试时钟输入;TDI为测试数据输入,数据通过TDI引脚输入JTAG接口;TDO为测试数据输出,数据通过TDO引脚从JTAG接口输出;TMS为测试模式选择,TMS用来设置JTAG接口处于某种特定的测试模式;TRST为测试复位,输入引脚,低电平有效。GND

TI还定义了一种叫SBW-JTAG的接口,用来在引脚较少的芯片上通过最少的利用引脚实现JTAG接口,它只有两条线,SBWTCK,SBWTDIO。实际使用时一般通过四条线连接,VCC,SBWTCK,SBTDIO,GND,这样就可以很方便的实现连接,又不会占用大量引脚。

JTAG最初是用来对芯片进行测试的,基本原理是在器件内部定义一个TAP(Test Access Port测试访问口)通过专用的JTAG测试工具对进行内部节点进行测试。JTAG测试允许多个器件通过JTAG接口串联在一起,形成一个JTAG链,能实现对各个器件分别测试。现在,JTAG接口还常用于实现ISP(In-System Programmable;在线编程),对FLASH等器件进行编程。
JTAG编程方式是在线编程,传统生产流程中先对芯片进行预编程现再装到板上因此而改变,简化的流程为先固定器件到电路板上,再用JTAG编程,从而大大加快工程进度。JTAG接口可对PSD芯片内部的所有部件进行编程。

在硬件结构上,JTAG 接口包括两部分:JTAG 端口和控制器。与JTAG 接口兼容的器件可以是微处理器(MPU)、微控制器(MCU)、PLD、CPL、FPGA、ASIC 或其它符合IEEE1149.1 规范的芯片。IEEE1149.1 标准中规定对应于数字集成电路芯片的每个引脚都设有一个移位寄存单元,称为边界扫描单元BSC。它将JTAG 电路与内核逻辑电路联系起来,同时隔离内核逻辑电路和芯片引脚。由集成电路的所有边界扫描单元构成边界扫描寄存器BSR。边界扫描寄存器电路仅在进行JTAG 测试时有效,在集成电路正常工作时无效,不影响集成电路的功能。

JTAG的一些说明
通常所说的JTAG大致分两类,一类用于测试芯片的电气特性,检测芯片是否有问题;一类用于Debug;一般支持JTAG的CPU内都包含了这两个模块。
一个含有JTAG Debug接口模块的CPU,只要时钟正常,就可以通过JTAG接口访问CPU的内部寄存器和挂在CPU总线上的设备,如FLASH,RAM,SOC(比如4510B,44Box,AT91M系列)内置模块的寄存器,象UART,Timers,GPIO等等的寄存器。
上面说的只是JTAG接口所具备的能力,要使用这些功能,还需要软件的配合,具体实现的功能则由具体的软件决定。
例如下载程序到RAM功能。了解SOC的都知道,要使用外接的RAM,需要参照SOC DataSheet的寄存器说明,设置RAM的基地址,总线宽度,访问速度等等。有的SOC则还需要Remap,才能正常工作。运行Firmware时,这些设置由Firmware的初始化程序完成。但如果使用JTAG接口,相关的寄存器可能还处在上电值,甚至时错误值,RAM不能正常工作,所以下载必然要失败。要正常使用,先要想办法设置RAM。在ADW中,可以在Console窗口通过Let 命令设置,在AXD中可以在Console窗口通过Set命令设置。

2008年12月24日星期三

CarDAQ2534

CarDAQ2534 is the market's most rugged PassThru (J2534) device; ideal for in-vehicle or assembly-line applications. It features: sealed connectors, an aluminum case, optically isolated host interfaces, 6-15 V operating voltage with reverse battery protection, and an industrial (-40 to +80?C) operating temperature range. Compare that with the competition's delicate PCMCIA dongles, plastic cases, and laboratory-conditions equipment. Only CarDAQ2534 can handle harsh in-vehicle and assembly-line environments.

Bus Protocols
CAN/ISO 15765/GMLAN
Ford SCP (J1850PWM)
GM Class2 (J1850VPW)
KWP2000 (ISO9141/14230)
Other
Partially compliant to SAE J2534 (Feb 2002) and SAE J2534-1 (Dec 2004)
FEPS programming voltage on J1962 pin 13
6 General purpose analog inputs (0-27V, 2Ksps, 12 bit)
Product Specifications
Operating voltage: 6 – 15 Volts
Size: 1.25”H x 7.5”D x 5.25”W
Operating Temperature: Industrial Range (-40 to +80?C)

vi Editor Commands

vi Editor Commands
Quick links...
General Startup
Counts
Cursor Movement
Screen Movement
Inserting
Deleting
Copying Code
Put Command
Find Commands
Miscellaneous Commands
Line Editor Mode
ex Commands
Substitutions
Reading Files
Write File
Moving
Shell Escape
General Startup
To use vi: vi filename
To exit vi and save changes: ZZ or :wq
To exit vi without saving changes: :q!
To enter vi command mode: [esc]
Counts
A number preceding any vi command tells vi to repeat
that command that many times.
Cursor Movement
h move left (backspace)
j move down
k move up
l move right (spacebar)
[return] move to the beginning of the next line
$ last column on the current line
0 move cursor to the first column on the
current line
^ move cursor to first nonblank column on the
current line
w move to the beginning of the next word or
punctuation mark
W move past the next space
b move to the beginning of the previous word
or punctuation mark
B move to the beginning of the previous word,
ignores punctuation
e end of next word or punctuation mark
E end of next word, ignoring punctuation
H move cursor to the top of the screen
M move cursor to the middle of the screen
L move cursor to the bottom of the screen
Screen Movement
G move to the last line in the file
xG move to line x
z+ move current line to top of screen
z move current line to the middle of screen
z- move current line to the bottom of screen
^F move forward one screen
^B move backward one line
^D move forward one half screen
^U move backward one half screen
^R redraw screen
( does not work with VT100 type terminals )
^L redraw screen
( does not work with Televideo terminals )
Inserting
r replace character under cursor with next
character typed
R keep replacing character until [esc] is hit
i insert before cursor
a append after cursor
A append at end of line
O open line above cursor and enter append mode
Deleting
x delete character under cursor
dd delete line under cursor
dw delete word under cursor
db delete word before cursor
Copying Code
yy (yank)'copies' line which may then be put by
the p(put) command. Precede with a count for
multiple lines.
Put Command
brings back previous deletion or yank of lines,
words, or characters
P bring back before cursor
p bring back after cursor
Find Commands
? finds a word going backwards
/ finds a word going forwards
f finds a character on the line under the
cursor going forward
F finds a character on the line under the
cursor going backwards
t find a character on the current line going
forward and stop one character before it
T find a character on the current line going
backward and stop one character before it
; repeat last f, F, t, T
Miscellaneous Commands
. repeat last command
u undoes last command issued
U undoes all commands on one line
xp deletes first character and inserts after
second (swap)
J join current line with the next line
^G display current line number
% if at one parenthesis, will jump to its mate
mx mark current line with character x
'x find line marked with character x
NOTE: Marks are internal and not written to the file.
Line Editor Mode
Any commands form the line editor ex can be issued
upon entering line mode.
To enter: type ':'
To exit: press[return] or [esc]
ex Commands
For a complete list consult the
UNIX Programmer's Manual
SUBSTITUTION :#,#s/old/new/g # line number range old pattern to replace new pattern to insert g optional key for global substitution (multiple occurences of old on the same line will not be replace without this) READING FILES
copies (reads) filename after cursor in file
currently editing
:r filename
WRITE FILE
:w saves the current file without quitting
:# move to line #
:$ move to last line of file
SHELL ESCAPE
executes 'cmd' as a shell command.
:!'cmd'