URL:
  <http://savannah.nongnu.org/bugs/?44150>

                 Summary: special pipe register doesnt work below 0x20
                 Project: Simulavr: an AVR simulator
            Submitted by: None
            Submitted on: Sun 01 Feb 2015 05:13:41 PM UTC
                Category: Simulation
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: ralphdoncas...@gmail.com
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: simulavr

    _______________________________________________________

Details:

Special pipe registers don't work for addresses 0x00-0x1f.

I modified fred.c:
#define special_output_port (*( (volatile char *)0x18))
#define special_input_port  (*( (volatile char *)0x19))

I compiled/linked fred.elf, and ran simulavr:
simulavr --device atmega328 -f fred.elf -W 0x18,- -R 0x19,- -T exit
Invalid read access to RWWriteToFile register.






    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?44150>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/


_______________________________________________
Simulavr-devel mailing list
Simulavr-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/simulavr-devel

Reply via email to