下载

0下载券

加入VIP
  • 专属下载券
  • 上传内容扩展
  • 资料优先审核
  • 免费资料无限下载

上传资料

关闭

关闭

关闭

封号提示

内容

首页 sam-ba_2.12usb连接at91sam9260ek

sam-ba_2.12usb连接at91sam9260ek.pdf

sam-ba_2.12usb连接at91sam9260ek

恨过方知爱错人_
2017-06-06 0人阅读 举报 0 0 0 暂无简介

简介:本文档为《sam-ba_2.12usb连接at91sam9260ekpdf》,可适用于IT/计算机领域

sambausb连接atsamek一.硬件环境:PC机usb数据线atsamek因本人使用的是公司有问题而报废的服务器板带有atsamek芯片及外围电路将之命名为atsamek二.软件环境:windowsxpsambav串口软件ttermpro(xp自带超级终端)三.操作步骤:安装sambav将usb数据线连接PC机与atsamek,保证上电时atsamek的F脚BMS信号为高电平vv均可PC机最好不要连其它任何USB设备以保证成功安装驱动将串口线连接PC机与atsamek打开串口软件ttermpro按右键我的电脑>属性>系统属性>硬件>设备管理器>端口(COM和LPT)下无USB驱动给atsamek上电弹出欢迎使用找到新硬件向导>自动安装软件>完成ATUSBtoSerialConverter安装同时可看到串口信息如图所示:代表atsamek已成功从内部ROM启动设备管理器>端口(COM和LPT)下必须有上步安装好的驱动如图所示:运行sambav如图所示:点Connect如图所示:选NorFlash>Scripts下拉EnableNorFlash>Execute如图所示:代表NorFlash初始化ok且可用选Scripts下拉EraseAll因为本人NorFlash已有程序未执行该步烧录已编译ok的norflashatsamekbinAddress填x>SendFileName打开找到norflashatsamekbin>SendFile如图所示:烧录已编译ok的ubootbinAddress填x>SendFileName打开找到ubootbin>SendFile如图所示:断电重新使atsamek的F脚BMS信号为低电平可对地或悬空再次上电可看到串口信息如图所示:附本人完成linux移植信息StartATBootstrapUBoot(May::)DRAM:MiBFlash:MiBNAND:NoNANDdevicefound!!!MiBIn:serialOut:serialErr:serialNet:macbPressENTERtoabortautobootinseconds##BootingkernelfromLegacyImageatImageName:LinuxatsamekImageType:ARMLinuxKernelImage(uncompressed)DataSize:Bytes=MiBLoadAddress:EntryPoint:VerifyingChecksumOKLoadingKernelImageOKOKStartingkernelUncompressingLinuxdone,bootingthekernelLinuxversionatsamek(roothl)(gccversion(DENXELDK))#MonMay::CSTCPU:ARMEJSrevision(ARMvTEJ),cr=Machine:AtmelATSAMEKMemorypolicy:ECCdisabled,DatacachewritebackClocks:CPUMHz,masterMHz,mainMHzCPU:DVIVTwritebackcacheCPU:Icache:bytes,associativity,bytelines,setsCPU:Dcache:bytes,associativity,bytelines,setsBuiltzonelistsinZoneorderTotalpages:Kernelcommandline:mem=Mconsole=ttyS,mtdparts=physmapflash:k(ATBootstrap),k(uboot),k(env),k(kernel),M(ramdisk),M(jffs),(app)root=devmtdblockrwrootfstype=jffsinit=linuxrcAT:gpioirqsinbanksPIDhashtableentries:(order:,bytes)Console:colourdummydevicexconsolettySenabledDentrycachehashtableentries:(order:,bytes)Inodecachehashtableentries:(order:,bytes)Memory:MB=MBtotalMemory:KBavailable(Kcode,Kdata,Kinit)Mountcachehashtableentries:CPU:Testingwritebuffercoherency:okNET:RegisteredprotocolfamilyGenericPHY:RegisterednewdriverSCSIsubsysteminitializedusbcore:registerednewinterfacedriverusbfsusbcore:registerednewinterfacedriverhubusbcore:registerednewdevicedriverusbNET:RegisteredprotocolfamilyIProutecachehashtableentries:(order:,bytes)TCPestablishedhashtableentries:(order:,bytes)TCPbindhashtableentries:(order:,bytes)TCP:Hashtablesconfigured(establishedbind)TCPrenoregisteredNetWinderFloatingPointEmulatorV(doubleprecision)Installingknfsd(copyright(C)okirmonadswbde)JFFSversion漏RedHat,Incfuseinit(APIversion)ioschedulernoopregisteredioscheduleranticipatoryregistered(default)atmelusart:ttySatMMIOxfefff(irq=)isaATMELSERIALatmelusart:ttySatMMIOxfffb(irq=)isaATMELSERIALatmelusart:ttySatMMIOxfffb(irq=)isaATMELSERIALRAMDISKdriverinitialized:RAMdisksofKsizeblocksizeloop:moduleloadedMACBmiibus:probedeth:AtmelMACBatxfffcirq(:da:e:::)eth:attachedPHYdriverGenericPHY(miibus:phyaddr=ffffffff:,irq=)$Id:ftlc,v::gleixnerExp$physmapplatformflashdevice:atphysmapflash:Foundxdevicesatxinbitbankhuangliutesthereswitch(type)'stype=IntelSharpExtendedQueryTableatxAIntelSharpExtendedQueryTableatxAIntelSharpExtendedQueryTableatxAIntelSharpExtendedQueryTableatxAIntelSharpExtendedQueryTableatxAUsingbufferwritemethodExtendedQueryversionFeatureCommandSupport:EChipErase:unsupportedSuspendErase:supportedSuspendProgram:supportedLegacyLockUnlock:unsupportedQueuedErase:unsupportedInstantblocklock:supportedProtectionBits:supportedPagemoderead:supportedSynchronousread:supportedSimultaneousoperations:unsupportedExtendedFlashArray:unsupportedSupportedfunctionsafterSuspend:ProgramafterEraseSuspend:supportedBlockStatusRegisterMask:LockBitActive:yesLockDownBitActive:yesEFALockBit:noEFALockDownBit:noVccLogicSupplyOptimumProgramEraseVoltage:VVppProgrammingSupplyOptimumProgramEraseVoltage:Vcficmdset:ErasesuspendonwriteenabledcmdlinepartpartitionsfoundonMTDdevicephysmapflashCreatingMTDpartitionson"physmapflash":xx:"ATBootstrap"mtd:GivingoutdevicetoATBootstrapftlcs:FTLheadernotfoundxx:"uboot"mtd:Givingoutdevicetoubootftlcs:FTLheadernotfoundxx:"env"mtd:Givingoutdevicetoenvftlcs:FTLheadernotfoundxx:"kernel"mtd:Givingoutdevicetokernelftlcs:FTLheadernotfoundxx:"ramdisk"mtd:Givingoutdevicetoramdiskftlcs:FTLheadernotfoundxx:"jffs"mtd:Givingoutdevicetojffsftlcs:FTLheadernotfoundxx:"app"mtd:Givingoutdevicetoappftlcs:FTLheadernotfoundusbmon:debugfsisnotavailableatohciatohci:ATOHCIatohciatohci:newUSBbusregistered,assignedbusnumberatohciatohci:irq,iomemxusbusb:configuration#chosenfromchoicehub::USBhubfoundhub::portsdetectedInitializingUSBMassStoragedriverusbcore:registerednewinterfacedriverusbstorageUSBMassStoragesupportregisteredudc:atudcversionMaymice:PSmousedevicecommonforallmiceTCPcubicregisteredNET:RegisteredprotocolfamilyNET:RegisteredprotocolfamilyVFS:Mountedroot(jffsfilesystem)Freeinginitmemory:Kinitstarted:BusyBoxvgsamek(::CST)startingpid,tty'':'etcinitdrcS'MTDopenMTDioctlMTDioctlMTDcloseMTDopenMTDioctlMTDioctlMTDclosemount:mountingnoneondevptsfailed:Deviceorresourcebusykernellinuxrootfsbusyboxarmlinuxgcc(gccversion(DENXELDK))QQ:Buildtime:byhuangliustartingpid,tty'':'binsh'ProcessingetcprofileDone#lldrwxrxrxrootrootMarappdrwxrxrxrootrootMaybindrwxrxrxrootrootJan:devdrwxrxrxMayetcdrwxrxrxrootrootMarhomerwxrwxrwxrootrootMarinitrwrrrootrootMarinitcdrwxrxrxrootrootMayliblrwxrwxrwxrootrootJanlinuxrc>binbusyboxdrwxrootrootMaylostfounddrwxrxrxrootrootJanmntdrwxrxrxrootrootMaroptdrxrxrxrootrootJan:procdrwxrxrootrootJan:rootdrwxrxrxrootrootJansbindrwxrxrxrootrootJan:sysdrwxrwxrwtrootrootJan:tmpdrwxrxrxrootrootJanusrdrwxrxrxrootrootJan:var#ifconfigaethLinkencap:EthernetHWaddr:DA:E:::inetaddr:Bcast:Mask:UPBROADCASTMULTICASTMTU:Metric:RXpackets:errors:dropped:overruns:frame:TXpackets:errors:dropped:overruns:carrier:collisions:txqueuelen:RXbytes:(B)TXbytes:(B)Interrupt:Baseaddress:xloLinkencap:LocalLoopbackinetaddr:Mask:UPLOOPBACKRUNNINGMTU:Metric:RXpackets:errors:dropped:overruns:frame:TXpackets:errors:dropped:overruns:carrier:collisions:txqueuelen:RXbytes:(B)TXbytes:(B)#dfFilesystemSizeUsedAvailableUseMountedondevmtdblockMMMtmpfsMMtmp#catprocmtddev:sizeerasesizenamemtd:"ATBootstrap"mtd:"uboot"mtd:"env"mtd:"kernel"mtd:"ramdisk"mtd:"jffs"mtd:a"app"#pingPING():databyteseth:linkup(Full)bytesfrom:seq=ttl=time=msbytesfrom:seq=ttl=time=msbytesfrom:seq=ttl=time=ms#mounttnfs:nfsbootrootfsmntonolock#cdmntmnt#lldrwxrxrxrootrootMayappdrwxrxrxrootrootMaybindrwxrxrxrootrootMaydevdrwxrxrxrootrootMayetcdrwxrxrxrootrootMayhomerwxrxrxrootrootMayinitrwrrrootrootMayinitcdrwxrxrxrootrootMayliblrwxrwxrwxrootrootMaylinuxrc>binbusyboxdrwxrxrxrootrootMaymntdrwxrxrxrootrootMayoptdrwxrxrxrootrootMayprocdrwxrxrootrootMayrootdrwxrxrxrootrootMaysbindrwxrxrxrootrootMaysysdrwxrxrtrootrootMaytmpdrwxrxrxrootrootMayusrdrwxrxrxrootrootMayvarmnt##mounttnfs:nfsbootrootfsmntonolock非常方便与主机更改与传输文件

用户评价(0)

关闭

新课改视野下建构高中语文教学实验成果报告(32KB)

抱歉,积分不足下载失败,请稍后再试!

提示

试读已结束,如需要继续阅读或者下载,敬请购买!

评分:

/11

VIP

意见
反馈

免费
邮箱

爱问共享资料服务号

扫描关注领取更多福利