完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
|
我使用MPLAB和谐与PIC32 MZ2048 EFG100。我试图发送“你好”到TARA术语,以便能够打印我的程序的值,但它并没有出现在TARA术语终端。我还试过了USAT的MPLAB和谐教程,但它也不起作用。有人能帮我吗?我正在使用PICtiT3调试器
以上来自于百度翻译 以下为原文 I am using MPLAB HARMony with a PIC32MZ2048EFG100. I am trying to send "Hello" to Tera term to be able to print values of my program but it doesn´t appear nothing in the tera term terminal. I have also tried the MPLAB Harmony tutorial of USART and it doesn´t work neither. Can someone help me? I am using the picKit3 debugger |
|
相关推荐
19个回答
|
|
|
Tera Term是怎么连接到你的照片的?你有USB到串行适配器连接到USAT引脚吗?
以上来自于百度翻译 以下为原文 How is Tera Term connected to your PIC? Do you have a USB to serial adaptor connected to the USART pins? |
|
|
|
|
|
|
|
|
|
|
|
您使用的UART的正确引脚是什么?它是TTL版本,还是RS232版本,是通过你的板上的RS232缓冲区?
以上来自于百度翻译 以下为原文 To the correct pins for the UART you are using? Is it a TTL version, or if it's an RS232 version is it passing through an RS232 buffer on your board? |
|
|
|
|
|
它连接到板中的UART连接器。就像MPLAB和谐例子所说的那样。用迷你USB电缆顶板,并在USAT上发送和接收字符。
以上来自于百度翻译 以下为原文 It is connected to the UART connector in the board. Like the MPLAB Harmony example says. WIth a mini USB cable to power the board, and to send and receive characters on the USART. |
|
|
|
|
|
我们知道你用的是什么牌吗?最佳选择
以上来自于百度翻译 以下为原文 Hi Can we know what board you are using? Best regards Jorge |
|
|
|
|
|
所以你用PIC作为USB CDC设备?PC是否识别控制面板中的USB设备?
以上来自于百度翻译 以下为原文 So you are using the pic as a USB CDC device? Does the pc recognize the USB device in control panel? |
|
|
|
|
|
我正在使用具有PIC32 MZ2048 EFG100的CHIPKIT Wi-FieldPoad。PC识别USB为COM3。
以上来自于百度翻译 以下为原文 I am using the chipKIT Wi-FIRE board that has the PIC32MZ2048EFG100. The PC recognizes the USB as COM3. |
|
|
|
|
|
您是否已进入PIN管理器并分配了您正在使用的TX和RX PIN?
以上来自于百度翻译 以下为原文 Have you gone into the Pin Manager and allocated the TX and RX pins you are using? |
|
|
|
|
|
我不使用TX或RX引脚。我刚刚把USB连接到板和PC上。在MPLAB和谐实例中,这是他们做的和它的工作,但我没有收到任何条款。我想知道我是否需要配置更多的东西。
以上来自于百度翻译 以下为原文 I am not using TX or RX pins. I have just connected the USB to the board and to the PC. In MPLAB Harmony examples this is what they do and it works, but I don´t receive nothing in Tera Term. I want to know if I have to configure something more |
|
|
|
|
|
如果你的板有一个MCP2221在USAT和你的PC之间桥接,你将需要在一个USAT端口上分配TX/RX引脚到MCP2221上的RX/TX引脚。
以上来自于百度翻译 以下为原文 If your board has an MCP2221 to bridge between a USART and your PC you will need to assign TX/RX pins on a USART port to the RX/TX pins on the MCP2221. |
|
|
|
|
|
从手册:HTTPS://Stury.DigielTnC…微控制器板/So如米迦勒所说,您使用的是TX/RX。如果你不知道,你还不清楚,你实际上在测试/评估什么固件。FTTDI通常不需要额外的驱动程序安装,它是Windows的一部分。在Windows设备管理器中,你应该看到一个设备“USB串行端口(COMXX)”。插入USB电缆。
以上来自于百度翻译 以下为原文 From the manual: https://store.digilentinc...microcontroller-board/ So as Michael says, you ARE using TX/RX. If you do not know, then it is not clear, what firmware you are actually testing/evaluating. The FTDI usually does not require an extra driver installation, it's part of Windows. In the Windows Device manager you should see a device "USB Serial Port (COMxx)" which appears and disappears if you plug/unplug the USB cable. |
|
|
|
|
|
什么是“这是他们所做的和它的工作”是什么意思?你能更精确地解释一下吗?
以上来自于百度翻译 以下为原文 What should "this is what they do and it works" mean ? Could you be more precise in your explanations ? |
|
|
|
|
|
在MPLAB和谐示例中,它们显示了C代码。我在我的项目中复制这个代码,但是我配置我自己的板。然后说它还需要将调试器和一个连接PIC和PC的迷你USB电缆连接起来。我已经执行了这个代码,但是我没有Tyr术语中的文本,而且我也不能把数据从Tya术语发送到PIC。
以上来自于百度翻译 以下为原文 In MPLAB Harmony examples they show a c code. I copy this code in my project but I configure my own board. Then it says that it is also needed to conect the debugger and a mini USB cable connecting the PIC and the PC. I have executed this code but I have no text in Tera Term and I can´t send data from Tera Term to the PIC neither. |
|
|
|
|
|
目前还不清楚“工作原理”是什么意思。你能在测试中成功地使用UART吗?据我所知,您不是在使用MPLABX,而是使用ARDINO IDE。你把源代码和你的和声混合在一起?
以上来自于百度翻译 以下为原文 It is still not clear what "it works" means. Could you successfully use the UART in any of your tests ? As I understand you are not using MpLabX, but Arduino IDE. And you are mixing source code from Harmony and yours ? |
|
|
|
|
|
我使用的是MPLAB X IDE。我从示例中复制代码,但我不能使用USAT,因为在使用调试器时,我甚至不能打印“hello”。http://MyCHIPPrdult.COM/CONTRON:示例USAR动态-WF32,这是我复制的代码,但是我不能接受或发送任何在TA术语后面的代码。指令。
以上来自于百度翻译 以下为原文 I am using MPLAB X IDE. I copy the code from the example, but I couldn´t use succesfully USART, because I can´t even print "Hello" while I am using my debugger. http://microchipdeveloper.com/harmony:example-usart-dynamic-wf32 This is the code that I copied, but I can´t receive or send anything in Tera Term following this instructions. |
|
|
|
|
|
一切都可能是错的。你在Windows设备管理器中验证了你的TARA术语的COM端口吗?你以前使用过TARA术语吗?你有一个范围或逻辑分析仪来检查出什么样的TX线?你是怎么做到的?你还没有回答米迦勒的问题:你是否已经进入PIN管理器并分配了你正在使用的TX和RX PIN?同样,如何配置您的USAT?
以上来自于百度翻译 以下为原文 Everything could be wrong. Did you verify the COM Port for your Tera-Term in Windows Device Manager ? Did you use Tera-Term successfully ever before ? Do you have a Scope or Logic Analyzer to check what goes out the TX line ? How do you do that ? And you still did not answer Michael's question: Have you gone into the Pin Manager and allocated the TX and RX pins you are using? Again, how do you configure your USART ? |
|
|
|
|
|
-是的,我确认是COM3-I以前从未使用过TARA术语。我只想打印我在PIC中获得的值,以实时地在我的电脑屏幕上看到它们。-我使用一个迷你USB线缆,我没有这个板上的TX线。-是的,我在MPLAB和谐中配置RX和TX PIN。我用MPLAB和谐配置USAT。
以上来自于百度翻译 以下为原文 -Yes I verify it is COM3 -I have never used tera term before. I only want to print values that I obtain in my PIC to see them in the screenof my computer in real time. -I use a mini USB cable and I don´t have acces to the TX line in this board. -Yes, I configure the RX and TX pin also in MPLAB Harmony. I configure USART with MPLAB Harmony. |
|
|
|
|
|
你可以进入。但是如果你没有一个范围或分析器,它没有帮助。你有?更多的问题:你怎么知道你的PIC在运行(你的固件)?你能成功地运行第一个“闪烁的LED”的例子吗?另外,你的板上有串行通信LED(附在FTDI上)。如果你从PIC(无限循环)发送数据,我希望他们中的一个闪烁。http://参考。如果没有,你不会发送任何东西。
以上来自于百度翻译 以下为原文 You do have access. But if you do not have a scope or analyzer it does not help. Do you have ? More questions: How do you know your PIC is running (your firmware) at all ? Could you successfuly run a first 'blinking LED' example ? Also your board has serial communication LEDs (attached to the FTDI). I would expect one of them to blink, if you send data from your PIC ( in an endless loop ). https://reference.digilentinc.com/_media/chipkit_wifire:chipkit_wi-fire_rm.pdf Does it blink ? If not, you are not sending anything. |
|
|
|
|
|
是的,我的板工作,因为我已经测试了眨眼LED例子和更多,他们的工作。当我从终端发送数据到PIC时,LeD5会闪烁,但另一个永远不会眨眼,所以我不会发送任何东西。这就是问题,我不知道为什么。我只是想用PIC做一些操作,然后把结果显示在屏幕上,我读到我的调试器CIPIT3唯一的解决方案是使用USAT,这是因为我问这个问题。我不发送数据,我不知道为什么,因为我已经遵循了这个例子。
以上来自于百度翻译 以下为原文 Yes my board works because I have tested teh blinking LED example and more and they work. When I send a data from the terminal to the PIC the LED5 blinks but the other one never blinks so the thing is that I am not sending nothing. Thats the problem, that I don´t know why. I simply want to do some operations with the PIC and then show the result in the screen and I have read that the only solution with my debugger picKIT3 is using USART and that because I am asking this. I don´t send the data and I don´t know why, because I have followed the example. |
|
|
|
|
只有小组成员才能发言,加入小组>>
MPLAB X IDE V6.25版本怎么对bootloader和应用程序进行烧录
473 浏览 0 评论
5793 浏览 9 评论
2334 浏览 8 评论
2224 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3530 浏览 3 评论
1121浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
1095浏览 1评论
我是Microchip 的代理商,有PIC16F1829T-I/SS 技术问题可以咨询我,微信:A-chip-Ti
872浏览 1评论
MPLAB X IDE V6.25版本怎么对bootloader和应用程序进行烧录
473浏览 0评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-1 19:21 , Processed in 1.880504 second(s), Total 106, Slave 89 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
1425