m4手机怎么样如何设置拍照探索

1752人阅读
& & &&OpenOCD需要针对不同的JTAG工具和不同的目标芯片,配置一个配置文档。一般而言,配置文档分为4个部分。
& & & & 1、Daemon
& & & & &主要是配置openocd对外的通讯所使用的本地TCP/IP端口,如gdb、telnet所使用的端口。 接口Port的定义一般如下(非特殊情况,无需修改,定义了一些端口号)
telnet_port 4444
tcl_port 6666
& & & & &在用telnet或gdb进行调试时,将会根据定义的端口号连接到服务程序openocd上。& & &
& & & & &2、Interface
& & & & & 就是openocd所操作的连接开发板的调试器。
# type of debug adapter
interface ft2232
# Provides the USB device description (the iProduct string) of the FTDI FT2232 device. If not specified, the FTDI default value is used.
ft2232_device_desc &USB&=&JTAG&RS232&
# Each vendor’s FT2232 device can use different GPIO signals to control output-enables, reset signals, and LEDs
ft2232_layout jtagkey
# The vendor ID and product ID of the FTDI FT2232 device
ft2232_vid_pid 0x8
& & & & &注:&查看ID的方法:
& & & & & &lsusb //查看设备的相关简要信息
& & & & & &获取如下:
Bus 006 Device 030: ID
First International Computer, Inc. OpenMoko Neo1973 Debug board (V2+)
& & & & & &获取更详细的信息:
sudo lsusb -v -D /dev/bus/usb/006/030& & & & & &详细信息如下:
Device: ID
First International Computer, Inc. OpenMoko Neo1973 Debug board (V2+)
Device Descriptor:
bDescriptorType
bDeviceClass
0 (Defined at Interface level)
bDeviceSubClass
bDeviceProtocol
bMaxPacketSize0
0x1457 First International Computer, Inc.
0x5118 OpenMoko Neo1973 Debug board (V2+)
iManufacturer
1 www.100ask.net
2 USB&=&JTAG&RS232
bNumConfigurations
Configuration Descriptor:
bDescriptorType
wTotalLength
bNumInterfaces
bConfigurationValue
iConfiguration
bmAttributes
(Bus Powered)
Interface Descriptor:
bDescriptorType
bInterfaceNumber
bAlternateSetting
bNumEndpoints
bInterfaceClass
255 Vendor Specific Class
bInterfaceSubClass
255 Vendor Specific Subclass
bInterfaceProtocol
255 Vendor Specific Protocol
iInterface
2 USB&=&JTAG&RS232
Endpoint Descriptor:
bDescriptorType
bEndpointAddress
bmAttributes
Transfer Type
Synch Type
Usage Type
wMaxPacketSize
Endpoint Descriptor:
bDescriptorType
bEndpointAddress
bmAttributes
Transfer Type
Synch Type
Usage Type
wMaxPacketSize
Interface Descriptor:
bDescriptorType
bInterfaceNumber
bAlternateSetting
bNumEndpoints
bInterfaceClass
255 Vendor Specific Class
bInterfaceSubClass
255 Vendor Specific Subclass
bInterfaceProtocol
255 Vendor Specific Protocol
iInterface
2 USB&=&JTAG&RS232
Endpoint Descriptor:
bDescriptorType
bEndpointAddress
bmAttributes
Transfer Type
Synch Type
Usage Type
wMaxPacketSize
Endpoint Descriptor:
bDescriptorType
bEndpointAddress
bmAttributes
Transfer Type
Synch Type
Usage Type
wMaxPacketSize
Device Status:
(Bus Powered)
& & & & 3、board
& & & &(1)jtag速率
& & & & 对于常见的arm、arm9,jtag配置的最大速率不能高于于cpu时钟的六分之一。如果所用的cpu时钟为60Mhz,因此jtag最大速率可设置为:
jtag_khz 10000& & & & &如果使用
jtag_rclk 3000& & & &&即使用自适应时钟,它将会用rclk自己搜索jtag工作频率,速度会很慢。
& & & & (2)芯片复位
& & & & 这里配置的为jtag和target cpu可用的复位信号。其中复位jtag中的tap控制器的为trst信号,srst信号用于target cpu复位,它是都是可选的。最好的情况是这两个信号都有,这样openocd就可分别控制tap控制器和cpu的复位。
reset_config trst_and_srst
& & & & 4、Target
& & & &&在/usr/local/share/openocd/scripts/target目录下可以找到很多芯片的配置例程,因此参照样本添加配置。
& & & & 配置TAP是一个通用的端口,通过TAP可以访问芯片提供的所有数据寄存器(DR)和指令寄存器(IR),配置语法为:
jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0×1 -irmask 0xf -expected-id $_CPUTAPID
& & & &配置cpu 此处设置cpu名称以及大小端排列顺序即可。配置如下:
target create $_TARGETNAME cortex_m3 -endian $_ENDIAN -chain-position $_TARGETNAME& & & &在使用openocd下载映像到ram时,为了提高速度,在ram中设置一块工作区域,配置如下:
$_TARGETNAME configure -work-area-phys 0x -work-area-size $_WORKAREASIZE -work-area-backup 0
& & & &由于K60是Cortex-M4的内核,相比之前的arm系列有很大的不同,openocd针对cortex系列也有很多的特殊配置,所以上面的配置还只是初级的配置文档,更加详细的配置还要待今后对这一内核进入深入研究之后再添加了。
& & & &参考链接:/space.php?uid=&do=blog&id=172600
----------------------------------------------------------------
欢迎大家转载我的文章。
转载请注明:转自古-月
欢迎继续关注我的博客
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
访问:292450次
积分:3763
积分:3763
排名:第3231名
原创:73篇
转载:45篇
评论:363条
文章:20篇
阅读:82751
(1)(2)(2)(1)(2)(4)(2)(1)(2)(1)(3)(7)(8)(13)(11)(2)(5)(1)(6)(2)(5)(7)(10)(6)(14)…0&&parseInt(document.getElementById('custompage').value)页&&1&&parseInt(document.getElementById('custompage').value)楼&&
回复:67 &查看:16465 &
单反照片跟手机拍照的对比。。
财产: 215303 爱卡币
来自: 河北省|邢台市
共获得爱卡币
单反照片跟手机拍照的对比。。
前几天用手机拍了几张葵花照片,今天又用单反相机拍了几张,或许是俺拍照技术太差,也或许是俺的单反太乞丐版,拍摄时间基本一致,拍出来的效果总感觉差不了很多,现在就逐一发出来,让大家评价一下
先来一个全景:
这个是手机拍摄
760) {this.resized= this.width=760; this.alt='Click here to open new window';}" onmouseover="if(this.width>760) {this.resized= this.width=760; this.style.cursor='hand'; this.alt='Click here to open new window';}" onclick="window.open('.cn/bbs/photo/.htm')" longdesc=".cn/bbs/photo/.htm" title="点击进入图库"
onmousewheel="return imgzoom(this);" alt="" />
下面这个是相机拍摄:
760) {this.resized= this.width=760; this.alt='Click here to open new window';}" onmouseover="if(this.width>760) {this.resized= this.width=760; this.style.cursor='hand'; this.alt='Click here to open new window';}" onclick="window.open('.cn/bbs/photo/.htm')" longdesc=".cn/bbs/photo/.htm" title="点击进入图库"
onmousewheel="return imgzoom(this);" alt="" />
760) {this.resized= this.width=760; this.alt='Click here to open new window';}" onmouseover="if(this.width>760) {this.resized= this.width=760; this.style.cursor='hand'; this.alt='Click here to open new window';}" onclick="if(!this.resized) {} else {window.open('http://wtty.oicp.net/UploadFile/775.gif');}" onmousewheel="return imgzoom(this);" alt="" />
再过几十年 我们来相会 送到火葬场 全部烧成灰&&你一堆 我一堆 谁也不认识谁 全部送到农村做化肥...
[每日热点]:
财产: 215303 爱卡币
来自: 河北省|邢台市
共获得爱卡币
手机拍摄的特写
760) {this.resized= this.width=760;this.height=760*557/745; this.alt='Click here to open new window';}" border="0" alt="" />
下面是相机拍摄
760) {this.resized= this.width=760; this.alt='Click here to open new window';}" onmouseover="if(this.width>760) {this.resized= this.width=760; this.style.cursor='hand'; this.alt='Click here to open new window';}" onclick="window.open('.cn/bbs/photo/.htm')" longdesc=".cn/bbs/photo/.htm" title="点击进入图库"
onmousewheel="return imgzoom(this);" alt="" />
760) {this.resized= this.width=760; this.alt='Click here to open new window';}" onmouseover="if(this.width>760) {this.resized= this.width=760; this.style.cursor='hand'; this.alt='Click here to open new window';}" onclick="if(!this.resized) {} else {window.open('http://wtty.oicp.net/UploadFile/775.gif');}" onmousewheel="return imgzoom(this);" alt="" />
再过几十年 我们来相会 送到火葬场 全部烧成灰&&你一堆 我一堆 谁也不认识谁 全部送到农村做化肥...
[每日热点]:
心随风动~~
2012年度社区伯乐奖
财产: 672663 爱卡币
来自: 海外|大洋洲
共获得爱卡币
您成功推荐了帖子 《单反照片跟手机拍照的对比。。》。
早啊勺子哥,俺沙发看花花,看得清楚,话说怎么看着差不多啊,单反扔了吧。
比 我 美 的 没 我 野
比 我 野 的 没 我 美
[每日热点]:
财产: 215303 爱卡币
来自: 河北省|邢台市
760) {this.resized= this.width=760;this.height=760*554/742; this.alt='Click here to open new window';}" border="0" alt="" />
760) {this.resized= this.width=760; this.alt='Click here to open new window';}" onmouseover="if(this.width>760) {this.resized= this.width=760; this.style.cursor='hand'; this.alt='Click here to open new window';}" onclick="window.open('.cn/bbs/photo/.htm')" longdesc=".cn/bbs/photo/.htm" title="点击进入图库"
onmousewheel="return imgzoom(this);" alt="" />
760) {this.resized= this.width=760; this.alt='Click here to open new window';}" onmouseover="if(this.width>760) {this.resized= this.width=760; this.style.cursor='hand'; this.alt='Click here to open new window';}" onclick="if(!this.resized) {} else {window.open('http://wtty.oicp.net/UploadFile/775.gif');}" onmousewheel="return imgzoom(this);" alt="" />
再过几十年 我们来相会 送到火葬场 全部烧成灰&&你一堆 我一堆 谁也不认识谁 全部送到农村做化肥...
[每日热点]:
财产: 215303 爱卡币
来自: 河北省|邢台市
760) {this.resized= this.width=760;this.height=760*561/749; this.alt='Click here to open new window';}" border="0" alt="" />
760) {this.resized= this.width=760; this.alt='Click here to open new window';}" onmouseover="if(this.width>760) {this.resized= this.width=760; this.style.cursor='hand'; this.alt='Click here to open new window';}" onclick="window.open('.cn/bbs/photo/.htm')" longdesc=".cn/bbs/photo/.htm" title="点击进入图库"
onmousewheel="return imgzoom(this);" alt="" />
760) {this.resized= this.width=760; this.alt='Click here to open new window';}" onmouseover="if(this.width>760) {this.resized= this.width=760; this.style.cursor='hand'; this.alt='Click here to open new window';}" onclick="if(!this.resized) {} else {window.open('http://wtty.oicp.net/UploadFile/775.gif');}" onmousewheel="return imgzoom(this);" alt="" />
再过几十年 我们来相会 送到火葬场 全部烧成灰&&你一堆 我一堆 谁也不认识谁 全部送到农村做化肥...
[每日热点]:
财产: 215303 爱卡币
来自: 河北省|邢台市
共获得爱卡币
760) {this.resized= this.width=760;this.height=760*554/739; this.alt='Click here to open new window';}" border="0" alt="" />
760) {this.resized= this.width=760; this.alt='Click here to open new window';}" onmouseover="if(this.width>760) {this.resized= this.width=760; this.style.cursor='hand'; this.alt='Click here to open new window';}" onclick="window.open('.cn/bbs/photo/.htm')" longdesc=".cn/bbs/photo/.htm" title="点击进入图库"
onmousewheel="return imgzoom(this);" alt="" />
760) {this.resized= this.width=760; this.alt='Click here to open new window';}" onmouseover="if(this.width>760) {this.resized= this.width=760; this.style.cursor='hand'; this.alt='Click here to open new window';}" onclick="if(!this.resized) {} else {window.open('http://wtty.oicp.net/UploadFile/775.gif');}" onmousewheel="return imgzoom(this);" alt="" />
再过几十年 我们来相会 送到火葬场 全部烧成灰&&你一堆 我一堆 谁也不认识谁 全部送到农村做化肥...
[每日热点]:
知足常乐 专业顾问096
财产: 49512 爱卡币
来自: 江苏省|扬州市
共获得爱卡币
760) {this.resized= this.width=760; this.alt='Click here to open new window';}" onmouseover="if(this.width>760) {this.resized= this.width=760; this.style.cursor='hand'; this.alt='Click here to open new window';}" onclick="if(!this.resized) {} else {window.open('/300qyht.gif');}" onmousewheel="return imgzoom(this);" alt="" />
[每日热点]:
财产: 215303 爱卡币
来自: 河北省|邢台市
760) {this.resized= this.width=760;this.height=760*557/746; this.alt='Click here to open new window';}" border="0" alt="" />
760) {this.resized= this.width=760; this.alt='Click here to open new window';}" onmouseover="if(this.width>760) {this.resized= this.width=760; this.style.cursor='hand'; this.alt='Click here to open new window';}" onclick="window.open('.cn/bbs/photo/.htm')" longdesc=".cn/bbs/photo/.htm" title="点击进入图库"
onmousewheel="return imgzoom(this);" alt="" />
760) {this.resized= this.width=760; this.alt='Click here to open new window';}" onmouseover="if(this.width>760) {this.resized= this.width=760; this.style.cursor='hand'; this.alt='Click here to open new window';}" onclick="if(!this.resized) {} else {window.open('http://wtty.oicp.net/UploadFile/775.gif');}" onmousewheel="return imgzoom(this);" alt="" />
再过几十年 我们来相会 送到火葬场 全部烧成灰&&你一堆 我一堆 谁也不认识谁 全部送到农村做化肥...
[每日热点]:
财产: 215303 爱卡币
来自: 河北省|邢台市
共获得爱卡币
各位看官感觉怎样?评论一下!
发帖不易,各位看着给几粒米鼓励一下如何?
760) {this.resized= this.width=760; this.alt='Click here to open new window';}" onmouseover="if(this.width>760) {this.resized= this.width=760; this.style.cursor='hand'; this.alt='Click here to open new window';}" onclick="if(!this.resized) {} else {window.open('http://wtty.oicp.net/UploadFile/775.gif');}" onmousewheel="return imgzoom(this);" alt="" />
再过几十年 我们来相会 送到火葬场 全部烧成灰&&你一堆 我一堆 谁也不认识谁 全部送到农村做化肥...
[每日热点]:
财产: 48717 爱卡币
来自: 广东省|深圳市
共获得爱卡币
不管啥图,上传之后像素都衰减得都差不多了
看帖不易,各位老大给几粒米鼓励一下如何
[每日热点]:
回复成功,收到1个大米!
1…0&&parseInt(document.getElementById('custompage_down').value)页楼
相关论坛:
打开微信,用“扫一扫”扫描二维码,打开页面后分享到朋友圈。&&|&&责编:庞超
&&&&()日,小米手机4(行货)在“易得网”现货促销,现在在其网上购买小米手机4就可以实现109元秒杀。这款手机的配件包括:充电器、耳机和数据线等。小米手机4是一款配置强大的国产。目前该机在易得网【】进行“109元秒杀”活动,感兴趣的朋友可以关注下。图为&小米手机4&&&&从外观来看,小米4屏幕采用5英寸夏普和JDI屏,OGS全贴合工艺,并称NTSC色域比&更高。支持自动识别湿手和手套模式。还有边缘防误触专利技术,保证手指操作边缘仍可执行。硬件方面,小米4采用骁龙801四核,2.5GHz处理器;3GB大内存,16/64GB高速闪存,高性能低功耗。5英寸1080P,夏普&/JDI&OGS全贴合屏;3080mAh锂离子聚合物电池并且支持普通充电器和高配充电器两模式下的快速充电;配备800万/1300万前后置索尼相机。另外小米也提出了99元/年的意外保险,用于碎屏和意外进水。图为&小米手机4&&图为&小米手机4&编辑点评:&&&&小米手机4无疑是当下两千元级别的一个顶尖存在,在外观、拍照等多方面有所升级。小米4屏幕采用5英寸夏普和JDI屏,OGS全贴合工艺,并称NTSC色域比iPhone&5s更高。支持自动识别湿手和手套模式。还有边缘防误触专利技术,保证手指操作边缘仍可执行。目前该机在易得网【】进行“元秒杀”活动。感兴趣的朋友可以关注下!小米手机4(行货)[参考价格]&易得网109元秒杀价[销售商家]&易得网[官网地址]&&[微信公众号]:sjfsy007&&
提示:支持键盘“← →”键翻页
主屏尺寸 4G网络
手机论坛精选
下载中关村在线Android 客户端
下载中关村在线 iPhone 客户端
下载中关村在线Windows8客户端
成为中关村在线微信好友
4¥17995¥29996¥19997¥41508¥19999¥199910¥1299
立即登录,签到赢金豆~
登录后即可查看通知,和作者互动

我要回帖

更多关于 m4手机怎么样 的文章

 

随机推荐