2010-09-25

日本放人并不等于中国赢

在中国总理温家宝参加纽约联合国会议,发出钓鱼岛风波以来 中国高层公开谴责日本的呼声,以及拒绝会见日相菅直人之后,日方态度突然转弯,日本那霸地方检察厅24日决定放还被其非法扣押的中国渔船船长詹其雄,放还 的理由是:"考虑到了对日本国民的影响以及今后的日中关系",不过,为了掩饰突然转弯的尴尬,那霸地方检察厅称,将以"保留处分"的形式放还詹其雄。

为何放人?很简单,中方政府的"间接施压"发生了直接效果,主要体现在:停止了人员交流,不顾损失展开了经贸"制裁",甚至于逮捕了"违法的日本公 民"等,这些举措导致日本国内"举国一致"的舆论发生了变化。但从国际舆论的角度来看,日本软化的最主要原因,在于事件激起了中国民众的极大愤怒,虽然两 岸三地的保钓活动在政府的约束之下,难以大规模展开,但海外华人全球规模的保钓活动已经风起云涌,这对日本产生的国际压力难以估计,更为严重的是,在美国 副总统拜登发言相挺日本,称中美关系必须经过东京之后,让北京猛醒,认识到要使钓鱼台风波解开死结,中国需走华盛顿的"门路",温家宝奥巴马会谈就是开 始,日本体认到,如果中国不计代价,与美国修好,让美国在钓鱼台风波上改变立场,那日本的"钓鱼台领土之说"便可能土崩瓦解,事实上,美国《纽约时报》专 栏作家罕见撰文,称从日本古地图来看,钓鱼岛就是中国领土,美国不会为几个荒岛,与中国展开核战争,这样的呼声,比中国外交部的照会更加管用,日本无法充 耳不闻。

问题是,日本宣布放人,是否就是中国的胜利?恐怕不是。

首先,宣布放人的是那霸地方检察厅,是原来准备"司法起诉"中国船长的单位,而非日本政府,这印证了日本政府的一贯主张,一切听从国内法的行事。不仅如此,从国际公关的角度来看,一个地方的司法机构,尚可考虑对日本国民的影响和中日关系大局,显示的是日本的司法文明。

第二,日本通过这次扣留,已经启动国内法,彰显钓鱼台主权,放人之际,也没有承认非法扣留,钓鱼台领土主权的争议,没有丝毫让步,唯一就是给了中国政府"最后的面子"。

第三,日本民主党通过此次风波,扭转了日美关系,转移了冲绳驻军问题上日本民众对民主党政府的压力,更为自卫队的扩军找到了充分理由。而民主党的 "明日之星"——外长前原诚司一举成名,宛如小泉时代的安倍晋三在对待朝鲜绑架日本人问题上持强硬姿态而获得后来成为首相的资本。

如果钓鱼岛风波就此落幕,中国沾沾自喜,以为打了大胜仗,随后回到常态,一方面压制民间保钓,一方面放任日本实际控制钓鱼岛管辖权,那么,这一场风 波的结果,中国还是输家。因为谁都知道,中国船长总会回来,"无条件释放"其实是一句空话,而钓鱼岛并没有回来。中国为了一个船长,大动干戈,而钓鱼岛领 土则视而不见,在某种程度上会增加国际社会认为"中国不理性"的印象,中国威胁论难以消除。

中国应该怎么办?

包机接回船长,这其实只是第一步,如果中国认为钓鱼岛是中国领土,船长是被非法扣押,那么,应该允许船长在中国法院打官司,控告日本非法扣押期间对 他和家人造成的损害,要求日本进行赔偿,中国的司法系统敢不敢接这个案子,考验中国对钓鱼台领土主权的决心和信心,同时,司法之战,也是国际社会喜闻乐见 的解决争端的最好的途径、最理性的途径,因而最符合普世价值。以一场司法战开启中国拿回钓鱼岛主权的契机,才可以让中国从"输"走向"赢",也让国际社会 感受中国"以法治国"的诚意,这叫以其人之道,还治其人之身。




全国最低价,天天在家冲照片,24小时发货上门!

2010-09-13

USB转并口的资料

德国人搞的,很强大
收藏先
http://www-user.tu-chemnitz.de/~heha/bastelecke/Rund%20um%20den%20PC/USB2LPT/index.html.en

USB2LPT – Cloning instructions for Release 1.6

This device is almost the same as Release 1.5.
For high-speed USB, there is a Release 1.7.

If 3.3V operation of ATmega is wanted, a user can now populate a dual diode BAV199 instead of the LD1117 of the previous version. This enables drawing less than 500 µA of standby current in this case.

Electronic Components

You need:

PiecesDescriptionReichelt Order CodePrice in € (2007)
1ATmega8 in TQFP32 packageATMEGA 8-16 TQ1.70
1Ceramic capacitor 100 nF 0603X7R-G0603 100n0.051
1Resistor array 220 Ω 1206BCN16 0.02
1Resistor 10 kΩ 0805SMD-0805 10k0.10
1Electrolytic capacitor 10 µFrad 10/350.041
1Yellow LED 3 mm LED 3mm ST ge0.051
1SubD receptacle 25 pinD-SUB BU 250.15
1USB receptacle MiniB through-holeUSB BWM0.50
1HousingKappe CG25G0.13
1USB cable 1 mAK 673-A0.98
1Two-sided PCB (see below)UL16LP1.00

It's not hard to populate this PCB.

Photo upper side   Photo lower side
(Sufficiently) populated PCB

The LED

The yellow multi-function LED shows following states:
  • off:
    • No power supply (cable broken or similar)
    • USB2LPT not recognized by computer
    • USB Standby mode - e.g. at notebook's suspend mode
    • USB2LPT in bootloader mode
  • on:
    • USB2LPT active, output drivers enabled, inputs with pull-up resistors
  • flashing:
    • fast: USB BULK or INTERRUPT transfers (redirected IN and OUT instructions; normal operation)
    • slow: USB CONTROL transfers (mostly initiated by Windows)

Software

Preparations

  • Drill holes into SubD shell for LED
  • Label the shell
  • Bend pins of USB receptacle straight – see picture
  • Trim pins of LED and electrolytic capacitor to about 1 cm length
  • Download and install either  extern PonyProg2000 or extern WinAVR
  • PonyProg2000: Setup interface as shown here, check by connecting the programming adapter (this checks for connection between Pin 2 and Pin 12), invoke Setup→Calibration

Making-Of

  • put SMD cream, 4 SMD components, make a reflow process – or solder by hand
  • Check for short circuit between 5 volts and ground
  • press and solder SubD receptacle keeping ½ mm gap between PCB and SubD shroud
  • Align and solder USB receptacle (see helper tool), solder the pins with lowest possible iron temperature
  • Populate electrolytic capacitor as flat as possible
  • Align and solder the LED using the shell, watch for right polarity
  • Check for short circuit between 5 volts and ground again
  • Check "operation" by connecting the USB cable, must show as "inoperational USB device", this is the power supply for programming the bootloader
  • Connect programming adapter to an old-style parallel port and program the bootloader, either
    • PonyProg2000: load main.hex, write, set fuses exactly as shown here
      Do not twiddle with the fuses without knowledge! You may make the ATmega unaccessible to PonyProg2000 and all other low-voltage serial programmers!
      or
    • WinAVR: invoke make prog (directory src/firmware/USB2LPT6/bootloadHID)
    If your programming software doesn't recognize the right controller, check:
    • Programming adapter soldered correctly?
    • Programming adapter used in correct direction?
    • Solder jumper SJ2 (still) connected?
    • Pins of SubD25 socket soldered correctly?
    • Microcontroller soldered in correct alignment and angle? (If wrong, remove with a hot-air gun. If 180° wrong, use new ATmega8.)
    • Mikrocontroller soldered without shorts?
  • Cycle power to USB2LPT, let install driver usb2lpt.inf. The Bootloader ( [extern] HIDboot) will not occur bevause the .hex file above contains both bootloader and the real USB2LPT firmware.
    If there is no USB2LPT, then check:
    • Solder joints on USB socket correctly?
    • USB socket not melted? (Contact springs still visible?)
    • SMD solder joints correctly without shorts?
    Check with another computer and/or with front-side or back-side USB connectors on PC, or using a USB hub. If USB2LPT seems to work unreliable, populating the crystal and downgrading to USB2LPT 1.5 firmware may help. The reason is an unstable 5V supply, that jitters the internal RC oscillator of the 1.6 firmware solution.
  • Remove programming adapter
  • Scratch jumper SJ2 (the only solder jumper on silk-screen-less lower PCB side)
  • Connect LPT checker or similar device, run Kurzschlusstest.exe, make corrections if necessary
  • Close shell, make a final check

Known PCB bugs

  • The crystal and the both 22 pF capacitors are not to populate
  • Population with ATmegaX8 is currently not recommended.
    If you want ATmega48 population, R1 should be 4.7 kΩ, and the older firmware USB2LPT5 (and crystal) must be used. A bootloader cannot be used (this chip has no bootloader support)
  • If D2 (BAV199) is used, R1 must be 1.5 kΩ

Solder jumpers

This revision 6 (USB2LPT 1.6) has 3 pre-connected solder jumpers:
    SJ1 can assign power to pin 25 of SubD receptacle:
  • open: Pin 25 unbeschaltet
  • right connected: Pin 25 to ground (default)
  • left connected: Pin 25 to 5 volts
If power is needed, populating a self-resetting fuse is highly recommended.
  • SJ2, connected at PCB fabrication, scratched at device manufacturing: activates the RESET pin of ATmega for programming the microcontroller.

  • SJ3, connected by default, scratch when you want 3.3 volts operation of ATmega8 (e.g. for safer JTAG connection), populate a BAV199 and change R1. Moreover, scatch it to measure device's current consumption and re-solder.

USB2LPT – Cloning instructions for Release 1.7

Electronic Components

Almost identical to Release 1.4. Except voltage regulator:

insteadnowGND currentoutput currentoptionsattention
LD1117S33TPS79733DCK1,3 µA 50 mA (190 mA typ.)PowerGood outputPopulate C4
TPS71533DCK3,2 µA 50 mA (125 mA min.)
TPS71433DCK 80 mA (100 mA min.)
TPS77033DBV17 µA 50 mA (340 mA typ.)inverse enable input
(not used here)
Do not populate C4!
Instead, populate electrolytic or tantalum capacitor 10 µF into two holes beneath C4.
This is because ESR must have a minimum for stable operation.
TPS78833DBV150 mA (350 mA typ.)
TPS76933DBV18 µA100 mA (350 mA typ.)
Values in parentheses are for internal current limitation

The overall current consumption of this device in USB idle state should now be about 500 µA, as required by USB specification.
(The EZUSB-FX2 chip itself contributes 500 µA:-)

Inside DeviceInside Device
Populated PCB. The capacitor C4 is exceptionally populated with an SMD tantalum capacitor

Software

Solder Jumper

Same as for Revision 1.4.


全国最低价,天天在家冲照片,24小时发货上门!

2010-09-11

Show下新买的2504底座

在淘宝上淘来的, 比较新,也比较便宜 hoho 算邮费一共 188

下面来开箱照,不过是回家补上的

店家比较负责,包装不错,外面贴着 易碎物品的提示

包了很多珍珠纸

见到庐山真面目了,看到是thinkpad logo, 现在越看thinkpad logo 越觉得比三色标好看

背面,有些地方有点划痕,不太明显,这么低的价格,还带钥匙,这点瑕疵能够接受。

正面照,看起来很新 hoho

正面照,看起来很新 hoho

使用中

测试了接口,USB,并口,视频输出,音频,网口都可以用,串口和电话口没试,基本用不到。我主要用并口,使用编程器

原来看见过有人转让2504底座,说不支持在线编程。

我查了下,底座都是原生并口,串口。本来想买个PC卡转并口的,查了下都要150 左右,有些更贵。就冒险买了这个底座,还好能用 hoho




您想拥有和网易免费邮箱一样强大的软件吗?
中文调查网
第一调查网清研网
聚宝箱 积沙成塔 乐调网 ePanel益派调查网