Searching \ for '[SX] cannot debug SX with USB SX-Key' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/ubicom/devices.htm?key=sx
Search entire site for: 'cannot debug SX with USB SX-Key'.

Exact match. Not showing close matches.
PICList Thread
'[SX] cannot debug SX with USB SX-Key'
2008\09\08@063846 by lslarry86n/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, lslarry86 wrote:

I am having trouble debugging an SX48 with the USB SX-Key and SX-Key v3.2 software.  My board debugs ok with my one remaining serial SX-Key and  SX-Key v2.02 PC software.  The board will also take a Program (^P) from the USB SX-Key, but will not Debug with the new key and software.  This happens on more than one board.

The USB SX-Key is rev 1, shipped in June 2008.  It is on a USB 1.2 host controller.  The system is HP Pavilion running XP Home SP2.  I am using the latest FTDI drivers.

The USB SX-Key can program the board just fine, but when I try to debug, it fails after the software is loaded.  I get a communication error dialog and the debug window says the processor is in "Sleep" mode.  If I try to run anyway, I get more commo error dialogs with small decimal numbers (<512).

These are my switches:


       device  SX48,OSCRC
       irc_cal IRC_SLOW
       freq    50_000_000
       id      'IND RFID'
       reset   reset_entry

Has anyone else encountered this problem and maybe know a workaround?  It has not caused a crisis yet because I still have a serial Key.  But eventually there will be issues.

Thanks,
Larry
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=292285
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)

2008\09\08@095847 by lslarry86n/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, lslarry86 wrote:

Corrections:

The USB SX-Key is Rev A, not Rev 1
The first error dialog is "SX-Key not found on COM4"
The subsequent "Communication Failed" error dialogs pop up when I press "Reset".  Run is grayed out.

Tested with SX-52.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=292285#m292345
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)

2008\09\08@104927 by g_daubachn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, g_daubach wrote:

Larry,
you will need the latest SX-Key IDE version which is 3.2.92h BETA, available at http://www.parallax.com/Portals/0/Downloads/sw/sx/Setup-SX-Key-Editor-v3.2.92h-BETA.exe.zip. Former versions, like yours do not support the SX-Key USB.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=292285#m292361
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)

2008\09\08@175037 by seanrohden/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, seanrohde wrote:

same problem with the latest 92beta, no resonator, greyed out dubugging buttons.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=292285#m292492
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)

2008\09\08@184437 by lslarry86n/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, lslarry86 wrote:

3.2 came on the CD with my USB SX-Key
I will try 92h tomorrow, though I see bassmaster has the same problem I do.
Thanks,
Larry
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=292285#m292520
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)

2008\09\09@031853 by g_daubachn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, g_daubach wrote:

Larry,
the error message "SX-Key not found..." indicates that the IDE could not establish communication with the SX-Key USB. To "let the IDE know" which type of SX-Key is connected (serial or USB), the types send different answers to the IDE. Former versions of the IDE "don't know" about the SX-Key USB, so when they see the answer from an SX-Key USB, they simply assume that this did not come from an SX-Key, and report that they could not find one.

The blue LED on the SX-Key USB indicates an active communication with the IDE when it is lit.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=292285#m292607
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)

2008\09\09@144138 by lslarry86n/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, lslarry86 wrote:

Beta 92h is failing in a new way.

Now, I no longer get the "SX-Key Not Found" message after the code is loaded for debug.  However, the SX48 is not in a good state, either.  The Debug window says "Running" and all the debug buttons except "Reset" are grayed out.  It looks like a program with a breakpoint is running.  Problem is, my program has no breakpoint, and it's not running.  The version banner does not come out the programmed serial port, LEDs do not come on (=> output pins are tristated).  The Reset button has no effect.

I have verified that both 3.2 from CD and 3.2.92h Beta work well with my serial SX-Key, both with my design board and a 2005-vintage SX 48/52 Proto Board from Parallax (SX52 BD)
A screen shot and Portmon log are at http://gluelogix.com/parallax/
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=292285#m292731
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)

2008\09\09@154559 by seanrohden/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, seanrohde wrote:

same here, got my rma today, looks like I am going to eat the gas money, eat the postage, send it back, hope they dont say it is my fault, then wait for them to mail it back "the same way that I sent it to them" i.e. first class, parcel, priority. first bad item I have recieved from them. At least my dell return they sent a dhl prepaid box. The least they could do is look at the facts, they had 1000 of these that had this problem, they "fixed them" by hand, I am not a novice user, so just mail me one that works with a prepaid envelope to mail it back.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=292285#m292735
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)

2008\09\09@155928 by lslarry86n/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, lslarry86 wrote:

Thanks, I just submitted my RMA request.
Larry
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=292285#m292739
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)

2008\09\09@163804 by Capt. Quirkn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Capt. Quirk wrote:

This might be obvious, but I recently made the mistake of not removing the Resonator before programming with the key. Does the exact same thing, as your problem when you leave the resonator in place.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=292285#m292755
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)

2008\09\09@171418 by dkemppain/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, dkemppai wrote:

[Quoting: "Capt. Quirk"]
This might be obvious, but I recently made the mistake of not removing the Resonator before programming with the key. Does the exact same thing, as your problem when you leave the resonator in place.


FYI, Also, Brownout settings can do weird things if set to the wrong values...

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=292285#m292760
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)

2008\09\09@174655 by seanrohden/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, seanrohde wrote:

thanks, good idea, but I spent 1 hour trying different code, and various sx setups, versions of sx softwarte, the debug-demo code, different frequencies, and proto-boards prior to wtritting or serching about this issue.

It was a brand new usb sx key just out of the package, I did not use a resonator, as I have 2 years experience with the sx and have used my serial sx key for years and am fully aware of the watchdog, and resonator issues.

After some searching, I found http://forums.parallax.com/forums/default.aspx?f=7&m=262926&p=2 where apparently there was a thousand bad sx keys that had this exact problem, caused parallax alot of time and effort to fix.

My thoughts are that lately, a few of these bad ones with the bad 20mhz crystal have slipped through the cracks, and got delivered to a few unlucky customers.

I just hope that they fix the issue with better QA so more of us do not have to go through this trouble. I  have found 4 of us in the last few montths have had the same issue.

Sean
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=292285#m292766
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)

2008\09\09@181449 by Capt. Quirkn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Capt. Quirk wrote:

I had 2 other problems, that caused that:

(1) The 4 pin connector on my SX key was dirty or had a poor connection.

(2) The Power switch on my PDB will show the power is on, but it will only let the SX-Key or Blitz program an SX about 1 out of 6 tries (figure that one out).

Cleaning the connector worked, but not with the switch.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=292285#m292767
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)

2008\09\09@182727 by seanrohden/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, seanrohde wrote:

yep I have seen it all, breadboard issues and wire length also can cause issues.  my most memoriable was a propeller crystal wire was running too close to the eeprom move it a fraction of an inch and it worked. Another was a logic detector that I still leave on the origional breadboard because on this breadboard it lights up the data led when my hand gets 4 inches away!


Sean
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=292285#m292769
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)

2008\09\09@193419 by lslarry86n/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, lslarry86 wrote:

I think the fact that the serial SX-Key does everything perfectly, with all the board/software combinations I tested, says that the problem is not dirty pins, undisciplined resonators, or reflected EMI.

Prompted by Bassmaster's link, I 'scoped my OSC pin.  When the system is in its bad state, there is a 3.8 MHz square wave on that pin.  It should be 50 MHz.  And I tried changing the brownout setting from Off to 2.2V.  No joy.

The PC does seem to be communicating with the USB SX-Key - when I click Reset, the clock stops for around 50 mS, actually spiking to 12V for 1 mS.  But it comes back to 3.8 MHz, and the Run buttons are all grayed out.

I sent an RMA request to sales@parallax.com.  We'll see what happens.

It seems the consensus is that if I buy another/newer one everything "should" be ok.  For $50, maybe I should do that and keep this one as an expensive SX-Blitz.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=292285#m292776
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)

2008\09\13@103445 by seanrohden/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, seanrohde wrote:

my replacement usb sxkey arrived today and debugs perfectly, thanks patrallax for getting this issue resolved quickly.

Sean
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=292285#m293635
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)

2008\09\15@130236 by Astro_Fizzixn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Astro_Fizzix wrote:

Hey guys I'm new to the forums here, but I love Parallax products! I'm a big fan of the BS2. I am however, a novice in the field despite a two-year technical degree and some ten years of tinkering.

Ok I've read all you guys had to say about the "No Debug" issue, and I'm having the exact same issue with the SX28. The IDE (or whatever) states that the chip is "Running" when it should be "Idle". It will change to "Sleeping" when I unplug power, and the blue light is On the whole time. I've tried all the above debugs, I've tried different chips and boards. I have no external osc's and no Breaks and no Brownouts and all that jazz.

Reading all about it seems the only resolve is RMA.....Say it ain't so! Is there anything else I might be doing wrong? Are there any other fixes? And what IS the issue here? Any help is appreciated....it's time to take a break for now!

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=292285#m294204
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)

2008\09\17@131256 by megazoicn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, megazoic wrote:

I am also having the Debug problem with the SX28. I am running SX-Key v3.2.92h BETA on Win XP sp2 with the USB SX-Key Blitz. I have little experience with microcontrollers but much experience with coding software.

I have been able to run the Led28.src as directed by the quickstart in the SX-Key Development System Manual but cannot debug it without the Debug window remaining in "Sleeping" mode (greyed out buttons). When this happens, the blue led is lit on the USB SX-Key. I have also attempted to follow the first tutorial in Programming the SX Microcontroller with similar problems. Some times I get an "Chip connection failed" error others I am able to initiate the Debugger and after the first step the Debug window is placed in the "sleeping" mode. In either case there is no resonator or crystal in the resonator socket.

Any suggestions would be much appreciated.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=292285#m294767
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)

2008\09\17@145846 by PJMontyn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, PJMonty wrote:

megazoic,
The SX-Blitz doesn't debug.  It just programs and verifies.  To debug, you need an SX-Key.  In the Parallax store, the webpage for the SX-Blitz...

http://www.parallax.com/Store/Microcontrollers/SXTools/tabid/139/CategoryID/16/List/0/SortField/0/Level/a/ProductID/368/Default.aspx
...says this about the SX-Blitz:

Unlike the SX-Key however, it does not provide in-circuit source-level debugging capabilities.
Thanks,
PeterM
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=292285#m294804
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)

2008\09\17@155530 by megazoicn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, megazoic wrote:

Sorry about the misleading information in previous post Peter. I purchased the SX Tech Tool Kit and am using the USB SX-Key to program/debug according to the SX-Key Developement System Manual and the Programming the SX Microcontroller books. All the information on the previous post is accurate, I believe.
Thanks for any help - next step suggestions.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=292285#m294830
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)


'[SX] cannot debug SX with USB SX-Key'
2008\11\16@124429 by seanrohden/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, seanrohde wrote:

megazoic, i think Parallax will need to exchange it for a fixed one. they had a batch of sxkeys that were bad, they fixed most of them but I think a few got out in tthe sx kits. Call them. the rma process is fairly quick and easy.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=292285#m307762
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)

2008\11\19@182353 by Calebon/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Calebo wrote:

I have had the same issue about the debug going straight to sleeping mode when i try to run it. for some reason on my cpu if i change the frequency from 50_000_000 to 20_000_000 the program debugs just fine. I dont know why this works but whenever i try to raise the frequency the debug stops working. Please try setting your frequncy to 20_000_000 and tell me if that works.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=292285#m308352
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)

2008\11\20@101351 by megazoicn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, megazoic wrote:

Thanks for the feedback, I had tried several computers, parallax tech support and even rma'd the sxkey but same problem with new key. I thought I'd wait to see if others with better know-how would encounter this problem.

Your suggestion of setting the clock to 20_000_000 has worked for me as well.

Let me know if I can help to find the source of the problem - but please understand that I am new to working on microcontrollers!

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=292285#m308468
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)

2008\11\20@111423 by beann/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote:

One issue I have with my USB SX-Key is that is seems to be alot more sensitive to the capacitance on the OSCx lines than the Serial version was.

With the serial version I could plug an SX28 dip into a breadboard and run wires to a 4 pin header to connect the SX-Key. But that doesn't work with the USB version. I think it will program, but it won't debug.

If I bend the OSCx leads out so they don't go into the breadboard and plug the Key directly into them (and add wire for GND into the Key). Then it works fine.

Bean.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=292285#m308479
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)

2008\11\20@224012 by Calebon/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Calebo wrote:

I'm glad that the 20_000_000 worked for you! I am new to programming the SX in assembly language and i was wondering if anybody knew how to connect pins to ground (my input technique of simply writing !rb, #%11011101 doesn't seem to be working for me). must be a noob mistake but I am out of ideas so any help is appreciateed. :)
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=292285#m308589
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)

2008\11\21@123520 by Calebon/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Calebo wrote:

My debug seems to be having strange actions now! Mine just says running all of the time and then the only time it says it is sleeping is when i turn the power off and hit the reset button. This SX-3.2.9Beta thing has been giving me a lot of other problems with my programs too. Anyone else have issues?

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=292285#m308675
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)

More... (looser matching)
- Last day of these posts
- In 2008 , 2009 only
- Today
- New search...