[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Testing a microcontroller emulation by loading the binary on incompl
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: Testing a microcontroller emulation by loading the binary on incomplete Flash emulation |
Date: |
Tue, 24 Aug 2021 10:22:35 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 |
On 8/23/21 9:46 PM, Gautam Bhat wrote:
> On Sun, Aug 22, 2021 at 10:18 PM Peter Maydell <peter.maydell@linaro.org>
> wrote:
>> 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
Aren't Nascent uC based on 8051? Because AFAIK QEMU doesn't emulate
this architecture.
>>> 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
>
> Thanks. I will check it out.
>
- 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, 2021/08/22
- 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