6回答

0收藏

[原创] 我的第一个PSoC工程--LED-blink

英飞凌 英飞凌 9256 人阅读 | 6 人回复 | 2012-09-11

今天安装了PSoC Creator 2.1,根据自带的文档开始了第一个PSoC开发项目。相当的爽啊。果然强大。


Notice List输出的红色部分,搞过FPGA的就知道是在综合、布局布线、映射之类的硬件开发。
绿色部分,就是C51的编译了。最后成功了, 就等着实际的target硬件来开发调试了。
看来PSoC从设计理念上可以匹敌Altera和Xilinx的SOPC了。开发流程也差不多。先搭好硬件HDL,然后软件C、ASM。


--------------- Build Started: 09/11/2012 22:09:30 Project: Design01, Configuration: DP8051 Keil 9.03 Debug ---------------
cydsfit.exe "-.appdatapath" "C:\Users\hvdc\AppData\Local\Cypress Semiconductor\PSoC Creator\2.0" "-.fdsnotice" "-.fdswarpdepfile=warp_dependencies.txt" "-.fdselabdepfile=elab_dependencies.txt" "-.fdsbldfile=generated_files.txt" "-p" "E:\software\PSoC Creator\Design01\Design01.cydsn\Design01.cyprj" "-d" "CY8C3866AXI-040" "-s" "E:\software\PSoC Creator\Design01\Design01.cydsn\Generated_Source\PSoC3" "-w" "0" "--" "-yv2" "-w" "0" "-v3" "-ygs" "-q10" "-o2" "-.fftcfgtype=BE"
Elaborating Design...
HDL Generation ...
Synthesis ...
Place and Route ...
Tech mapping ...

Info: mpr.M0037: Unused pieces of the design have been optimized out. See the Tech mapping section of the report file for details. (App=cydsfit)
Analog Placement ...
Analog Routing ...
Digital Placement ...
Log: plm.M0040: The pin named Pin_1(0) at location P0[2] prevents a direct input connection to an Opamp. (App=cydsfit)
Log: plm.M0040: The pin named Pin_2(0) at location P0[3] prevents a direct input connection to an Opamp. (App=cydsfit)
Info: plm.M0037:
      Certain internal analog resources use the following pins for preferred routing: P0[2], P0[3].
      Please check the "Final Placement Details" section of the report file (Design01.rpt) to see what resources are impacted by your pin selections.
     (App=cydsfit)
Digital Routing ...
Bitstream Generation ...
Static timing analysis ...
API Generation ...
Dependency Generation ...
Clean Temporary *** ...
c51.exe .\main.c NOIV LARGE MODDP2 OMF2 VB(1) PR(.\DP8051\DP8051_Keil_903\Debug\main.lst) CD DB NOIP "OT(2, Size)" INCDIR(Generated_Source\PSoC3) OJ(.\DP8051\DP8051_Keil_903\Debug\main.obj)
c51.exe .\Generated_Source\PSoC3\Pin_1.c NOIV LARGE MODDP2 OMF2 VB(1) PR(.\DP8051\DP8051_Keil_903\Debug
......
......
......
Program Size: data=11.0 xdata=112 const=253 code=2741
OHx51.exe Design01.omf HEXFILE(Design01.ihx)
c8051-elf-omf2elf.exe Design01.omf Design01.elf

cyhextool -o .\DP8051\DP8051_Keil_903\Debug\Design01.hex -f .\DP8051\DP8051_Keil_903\Debug\Design01.ihx -prot .\Generated_Source\PSoC3\protect.hex -id 1E028069 -a EEPROM=90200000:800,PROGRAM=00000000:10000,CONFIG=80000000:2000,PROTECT=90400000:40 -meta 0301 -cunv 00000005 -wonv AFAC90BC -ecc .\Generated_Source\PSoC3\config.hex
Flash used: 2994 of 65536 bytes (4.6 %).
SRAM used: 112 of 8192 bytes (1.4 %).

--------------- Build Succeeded: 09/11/2012 22:10:00 ---------------
分享到:
回复

使用道具 举报

回答|共 6 个

倒序浏览

沙发

小鸟_愤怒

发表于 2012-9-11 23:42:23 | 只看该作者

不错,你有板子了还是模拟?一直觉得PSoC应该算PLD,亮点是可编程模拟逻辑,以前见过搭平台都是模块化的,没时间研究啊
静心  简单  认真  专注
板凳

mars4zhu

发表于 2012-9-12 00:08:08 | 只看该作者

小鸟愤怒 发表于 2012-9-11 23:42
不错,你有板子了还是模拟?一直觉得PSoC应该算PLD,亮点是可编程模拟逻辑,以前见过搭平台都是模块化的, ...

无板子,无模拟,编译完就没法往下走了。。。
地板

小菜儿

发表于 2012-9-12 08:47:24 | 只看该作者

楼主已经开始学习实践啦!!!很不错哦~~~
5#

mars4zhu

发表于 2012-9-12 09:09:41 | 只看该作者

xinxincaijq 发表于 2012-9-12 08:47
楼主已经开始学习实践啦!!!很不错哦~~~

学习是学习了,实践就走不下去了。呵呵。
6#

小菜儿

发表于 2012-9-12 09:15:01 | 只看该作者

mars4zhu 发表于 2012-9-12 09:09
学习是学习了,实践就走不下去了。呵呵。

哈哈~~~等着评审结果吧!
7#

醉清风-385874

发表于 2012-9-12 15:08:33 | 只看该作者

等结果中-ing……
做对的事情比做对事情更重要!
您需要登录后才可以回帖 注册/登录

本版积分规则

关闭

站长推荐上一条 /3 下一条