Page 1 of 1

Emulation on Windows

Posted: Sat Mar 01, 2014 7:35 pm
by cataphrat1
-

Re: Emulation on Windows

Posted: Sat Mar 01, 2014 8:02 pm
by redhawk
Yes you can emulate a Raspberry Pi using Qemu although there maybe some hardware limitations imposed (search forum for software links).

Why emulate a Pi on Windows anyway, surely testing code is best done on real hardware??

Richard S.

Re: Emulation on Windows

Posted: Sat Mar 01, 2014 8:04 pm
by cataphrat1
-

Re: Emulation on Windows

Posted: Sat Mar 01, 2014 8:06 pm
by DougieLawson
qemu doesn't emulate GPIO.
Use a real Raspberry Pi, it's easy to get GPIO working that way.

Re: Emulation on Windows

Posted: Sat Mar 01, 2014 8:07 pm
by cataphrat1
-

Re: Emulation on Windows

Posted: Sat Mar 01, 2014 8:41 pm
by DougieLawson
Use wepiopi, that gives you a webpage where you can easily see the status of the GPIO pins and with a few mouse clicks make changes to the GPIO pins. (It also has a programming API, that I've not investigated.)

Re: Emulation on Windows

Posted: Sat Mar 01, 2014 10:27 pm
by colinh
Why do you want to change the values on the GPIO pins if you have no idea how to detect such changes?

Anyway, you might try connecting an LED and 1k resistor in series to ground.

Also, if you look at dwelch's git repository there's info on getting a bootloader installed. You can then load programs via serial (or use JTAG) - no more card swapping needed.