Shop OBEX P1 Docs P2 Docs Learn Events
Requesting help with using Debug — Parallax Forums

Requesting help with using Debug

John CoutureJohn Couture Posts: 370
edited 2008-02-23 21:06 in General Discussion
Ok, I put in a simple program to demonstrate DEBUG and I am using an SX-Key with a USB converter.· The program is as follows:

DEVICE········· SX28, OSC4MHZ, TURBO, STACKX, OPTIONX
FREQ··········· 4_000_000

counter var byte
program start
start:
· counter = 0
main:
· inc counter
· watch counter
· break
goto main


I save the program under Test4.sxb, compile it and then press·the little "bug" at the top.

The debugger windows come up but·cannot step through it.· The "Step","Walk","Run" and "Poll" buttons are greyed out?· It has to be some kind of configuration thing that I am doing wrong?· Any ideas?· Screen shot below.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
John J. Couture

San Diego Miramar College
1440 x 899 - 121K

Comments

  • RobotWorkshopRobotWorkshop Posts: 2,307
    edited 2008-02-21 18:48
    This may be a silly question but did you pull out the resonator before you tried debugging? It is ok to leave it in for programming but i've always pulled it out when I wanted to try using the debugger.

    Robert
  • John CoutureJohn Couture Posts: 370
    edited 2008-02-21 20:21
    (grin), No it is not a silly question. You are right! Some days are better than others! Thank you!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    John J. Couture

    San Diego Miramar College
  • JonnyMacJonnyMac Posts: 9,216
    edited 2008-02-21 22:13
    We've all done that, trust me. I recently *complained* to my pal, PJMonty (who maintains the IDE), that I was having a lot of programming failures only discover I had one of those small 50 MHz resonators plugged into my PDB. Remove resonator = remove problem!
  • John CoutureJohn Couture Posts: 370
    edited 2008-02-22 00:52
    In reference to the Prof Dev Board, I scoffed at it when it first came out thinking I had all of the components ... why do I need to buy one?

    Well, to those that don't have one (I finally bought one), you'll never go back! It takes much less time to throw together circuits and in the classroom it is nice to be able to refer to specific components and just have the students wire them up!

    (Belated Thank You to Parallax for developing that!)

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    John J. Couture

    San Diego Miramar College
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2008-02-22 06:47
    Is the Prof Dev Board still available? I was going to recommend it to someone, but it seems no longer listed. Maybe, I just haven't figured out the new website format.

    I never bought one, but now I find myself jumping back and forth between BasicStamp, SX, and Propeller projects.
    My desk is cluttered with wires and boxes for each.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    PLEASE CONSIDER the following:

    Do you want a quickly operational black box solution or the knowledge included therein?······
    ···················· Tropically,····· G. Herzog [noparse][[/noparse]·黃鶴 ]·in Taiwan
  • Guenther DaubachGuenther Daubach Posts: 1,321
    edited 2008-02-22 09:06
    Well, the PDB is here:

    www.parallax.com/Store/Microcontrollers/BASICStampModules/tabid/134/List/1/ProductID/123/Default.aspx?txtSearch=professional+development&SortField=ProductName%2cProductName

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Greetings from Germany,

    G
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2008-02-22 15:13
    Thanks, for some reason I looked at Boards and I couldn't find it.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    PLEASE CONSIDER the following:

    Do you want a quickly operational black box solution or the knowledge included therein?······
    ···················· Tropically,····· G. Herzog [noparse][[/noparse]·黃鶴 ]·in Taiwan
  • John CoutureJohn Couture Posts: 370
    edited 2008-02-23 20:14
    Yea, I am still trying to adjust to the new website too. It seems that when you look up something under "Products" you have to remember that if you want to BUY it or you want something from the catalog page, you have to go to "STORE". While that may seem obvious, try this exercise. A student asked me where he could find the Spanish version of What's a Microcontroller. Count how many clicks it takes you before you can actually download it (grin). Do you look under Products or Store?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    John J. Couture

    San Diego Miramar College
  • Guenther DaubachGuenther Daubach Posts: 1,321
    edited 2008-02-23 21:06
    Well, I simply typed "Professional Development" into the search box at the top left on the home-page smile.gif

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Greetings from Germany,

    G
Sign In or Register to comment.