CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

RTOS not working?

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
CaFFeiNe
Guest







RTOS not working?
PostPosted: Mon Mar 06, 2006 1:53 pm     Reply with quote

Example code in CCS


Proteus Isis simulation capture


as you see RTOS example code didn't work or I couldn't

do you have any idea?

thanks
treitmey



Joined: 23 Jan 2004
Posts: 1094
Location: Appleton,WI USA

View user's profile Send private message Visit poster's website

PostPosted: Mon Mar 06, 2006 2:04 pm     Reply with quote

I had that example working with a 452 @40MHz outputing to a debug window.
Check your hardware. The RTS/CTS is just hanging there. Is that correct??
ckielstra



Joined: 18 Mar 2004
Posts: 3680
Location: The Netherlands

View user's profile Send private message

PostPosted: Mon Mar 06, 2006 5:44 pm     Reply with quote

I don't see settings for the fuse settings. Add at the minimum:
Code:
#fuses HS, NOLVP, NOWDT
kel



Joined: 17 Oct 2005
Posts: 68
Location: Brisbane

View user's profile Send private message

virtual tool looks kind of cool
PostPosted: Tue Mar 07, 2006 7:06 am     Reply with quote

Is your simulator(virtual tool) free.if it's could you please post the link for downloading.I kind of like.. Shocked
KenMacfarlane



Joined: 20 Sep 2005
Posts: 23
Location: Glasgow, Scotland, UK

View user's profile Send private message

Proteus doesn't support source level debug for CCS C
PostPosted: Tue Mar 07, 2006 11:38 am     Reply with quote

From the Proteus website, on supported compilers...

the limitations of the COD symbolic debug data format mean that the VSM debugging support for this product is limited to stepping through the machine code and watching specific memory locations. Source level stepping and variable display are not supported.

Pity...the environment looks really cool!

Perhaps that's why you can't run the RTOS -how do you run single tasking code?
Guest








PostPosted: Tue Mar 07, 2006 2:07 pm     Reply with quote

ckielstra wrote:
I don't see settings for the fuse settings. Add at the minimum:
Code:
#fuses HS, NOLVP, NOWDT


I did this but still it doesn't work

anybody work this example?

(sorry for my english)
CaFFeiNe
Guest







PostPosted: Tue Mar 07, 2006 2:08 pm     Reply with quote

Anonymous wrote:
ckielstra wrote:
I don't see settings for the fuse settings. Add at the minimum:
Code:
#fuses HS, NOLVP, NOWDT


I did this but still it doesn't work

anybody work this example?

(sorry for my english)
rberek



Joined: 10 Jan 2005
Posts: 207
Location: Ottawa, Canada

View user's profile Send private message

PostPosted: Tue Mar 07, 2006 2:19 pm     Reply with quote

The Proteus environment still works really well for CCS compiled code. I use it all the time. Writing the code in MPLAB C18 will give you more debugging capability, but I've designed some small boards with it and done all the simulation with CCS, and caught alot of bugs. The boards pretty much work right the first time.

And for kel's benefit, it is not free.
_________________
The difference between genius and stupidity is that genius has its limits...
ckielstra



Joined: 18 Mar 2004
Posts: 3680
Location: The Netherlands

View user's profile Send private message

PostPosted: Tue Mar 07, 2006 3:12 pm     Reply with quote

Anonymous wrote:
ckielstra wrote:
I don't see settings for the fuse settings. Add at the minimum:
Code:
#fuses HS, NOLVP, NOWDT


I did this but still it doesn't work

anybody work this example?
Without these fuses your clock wasn't running, which makes me wonder ... Is this the first program you are running on this board?
Have you tried a simple application, for example just blinking a led?

The PIC18F452 has no internal oscillator, but in your schematic I don't see anything connected to pin 13 and/or 14.... ???
CaFFeiNe
Guest







PostPosted: Wed Mar 08, 2006 11:43 am     Reply with quote

is there anybody have a working example for RTOS in CCS ?

if you have, could you upload to rapid please?

thanks
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed Mar 08, 2006 1:10 pm     Reply with quote

Quote:
Is there anybody have a working example for RTOS in CCS ?

One reason for limited responses is that CCS only gives the RTOS
to people who buy PCW or PCWH. They don't give it with the
command line compilers such as PCM or PCH. You get the example
files with those compilers, but the #use RTOS() statement gives a
compiler error if you try to use it.

So you're limited to a smaller number of people who can reply to
your questions.
Guest








PostPosted: Mon Jun 19, 2006 3:16 pm     Reply with quote

I have the same problem with RTOS and proteus....

If someone have the solution for it, please let me know
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group