完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
扫一扫,分享给好友
|
我正在开发一个基于PSoC 3的定制板的固件。
我目前使用PSoC创建者3更新在最后一个版本,所有的组件更新到他们的最后一个版本。 我决定尝试实现Bootloader能力,我的董事会能够分发新的固件更新客户,而不需要有一个小程序。 遵循应用笔记AN68 72i我能够上传新的固件到我的董事会通过UART,我很高兴地看到,一切似乎运作良好。当我试图完成对固件的所有功能的全面检查时,我发现有些引脚没有正确地驱动。 在我的特定情况下,我使用PWM块驱动2个直流电机2 H桥。当我使用相同的应用程序直接通过MIXPROG程序员更新时,这两个电机工作良好,但是当我使用Bootloader能力更新固件时,两个马达中的一个根本不移动。 注: Bootloader块选中了“Bootloader应用程序验证”复选框,未选中的“快速可加载应用程序验证”复选框。我使用包含在PSoC创建者3中的Bootloader主机程序来上传我的应用程序,我也尝试验证上传的应用程序(用Bootloader主机应用程序),一切似乎都可以。 有人经历过类似的问题吗?有人能给我一些建议或其他尝试吗? 非常感谢。 以上来自于百度翻译 以下为原文 I am developing a firmware for a custom board based on PSoC 3. I am currently using PSoC Creator 3.0 updated at last version with all the components updated to their last version. I decided to try to implement bootloader capability to my board to be able to distribute new firmware updates to customers without the need to have a MiniProg. Following the Application Note AN68272 I was able to upload new firmware into my board through UART and I was happy to see that everything seemed to work fine. When I tried to perform a complete check about all the functionality of my firmware, I discovered that some of the pins were not properly driven. In my specific case I use a PWM block to drive 2 DC motors with 2 H-Bridge. When I use the same application updated directly through MiniProg programmer, the two motors work fine, but when I update the firmware using bootloader capability, one of the two motors does not move at all. NOTE: the bootloader block has the "Bootloader application validation" checkbox checked and the "Fast bootloadable application validation" checkbox unchecked. I use the bootloader host program included in PSoC Creator 3.0 to upload my application, and I also tried to verify the uploaded application (with the bootloader host application) and everything seems to be ok. Does anybody experienced similar problems? Is there someone who can give me some advicecs or other attempt to do? Thank you very much. |
|
相关推荐
5个回答
|
|
|
Hi LauliTo860,非常奇怪的问题,我猜想,UART引导加载程序应该使用TX,RX引脚和LED,并指定引导加载信号引脚。这些引脚与PWM输出引脚冲突吗?这是罕见的情况,但我不能只想到它。
以上来自于百度翻译 以下为原文 Hi laurentio86, Very curious issue I guess, UART bootloader should using Tx, Rx pin and LED and designate bootloading signal pin. Are these pins conflicting with PWM output pins? It is rare case but I can not think without only it. |
|
|
|
|
|
Bootloader接口可以使用BootloadDeject使用的任何引脚。因为只有一个程序在给定的时间运行并且配置相应地改变,所以不会发生冲突。
可能是Bootloader和BootloadBoad之间存在地址冲突。记住,这两个都必须用非常相同的创建者和引导加载程序版本生成!你使用任何设备保护吗?这会影响功能性。 无论如何,我建议你创建一个技术MyCase,你会得到明确的帮助。 鲍勃 以上来自于百度翻译 以下为原文 The bootloader interface may use any pins that the bootloadable project uses as well. Since only one of the programs is running at a given time and the configuration is changed accordingly there will be no conflict. What might be is that there is an address-conflict between bootloader and bootloadable. Remember, that both have to be generated with the very same Creator and bootloader versions! Are you using any device-protections? That also might affect the functionality. Anyhow, I would suggest you to create a technical MyCase, you will be helped definitively. Bob |
|
|
|
|
|
在柏树创建一个技术案例
“支持”“技术支持”“创建一个案例” 你必须先在赛普拉斯网站上注册。 问候,Dana。 以上来自于百度翻译 以下为原文 To create a technical case at Cypress - www.cypress.com “Support” “Technical Support” “Create a Case” You have to be registered on Cypress web site first. Regards, Dana. |
|
|
|
|
|
非常感谢大家的快速回复。
除了最重要的事情,我还在检查一切。当我为Bootloader创建新项目时,我将默认的设备与我的设备不同,只在名称中有一个字母,并且具有完全相同的引脚。所以这个错误是愚蠢的,但我花了很多时间去寻找。 现在一切似乎都很好。 以上来自于百度翻译 以下为原文 Thank you very much everybody for the fast reply. I was checking for everything except for the most important thing. When I create the new project for the bootloader, I left the default device which differs from my device for only one letter in the name and has the exact same pinout. So the error was stupid but took me a lot of time to find. Now everything seems to work fine. |
|
|
|
|
|
不用担心,这里也没有人有这个(但我想现在它会被添加到一些心理检查表中):
以上来自于百度翻译 以下为原文 No worries - nobody here had this on its list too (but I guess it will be added to some mental checklists right now :) |
|
|
|
|
只有小组成员才能发言,加入小组>>
787个成员聚集在这个小组
加入小组cyUSB3014一直显示2.1,不能到3.0情况,谁遇到过
7288 浏览 0 评论
2484 浏览 1 评论
2178 浏览 1 评论
4041 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
2084 浏览 6 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
7779浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
6337浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
755浏览 2评论
729浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
8186浏览 2评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-10 23:19 , Processed in 0.607260 second(s), Total 50, Slave 43 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
1334