[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Trying to execute code outside RAM or ROM at 0x08000230
From: |
Liviu Ionescu |
Subject: |
Re: [Qemu-devel] Trying to execute code outside RAM or ROM at 0x08000230 |
Date: |
Sun, 7 Jun 2015 01:57:40 +0300 |
> On 07 Jun 2015, at 01:11, Peter Maydell <address@hidden> wrote:
>
> ...
> So, there's two odd things here:
> (1) why ... a chunk ...
> (2) ... size in bytes ... flash_size_kb is what the name suggests, you're
> trying to map a region that's a lot smaller than you want.
right, this was a bug in my code.
the two sequences are not in the same file, the first part is in the
cortexm-mcu object and the second one is in stm32-mcu, which is the base for
actual stm32xx mcus, and it was more difficult to see the difference; thank you
for spotting it.
> (The second one is probably the actual problem here.)
yes, the message went away, but there must be another problem, since execution
stops with a HardFault right at address 0x0.
I'll try to debug it separately.
> One handy debugging tool for tracking down this kind of thing is to
> use the QEMU monitor's "info mtree" command,
ok, thank you for the hint.
regards,
Liviu
- [Qemu-devel] Trying to execute code outside RAM or ROM at 0x08000230, Liviu Ionescu, 2015/06/06
- Re: [Qemu-devel] Trying to execute code outside RAM or ROM at 0x08000230, Peter Maydell, 2015/06/06
- Re: [Qemu-devel] Trying to execute code outside RAM or ROM at 0x08000230,
Liviu Ionescu <=
- Re: [Qemu-devel] Trying to execute code outside RAM or ROM at 0x08000230, Liviu Ionescu, 2015/06/08
- Re: [Qemu-devel] Trying to execute code outside RAM or ROM at 0x08000230, Peter Maydell, 2015/06/08
- Re: [Qemu-devel] Trying to execute code outside RAM or ROM at 0x08000230, Liviu Ionescu, 2015/06/08
- Re: [Qemu-devel] Trying to execute code outside RAM or ROM at 0x08000230, Peter Maydell, 2015/06/08
- Re: [Qemu-devel] Trying to execute code outside RAM or ROM at 0x08000230, Liviu Ionescu, 2015/06/08
- Re: [Qemu-devel] Trying to execute code outside RAM or ROM at 0x08000230, Liviu Ionescu, 2015/06/08
- Re: [Qemu-devel] Trying to execute code outside RAM or ROM at 0x08000230, Liviu Ionescu, 2015/06/08
- Re: [Qemu-devel] Trying to execute code outside RAM or ROM at 0x08000230, Peter Maydell, 2015/06/08
- Re: [Qemu-devel] Trying to execute code outside RAM or ROM at 0x08000230, Liviu Ionescu, 2015/06/08
- Re: [Qemu-devel] Trying to execute code outside RAM or ROM at 0x08000230, Peter Maydell, 2015/06/08