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

Problem with v3.186 ?

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



Joined: 12 Sep 2003
Posts: 32
Location: France (Paris)

View user's profile Send private message

Problem with v3.186 ?
PostPosted: Fri Feb 27, 2004 7:21 am     Reply with quote

Hello,
I have compiled my program with the last version 3.186 and it does not run fine (I have nothing in my LCD display then I can suppose there is a problem with the string array...)

If I compile it with the 3.185, I don't have any problems.
I have no time to search where is the problem.

I am using PIC18F6720

Who have check this last version ??

thank you
Franck
mpfj



Joined: 09 Sep 2003
Posts: 95
Location: UK

View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Fri Feb 27, 2004 8:49 am     Reply with quote

Some of the bugs fixed in 3v186 are to do with tables.

I reported a couple of string / table 3v185 bugs, one of which they didn't fix at all, and the other still doesn't work properly.

Are you using constant strings ?

The easiest thing for you to do is to compile under 3v185 and 3v186 (without changing the source code !!) and find the differences.

You can then post the bits that have changed and someone might be able to help ...

Mark
franckcl



Joined: 12 Sep 2003
Posts: 32
Location: France (Paris)

View user's profile Send private message

PostPosted: Fri Feb 27, 2004 8:59 am     Reply with quote

Yes I am using constant of strings to display messages on the LCD.

const char C_STR[]={
"Aucun archivage !_" "Log is empty !_"\
" (+) (-) (suite)_" " (+) (-) (next)_"\
etc...

If I have time, I will compare the disassembly listing I will post the change, but for the moment, I use 3.185

Franck
schmobol
Guest







Same problem with v186
PostPosted: Fri Feb 27, 2004 12:59 pm     Reply with quote

Hi Franckcl,

Although I'm French as well, I'll write in english for the rest of the forum. I have the same problem than you. One of my software task is to drive a LCD display. I have a huge amount of Const data stored in Flash (it implies table reads greater than 256 bytes). My software runs with v 3.185 but not with 3.186 but this time I don't have time to track down the problem.

I have heard, in this forum, about an other table read bug in v3.186. It might be related.

I'll try v3.187 ASAP, but in the meantime I'll keep on compiling with v3.185
regan



Joined: 10 Sep 2003
Posts: 5
Location: Wellington, New Zealand

View user's profile Send private message Send e-mail

Bug in 3.186
PostPosted: Sat Feb 28, 2004 8:33 pm     Reply with quote

Your code might be suffering from the same thing that mine is.

I've posted a bug report with CSS rearding a relative addressing error in 3.186.

In some places the instructions BC (Branch if Carry) and BNC (Branch if No Carry) have been used to replace two instructions that test the Carry flag before executing an absolute GOTO. In theory, this should be fine, but if the relative address crosses a 1K boundary, the compiler miscalculates the address. You can verify this by looking through your LST file and checking for BC or BNC instructions.

hope this helps,

Regan.
wedilo



Joined: 16 Sep 2003
Posts: 71
Location: Moers, Germany

View user's profile Send private message

PostPosted: Tue Mar 02, 2004 1:41 am     Reply with quote

Hello folks,
Arrrrrrgggh I can't believe it. I delete the instal version of v3.185 by mistake. Evil or Very Mad
Is there someone who know how I can download older versions on CCS website?

Thanks for any help

73 Sven
agrj



Joined: 26 Sep 2003
Posts: 48

View user's profile Send private message

PostPosted: Tue Mar 02, 2004 6:16 am     Reply with quote

Hi,

I have it here. send me your e-mail and I send you the file.

Dinho
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