Problem in codevision avr

Go To Last Post
23 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

hi all

i have almost completed with my project in codevision avr. I want to add some menu in my code. so i added some more code. but after that when i compile the code i am getting compression table overflow error. I dont know know what problem it is. can anyone please help?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Could you post the exact output of the compiler please?

Hope I can help,
Mike
My Robotics/AVR Blog

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

An interesting post (and response) for the GCC forum. ;)

Lee

You can put lipstick on a pig, but it is still a pig.

I've never met a pig I didn't like, as long as you have some salt and pepper.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Raja wrote:
hi all

i have almost completed with my project in codevision avr. I want to add some menu in my code. so i added some more code. but after that when i compile the code i am getting compression table overflow error. I dont know know what problem it is. can anyone please help?

First off, you should post this question in the 'AVR forum'

I really do not want to see generated ASM. You need to post the C code.

However please make your C code neat and tidy first. If you can reduce the program down to a minimal example that exhibits your problem, please do so. n.b. if you have printf() statements, you need to change the % strings that upset the forum software.

I would guess that it is a simple syntax error. But if not, there is probably a way around it.

If it turns out to be a CodeVision problem, ask HPInfotech. They fix bugs very swiftly.

David.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I'm a daily CV user, and have never seen "compression table overflow". As noted, please post a screen shot or the exact text of what you are getting.

Interestingly, there is only one Google hit on "compression table overflow" phrase besides this thread.

You can put lipstick on a pig, but it is still a pig.

I've never met a pig I didn't like, as long as you have some salt and pepper.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:
I'm a daily CV user, and have never seen "compression table overflow".
find "Compression" cvavr.exe

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:

find "Compression" cvavr.exe


??? I'm lost. I used WinHEX on CVAVR.EXE and cannot find "compression" nor any other strings such as "syntax". So I don't know where that might be stored.

You can put lipstick on a pig, but it is still a pig.

I've never met a pig I didn't like, as long as you have some salt and pepper.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:
I used WinHEX on CVAVR.EXE and cannot find "compression"
The one that I found was in 1.25.7a.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Lee,

I tried two different routes to the same thing after that suggestion. Apart from a few recognisable strings at the end there is no ASCII in the .exe which makes me thing it's compressed. (ironic really)

Cliff

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I am attaching the screenshot for the problem, please someone help

Attachment(s): 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

You've still got the problem after 3 month? Why on earth didn't you contact Pavel at HPinfotech ?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Actually the problem was not solved at that time by changing anything in the code....I updated codevisionavr and the problem was solved at that time... But now i am getting the problem again

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

So time to contact Pavel now I guess?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:
But now i am getting the problem again
Then you really need to tell the authors of the compiler as it's clearly a bug in their software, not yours.

--greg
Still learning, don't shout at me, educate me.
Starting the fire is easy; the hardest part is learning how to keep the flame!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Is this the evaluation version of CVAVR?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

From your screenshot, it looks as if you are #including several C files.

You need to compile each C file separately. It makes for a far better, faster, more maintainable project.

There are tutorials on this site that show you how to write C files and H files.

All the same, the Compiler should be quite capable of compiling a large single file. You need to ask Pavel at HPInfotech.

David.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:

Is this the evaluation version of CVAVR?

Does it matter?

I'm sure Pavel will love to hear about any bugs to fix, be they in the evaluation version or in a full-fledged paid for version.

And let's not beat around the bush: All the posts above are trying to figure out if this is a pirated full-fledged version. Since Raja hasn't reacted in any way to the hints about contacting the compiler maker/vendor, the odds are going up that his copy of CodeVisionAVR is pirated/stolen.

You are free to correct us if we are wrong, Raja.

As of January 15, 2018, Site fix-up work has begun! Now do your part and report any bugs or deficiencies here

No guarantees, but if we don't report problems they won't get much of  a chance to be fixed! Details/discussions at link given just above.

 

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:
Is this the evaluation version of CVAVR?
Because that's restricted to 3k ?

--greg
Still learning, don't shout at me, educate me.
Starting the fire is easy; the hardest part is learning how to keep the flame!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:

All the posts above are trying to figure out if this is a pirated full-fledged version.

Incredible. How did you manage to spot my subterfuge? ;-)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I guess I was just lucky.. :wink:

By asking a direct question, rather than tossing insinuations, I am hoping to get an honest answer out of the OP.

If it is a pirate copy I guess he has already figured out that he in such a case will get no help from us here, and we will most likely never hear from him again.

As of January 15, 2018, Site fix-up work has begun! Now do your part and report any bugs or deficiencies here

No guarantees, but if we don't report problems they won't get much of  a chance to be fixed! Details/discussions at link given just above.

 

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

MartinM57 wrote:
Is this the evaluation version of CVAVR?
British reserve forbade asking the real question of course - but nice to see that others can see what's between the line, including maybe the OP ;)

However, there's nothing more that I'd like to see other than OP coming back and telling us it's the eval version or a fully licenced commercial version, and then we can all get on famously...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks everyone for your support, I have mailed to office@hpinfotech.ro about the problem. Once I get the reply will give the details

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Raja wrote:
Thanks everyone for your support, I have mailed to .... about the problem. Once I get the reply will give the details

Well, so far we have not received your e-mail.
This table overflow can occur only for huge projects, so you are clearly using a commercial version of the compiler. If you are a licensed user, we can supply you a prerelease of V2.05.1 where the size of the compression table was increased.