[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Testing a microcontroller emulation by loading the binary on incompl
From: |
Peter Maydell |
Subject: |
Re: Testing a microcontroller emulation by loading the binary on incomplete Flash emulation |
Date: |
Sun, 22 Aug 2021 17:47:46 +0100 |
On Sun, 22 Aug 2021 at 15:37, Gautam Bhat <mindentropy@gmail.com> wrote:
>
> Hi,
>
> I am to implement a very simple microcontroller for my understanding
> of Qemu development. This microcontroller runs its code from
> programmable flash which is bit-, byte- and word addressable. To do
> some initial tests of my nascent microcontroller implementation I
> would like to load a very simple program binary. Is there a way to
> load this binary and start execution without emulating Flash
> controller and memory?
Just create a plain old RAM memory region, and then load the
guest binary into it with the 'generic loader' (which can
take an ELF file or a raw binary).
-- PMM
- Testing a microcontroller emulation by loading the binary on incomplete Flash emulation, Gautam Bhat, 2021/08/22
- Re: Testing a microcontroller emulation by loading the binary on incomplete Flash emulation,
Peter Maydell <=
- Re: Testing a microcontroller emulation by loading the binary on incomplete Flash emulation, Gautam Bhat, 2021/08/23
- Re: Testing a microcontroller emulation by loading the binary on incomplete Flash emulation, Gautam Bhat, 2021/08/25
- Re: Testing a microcontroller emulation by loading the binary on incomplete Flash emulation, Peter Maydell, 2021/08/25
- Re: Testing a microcontroller emulation by loading the binary on incomplete Flash emulation, Gautam Bhat, 2021/08/26
- Re: Testing a microcontroller emulation by loading the binary on incomplete Flash emulation, Peter Maydell, 2021/08/26
- Re: Testing a microcontroller emulation by loading the binary on incomplete Flash emulation, Gautam Bhat, 2021/08/29
- Re: Testing a microcontroller emulation by loading the binary on incomplete Flash emulation, Philippe Mathieu-Daudé, 2021/08/29