-
- Posts: 3
- Joined: Sat Mar 01, 2014 7:33 pm
Emulation on Windows
-
Last edited by cataphrat1 on Sat Sep 09, 2017 1:23 am, edited 2 times in total.
Re: Emulation on Windows
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.
Why emulate a Pi on Windows anyway, surely testing code is best done on real hardware??
Richard S.
-
- Posts: 3
- Joined: Sat Mar 01, 2014 7:33 pm
Re: Emulation on Windows
-
Last edited by cataphrat1 on Sat Sep 09, 2017 1:23 am, edited 1 time in total.
- DougieLawson
- Posts: 40821
- Joined: Sun Jun 16, 2013 11:19 pm
- Location: A small cave in deepest darkest Basingstoke, UK
- Contact: Website Twitter
Re: Emulation on Windows
qemu doesn't emulate GPIO.
Use a real Raspberry Pi, it's easy to get GPIO working that way.
Use a real Raspberry Pi, it's easy to get GPIO working that way.
Any language using left-hand whitespace for syntax is ridiculous
Any DMs sent on Twitter will be answered next month.
Fake doctors - are all on my foes list.
Any requirement to use a crystal ball or mind reading will result in me ignoring your question.
Any DMs sent on Twitter will be answered next month.
Fake doctors - are all on my foes list.
Any requirement to use a crystal ball or mind reading will result in me ignoring your question.
-
- Posts: 3
- Joined: Sat Mar 01, 2014 7:33 pm
Re: Emulation on Windows
-
Last edited by cataphrat1 on Sat Sep 09, 2017 1:24 am, edited 1 time in total.
- DougieLawson
- Posts: 40821
- Joined: Sun Jun 16, 2013 11:19 pm
- Location: A small cave in deepest darkest Basingstoke, UK
- Contact: Website Twitter
Re: Emulation on Windows
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.)
Any language using left-hand whitespace for syntax is ridiculous
Any DMs sent on Twitter will be answered next month.
Fake doctors - are all on my foes list.
Any requirement to use a crystal ball or mind reading will result in me ignoring your question.
Any DMs sent on Twitter will be answered next month.
Fake doctors - are all on my foes list.
Any requirement to use a crystal ball or mind reading will result in me ignoring your question.
Re: Emulation on Windows
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.
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.