完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我们已经走过了原型,准备生产。想知道如何用PSoC 5LP(10针)和PSoC 4(5针)在生产中对我们的板进行编程。
到目前为止,我们一直在使用MixPrim3编程PSOC创建者的每一个板。但在生产中,我们希望自动化。理想情况下,我们想要一台小型计算机作为主机(Raspberry Pi?)编写我们的编程实用程序,并把它编程到PSoC板上。 AVR芯片有AVRDUD,使得它可以从任何主机闪光灯。PSoC是否有等价的或可以开发的? 以上来自于百度翻译 以下为原文 We've gone past prototype and ready for production. Would like to know how to program our board with PSoC 5LP (10 pin) and PSoc 4 (5 pin) in production. We've been using the MiniProg3 to program each board from PSoC Creator so far. But in production, we'd like to automate it. Ideally, we'd like to have a small computer as a host (Raspberry Pi?), write our programming utility on it and have it program the PSoC board. AVR chips has avrdude that makes it possible to flash it from any host. Is there an equivalent for PSoC or can it be developed? |
|
相关推荐
5个回答
|
|
通过使用程序员的命令行接口,您可以接近您所看到的内容:
HTTP://www. CyPress .COM/FIL/1364 31/1下载 以上来自于百度翻译 以下为原文 You may be able to get close to what you're looking by using the command line interface for the programmer: http://www.cypress.com/file/136431/download |
|
|
|
酷。有Linux版本的CLI吗?不太想使用Windows/DOS。 以上来自于百度翻译 以下为原文 Cool. Is there a Linux version of the CLI? Don't really want to use Windows/DOS. |
|
|
|
PSoC程序员只是Windows。 也有使用COM接口的选项: HTTP://www. CyPress .COM/FIL/1364 26/下载 并将功能构建到自定义.NET应用程序中。 Linux有一个开源的.NET实现,叫做MUNO,它可能运行这个应用程序,但是MINPROP3的驱动程序和WATHONT可能是个问题。看起来他们对MaOS/Linux的解决方案是一个虚拟机。 苹果和Linux操作系统支持PSoC®软件和工具包KBA875 以上来自于百度翻译 以下为原文 PSoC Programmer is Windows only AFAIK. There's also the option of using the COM interface: http://www.cypress.com/file/136426/download and building the functionality into a custom .NET application. There's an open source .NET implementation for linux calledmono that would maybe run the application, but drivers for the miniprog3 and whatnot would probably be a problem. Looks like their solution for MacOS/Linux is a VM. Apple and Linux OS Support for PSoC® Software and Kits - KBA87545 |
|
|
|
我刚刚开始尝试使用OpenOCD来编程PSoC 5LP。显然OpenCod已经支持PSoC 4,我不能说我还没有尝试使用它,但是PSoC 5只在开发分支中。也就是说,代码似乎在过去两年中一直在发展,因此对于开发代码来说它似乎相当成熟。为了获得代码,我做了以下操作:
Git克隆HTTP://OpenCord.ZyLI.COM/OpenOCDZILN OpenOCD CD-ZILN OpenOCD Git获取HTTP//OpenOC.ZYLIN COM/OpenOCD REFS/更改/ 32/3432/26 樱桃挑头 /Bootstrap //配置-启用SysFSGPIO -EnabelBCM2535GPIO使能VSLink启用LimalICDI-启用KITPROG 制作 制作安装 我使用的是一个CYPROG适配器从CY8CKIT-059中抢断,但也希望能够使用其他几个接口,以防万一,您可能需要调整“/配置”行以满足您的需要。如果你想改变的话,祝你找到启用选项-OpenCd文档很烂。 注意,安装不将UDEV规则复制到适当的位置,您需要运行 SUDO CP/URS/Prase/Posi/OpenCCD/Reuni/60-OpenCo.Deal/ETC/UDEV/Reald. 或者类似的东西,不是100%确定我没有抓住我的笔记中的那一步。如果不复制UDEV规则,正常用户无法运行OpenOCD并实际访问硬件。 从那里我已经成功地开始OpenOCD,找到正确的狗爪并定位目标: OpenOCD-F接口/KiPr.CFG-C-KiPrimeIngIppRePurgPoSo-F Talp/PSoC5LP.CFG-C“TeleNETI端口4444” 我还没有能够有效地编程一个Flash图像,当我尝试它运行非常缓慢。我不能说,如果真的写Flash比我失败的尝试快,但失败需要很长一段时间才能回来。 如果你有兴趣进一步调查,我建议看CyPress PoS.AZONENBGE/OpenFPGA Wiki·Github的示例部分。至少建筑信息过时了,对我不起作用,我不得不适应。我将开始看他的编程/擦除更深入的东西,但你可能想要的东西比我快到它周围。如果你尝试向前迈进,并取得任何进展,请张贴更新。我讨厌使用Windows只是使用PSoC。 以上来自于百度翻译 以下为原文 I have just started to try using openocd to program a PSOC 5LP. There is apparently PSOC 4 support in openocd already, I can't say as I have not tried using it; but, PSOC 5 is only in the development branch. That said, the code appears to have been in development for the last two years and so it appears to be fairly mature for development code. To get the code, I did the following: git clone http://openocd.zylin.com/openocd zylin-openocd cd zylin-openocd git fetch http://openocd.zylin.com/openocd refs/changes/32/3432/26 git cherry-pick FETCH_HEAD ./bootstrap ./configure --enable-sysfsgpio --enable-bcm2835gpio --enable-vslink --enable-luminary-icdi --enable-kitprog make sudo make install I am using a kitprog adapter snapped off a CY8CKIT-059, but also want to be able to use a couple other interfaces just in case, you may want to adjust the "./configure" line to suit your needs. Good luck finding the enable options if you want changes though - openocd documentation sucks. One note, the install does not copy udev rules to the proper location, you need to run sudo cp /usr/local/share/openocd/contrib/60-openocd.rules /etc/udev/rules.d or something very similar, not 100% sure I did not capture that step in my notes. If you do not copy the udev rules normal users cannot run openocd and actually access hardware. From there I've successfully started openocd, found the right dongle and located a target with: openocd -f interface/kitprog.cfg -c kitprog_init_acquire_psoc -f target/psoc5lp.cfg -c "telnet_port 4444" I have not yet been able to usefully program a FLASH image, and when I have tried it has run very slowly. I can't say if actually writing FLASH is faster than my failed attempts but the failures take quite a while to come back. If you are interested in investigating further, I'd suggest looking at the examples section of Cypress PSoC · azonenberg/openfpga Wiki · GitHub . At least the build information is outdated and did not work for me, I had to adapt. I will start looking at his programming / erasing stuff in more depth shortly but you may want something sooner than I get around to it. If you try to move ahead yourself and make any headway please post an update. I hate having to use Windows just to use a PSOC. |
|
|
|
taozhen 发表于 2018-10-23 08:55 你测试过这个吗? 提交·CyROZAP/OpenOCD.GITHUB 以上来自于百度翻译 以下为原文 Have you tested this? Commits · cyrozap/OpenOCD · GitHub |
|
|
|
只有小组成员才能发言,加入小组>>
754个成员聚集在这个小组
加入小组2105 浏览 1 评论
1851 浏览 1 评论
3669 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1786 浏览 6 评论
1536 浏览 1 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
568浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
422浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
437浏览 2评论
383浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
915浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-23 07:25 , Processed in 1.032688 second(s), Total 56, Slave 50 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号