Author Topic: not programming under windows 10  (Read 880 times)

microflechs

  • Jr. Member
  • **
  • Posts: 3
    • View Profile
not programming under windows 10
« on: January 19, 2017, 10:35:52 am »
using Flash Magic 10.01 under Windows 10 64BIT version delivers : Operation failed. (Programming - failed to send data to the device). Connection to Board, erase of device possible without any Problems. Programming starts but delivers upper message. Tried with internal RS232 (PCI express card) and via USB to RS232 converter with same result. Under Windows XP it's working with internal RS232 and with same USB to Rs232 converter.
PC is: DELL Optiplex 3020, RS232 card is:  SIONIC  OXPCIe95x (CH38), USB to RS232 converter is:  Profilec USB to serial.  Windows is: WIN 10 pro 64bit with latest updates.
I also tried other UB to Rs232 converter and other flash magic versions, always with same result: Windows XP working, windows 10: connection and erase possible programming not ( always same error message).
I checked the discussion forum. Find similar problems. Problems was always solved with newer flash magic version. Used newest one.
Test using a second PC with windows 10 deliver ssame result (Programming - failed to send data to the device)

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2099
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: not programming under windows 10
« Reply #1 on: January 19, 2017, 11:21:33 am »
Hi,

Please generate and post a debug file. Instructions are here: http://www.flashmagictool.com/debugfile.html

Andy
Embedded Systems Academy, Inc.
support at esacademy dot com

microflechs

  • Jr. Member
  • **
  • Posts: 3
    • View Profile
Re: not programming under windows 10
« Reply #2 on: January 21, 2017, 01:31:47 pm »
hello,

created debug file (flashmagic-20170121-124833.fmd ) but did not find a way to add it as an attachment to this post

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2099
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: not programming under windows 10
« Reply #3 on: January 23, 2017, 10:25:28 am »
Send to the email address show in Help -> About, referencing this topic.
Embedded Systems Academy, Inc.
support at esacademy dot com

microflechs

  • Jr. Member
  • **
  • Posts: 3
    • View Profile
Re: not programming under windows 10
« Reply #4 on: January 26, 2017, 09:57:46 pm »
Hi Andy,

first as a summary:  It's working now.

History:

1.) PC 1:   PC with  WIN XP,  with internal RS232 , several USB connectors on keyboard
2.) PC 2:    PC with  WIN 10,  with internal RS232 SIONIC  OXPCIe95x (CH38), several USB connectors
3.) PC 3:   PC with  WIN 10,  no internal RS232, two USB connectors
4.) USB to RS232 Adapter Type 1:  RS 550-170  (Profilec Driver: 3.8.3.0 under Windows 10)
5.) USB to RS232 Adapter Type 2:  RS 514-0844 ( Roline / ASIX  Treiber 1.18.12.0)

6.) Always using same board with LPC1788 , always using same RS232 cable

7.) Using PC1   its was always working (also before I wrote the ticket) using internal RS232 or USB to RS232 adapter Type 1 or adapter Type 2

8.) When I wrote the ticket it's not working with PC 2 and PC 3 (using internal RS232 or UBB to RS232 adapter type 1 or 2)
always delivers: Operation Failed (Programming - failed to send data to the device)

9.) With your help:

Set "use my Line Feed Settings"  to true   and
set "Send Line Feeds"            to true   and
set "Expect Line Feeds           to true    ( checkmark set for all three )

it's working  on PC2 and PC 3   using   USB to RS232 adpater 1  or 2

Other settings delivers failure

10.) Use the same settings

Set "use my Line Feed Settings"  to true   and
set "Send Line Feeds"            to true   and
set "Expect Line Feeds           to true    ( checkmark set for all three )

using PC2 and the internal RS232 the programming starts but on a different points ends with :"Unable to communicate (Transmit/Receive)"

Now I modified the settings of the internal RS232
System Settings >> Device Manager >> COM 2 >> Properties>>  Port Settings >> Advanced Settings:

Set "Use FiFo buffers" to true ( checkmark set)
set "Receive Buffer" to 224 ( = maximum value)
set "Transmit Buffer" to 256 ( = maximum value)
Restart PC!

Now programming is always successful but the verification always delivers "Unable to communicate (Transmit/Receive)"

Setting now back:
Set "use my Line Feed Settings"  to false  ( checkmark not set)
Now programming and verification works  on PC2 and internal RS232.


11.) Conclusion:

11.a)
Using Windows 10   with external USB to RS232 converter needs:
Set "use my Line Feed Settings"  to true   and
set "Send Line Feeds"            to true   and
set "Expect Line Feeds           to true    ( checkmark set for all three )

11.b)
Using Windows 10   with internal RS232:
Set "use my Line Feed Settings"  to false 
And RS232 Device settings:
Set "Use FiFo buffers" to true ( checkmark set)
set "Receive Buffer" to 224 ( = maximum value)
set "Transmit Buffer" to 256 ( = maximum value)

Thanks a lot for help!

I copied this Information also to the ticket, you may add additional information to the ticket if you like.
Ticket can be marked as solved.

Kind Regards
Richard
« Last Edit: January 26, 2017, 10:15:11 pm by microflechs »

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2099
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: not programming under windows 10
« Reply #5 on: January 27, 2017, 10:25:23 am »
Richard,

Thank you very much for the detailed analysis. When there are problems suspected with RS232 drivers, cables, Windows settings it comes down to the user having to try things and often people contact us expecting us to just be able to fix it for them without any information or any further help from them. With the information you have posted others can now try the same settings on their PCs if they run into a problem like this.

Andy
Embedded Systems Academy, Inc.
support at esacademy dot com