Qemu or other emulators

Post here first, or if you can't find a relevant section!
Post Reply
Posts: 2
Joined: Thu Feb 01, 2018 12:19 am
Location: Brooklyn, NY

Qemu or other emulators

Post by ajk » Wed Feb 07, 2018 4:59 am

For all you Arduino + STM32 pros, do you normally develop directly on a board or do you use an emulator like Qemu?

I feel like I spend a lot of time getting my blue pills programmed (wire it up to my ftdi board, switch jumper, apply power, program, wait impatiently, test). I'm thinking there must be a more efficient path.

Posts: 854
Joined: Thu Jul 21, 2016 4:24 pm

Re: Qemu or other emulators

Post by ag123 » Wed Feb 07, 2018 5:28 am

actually i used this, that has qemu as part of it
nevertheless qemu can't simulate everything or more correctly there's lots more development needed to emulate a stm32 m3
but it works for really basic scenarios like blinking a led, beyond that u may need to develop the qemu itself

in the end i simply test with a maple mini, 'not efficient', but i'd get to test it real

oh and if you have the bootloader https://github.com/rogerclarkmelbourne/ ... bootloader
properly installed on the Bluepill / maple mini normally the command dfu-util -a n -D sketch.bin does the sketcch install over usb
and in the arduino ide it is simply clicking a button

Posts: 318
Joined: Fri Mar 24, 2017 4:51 pm
Location: Germany

Re: Qemu or other emulators

Post by ChrisMicro » Wed Feb 07, 2018 9:23 am

If you are using Linux you could try to develop your software on the PC.
I started an emulation framework here.

Post Reply