Problem with pTiny828.dsc file

Alvin
Benutzer
Avatar
Geschlecht: keine Angabe
Alter: 55
Beiträge: 2
Dabei seit: 02 / 2024
Betreff:

Problem with pTiny828.dsc file

 · 
Gepostet: 21.11.2024 - 10:10 Uhr  ·  #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
Der an diesem Beitrag angefügte Anhang ist entweder nur im eingeloggten Zustand sichtbar oder die Berechtigung Deiner Benutzergruppe ist nicht ausreichend.
Merlin
Administrator
Avatar
Geschlecht:
Alter: 25
Beiträge: 1474
Dabei seit: 03 / 2005
Betreff:

Re: Problem with pTiny828.dsc file

 · 
Gepostet: 21.11.2024 - 13:07 Uhr  ·  #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
Geschlecht:
Alter: 25
Beiträge: 1474
Dabei seit: 03 / 2005
Betreff:

Re: Problem with pTiny828.dsc file

 · 
Gepostet: 21.11.2024 - 16:32 Uhr  ·  #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.
Der an diesem Beitrag angefügte Anhang ist entweder nur im eingeloggten Zustand sichtbar oder die Berechtigung Deiner Benutzergruppe ist nicht ausreichend.
Gewählte Zitate für Mehrfachzitierung:   0

Registrierte in diesem Topic

Aktuell kein registrierter in diesem Bereich

Die Statistik zeigt, wer in den letzten 5 Minuten online war. Erneuerung alle 90 Sekunden.
MySQL Queries: 15 · Cache Hits: 14   64   78 · Page-Gen-Time: 0.029603s · Speichernutzung: 2 MB · GZIP: ein · Viewport: SMXL-HiDPI