Latest WIN10 update version 2014

OpenGD77CPS
VK3KYY
Posts: 7481
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia

Re: Latest WIN10 update version 2014

Post by VK3KYY » Mon Feb 15, 2021 4:30 am

Ah,

You know that the source is available on github...

https://github.com/rogerclarkmelbourne/OpenGD77CPS

You could try running it in Visual Studio and see exactly where it freaks out

VK3KYY
Posts: 7481
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia

Re: Latest WIN10 update version 2014

Post by VK3KYY » Mon Feb 15, 2021 4:36 am

BTW.

I didnt write the threading code. I think Daniel F1RMB wrote it.

It does seem to use

Code: Select all

worker.RunWorkerAsync(dataObj);
But as far as I can tell, there should only be 1 async task running.

Perhaps

Code: Select all

void worker_DoWork(object sender, DoWorkEventArgs e)
is being called more than once ?

vk2fmet
Posts: 55
Joined: Mon Jun 22, 2020 11:17 am

Re: Latest WIN10 update version 2014

Post by vk2fmet » Mon Feb 15, 2021 4:38 am

I don't use VS. Bit of work getting a dev environment up for that.
I wasn't trying to tell you to suck eggs.
just thinking out loud.
happy to sit back down

vk2fmet
Posts: 55
Joined: Mon Jun 22, 2020 11:17 am

Re: Latest WIN10 update version 2014

Post by vk2fmet » Mon Feb 15, 2021 4:43 am

I was just reminded of many times where 2 threads are running as expected... and it takes only one small thing to make one thread to run longer than you think and you get a clash. Sometimes all you need to do is wait thru more development.. the code base grows, the tasks (or one task) gets slightly longer and the sync issue no longer presents... you never know there was an issue, it may never present again...

VK3KYY
Posts: 7481
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia

Re: Latest WIN10 update version 2014

Post by VK3KYY » Mon Feb 15, 2021 4:48 am

VS Community Edition is really easy to install.

I'm sure I've seen the same error before, but I can't quite remember what was causing it.

I'll email F1RMB, as I think he added in the threaded stuff to the existing code that transferred the data.

BTW.

Did this stop working when Windows 10 updated ? or did you always have this problem.

vk2fmet
Posts: 55
Joined: Mon Jun 22, 2020 11:17 am

Re: Latest WIN10 update version 2014

Post by vk2fmet » Mon Feb 15, 2021 5:00 am

I have never had this issue before today.
Very reliable normally.
I can't sync the updates lately... I mean my windows updates when it forces me so I don't take notice of the builds. I've had 10 for a while now.
I am on Version 2004, 23.09.2020 OS Build 19041.804
Suggests I've had it for a while and therefore definitely done a few updates of GD77 since Sep last year.

VK3KYY
Posts: 7481
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia

Re: Latest WIN10 update version 2014

Post by VK3KYY » Mon Feb 15, 2021 5:07 am

vk2fmet wrote:
Mon Feb 15, 2021 5:00 am
I have never had this issue before today.
Very reliable normally.
I can't sync the updates lately... I mean my windows updates when it forces me so I don't take notice of the builds. I've had 10 for a while now.
I am on Version 2004, 23.09.2020 OS Build 19041.804
Suggests I've had it for a while and therefore definitely done a few updates of GD77 since Sep last year.
Did you update the firmware ?

VK3KYY
Posts: 7481
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia

Re: Latest WIN10 update version 2014

Post by VK3KYY » Mon Feb 15, 2021 5:09 am

Umm

Just tried it on my W10 machine and I'm now getting the same error.

I'll try reverting the firmware.

I think this may actually be a timeout error.

VK3KYY
Posts: 7481
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia

Re: Latest WIN10 update version 2014

Post by VK3KYY » Mon Feb 15, 2021 5:14 am

Yep.

Its comms timeout error.

The comms speed got reduced after I fixed a serious bug with the CPU being accidental overclocked by 50% from the very beginning of the project.
(Not my original code)

Looks like somehow this has caused a bug on W10, but not on W7 or W8 etc.

I'll need to see if its also related to USB type, i.e USB 3.

Anyway, the thread message is potentially misleading

vk2fmet
Posts: 55
Joined: Mon Jun 22, 2020 11:17 am

Re: Latest WIN10 update version 2014

Post by vk2fmet » Mon Feb 15, 2021 5:25 am

yes - all possible there.
I updated the firmware without issue. It's just the code plug write that has the issue.
Alan

Post Reply