Problem with USB dongle or Proton24?


+ Reply to Thread
Results 1 to 13 of 13

Thread: Problem with USB dongle or Proton24?1597 days old

  1. #1
    JimDrew
    Guest JimDrew's Avatar

    0 Not allowed!

    Default Problem with USB dongle or Proton24?

    Ok, I have been using Proton24 without any issues with my USB Key in a Windows 8.1 setup.

    I haven't used it for a few months, and I needed to check something so I put the USB dongle in a USB port and it lights up. However, when I try to compile with Proton24 using any PIC that isn't free, I get the error message about the part not being supported with the free version. I checked the device manager, and Sparkey is there as a USB device with no errors. The dongle lights up and shows up in the device manager any every USB port I tried, but the compile always fails because it thinks I don't have the dongle plugged in - when clearly I do.

    Any ideas?

Attention

This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

The advertisements we display are relevant to this web site and your browsing history

Please consider supporting us by disabling your ad blocker.


Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

If you can, please report issues in the forum area WebSite / Forum Issues


Thank you for your attention.

  • #2
    Prolific Poster John Drew's Avatar
    Join Date
    Feb 2002
    Posts
    2,798
    Thumbs Up
    Received: 87
    Given: 34
    Total Downloaded
    4.53 GB

    0 Not allowed!

    Default Re: Problem with USB dongle or Proton24?

    Jim
    What device are you using and I'll check here. I only have the PICs (R) that are on the free list but I could try a test compile at least with your device in the program. I use W8.1
    John

  • Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  • #3
    Prolific Poster normnet's Avatar
    Join Date
    Jul 2004
    Posts
    2,367
    Thumbs Up
    Received: 78
    Given: 45
    Total Downloaded
    1.39 GB

    0 Not allowed!

    Default Re: Problem with USB dongle or Proton24?

    Download the driver and manually select it when updating in Device Manager.


    Norm

  • Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  • #4
    JimDrew
    Guest JimDrew's Avatar

    0 Not allowed!

    Default Re: Problem with USB dongle or Proton24?

    I tried 24HJ256GP210A and 24FJ64GA308 (which is what I really need). I re-installed the driver manually. The driver and dongle appear to be fine. The dongle shows up in the USB list and the dongle is lit up. I just tried installing Proton24 on my XP machine and although Proton24 itself works, the dongle installation does not. It complains there is a USB INF file error and the device manager shows it not installed properly.

    What I am trying to accomplish is determining the proper PPS code for the 24FJ64GA308. I can't assign a UART as an output (ie. U1TX), although inputs (U1RX) work fine. I have never had an issue with PPS before - but this chip is very odd in it's registers (ANSA, ANSB, etc. instead of ANSEL, and other pretty big differences). I was hoping that compiling a simple test program to set RP16 or RP5 to be U1TX would tell me if I am doing it right in the assembly code I am working on under MPLAB.

  • Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  • #5
    Prolific Poster joesaliba's Avatar
    Join Date
    Sep 2004
    Posts
    2,466
    Thumbs Up
    Received: 71
    Given: 29
    Total Downloaded
    6.08 GB

    0 Not allowed!

    Default Re: Problem with USB dongle or Proton24?

    Jim,

    I tried with one of the chips you mentioned and it compiled ok. I think that the problem is the USB Dongle. I had the same issue 9 years ago, the Dongle lights up but the IDE says that there is no USB Dongle attached. Contacted Crownhill, sent the Dongle back and sent me a new one.
    Regards

    Joseph

  • Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  • #6
    Prolific Poster John Drew's Avatar
    Join Date
    Feb 2002
    Posts
    2,798
    Thumbs Up
    Received: 87
    Given: 34
    Total Downloaded
    4.53 GB

    0 Not allowed!

    Default Re: Problem with USB dongle or Proton24?

    Jim, I checked with the 24FJ64GA308 and it started to compile (that is it recognised the dongle) and then struck errors because I just substituted for another P24 device. So Joseph may be onto something. I'm using W8.1
    John

  • Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  • #7
    Prolific Poster joesaliba's Avatar
    Join Date
    Sep 2004
    Posts
    2,466
    Thumbs Up
    Received: 71
    Given: 29
    Total Downloaded
    6.08 GB

    0 Not allowed!

    Default Re: Problem with USB dongle or Proton24?

    I would contact Crownhill as I said in my previous post, I had a Dongle in my early days using PDS that the light was ON but the compiler was not recognising the Dongle. Can you submit a code for one of these chips as I only tried a very short code to try compile.
    Regards

    Joseph

  • Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  • #8
    JimDrew
    Guest JimDrew's Avatar

    0 Not allowed!

    Default Re: Problem with USB dongle or Proton24?

    Thanks guys, I will contact Crownhill. Very odd that the dongle shows up under the Device Manager and lights up, but is not seen by Proton24.

    I just need to assign RP16 to U1TX using the PPS with the PIC24FJ64GA308.

  • Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  • #9
    JimDrew
    Guest JimDrew's Avatar

    0 Not allowed!

    Default Re: Problem with USB dongle or Proton24?

    Well, in a fit of rage (or something like that) I decided to uninstall Proton24 and the remove (physically delete) the USB driver. I reinstalled everything and after having to reinstall the USB driver twice, now Proton24 recognizes various (non-free) PIC24 parts. So, then I decided to compile this simple program:

    Device = 24FJ128GA308

    '----------------------------------------------------------------------------------------------------------------------------------------

    Main:
    PPS_Output(cOut_Pin_RP16, cOut_Fn_U1TX) ' Make Pin RF3 U1TX


    ...and of course an error is generated (bset.w CORCON,#pp_psv - pp_psv is not created by the compiler).

    But, I was able to get the info I needed from the assembly... which means I have a bad PIC or something because Proton24 generated the exact same PPS assembly code I am using.

    Another thing I noticed today is that the assembler and editor are separate. I clicked on the "assemble" button and got a pop up box showing the path that includes MPASMWIN.exe. I figured that maybe it is missing. So I copied it from my MPLAB8 installation and now it tries to assemble but errors out on the first line with an known opcode. Is there some special verison of MPASMWIN that is used for this?
    Last edited by JimDrew; 26th July 2015 at 22:45.

  • Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  • #10
    Prolific Poster John Drew's Avatar
    Join Date
    Feb 2002
    Posts
    2,798
    Thumbs Up
    Received: 87
    Given: 34
    Total Downloaded
    4.53 GB

    0 Not allowed!

    Default Re: Problem with USB dongle or Proton24?

    G'day Jim
    As I understand it the editor (common to all devices) calls PrPlus.exe as the preprocessor then App24.exe (the compiler in Proton IDE/PDS) for a P24 device and generates the assembler, which in turn calls MpasmWin.exe in the includes directory which generates the HEX from the assembler code. I'm fairly sure I have it right.

    The following program compiles fine here.

    Code:
    Device = 24FJ128GA308
    
    '----------------------------------------------------------------------------------------------------------------------------------------
    Dim test As Word
    
    Main:
    test=1234
    'PPS_Output(cOut_Pin_RP16, cOut_Fn_U1TX) ' Make Pin RF3 U1TX
    John

    PS As the dongle was working for 8 bit devices I think it's unlikely that the problem is the dongle or driver, but I really wouldn't know, that's something for Les to comment on.
    Last edited by John Drew; 27th July 2015 at 02:27. Reason: added PS

  • Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  • #11
    Senior Member tumbleweed's Avatar
    Join Date
    May 2011
    Posts
    487
    Thumbs Up
    Received: 59
    Given: 0
    Total Downloaded
    330.54 MB

    0 Not allowed!

    Default Re: Problem with USB dongle or Proton24?

    I clicked on the "assemble" button and got a pop up box showing the path that includes MPASMWIN.exe
    It sounds like something's not set up correctly. MPASMWIN.exe is the assembler for the 8-bit parts and won't work for the 24 series.
    The assembler for the P24 should be calling the GNU assembler, which I think is included as coff-as.exe.

  • Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  • #12
    Prolific Poster John Drew's Avatar
    Join Date
    Feb 2002
    Posts
    2,798
    Thumbs Up
    Received: 87
    Given: 34
    Total Downloaded
    4.53 GB

    0 Not allowed!

    Default Re: Problem with USB dongle or Proton24?

    Thanks for clarifying the assembler Tumbleweed.
    John

  • Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  • #13
    Fanatical Contributor top204's Avatar
    Join Date
    Feb 2002
    Posts
    3,426
    Thumbs Up
    Received: 296
    Given: 142
    Total Downloaded
    1.68 GB

    0 Not allowed!

    Default Re: Problem with USB dongle or Proton24?

    The same program handles the dongle for Proton24 and Proton for 8-bit devices, so if one works, the other will as well.

    The only message than will appear if the dongle is missing or incorrectly beign accessed is "USB Key Missing"

  • Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

    Thread Information

    Users Browsing this Thread

    There are currently 1 users browsing this thread. (0 members and 1 guests)

       

    Similar Threads

    1. Replies: 1
      Last Post: 18th October 2017, 07:01
    2. XP USB DONGLE ver 3.5.7.1
      By matty in forum USB License key
      Replies: 2
      Last Post: 17th December 2015, 04:52
    3. [SOLVED !] USB over IP dongle
      By Michael in forum USB License key
      Replies: 5
      Last Post: 17th August 2014, 00:16
    4. USB dongle problem Win7 64 bit
      By ebtrexler in forum USB License key
      Replies: 4
      Last Post: 15th June 2014, 08:07
    5. USB dongle vs. MSComm
      By [email protected] in forum The Lounge
      Replies: 5
      Last Post: 11th July 2007, 17:34

    Members who have read this thread since 13th November 2019, 21:26 : 0

    Actions :  (Set Date)  (Clear Date)

    You do not have permission to view the list of names.

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts