Does anyone have a tutorial/link to help me building freertos to a MSP430 machine running on QEMU?
I've successfully built the "msp430GCC" demo binary. However, when trying to run it on a MSP430 QEMU instance I got:
$ ./qemu-system-msp430 --machine msp430f1x -monitor stdio -kernel ./a.out
QEMU 2.4.91 monitor - type 'help' for more information
(qemu) Initializing periphs msp430svs @ 00000055
Initializing periphs msp430watchdog @ 00000120
Initializing periphs msp430gpio @ 00000018
Unable to load firmware to MSP430. Exiting.
Any clue will be very helpful.
Pleased to hear you have the demo building, as it is quite (very?) an old demo, the MSP430X demos being newer. However I'm afraid we have never run the code on anything other than real hardware. From the error message it seems the problem occurs before the executable actually starts executing - are there any verbose debug output options you can turn on to see why the firmware won't load? Maybe the memory map is wrong? As this is not [yet] a FreeRTOS related issue you might get more knowledgable answers from a QEMU forum.
I'll keep trying to run it into QEMU -- bet that I'm forgetting something when specifying load addresses. Meanwhile I'll post this to a QEMU forum and try to get some answers.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.