Searching \ for '[SX] Forgot to reset RTCC in Interrupt causes big' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: massmind.org/techref/ubicom/sxints.htm?key=interrupt
Search entire site for: 'Forgot to reset RTCC in Interrupt causes big'.

Exact match. Not showing close matches.
PICList Thread
'[SX] Forgot to reset RTCC in Interrupt causes big '
2005\09\18@190823 by oliverbn/a

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

Hello Everyone,
I was using the SXSIM for developing code to support my current book and forgot to reset RTCC in a timer interrupt. SXSIM went bannas and sucked up almost 97% of the CPU on my XP box. Even the task manager couldn't shut it down so I had to kill the process. That's a great educational tool in making old guys like me remember. Once I fixed resetting the RTCC value everyone worked as it should. I did get te error that RTCC overflowed but by that time it was not possible to use the quit key or close box. Ijust thought I would share that experience. Even with that SXSIM is a great tool.

Regards,
Oliver H. Bailey
---------- End of Message ----------

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

2005\09\19@030214 by g_daubachn/a

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

Oliver,
thanks for your information about your problem with SXSim. I'll try to reproduce this problem, and fix it in the next version.

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

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

2005\09\19@064034 by beann/a

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

Oliver & Günther,
 I had a similar problem when I set RTCC wrong, but on my computer SXSIM just quit.
Bean.

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

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

2005\09\19@085722 by oliverbn/a

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

Hi Gunther and Bean,
Bean is right the simulatror will quit depending on how large the overflow is. By the way Gunther, I was able to run a program created with CCS Scenix C in the simulator even though there was no org statement. The IO panel also worked. I cannot however get the SXKey 3.1 to download the hex or lst file to the device. (Ken, are you listening?). Gunther, if you have any problems re-creating the problem I'll email you the file(s).

Regards,
Oliver
---------- End of Message ----------

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

2005\09\19@090625 by PJMontyn/a

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

Oliver,
So, you compiled a program with CCS and it made a hex or lst file which the IDe had a problem with, or did you load the source it made and the IDE assembled it and couldn't get the file to the device?

[list]Thanks,
PeterM[/list]
---------- End of Message ----------

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

2005\09\19@093301 by oliverbn/a

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

Hi PJ,
I was able to load the lst file into the SXSIM and run it. I can't the IDE to allow me to download the hex file as it want's source code in either assembler or SX/B. I looked for the information to pass the hex file down via the SX-Key as I am told this use to work but the SX-Key 3.1 won't hear of it. Without the protocol or the ability to download a non-parallax generated hex file I am really struck. Any ideas on where the protocol information is to allow a hex file to be downladed?

regards,
Oliver H. Bailey
---------- End of Message ----------

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

2005\09\19@094238 by Peter Van der Zeen/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Peter Van der Zee wrote:

Hi Guys;
My experience with the CCS compiler (version 3.223) is that it is incompatible with the current SX IDE. There are some funny work-arounds with manually loading a hex file that finally let you get it sort-of working. It has some better compatibility with older version IDE's, but certainly not full.

See the posts in this forum by krudko of 9/13/2004 regarding this issue........ there has been no improvement by CCS in the last year.

Help requests simply responded by "go talk to Parallax".  Great!

It truly is a super buggy compiler that is intended for a PIC, and does not compile well onto an SX platform. I'd LOVE to send it to PJ to see if he would know how to make the IDE compatible, but for the few (dozen?) or so out there it's probably not worth it.

Just my obsevations on how to throw a few hundred dollars down the drain.

Peter (pjv)
---------- End of Message ----------

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

2005\09\19@105926 by oliverbn/a
flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, oliverb wrote:

Thanks for your opinion of CCS SX-C. While your right about bugs this particular project stayed away from them. I spoke with CCS and they are now aware their compiler will no longer generate code that can be downloaded via the SX Key. I like Parallax products and love using them in my books but after 30 years of development C is still the language I use the most when programming Microcontrollers. I like SX/B and believe it will evolve into a very nice langauge. in the meantime however I also believe that someone needs to provide tighter integration for outside langauge compilers even if only to allow a hex file to be downloaded. There are just things that can be done much quicker in C than in SX/B. I like to buy rubber tires for my car rather than carving wheels out of stone. being able to download a hex file is not only a reasonable request but expands the usefulness of the IDE. I've seen several posts that eluded to better command line support but none of them seem to have reached fulfillment yet. Those are my only views on the subject. I certainly like Parallax products and would like to see them reach maximum success in the market.

Regards,
Oliver Bailey
---------- End of Message ----------

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

2005\09\19@130354 by Peter Van der Zeen/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Peter Van der Zee wrote:

Hi Oliver;
Good luck on having CCS do anything about the incompatibility. Over one year of whining, I see no significant improvement so far. One just gets tired of it. You'll be a much better man than I am if you succeed at that.

But of course one can load a CCS compiled hex file via the IDE "LOAD HEX" button under the DEVICE command. Just be ware of the results the compiler provides....LOTS of bugs.

I reiterate that while C may be your language of choice, with this particular compiler, it is totally inappropriate for doing anything but the most rudimentary work in an SX 28, although the SX 48/52 fares somewhat better. And if the work is rudimentary, then who needs C?

With anything substantial, especially if FP math is involved, it is next to useless.

Just my rather biased opinion.....

Cheers,
Peter (pjv)
---------- End of Message ----------

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

2005\09\20@101852 by oliverbn/a

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

Some final thoughts on this topic!
I have had several careers in my life starting as a mold designer, moldmaker, software engineer, electronics engineer and even some chemical engineering and metallurgy are thrown in. Sadly, my views got corrupted (from an engineering view) when I went into engineering management and senior engineering menagement. From a management view I got enlightened, from an engineering view corrupted. The fact is I added a new view to engineering. Having come from mechanical enginnering disiplines was the best background I could have hoped for when moving into software and electronics. It allowed me to apply self-displine to an abstract form of engineering. In short it eliminated the ned for UML diagrams because they are simplified blueprints in the mechanical field (and very high level blueprints at that). I use Parallax products in my writings for several reason but the biggest two are 1) Reliability - If they sell it, it works or they fix it no questions, and 2) Support. (The electronics industry would be much better off using Parallax support as a benchmark). As a businessman I think the SX chips have years of life in them supplementing the microcontroller industry. They are simply so fast they allow things to be done in firmware that few other processors can do in hardware. My first introduction to Scenix was in developing caller ID devices for the telephony industry over 10 years ago. I hear of lot of comments from people (as an author) about specific langugaes and companies that make those languages. Having written compilers in my early days in the industry (which go back to the TRS-80 Model I), I can say first hand that compiler writing is no easy task. It takes a special person, with a special view, and a love of assembly and machine language to write, maintain, and maintain a working compiler. I think SX Basic will evolve into a very useful tool. But I also believe that for a seasoned chip such as the SX a good C compiler is a must just to maintain market share of the hardware. Guys, I can write a C program in 1/10 the time I can write it in Assembler. SX/B is in the early stages of development. It will take time for it to evolve because proper evolution takes time. Prior experience leads to future success and that is very true in compilers when writing the next generation. A good compiler author knows that the IDE, Assembler, and even the economy of tight code generation make a successful product. I personally believe that a strongly supported and used C compiler for the SX will increase the number of chips sold and actually promote the SX/B compiler as well. SX/B appears to be, from my expereince a very quick route to writing assembler using BASIC syntax. Who could ask for more. Those are my closing thoughts and comments on this thread I started a couple days ago.

Regards,
Oliver H. Bailey
---------- End of Message ----------

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

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