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

ADC not repeatable
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
Humberto



Joined: 08 Sep 2003
Posts: 1215
Location: Buenos Aires, La Reina del Plata

View user's profile Send private message

PostPosted: Sun Jun 29, 2008 4:57 pm     Reply with quote

edbfmi1 wrote:
Quote:

I could not get it to debug even a simple program that looked at one input and change one
output. If you analyzed the .lst you would see that the compiler seemed to compile it correctly
but the ICD2 would not follow during the debug process.

Sincerely, it is hard to admit that actually you still have this kind of problems.
I know how painful was with early versions (Compiler, Debuggers, IDE's, MPLAB, etc) to be
compatible each other, but today I could tell you that you have the same risk level working
with the new (actual) set than with the old ones that you are using. I'm not talking of 4.011
version, but of any of the last 4.07x versions or the reliable 3.249 version. You will be aware
that not all the F type MCU's has a built in Debugging apabilities, but most of them already has.

PCM Programmer show you the way to start with. In this forum there is a discusion Section
CCS/ICD
plenty of useful help. I strongly suggest you to try again, you will know by yourself
what I'm talking about regarding the short time to develop a new project.


Humberto
ckielstra



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

View user's profile Send private message

PostPosted: Sun Jun 29, 2008 5:43 pm     Reply with quote

... it's frustrating to spend a lot of time debugging code and finding the development tools to be at error, isn't it?

Quote:
I could not get it to debug even a simple program that looked at one input and change one output. If you analyzed the .lst you would see that the compiler seemed to compile it correctly but the ICD2 would not follow during the debug process.
This sounds like a problem in the interpretation of the symbolic debug file (*.cof), a known problem in the v4.010 you were using before. Maybe in downgrading to v3.249 not everything was removed?

MPLAB also includes firmware updates for the ICD2. What version of MPLAB were you using?

Quote:
I would be very interested to hear your opinions on what a good system would be.
- MPLAB v8.10 (and higher)
- ICD2
- CCS compiler v3.249 or v4.070 (and higher)
- PIC18F chips

I prefer PIC18 over the PIC16 chips because:
- No RAM bank switching limitations (array size in PIC16 is limited to about 96 bytes).
- No read-modify-write problems for the I/O.
- Hardware 8x8 multiplier.
- Easier to store/read constant data from Flash.
- Higher clock frequencies possible.

The only reason why I would use PIC16 and smaller chips is because these are available in smaller pin count packages. The PIC18 chips are slightly more expensive but unless I'm selling thousands of units a year I wouldn't care as this is compensated by faster development and standardizing on fewer processor types.
edbfmi1



Joined: 18 Jul 2006
Posts: 110

View user's profile Send private message

PostPosted: Sun Jun 29, 2008 7:28 pm     Reply with quote

ckielstra and Humberto,

Thank you for the input. I will spend some time on your suggestions tomorrow.
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