avra generates incorrect code on the ATmega88

Bug #124472 reported by Michael Buesch on 2007-07-06
2
Affects Status Importance Assigned to Milestone
avra (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: avra

The avra Atmel AVR Assembler generates incorrect code for the ATMega88.
It starts the .dseg segment at 0x60, which is incorrect for the m88. On the m88 the SRAM starts at 0x100.
So to workaround the issue, one can add the following dummy code to the beginning of the sourcecode file:

.dseg
  STUPID_AVRA_BUG: .byte 0xA0

This will skip the first 0xA0 bytes.

Nevertheless, the shipped version on ubuntu (1.0.1) is _damn_ old. Latest version available is 1.2.2.
The bug may be fixed there. I didn't check that, yet.

Michael Buesch (mb-bu3sch) wrote :

I just verified that the bug is fixed on latest avra-1.2.2.
So I'd suggest to update the ubuntu avra version.

William Grant (wgrant) wrote :

Ubuntu Gutsy has 1.2.1. It's probably fixed in that version. Are you able to check?

Changed in avra:
status: New → Incomplete
Michael Buesch (mb-bu3sch) wrote :

I can't upgrade a machine, but is it possible to get the sources of avra-1.2.1 from Gutsy, so I can compile it here and test?

William Grant (wgrant) wrote :

Grab and install http://ppa.dogfood.launchpad.net/fujitsu/ubuntu/pool/main/a/avra/avra_1.2.1-1~feisty1~ppa1_i386.deb (or the amd64 one if appropriate). It's the Gutsy source backported to Feisty.

Launchpad Janitor (janitor) wrote :

[Expired for avra (Ubuntu) because there has been no activity for 60 days.]

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers