Problem with pTiny828.dsc file

Alvin
Benutzer
Avatar
Gender: n/a
Age: 54
Posts: 2
Registered: 02 / 2024
Subject:

Problem with pTiny828.dsc file

 · 
Posted: 21.11.2024 - 10:10  ·  #1
Hello
I have a project that uses the ATTiny828. This is an old project, that recently I had to update to fix a bug in it. However, when I compile this project, I receive the error: Error: C:\program files (x86)\avrco\avrco\PTINY828.dsc "ubbrl" not complete/correct defined
I have attached the descriptor file. As you can see, ubrrl does exist in this file, "ubrrl=$C4".
Just in case it was a problem with the latest version of E-Lab, I uninstalled it and installed the version I used to create the original project, with the same result. I even created a blank Tiny828 project with the same result.
What is puzzling me the most is that this is an old project, and I previously had no problems with it. Now I am having problems, but cannot see what is causing that problem.

Any ideas?

Thank you
Attachments
Filename: pTiny828.dsc
Filesize: 3.92 KB
Title:
Download counter: 61
Merlin
Administrator
Avatar
Gender:
Age: 25
Posts: 1419
Registered: 03 / 2005
Subject:

Re: Problem with pTiny828.dsc file

 · 
Posted: 21.11.2024 - 13:07  ·  #2
Hi Alvin.

Can you let me have your project via pm and I will check it out.

(The blank one will do)
Merlin
Administrator
Avatar
Gender:
Age: 25
Posts: 1419
Registered: 03 / 2005
Subject:

Re: Problem with pTiny828.dsc file

 · 
Posted: 21.11.2024 - 16:32  ·  #3
Hi Alvin.

It is a bit confusing. In some font number 1 and letter l look the same, so I will use capitals to avoid confusion.

The message is saying UBRR1 (number 1) is not completely defined. The DSC file has UBRRL (letter L) defined. So in that sense the message is correct.

But it is difficult to know whether the DSC file is wrong or the compiler is wrong, because there is also a UBRRH so logically the compiler is wrong and the DSC file is correct. But I don't know whether some DSC files use UBBR1 (number 1). So the safest work around is to define both UBRR1 and UBRRL as $C4.

In the next release I will change the compiler to accept either form, but in the meantime a new DSC file with my suggested work-around is attached.
Attachments
Filename: pTiny828.dsc
Filesize: 3.93 KB
Title:
Download counter: 52
Selected quotes for multi-quoting:   0

Registered users in this topic

Currently no registered users in this section

The statistic shows who was online during the last 5 minutes. Updated every 90 seconds.
MySQL Queries: 17 · Cache Hits: 15   65   80 · Page-Gen-Time: 0.020717s · Memory Usage: 2 MB · GZIP: on · Viewport: SMXL-HiDPI