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 CCS Technical Support

fprintf cause interrupts to be disabled
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Wayne_



Joined: 10 Oct 2007
Posts: 681

View user's profile Send private message

PostPosted: Thu Nov 13, 2008 10:46 am     Reply with quote

OK, so the compiler isn't actually saying it is disabling interrupts yet your first post says interrupts are disabled!

You say this because your interrupt does not trigger, apparently during the fprintf statement!

As you have pointed out you are using v3, does v3 actualy disable interrupts without a warning ?

There are other reasons why an interrupt would not trigger, Already processing an interrupt, The trigger for your int did not actually fire!

Also in your first post you specify that this happens with 32bit ints, have you tried with 16 bit ints and if it works ok have you tried increasing the number of parameters in the printf statement ?
EdWaugh



Joined: 07 Dec 2004
Posts: 127
Location: Southampton, UK

View user's profile Send private message

Making a second instance of fprintf
PostPosted: Thu Nov 27, 2008 10:57 am     Reply with quote

Hi all,

Just to follow up on this thread, could anyone explain to me the best way to create a second instance of fprintf as Ttelmah mentions? I expect to need to call it within interrupts as well as at low-priority as I run three tiers of priority using the high interrupt and the middle tier is often slowish processing.

thanks

ed
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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