Search found 185 matches

by Jon Chandler
Sun Nov 20, 2016 11:28 pm
Forum: IDE
Topic: Swordfish Has Become Unreliable on my Computer
Replies: 4
Views: 5137

Re: Swordfish Has Become Unreliable on my Computer

Thanks Jerry,

I have some troubleshooting to do.
by Jon Chandler
Sun Nov 20, 2016 6:06 pm
Forum: IDE
Topic: Swordfish Has Become Unreliable on my Computer
Replies: 4
Views: 5137

Re: Swordfish Has Become Unreliable on my Computer

I tried installing SwordfishSE to see if it would work. Same problem.

In this case, the compiling progress bar goes about a third of the way across the box in the first step, and I'm dumped back to the IDE screen. No errors or messages, and it's not locked up
by Jon Chandler
Sun Nov 20, 2016 5:55 pm
Forum: IDE
Topic: Swordfish Has Become Unreliable on my Computer
Replies: 4
Views: 5137

Swordfish Has Become Unreliable on my Computer

Swordfish has worked well on my computer but has recently become unreliable. Sometimes when compiling, it just stops part way through, not completing the process. Sometimes it locks up during the process with the message at the bottom of the screen "compiling, please wait." Other times, it seems to ...
by Jon Chandler
Sun Nov 20, 2016 1:10 am
Forum: Compiler
Topic: Brain Fade? Reading 8 Bits of a Port to a Variable?
Replies: 3
Views: 3679

Re: Brain Fade? Reading 8 Bits of a Port to a Variable?

The more things I tried to make sense of this problem, the less sense everything made.

Rebooting solved everything. Thanks for the suggestions and sorry for the needless question!
by Jon Chandler
Fri Nov 18, 2016 4:50 am
Forum: Compiler
Topic: Brain Fade? Reading 8 Bits of a Port to a Variable?
Replies: 3
Views: 3679

Brain Fade? Reading 8 Bits of a Port to a Variable?

I'm trying to read the value of a port into a byte array. Seems like it should be simple, but my efforts last night didn't work. What I tried was A(1) = PortB() This resulted in the compiler going off into never never land. No error was indicated but compiling didn't complete. What I'm trying to do ...
by Jon Chandler
Thu Apr 28, 2016 9:27 pm
Forum: Modules
Topic: SI2C Module and a CAT5171 Digipot Problem
Replies: 2
Views: 4711

Re: SI2C Module and a CAT5171 Digipot Problem

Thank you sir,

Once again you saved the day!

Jon
by Jon Chandler
Thu Apr 28, 2016 6:19 pm
Forum: Modules
Topic: SI2C Module and a CAT5171 Digipot Problem
Replies: 2
Views: 4711

SI2C Module and a CAT5171 Digipot Problem

I'm using an On Semiconductor CAT5171 digipot with the SI2C module and having a strange problem. When I red back the values I write to it, the returned value is half of the value I set. I don't know if the set value is incorrect, or the returned value. I'm reading the register just as a way to deter...
by Jon Chandler
Sat Jan 23, 2016 4:03 pm
Forum: Compiler
Topic: System Error: Working register allocation failure
Replies: 3
Views: 2825

Re: System Error: Working register allocation failure

Thanks David. Let me work with it and see what i can do. The code is 24 printed pages and because of the nature of the problem, i don't think i can post just a snipet that will demonstrate the problem. The block of code causing the issue contains a number of IF/THEN statements nested inside an IF/TH...
by Jon Chandler
Fri Jan 22, 2016 9:06 pm
Forum: Compiler
Topic: System Error: Working register allocation failure
Replies: 3
Views: 2825

System Error: Working register allocation failure

I'm having a strange problem. I'm making some changes to some old code, and I replaced a block of code in the main program loop with some revised code in an existing subroutine. When I attempted to compile it, I got the error: System Error: Working register allocation failure I tried a few things, a...
by Jon Chandler
Tue Sep 22, 2015 11:21 pm
Forum: General
Topic: Taos TSL2561 I2C Light-to-Digital Converter - I2C Question
Replies: 3
Views: 4717

Re: Taos TSL2561 I2C Light-to-Digital Converter - I2C Questi

Thanks for the suggestion Jerry, but no success. It hangs up at some point. I think the difficulty lies in the SMBus "send byte" vs the I2C "write byte" protocols. I'm wondering if I an just shift out the needed bytes to get the chip turned on, then use the more conventional I2C format. I'll keep at...
by Jon Chandler
Tue Sep 22, 2015 1:07 am
Forum: General
Topic: Taos TSL2561 I2C Light-to-Digital Converter - I2C Question
Replies: 3
Views: 4717

Taos TSL2561 I2C Light-to-Digital Converter - I2C Question

Has anyone had any success using this chip with Swordfish? I've used a lot of different I2C chips but this one is somewhat unique. I'm having trouble getting anything from it, and it seems to be related to the command register on page 14 of this data sheet . In I2C chips I used, you have to set up a...
by Jon Chandler
Tue Jun 16, 2015 2:02 pm
Forum: Compiler
Topic: Testing bits of a byte
Replies: 2
Views: 1978

Re: Testing bits of a byte

Thanks Jerry. Just wanted to make sure I wasn't overlooking some simple method!
by Jon Chandler
Mon Jun 15, 2015 9:51 pm
Forum: Compiler
Topic: Testing bits of a byte
Replies: 2
Views: 1978

Testing bits of a byte

I'm reading 8 input pins on an I2C port expander. The data is read out as a byte. I'm testing the status of each bit with 8 IF/THEN statements testing VARIABLE.BITS(n). I should be able to do the same thing with a mask and a logical AND, but it's still 8 IF/THEN statements but this still doesn't see...
by Jon Chandler
Tue Feb 17, 2015 4:22 am
Forum: Modules
Topic: new USB library v1.4.3
Replies: 10
Views: 6829

Re: new USB library v1.4.3

Thank you sir! Appreciate all you've done to help make Swordfish great.
by Jon Chandler
Thu Jan 22, 2015 8:22 pm
Forum: IDE
Topic: IDE Code Explorer settings
Replies: 11
Views: 9620

Re: IDE Code Explorer settings

Thanks David.