亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? pmbus

?? pmbus在avr32開發板平臺上tiny24中的實現。
??
?? 第 1 頁 / 共 5 頁
字號:
#!/bin/sh# This is a shell archive (produced by GNU sharutils 4.2.1).# To extract the files from this archive, save it to some FILE, remove# everything before the `!/bin/sh' line above, then type `sh FILE'.## Made on 2008-04-25 11:23 PDT by <db@ascent>.# Source directory was `/root32/home/db/avr/usi_slave'.## Existing files will *not* be overwritten unless `-c' is specified.## This shar contains:# length mode       name# ------ ---------- ------------------------------------------#   9036 -rw-r--r-- README#  35147 -rw-r--r-- COPYING#   1569 -rw-r--r-- Makefile#  11893 -rw-r--r-- main.c#  19306 -rw-r--r-- pmbus.c#  16452 -rw-r--r-- usi_i2c_slave.c#   3321 -rw-r--r-- usi_i2c_slave.h#   1722 -rw-r--r-- smbus_glue.h#   2849 -rw-r--r-- prod_misc.h#  52083 -rw-r--r-- pmbus_peek.c#  16515 -rwxr-xr-x pmbus_slave.elf#save_IFS="${IFS}"IFS="${IFS}:"gettext_dir=FAILEDlocale_dir=FAILEDfirst_param="$1"for dir in $PATHdo  if test "$gettext_dir" = FAILED && test -f $dir/gettext \     && ($dir/gettext --version >/dev/null 2>&1)  then    set `$dir/gettext --version 2>&1`    if test "$3" = GNU    then      gettext_dir=$dir    fi  fi  if test "$locale_dir" = FAILED && test -f $dir/shar \     && ($dir/shar --print-text-domain-dir >/dev/null 2>&1)  then    locale_dir=`$dir/shar --print-text-domain-dir`  fidoneIFS="$save_IFS"if test "$locale_dir" = FAILED || test "$gettext_dir" = FAILEDthen  echo=echoelse  TEXTDOMAINDIR=$locale_dir  export TEXTDOMAINDIR  TEXTDOMAIN=sharutils  export TEXTDOMAIN  echo="$gettext_dir/gettext -s"fiif touch -am -t 200112312359.59 $$.touch >/dev/null 2>&1 && test ! -f 200112312359.59 -a -f $$.touch; then  shar_touch='touch -am -t $1$2$3$4$5$6.$7 "$8"'elif touch -am 123123592001.59 $$.touch >/dev/null 2>&1 && test ! -f 123123592001.59 -a ! -f 123123592001.5 -a -f $$.touch; then  shar_touch='touch -am $3$4$5$6$1$2.$7 "$8"'elif touch -am 1231235901 $$.touch >/dev/null 2>&1 && test ! -f 1231235901 -a -f $$.touch; then  shar_touch='touch -am $3$4$5$6$2 "$8"'else  shar_touch=:  echo  $echo 'WARNING: not restoring timestamps.  Consider getting and'  $echo "installing GNU \`touch', distributed in GNU File Utilities..."  echofirm -f 200112312359.59 123123592001.59 123123592001.5 1231235901 $$.touch#if mkdir _sh01132; then  $echo 'x -' 'creating lock directory'else  $echo 'failed to create lock directory'  exit 1fi# ============= README ==============if test -f 'README' && test "$first_param" != -c; then  $echo 'x -' SKIPPING 'README' '(file already exists)'else  $echo 'x -' extracting 'README' '(text)'  sed 's/^X//' << 'SHAR_EOF' > 'README' &&WHAT IS THIS?XX	This is PMBus 1.1 [0] software intended to replace the firmware foundX	in the "Board Controller" [1] on the Atmel ATNGW100 [2], which is aX	low cost ($US 90) Linux-oriented board suitable for developing andX	deploying AVR32 based embedded systems.  This firmware can go intoX	an ATtiny24 microcontroller which is found on that board, but whichX	is not currently used for anything of note.XX	This is licensed under GNU GPLv3.  The distribution files includeXX		README -- what you're readingX		COPYING -- copy of GPLv3X		Makefile -- to build under LinuxX		pmbus_slave.elf -- pre-built binaryX		pmbus_peek.c -- userspace tool talking to the firmwareXX	Plus of course the source code with the I2C/PMBus protocol codeX	and microcontroller access:XX		main.cX		pmbus.cX		usi_i2c_slave.cX		usi_i2c_slave.hX		smbus_glue.hX		prod_misc.hXWHY USE THIS?XX	There are several reasons this firmware may interest you:XX	- Achieving what was originally promised for that chip.  DespiteX	  documentation in the NGW100 board support package, the originalX	  firmware doesn't conform to any version of the PMBus spec.  ItX	  won't return strings properly.  Temperatures are encoded wrong.X	  So is the board revision.XX	- This firmware provides a basis for building the kind of boardX	  controller the NGW design envisions.  Swap in a more capableX	  chip (say, an ATtiny44), and it could do quite a lot.XX	- As a Linux developer, you may not be familiar with AVR8X	  microcontrollers.  This little project can be a gentleX	  introduction.XX	Fortunately, one place the documentation is incorrect is where itX	says that the ATtiny can't be reprogrammed without taking it offX	the board.  The "lock bits" have not actually been set, so it canX	be reprogrammed using standard AVR8 tools.XX	The USI controller which this firmware uses is available in all theX	ATtiny series chips plus larger ATmega{16,32,64}{5,9,50} chips, soX	it should be easy to make it work on other AVRs.  (Retargetting toX	AVRs using TWI controllers for I2C shouldn't hurt much, either.)XSUMMARY INSTRUCTIONSXX    BuildingX	This package is distributed with a pre-built firmware image, asX	well as the sources to build that image.  So you don't *need* toX	build it yourself.XX	These sources build with gcc-avr; a simple Makefile is included,X	which you may need to tweak.  On MS-Windows, use WinAVR-20071221X	or newer; you may want to set up an AVR Studio project.  On Linux,X	use a recent toolchain, but be careful of GCC 4.3.0 bugs.XX    Installing -- the hardware sideX	There are lots of ways to get firmware onto an AVR8 microcontroller;X	you can read about them in many places.  I'll suggest using an AVRX	Dragon [3] programming adapter (USB connection, $US 50) connectedX	to a six-pin ISP connector you solder onto your NGW100, but mostX	any AVR programming tool will work.XX	As for soldering that ISP connector ...  find the ATtiny24 chip onX	your NGW100, and notice the pair of 6-pin footprints on the boardX	right next to it.  The footprint at the head of the ATtiny is theX	ISP connector.XX    Installing -- the software sideX	Again, there are lots of choices.X	X	  * One command line option is to use "avrdude", on both LinuxX	    and Windows.  If you're using avrdude, you may first wantX	    to download backup copies of the EEPROM and flash data.X	    Then erase everything and start from scratch.  X	X	  * AVR Studio also supports direct downloading (Windows only).XX	    However, *DO NOT* try to do this using the debugger (DebugWire)X	    unless you first remove the zero ohm resistor connecting theX	    ATtiny24 reset line to the AVR32 reset line!!  (It's labeledX	    "0", and sits between the ATtiny24 and DataFlash chips.) X	    DebugWire won't work, because of a capacitor on that line.XX	Newer toolchains should pick up fuse settings from the firmwareX	image.  The defaults are OK, except you should set EESAVE:  onceX	you set up the EEPROM, you probably won't want to do it again.X	X	After you update the firmware, you should write two values intoX	the EEPROM.  That's easy with DebugWire and AVR Studio; just editX	the memory display.  You can also do it with ISP mode and avrdude.X	 X	  * Your board serial number, up to 10 ASCII characters startingX	    at the beginning of the EEPROM.  Copy it from the sticker onX	    the bottom of your NGW board; it's not the product name orX	    the manufacture date code, and may be like "NGW01234".XX	  * Two bytes of temperature calibration data, starting atX	    the tenth byte.  Start with the default offset, and updateX	    it based on the reported temperature.  (Or leave it as allX	    zeroes or all ones, to use a default and correct it later.)XX    Using the new firmwareX	You may have noticed that nothing actually tries to talk to theX	board controller, either from Linux or from U-Boot.  StrictlyX	speaking, the board's Ethernet addresses should be derived fromX	its serial number, which should be retrievable from the ATtiny24X	controller (according to its limited documentation).  But there'sX	no point in trying that with the original firmware.XX	You can use the enclosed "pmbus_peek" userspace client.  ItX	uses the /dev/i2c-N interface, and lets you examine PMBusX	devices such as this one.  (Watch the original Atmel firmwareX	misbehave!  It uses address 0x0b; this firmware uses 0x35.)XFIRMWARE CAPABILITIESXX	This firmware uses the SMBus alert mechanism for asynchronousX	fault reporting.  Unfortunately Linux doesn't yet support thatX	mechanism, so if you care about faults you currently need toX	poll for them.XX   Sample readings:X	Here's output from the firmware installed on one NGW board.XX	The hardware revision is shown in octal, and comes from twoX	resistor ladders on the board.  The serial number was copiedX	by hand into the EEPROM.  (The last digits could be used toX	generate Ethernet addresses for the board.)X	X	Notice that there is one pending status alert, triggeredX	by manufacturer-specific command #4.  It can be cleared,X	possibly by code which notices the SMBALERT# signal.XX	This voltage might be a little bit high, but it's hard to say;X	only the first three of those digits are significant.X	X	This temperature reading is with no chip-specific calibration.X	It's using the default offset (275) ... which is eighteenX	degrees too high.  The EEPROM should be updated to record anX	offset of 275 - 18 = 257 = 0x0101, stored  little endian intoX	addresses 0x0a and 0x0b.  (0x0123 would store as 0x23 into 0x0a,X	and 0x01 into 0x0b.)XX	# pmbus_peek -s 0x35X	PMBus slave on /dev/i2c-0, address 0x35XX	Inventory Data:X	  Manufacturer:		Software ShakX	  Model:		NGW100 PMBusX	  Revision:		fw/0.7, hw/022X	  Serial:		NGW01837XX	PMBus revisions (0x21):	part I, ver 1.1; part II, ver 1.1X	Capabilities (0x30):	SMBALERT#, 400 KHzXX	Status 1000: mfrX	  MFR_SPECIFIC          10: mfr_status_4XX	Attribute Values:X	  vout                  0349: 3.34593 VoltsX	  temperature_1         0028: 40 degrees CelsiusXX	#XX   Supported operations:X   	Here's some output showing the device identification dataX	and the results of QUERYing all PMBus 1.1 commands to seeX	what this firmware supports.X	X	# pmbus_peek -l 0x35X	PMBus slave on /dev/i2c-0, address 0x35XX	Inventory Data:X	  Manufacturer:		Software ShakX	  Model:		NGW100 PMBusX	  Revision:		fw/0.7, hw/022X	  Serial:		NGW01837XX	PMBus revisions (0x21):	part I, ver 1.1; part II, ver 1.1X	Capabilities (0x30):	SMBALERT#, 400 KHzXX	Supported Commands:X	  03 clear_fault                w nodataX	  19 capability                r  u8 (bitmask)X	  1a query                     r  process_callX	  30 coefficients              r  process_callX	  78 status_byte               r  u8 (bitmask)X	  79 status_word               r  u16 (bitmask)X	  7e status_cml                r  u8 (bitmask)X	  80 status_mfr_specific       r  u8 (bitmask)X	  8b read_vout                 r  s16 (DIRECT), VoltsX	     Coefficients: READ b=0 m=25135 R=-2X	  8d read_temperature_1        r  s16 (LINEAR), degrees CelsiusX	  98 pmbus_revision            r  u8 (bitmask)X	  99 mfr_id                    r  block, ISO 8859/1 stringX	  9a mfr_model                 r  block, ISO 8859/1 stringX	  9b mfr_revision              r  block, ISO 8859/1 stringX	  9e mfr_serial                r  block, ISO 8859/1 stringX	  d4 mfr_specific_04            w (UNKNOWN call syntax)X	  d5 mfr_specific_05            w (UNKNOWN call syntax)X	#XX	Those two manufacturer-specific commands are for testing.X	They trigger manufacturer-specific alerts, and raise anX	SMBALERT# IRQ for the host to handle.XREFERENCESXX [0] PMBus is a consortium standard:XX	http://www.pmbus.org/XX [1] BSP documentation on the NGW100 board controller (not fully correct)Xhttp://www.avrfreaks.net/wiki/index.php/Documentation:NGW/NGW100_Board_controllerXX [2] Atmel's product description for the NGW100 board:XX	http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4102XX [3] Atmel's product description for the Dragon:XX 	http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3891SHAR_EOF  (set 20 08 04 25 11 23 53 'README'; eval "$shar_touch") &&  chmod 0644 'README' ||  $echo 'restore of' 'README' 'failed'  if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
色八戒一区二区三区| 国产在线精品一区二区不卡了| 粉嫩嫩av羞羞动漫久久久| 精品国产乱码久久久久久蜜臀 | 日韩国产欧美三级| 欧美精品黑人性xxxx| 蜜臀91精品一区二区三区| 精品剧情v国产在线观看在线| 久久激情综合网| 久久综合视频网| 国产成人av一区二区三区在线观看| 国产午夜精品美女毛片视频| 成人美女在线视频| 亚洲综合999| 日韩三级中文字幕| 国产成人aaa| 夜夜爽夜夜爽精品视频| 在线播放视频一区| 国产成人精品亚洲日本在线桃色 | 一区二区三区在线观看国产| 欧美专区在线观看一区| 日韩福利视频网| 久久久久久久综合狠狠综合| 97久久精品人人爽人人爽蜜臀| 亚洲国产精品久久人人爱蜜臀| 欧美一级夜夜爽| 成人av在线看| 日韩精品一二三区| 中文字幕不卡的av| 制服丝袜一区二区三区| 成人精品亚洲人成在线| 午夜免费久久看| 国产精品女上位| 69堂成人精品免费视频| 成人综合在线观看| 免费在线观看精品| 亚洲精品写真福利| 337p粉嫩大胆噜噜噜噜噜91av| 色婷婷av一区二区三区gif| 久久av中文字幕片| 亚洲图片一区二区| 中文字幕中文字幕一区二区| 日韩欧美国产综合在线一区二区三区 | 国产精品亚洲第一| 亚洲一区在线视频| 亚洲国产成人私人影院tom| 精品视频在线免费看| 成人app下载| 国模少妇一区二区三区| 爽好久久久欧美精品| 国产精品久久久久久久久动漫| 欧美成人高清电影在线| 欧洲在线/亚洲| eeuss鲁一区二区三区| 久久成人av少妇免费| 午夜视频在线观看一区| 日韩美女久久久| 国产女人水真多18毛片18精品视频| 91精品国产综合久久久久久久 | 久久久99精品免费观看不卡| 欧美日韩国产片| 欧洲另类一二三四区| 99国产精品久久久久久久久久久| 精品一二三四区| 丝袜美腿亚洲一区| 亚洲成人动漫av| 亚洲国产cao| 一区二区高清免费观看影视大全| 亚洲欧洲日产国产综合网| 国产女人18毛片水真多成人如厕| 久久久蜜臀国产一区二区| 91精品综合久久久久久| 欧美日韩另类一区| 欧美少妇性性性| 欧美三级电影在线观看| 6080国产精品一区二区| 欧美在线影院一区二区| 国产成人高清在线| 国产精品中文有码| 丁香激情综合国产| 成人av资源网站| 91丝袜美腿高跟国产极品老师| 丰满岳乱妇一区二区三区| 国产成人鲁色资源国产91色综| 国产**成人网毛片九色| 懂色av一区二区三区免费观看| 国产精品一级片| 成人免费观看视频| 91成人在线免费观看| 在线观看国产一区二区| 色妞www精品视频| 日本道精品一区二区三区| 在线视频你懂得一区二区三区| 欧美色网一区二区| 911精品产国品一二三产区| 在线成人av影院| 久久综合久久综合久久综合| 国产免费观看久久| 欧美日韩国产美| 色哟哟在线观看一区二区三区| 色婷婷狠狠综合| 欧美一区二区视频在线观看2022| 欧美成人精品二区三区99精品| 精品1区2区在线观看| 欧美激情一区二区三区四区| 亚洲视频在线一区| 日韩在线播放一区二区| 激情五月激情综合网| 99久久精品国产麻豆演员表| 欧美视频一区在线| 日韩视频一区在线观看| 中文字幕乱码日本亚洲一区二区 | 久久精品网站免费观看| 国产欧美一二三区| 亚洲黄色片在线观看| 久久国产精品区| 91丨九色丨蝌蚪富婆spa| 欧美日韩一级片网站| 精品国产三级a在线观看| 国产精品久久夜| 麻豆一区二区三| 色综合亚洲欧洲| 精品99久久久久久| 亚洲精品日韩一| 国产麻豆精品久久一二三| 色综合久久综合网| 久久久久久9999| 亚洲综合男人的天堂| 国产自产高清不卡| 欧美网站一区二区| 日本一区二区高清| 免费高清在线视频一区·| 91婷婷韩国欧美一区二区| 久久久精品影视| 蜜臀99久久精品久久久久久软件| 91在线视频网址| 久久综合一区二区| 奇米精品一区二区三区四区| 色综合天天综合在线视频| 久久久久久9999| 久久成人久久鬼色| 欧美精三区欧美精三区| 亚洲精品免费看| 波多野结衣欧美| 欧美精品一区二区三区很污很色的| 亚洲一区二区综合| 播五月开心婷婷综合| 国产日韩高清在线| 久久99热99| 日韩视频一区在线观看| 亚洲va欧美va人人爽| 欧美性猛交xxxxxx富婆| 亚洲欧美一区二区三区久本道91| 国产精品一区二区三区99 | 精品人在线二区三区| 日韩精品三区四区| 欧美亚洲综合在线| 亚洲三级电影网站| 99国产精品久久久久久久久久久| 欧美高清在线视频| 成人妖精视频yjsp地址| 国产日韩欧美高清在线| 国产真实乱偷精品视频免| 日韩视频一区二区| 六月丁香婷婷色狠狠久久| 7799精品视频| 日本人妖一区二区| 91麻豆精品国产91久久久久| 亚洲va国产va欧美va观看| 欧美性色黄大片手机版| 亚洲一区二区三区四区五区黄| 欧美色综合影院| 亚洲电影一级片| 欧美人与z0zoxxxx视频| 日日摸夜夜添夜夜添国产精品| 欧美日韩国产片| 精品一区二区三区免费毛片爱| 精品国产乱码久久久久久久久| 久久99久久精品| 精品少妇一区二区三区在线视频| 久草中文综合在线| 欧美国产日本韩| 91浏览器打开| 亚洲一区二区高清| 欧美一区二区三区公司| 久久99九九99精品| 国产欧美精品一区二区色综合朱莉 | 国产亚洲成av人在线观看导航| 国产乱码精品一区二区三区五月婷 | 午夜精品久久久久久久久久| 91精品国模一区二区三区| 国模少妇一区二区三区| 专区另类欧美日韩| 51午夜精品国产| 国产91清纯白嫩初高中在线观看| 一区精品在线播放| 欧美日韩三级一区二区| 麻豆国产一区二区| 综合中文字幕亚洲| 欧美高清一级片在线|