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

Search found 14 matches
CCS Forum Index
Author Message
  Topic: pic18f883 behaves strange with its I/O pins
Mogge

Replies: 8
Views: 7346

PostForum: General CCS C Discussion   Posted: Mon Oct 15, 2007 3:09 am   Subject: pic18f883 behaves strange with its I/O pins
The change is observed on the exact same board idividual, and also replicated ona a separate board with another PIC, that have only two leds connected to the PIC, and that with 1k resistors in series. ...
  Topic: pic18f883 behaves strange with its I/O pins
Mogge

Replies: 8
Views: 7346

PostForum: General CCS C Discussion   Posted: Sun Oct 14, 2007 1:51 pm   Subject: pic18f883 behaves strange with its I/O pins
I still don't get why the exact same unmodified circuit board worked before but not after later changes in other part of code. (and with later compiler version)

But we will change to use port buffe ...
  Topic: pic18f883 behaves strange with its I/O pins
Mogge

Replies: 8
Views: 7346

PostForum: General CCS C Discussion   Posted: Thu Oct 11, 2007 6:08 am   Subject: pic18f883 behaves strange with its I/O pins
Good shot.

But no; when initiated that pin is an output only, and drives a indicator LED locally. There is no chance anything could back-drive that pin hard enough.

Weird; it worked when laste ...
  Topic: CCS compiler if-statement problem
Mogge

Replies: 26
Views: 23241

PostForum: General CCS C Discussion   Posted: Tue Sep 11, 2007 10:09 am   Subject: CCS compiler if-statement problem
It does seem pretty clear to us now, that there is some bug in the interrupt system in this chip :(

http://forum.microchip.com/tm.aspx?m=280401&mpage=3
  Topic: PIC18F66J15 has interrupt errata?
Mogge

Replies: 3
Views: 3627

PostForum: General CCS C Discussion   Posted: Tue Sep 11, 2007 10:02 am   Subject: PIC18F66J15 has interrupt errata?
After much more work....
I think there are at least one more undocumented bug :(

http://forum.microchip.com/tm.aspx?m=280401&mpage=3
  Topic: EXT_INT3 interrupt always placed as high priority?
Mogge

Replies: 8
Views: 9448

PostForum: General CCS C Discussion   Posted: Mon Aug 27, 2007 3:15 pm   Subject: EXT_INT3 interrupt always placed as high priority?
Thanks Ttelmah

We still have not found the cause to the problem.

We are intending rewrite to C18, which is not easy.
Even if the problem is not caused by CCS compiler, the rewrite might make us ...
  Topic: PIC18F66J15 has interrupt errata?
Mogge

Replies: 3
Views: 3627

PostForum: General CCS C Discussion   Posted: Mon Aug 27, 2007 3:09 pm   Subject: PIC18F66J15 has interrupt errata?
Thanks.

Theese are the same we use.

(I am the hardware guy on that project)
  Topic: CCS 3.249 producing erroneous interrupt code?
Mogge

Replies: 4
Views: 5319

PostForum: General CCS C Discussion   Posted: Wed Aug 22, 2007 5:23 am   Subject: CCS 3.249 producing erroneous interrupt code?
OK
Thank you for the insight Smile
  Topic: CCS 3.249 producing erroneous interrupt code?
Mogge

Replies: 4
Views: 5319

PostForum: General CCS C Discussion   Posted: Sun Aug 19, 2007 4:00 pm   Subject: CCS 3.249 producing erroneous interrupt code?
This is inside an high pri interrupt routine.

The point is that the used register is not saved before being used here, and not saved afterwards, although it is used elswhere in the program.

Here ...
  Topic: CCS compiler if-statement problem
Mogge

Replies: 26
Views: 23241

PostForum: General CCS C Discussion   Posted: Thu Aug 16, 2007 11:13 am   Subject: CCS compiler if-statement problem
ckielstra, thank you.
We will send the file tomorrow. (the one from the program verison that have problems in that part... )

We now recieved the REAL-ICE debugger, which we will learn and hope to ...
  Topic: two PICs in the same socket fail to start
Mogge

Replies: 4
Views: 4706

PostForum: General CCS C Discussion   Posted: Thu Aug 16, 2007 6:51 am   Subject: two PICs in the same socket fail to start
Well....
In practice this method of stacking the PICs works for us: the "old" PIC executes the same program with the same randomly occouring errors as before, and flipping the switch we se ...
  Topic: CCS compiler if-statement problem
Mogge

Replies: 26
Views: 23241

PostForum: General CCS C Discussion   Posted: Wed Aug 15, 2007 7:03 am   Subject: CCS compiler if-statement problem
To get back to our problemthe thread is really about:
We experience if-statements giong wrong, and functions returning impossible values, but they are OK inside the function.
We are anxiously waiong ...
  Topic: two PICs in the same socket fail to start
Mogge

Replies: 4
Views: 4706

PostForum: General CCS C Discussion   Posted: Tue Aug 14, 2007 6:28 am   Subject: two PICs in the same socket fail to start
Hi

I am the hardware guy in this project where zilog is programmer.

Yes your idea, Ttelmah, to clock one PIC from another would work if it was not for the fact that the oscillator in xtal mode d ...
  Topic: CCS compiler if-statement problem
Mogge

Replies: 26
Views: 23241

PostForum: General CCS C Discussion   Posted: Mon Aug 13, 2007 3:58 pm   Subject: CCS compiler if-statement problem
kevcon, what optimization level did you use?

Here is an example of unnecessary bankswitching:
http://www.ccsinfo.com/forum/viewtopic.php?p=84772#84772
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group