sx-key editor v 3.2.92h beta problems
I'm new to the SX. I purchased the SX tool kit plus and entered Gunter Daubachs TUT001 program.· It will assemble but does not always start at address 7ff and will not single step through the progam.· The top of the debug window shows IDLE until the step button is activated then shows SLEEPING and the step switch de-activates.· If I just run the program the led glows somewhat dim and acts as though the program is running correctly.
Comments
Thank you, Jim
What board are you using for the SX ?
SX-Tech board ? Professional Development Board ?
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"The welfare of the people in particular has always been the alibi of tyrants." ~ Camus
www.iElectronicDesigns.com
·
If the resonator is in, you can program, but you won't be able to debug.
P.S. Could you post the entire program you're trying ?
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"The welfare of the people in particular has always been the alibi of tyrants." ~ Camus
www.iElectronicDesigns.com
·
LIST Q = 37
DEVICE SX28ac, TURBO, STACKX, OSCHS2
IRC_CAL IRC_FAST
FREQ··· 50_000_000
RESET·· 0
mov·!rb, #%11111110
Loop
·clrb·rb.0
·setb·rb.0
·jmp·Loop
Thank you, Jim
Sounds like a USB-Key issue. I remember the exact same things without the hardware fixes.
Where is the thread with the updates?
-Dan
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"A saint-like quantity of patience is a help, if this is unavailable, a salty vocabulary works nearly as well." - A. S. Weaver
IDLE, then SLEEPING when trying to STEP.
If you change the frequency to 20 MHz or 40 MHz then it seems to work fine. It doesn't work at 50 Mhz for me either. I'm not sure what is going on there ???
So Jim, if you change "FREQ 50_000_000" to "FREQ 20_000_000" it should work.
P.S. Futher experimenting shows that 44 MHz works, but 45 MHz thru 50 MHz does not. But 51 MHz works ??? Must have something to do with how the USB SX-Key generates the clock signal. But that is just a guess...
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"The welfare of the people in particular has always been the alibi of tyrants." ~ Camus
www.iElectronicDesigns.com
Post Edited (Bean (Hitt Consulting)) : 11/26/2008 1:30:07 PM GMT
Another question, is the "Device SX28AC" the correct initialization instruction? AC is the suffix number on my SX28 chip.
You guys are great. Thanks again,
Jim
Post Edited (Jim Briars) : 11/26/2008 3:47:36 PM GMT
You can must use SX28 on the device line.
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"The welfare of the people in particular has always been the alibi of tyrants." ~ Camus
www.iElectronicDesigns.com
·
Thank you,
Jim
Post Edited (Jim Briars) : 11/30/2008 5:06:39 PM GMT
I assume you are using a USB SX-Key. 20MHz is the magic number in the SX-Key hardware, which is why it works. This sounds like a USB SX-Key hardware clock generator problem. Contact Parallax and get them to swap your key for a new USB SX-Key.
Thanks,
PeterM