-
Notifications
You must be signed in to change notification settings - Fork 247
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
usb stability during md380tool {dmesgtail, spiflashdump} [SD]13.020 #295
Comments
Could you please elaborate a bit, what radio, firmware and PC did you experience this with? I have also experienced that the same applies to the other usb interfacing tools if you are too quick pulling the cable out. This was a MD390 GPS w S013.020 firmware and 64bit Ubuntu 16.04. |
md380. ubuntu install conform recipe. 64bits. 16.04. d13.020. high traffic dmesg printf local patch. |
Could be a complicated threading thing, but it might also be that (TCRAM at 0x10000000 cannot be used for DMA, but we have more if it than the SRAM at 0x20000000.) |
i have the impression that pulling the plug glitches the PTT. anybody confirming? |
Oh yeah, that'd do it. I've had some luck with a ferrite choke around the USB cable, but realistically, I don't think the hardware is stable enough to transmit with the default cable. Close this issue if we can confirm it's not a software problem. |
also ./md380-tool spiflashdump makes problems -> no keypad response |
next try... remove all none usb hooks |
(remove all none usb hooks) same problem (no keypad response + no screen update (clock)) more delays between the usb transfers there are no changes |
perhaps there is a transfer errors from d02.32 to [DS]13.020 :( there are so many variables |
@aeickho no, the dmesgtail on d13 works. but slows down gui, considerable. |
on my RT8 S13 woks flash whitout error or warning Am 25.09.2016 um 12:06 schrieb Simon IJskes:
|
but on d13.020 not so intrusive @ s13.020 |
Alex, as we speak I am dumping my md380 into a file and the time / menu works OK. Could you tell me if we do the same thing? |
@roelandjansen i use a native linux system. dump the 16Mbyte spi flash to the pc:
my idea ... your system is not so fast ... (usb virtualization) your radio? S or D Type? |
e.g. you mean that if it's faster it would be come unstable. Ok. How long does your dump take? I could see if I can natively dump it in the system too and see if that makes any difference in time. |
|
ok, roeland@md380:~/src/d$ time ../md380tools/md380-tool spiflashdump dumped real 1m53.467s radio stayed responsive. I did it just one time. I am backing up the vm at this moment and will try and see repeatedly if I also see this bevaviour. I did a single shot and that one worked OK. |
Self assigning to take care of this over the weekend. I'll spin up a few related issues to migrate the features that require fast polling away from dmesg. |
when pulling the 'side-plug' from the md380 during dmesgtail, there is a high prob of hanging the md380.
The text was updated successfully, but these errors were encountered: