> On 07 Jun 2015, at 01:11, Peter Maydell <peter.mayd...@linaro.org> 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