在好例子网,分享、交流、成长!
您当前所在位置:首页Others 开发实例一般编程问题 → cyusb3014开发板入门记录

cyusb3014开发板入门记录

一般编程问题

下载此实例
  • 开发语言:Others
  • 实例大小:8.58M
  • 下载次数:4
  • 浏览次数:308
  • 发布时间:2020-08-28
  • 实例类别:一般编程问题
  • 发 布 人:robot666
  • 文件格式:.pdf
  • 所需积分:2
 

实例介绍

【实例简介】
cyusb3014开发板入门,包括jlink调试、cyusb3014的新工程建立过程等。
Figure 8-1. Initializing Sequence FW ENTRY INVALIDATE CACHES AND SYNCHRONIZE MMU AND CACHE INITIALIZATION CyU3PFimwareEntry O SETUP STACKS FOR THE DEVICE TOOL CHAIN ENTRY TOOL CHAIN ROUTINE PROVIDED CODE DEVICE CLOCK SETUP CyU3PDevicelnit O VIC INITIALIZATION Os Kermel Entry OS Timer Configuration Create threads, queues, events etc. Application Definition Start Scheduler 注意:驱动必须采用 曾经试过其他好几个版本都不行 流程:开发板结好、上电打开 (能关闭)按 照后面第二篇文章所示进行设置调试 如果点击 配置时侯没有看到有 插件对应选型时,可以重装软 件或者修复软件。 参考文献 开发板光碟安装后自带 第章 The Segger JLink probe is the preferred jTAG probe for the FX3 SDK. this probe along with the Segger JLink ARM GDB Server is used for debug The GNU debugger (arm-none-eabi-gdb)connects to the target(FX3 hardware)using the J-Link GDB server from Segger systems. You must download and install the software from http://www.segger.com/cms/jlink-software.htmlItisrecommendedthatthelatestversionofthegdb server is used with the FX3 device. The sdK has been tested with j-Link ARM Software version 4.54C. The J-Link JTAG probe has to be connected to the FX3 hardware JTAG port and to the host PC After the JTAG is connected and the gDB server is started, the arm9 core will appear connected on the gDB server window as shown in the following figure E SEGGER J Link GDB Server V4.36k 回 Ele Help GDB waiting for connection Show lou mindow J-Link Connected Curent JTAG speed 5kHz Generate lcgt Target ARM9 Cae Id C07926069 3.27vBig endian Cache ieacs 厂 Verify download Clear loo v Int regs on start Log output JlinkARH. dll v4 35k(DIL compiled Nov 22 2011 17: 20: 44> Listening on TCP/IP port 2331 J-Link connected Firmware: J-Link ARH V8 conpi led sep 22 2011 16: 23: 23 Hardware:VB.00 s/H:58001066 J-Link found 1 JTAG device, Total IRLen:4 JTAG ID 0x07926059(ARM9 0 Bytes downloaded 1 JTAG device Executing and debugging 1. Slart the J-Link GDB server or the OpenOCD GDB server as in section JTAG Probe on page 15 2. The first step is to create a debug configuration for the project. Select Debug configurations C/C++- Cypress EZ USB Suite 「[就 uce Rsfactcr navigate Scarch Projo:t CY Toas Run window_Help Ctr+F11 DEbug T Project Explorer Es 2⑧M目 ti Buldan: ocpl Dsbuc Histary An cu: Ine is nct avalable Dabu As 4 E GpioComplsxApp e Tomole Biea poir arltshIt+E 主 reFiuAbyi e Togoic Lie 3oasDGr 4 Slave FifoSyne + slavefifoSyncSBt E uartlpDrmaMc h Skp Al breakpoints L UortLpFedMode t U5BAuc Breakpoint Types +- USBBullLoopALto R.sternal Inks Ta回crs、口put cD列 sui d console(ppl Use the " -vector load yes option to retain this code Irvoklnd: ARI Sourcery WIndous Gnt create listing armm-none-es1-3bjdump -h-s GpioAppelf >Gpiolpp latT Fin:shed building: GpioApp lst Invoking:ARH多。 ulcerγ WT-ndoug GNU Pr1aES1ze arm-nonE-eab1-s1ze 1e ormat=berkeley Gp10ADDelt F'in:shed building: GpioApp31z M1 Bld Finished平霁 3. Select zylin Embedded debug(Native) and launch a new configuration aC Cypress EZ USB Suite 回风 a Debug Configurat d ratior t sullpAutucpp N.Press the New b utton to aeate s conf iation of the salted: ype 未 Fx3Bo tAp:Gc Is-Press the Duclicete' button to cooy he see:ted confguration BE Goian C仁二++ Attach to Apphcation tE GpiucuplexApp x-Prese the Delehe'hutinn tn rermmwe the see tad contration 话 oBave-ifaasyn F- Press the fiter button to configure fiterirg cpaions. Einari旧 t 5)Icludes FC yin Embedded debua (cycwll Ed of vivi an e ising eowhguatisn 5y selecting t. 国Scoe费at onf gure launc perspective gettings hem ths Perpective prefere?ce pegs 标国 ey cpf ashes fle cy'xsfiroasyne 国 ryixsfI'nt Nh ,:= 者 SlaveFif asyn:5E 4-t slave FiFaSync +c slve FiF Sync5Bit 本urt+ MIyuu 当岳 JattLrke]Mode 运 USBBuikocpAJt Fiter matched 7cf 7 iteme ( G oveFfuAsmIt A new configuration window The verbose console mode is checked C汇+ Cypress br usB suite 问eE5 are relate Debug Configural 国吧++ Create, manage, and run configurations Essence 目r?1 G t Eutkpautacpp is not evalate tI-Ecusbp 国M多 Debugg圆 Cormancs# source bE Environment Ecommon 3 Fx3sootAopGcc 口crC中+ Aplc atior e-t Gpiolpp c++Atht邮 pplication Debugger: Embedded GDB -is slaverfoasynCs a c/c++ Postmortem Debugger E/++Ramote Application 回nata:min f.Binaries Laura T n) Incudes Debugger options ZyinEmbe ider d时 tUgE/ow t Debug a ic Yin Embeddec debug(Native) 国e r界 ave foAsyn Debug n cyfxaptas GDB debugger: arm-rone-eab-cdb,exe T cyfrsfifcacyr 密因c/ fxsrifcasune, E-c Lyixsliuuslls pre wuth the sr art n nnerahnn nf Makefile GD3 command set: Standard v 回 readme, tx Gh-USlaveFfoAsync5Eit verbose console mode t-i slaveFfos yrc5Bit 4-b UartLPDm □ IA fill fie nath mm se nteacnninhs U USBAudioclass k revert f食 er matched3of8ms d The run command is"load PCr. Cypress FZ USB Sutte 喝cC++ Create, manage, and run configurations t BkpAutocpp I srot available 国M多 Debugger n commands Source Erwonmnt.Commen .ESPx3Bco Appacc Helios on how to setun GDB in scrt 回<C++ A:tach bo Applcation Initia ge commands cOmplex App H -E slavcFifoAsyn Hc/c++ Remote fm InclUdes sc Myin Embedded debug (Cy3winist t色Deu Fc Yin Embedded debug (N\a: ive 国 cfx_ ge c SlavefifoAsynx Debug Run commands 安 cyfxsfifoasync 国PF小fm tt swveFifoqsynmsBit n L.egMade EusBaucic s iter metched 3 of 0 tems Apply Revert Debug Close The following dialog boxes may appear when debug is started, by clicking on Debug Embedded GDB (20/11/133: 17 PM Frror stopping at main Reason: Target request failed: No symbol table is loaded, Use the "file command Continue? Confirm Perspective Switch This kind of launch is configured to open the Debug perspective when it suspends. This Debug perspective is designed to support applicaticn debugging. It incorporates views for displaying the debug stack variables and breakpoint management. Ca you want to open this perspective now Click Yes on cach of the dialogs to load the symbol table from the SDK library files and switch t the Debug perspective Select the Remember my decision check box in the Confirm Perspective Switch dialog to ensure that the perspective is automatically switched to the Debug perspective every time a debug session is initiated 6. After the debug is launched, the executable is loaded and the debug screen is displayed File Ect Source Refador Nsvqute Search Proect CY Tool Fun Window Hieb ,位由8P·0·4,·公·, 的最+ 言材≯已3,2二的鲁mFmB、小 哺E首 -1 aybolicna w::bes 243000010 0x10310c s atmm-rone-eabi-gdb, exe(4/22 1311: 33AM yfasFfozsynGs 距ot Conf ig t - o cIge tue t s:atoz -cY UaP 3UCC ESE /. InttiRiis= ths deviee . status-CyuB2Dev1ceI _E CNULl)3 u staff, h catus- CY U3P gHCCEs roto handle Total error u sb reos H trent nsynrst h stifoappl hread: CuSp 2)1以h叫OED你 品固则回口 synt Debug(=yin Enbedded debun ate Jarm none eab gub exe(+24/13 11: 33 AM) 7C done vs1u9=04001Je4c 4cyU3 Entry 9) witabesnartInset703125 The execution is halted at the instruction specified in the load command. To resume execution select Run Resume or press F8 7. If the execution is resumed, it will stop at a breakpoint, if one has been set Debug- Slave FifoAsyncfcyfslfifoasync. c- Cypress EZ USB Suite File Edt Souce R-factor Navigate Search Project CY Toos Run window) Help 巴,m上,0··回今·到1··, 图c+ 参DeE a我 slarcFifaAsync cctug【 Zin Embedded debug(Notie 确饭 E ER Embedded G23(+ 22/13 11:33A 1(suspended) Yw uyfxslfifua'Iut ii: 7031 E-uP Thread [1] Suspended) E 1 mar( cyfxslifoasync c: 7040*40003ds N arn-none-eabi-adb exe(4/22/ 1311: 33 AM) aD efxslfifoasyree int 。1。装 main (roid) a cyu3svst em h J yuKos h CyUSFIUMdLD⊥uni 工u; H cSIN. CyUSFReturnstatus t 13=CY D3F SUC-ESS a cueRo, h e cyu3usb, h /s IHitialize the device gratus- CyuappeyiceInit (NULL) J cyLausrt h 3 eyfxslfifoasynch e ous goto handle fata⊥erx2r H couPl 4 pi jegs. h e cfxopif_asynesfn g sFoa EpTread: TX THREAD 画画园回·= 232-daca-evaluatE-expression $ pc 232 done, value="Cx 40003d58 <mair+32> Writable Srart Insert704:1 建立新工程 第 章 需要复制的一些命令: 按照官方的步骤做; CIC++. Slave FifoAsyncicyfxslfifoasync c. Cypress EZ USB Suite 中+N下匹 M*keri Propert with FyitimCmks CcenFle EE CKc++ v>Debw C-C++Pr)ect IResource dog 日HET ww如a+ Fraject iAdd Cctt Natue ‖24 a SaveA Cs Convert to a cct+ Autotodls Project cues stem. h Save Al Chrl+shet+369"older ursus Revert e cyuGdna h G Source le a LugE rur, h H (yues, h h Header Fle s Refresh L Fie fron Tempate e cytxslioasynch awere Lre WHiwiter3 T0 , GClass h 日rrhh a pib hegs. h o-or a cfront_as/ncsf.h SwIch workspace Resta /* Intia11ze the caches. Enable both Instruction and olChHandleslFrFoUtoP etat s" CyU3EDevicecache Control (CyTrue CyTrne, CyTiv T Inport.s. e" hAndler引 FinAl e Doort. 13日2日pmxl固可回r日 战十E察 ars1s slavfFifoAsync neng [? in Embemed deu (rate) am-none-sabi-ccb exe(4/22/1311: 33 AMm 1 cyfxslifDasyncc [slavefifoAsync data-evaluate-expression CyU3PReturnstatus t 2 iFoasync c [ am hles, error, mega attempt to Hse a type name as an expresSion" 3 FFGACarfig c XI10tMUSB REV B] 4M1104USBDesCE [XI104YUSB EY B) ta-eva luate-expression spc 1ue=x÷0o3d50dmin+32 Ect 【实例截图】
【核心代码】

标签:

实例下载地址

cyusb3014开发板入门记录

不能下载?内容有错? 点击这里报错 + 投诉 + 提问

好例子网口号:伸出你的我的手 — 分享

网友评论

发表评论

(您的评论需要经过审核才能显示)

查看所有0条评论>>

小贴士

感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。

  • 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
  • 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
  • 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
  • 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。

关于好例子网

本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明

;
报警