Recent

Author Topic: Qemu now support AVR  (Read 2632 times)

ccrause

  • Hero Member
  • *****
  • Posts: 845
Qemu now support AVR
« on: July 21, 2020, 01:19:44 pm »
An interesting new option for debugging or emulating AVR code: https://www.qemu.org/docs/master/system/target-avr.html

Only USART and timer hardware support, but still could be quite useful.

Mathias

  • Jr. Member
  • **
  • Posts: 88
Re: Qemu now support AVR
« Reply #1 on: July 22, 2020, 03:28:08 pm »
The installation is certainly very complicated.
The following systems are also supported.

x86 (PC)
PowerPC
Sparc32
Sparc64
MIPS
poor
ColdFire
Xtensa
s390x
RX
AVR


d.ioannidis

  • Full Member
  • ***
  • Posts: 221
    • Nephelae
Re: Qemu now support AVR
« Reply #2 on: July 22, 2020, 03:42:35 pm »
Hi,

An interesting new option for debugging or emulating AVR code: https://www.qemu.org/docs/master/system/target-avr.html

Only USART and timer hardware support, but still could be quite useful.

Nice !

Thanks for the heads up.

regards,

PascalDragon

  • Hero Member
  • *****
  • Posts: 5448
  • Compiler Developer
Re: Qemu now support AVR
« Reply #3 on: July 23, 2020, 09:47:57 am »
The installation is certainly very complicated.

What do you mean? On Windows it's just an installer and on Linux it's usually part of the package system.

The following systems are also supported.

QEMU definitely supports many systems and is a huge help when working on the compiler on other CPUs as it's user space emulation on Linux allows to run executables of a different CPU directly on my x86 system and it even works inside WSL. :D

lucamar

  • Hero Member
  • *****
  • Posts: 4219
Re: Qemu now support AVR
« Reply #4 on: July 23, 2020, 09:58:10 am »
The installation is certainly very complicated.

What do you mean? On Windows it's just an installer and on Linux it's usually part of the package system.

The installation of QEmu is certainly a snap but, and he probably means this, the setup of a virtual machine can be rather daunting at first, what with all those options which one is never quite sure what will they do.

Fortunately, there are quite a lot of GUI "launchers" that allow you to define a machine almost as easily as one does with, say, VirtualBox. Google for "qemu launcher" or "qemu gui" and you'll find tons of them.
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus/FPC 2.0.8/3.0.4 & 2.0.12/3.2.0 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

Thaddy

  • Hero Member
  • *****
  • Posts: 14214
  • Probably until I exterminate Putin.
Re: Qemu now support AVR
« Reply #5 on: July 23, 2020, 10:05:37 am »
QEMU definitely supports many systems and is a huge help when working on the compiler on other CPUs as it's user space emulation on Linux allows to run executables of a different CPU directly on my x86 system and it even works inside WSL. :D
In Golf that would be a triple bogey. But indeed Qemu is a rather handy tool in the box.
Specialize a type, not a var.

 

TinyPortal © 2005-2018