Menu

Diferences on linux and windows

Anonymous
2016-12-05
2016-12-09
  • Anonymous

    Anonymous - 2016-12-05

    Hi, first of all confratulations for this work. It's very great programmer. Easy circuit and easy programs.
    I'm experienced programmer, and an amateur electronics, anyway, I offer to you if need some taks to do to help you. If nned me send message: urup32@hotmail.com

    Well, I have diferences when I attach programmer on Linux and windows 7. On Linux works perfectly, but when I attach it to Windows (on same machine) I have timeout error. Both are native sistems, not virtual machines.
    Would you know the reason for this?
    I mounted programmer with 4 Mhz quartz. Do you tink this may be the problem?

    Bests regards,
    Xavi from Barcelona (Spain).

     
  • Alberto Maccioni

    Strange behavior: usually there are fewer problems under windows.
    What exactly do you see?
    Is it the GUI or the command-line version?

     
  • Anonymous

    Anonymous - 2016-12-06

    Hi, it's the GUI. opgui V0.10.0
    First it shows

    **Programmer not detected
    Programmer detected
    VID=0x1209 PID=0x5432

    **Firmware version 0.10.0
    Hardware ID: 0.0.1 (18F2550)
    **

    I go to I/O by example and enable I/O
    It works for a while and then show....

    Communication timeout
    Communication timeout
    Communication timeout
    Communication timeout
    Communication timeout
    Communication timeout
    Communication timeout
    Communication timeout
    Communication timeout
    Communication timeout
    Communication timeout
    Communication timeout
    Communication timeout

    I top IO and reconnect and ....

    **Communication timeout
    Programmer not detected
    Programmer detected
    VID=0x1209 PID=0x5432

    Communication timeout
    Firmware version 0.0.0
    Hardware ID: 0.0.0 (?)

    Thanks for answer.

     
  • Anonymous

    Anonymous - 2016-12-06

    Hi again.

    I recompiled the program under Windows and now it seems to work good under windows also.

    I used to go to GTK3.
    Minnor changes needed on opgui.c and deviceRW.c (If you want, simply ask fo it).

    Thanks for all.
    Xavi (urup32@hotmail.com)

     
  • Alberto Maccioni

    The IO function is not very stable; it will work for some time, then I also get some errors.
    Still useable to check the hardware.

     
  • Anonymous

    Anonymous - 2016-12-07

    If I have time, i will convert program to Java with usb4java and awt libraries. This will be plataform portable and more stable.
    What do you think about?

     
  • Alberto Maccioni

    For sure a nice project; are you sure Java can access directly HID peripherals?

     
  • Anonymous

    Anonymous - 2016-12-07

    Yes I tried and works perfectly.

     
  • Alberto Maccioni

    Great! Let me know if you need any info about the present code.

     

Anonymous
Anonymous

Add attachments
Cancel