Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raspberry Pi linux Debian 连接不上pm3 | Cannot connect to pm3 hardware on Raspberry Pi #22

Closed
lkjopp opened this issue Aug 12, 2021 · 14 comments
Labels
wontfix This will not be worked on

Comments

@lkjopp
Copy link

lkjopp commented Aug 12, 2021

rrg/iceman 4.13441 点击连接10次,命令中会显示1次版本hw version,GUI界面一直显示未连接,无反应,按钮灰色

Pm3 log 显示 STDIN unexpected end, exit....

换成老版本rrg/iceman 4.9237,点击连接2次,命令中会显示hw version一次, GUI界面一直未连接,按钮一直灰色,无反应,问题依然存在

Pm3 log 显示 STDIN unexpected end, exit....

@lkjopp lkjopp changed the title Raspberry Pi linux 连接不上pm3 Raspberry Pi linux Debian 连接不上pm3 Aug 12, 2021
@wh201906
Copy link
Owner

手上暂时没有PM3硬件,没办法测试
你可以尝试勾选“设置”面板中的“保持所有按钮可点击”(Settings->Keep buttons enabled),然后试一下能否继续使用
或者使用该版本的RRG固件

@lkjopp
Copy link
Author

lkjopp commented Aug 13, 2021

已测试,版本4.9237,在“设置”面板中勾选保持所有按钮可点击,依然无效,点击读卡会跳转原始命令,其他按钮没有反应。

您建议的版本是4.13441,是我第一次使用的版本,同样不行,这两个版本命令行都可以正常使用。

具体截图如下:

IMG_20210813_153238.jpgIMG_20210813_152951.jpg

@wh201906
Copy link
Owner

我给出来的应该是V4.9237的某一次commit,你需要下载源代码编译。github当中右边的release和左边的代码不一定是对应的。
如果问题还是无法解决,那可能要等一个月我才能拿到PM3硬件进行测试

@wh201906
Copy link
Owner

可以把pm3的log文件也发上来吗?

@lkjopp
Copy link
Author

lkjopp commented Aug 13, 2021

按照你的版本去下载,编译了,刷了pm3,还是不行,GUI连接不上.

@lkjopp
Copy link
Author

lkjopp commented Aug 13, 2021

pm3的log放在这儿了

https://github.com/lkjopp/log

@wh201906
Copy link
Owner

收到,到时候调一下

@wh201906
Copy link
Owner

wh201906 commented Aug 14, 2021

我发现raspbian默认不带Qt的开发包,你在编译GUI的时候用的是哪一版Qt?
如果没有用Qt5或者不确定的话可以试下README.md当中的编译命令,我刚才更新过

@lkjopp
Copy link
Author

lkjopp commented Aug 15, 2021

我安装了qt5,raspberry pi 可以安装的,虽然有些麻烦。我马上重新编译下,在汇报情况。重新编译了,还是和前面一样。

想起来了,可能是pm3在我的系统上,反回的文字不一样,发张命令行的图IMG_20210815_132955.jpg

@wh201906
Copy link
Owner

颜色应该不影响的,我等手上有PM3硬件之后再试试吧

wh201906 added a commit that referenced this issue Sep 5, 2021
Trying to fix #22
Open client with QProcess::Text for proper newline character(s)
On Raspbian, the isBusy() function will always return false, even the serial port is actually connected.
@wh201906
Copy link
Owner

wh201906 commented Sep 5, 2021

是等待时间和换行符的问题
你可以试一下这个提交,我在自己的树莓派上试了下,能用

@lkjopp
Copy link
Author

lkjopp commented Sep 6, 2021

多谢,晚上回去试完汇报

已测试,完全OK,需要用你上面说的那一版pm3,期待支持4.13441。

@lkjopp lkjopp closed this as completed Sep 6, 2021
@wh201906
Copy link
Owner

wh201906 commented Sep 6, 2021

后期会跟进的
感谢反馈

wh201906 added a commit that referenced this issue Sep 19, 2021
I forgot I have designed "Keep the client active" for issue #22
isBusy() is deprecated for blocking the port, but it doesn't matter.
@wh201906
Copy link
Owner

wh201906 commented Sep 19, 2021

@lkjopp 我忘记了,之前我做过这种情况的处理的
在你之前使用的版本当中勾选“Keep the client active”(在PM3断开后保持客户端运行)就可以了

@wh201906 wh201906 added the wontfix This will not be worked on label Sep 20, 2021
@wh201906 wh201906 changed the title Raspberry Pi linux Debian 连接不上pm3 Raspberry Pi linux Debian 连接不上pm3 | Cannot connect to pm3 hardware on Raspberry Pi Apr 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants