ilg-archived / qemu

The GNU MCU Eclipse QEMU
http://gnuarmeclipse.github.io/qemu/
Other
204 stars 78 forks source link

Question for hardware support support #36

Closed nix7965 closed 7 years ago

nix7965 commented 7 years ago

Hi,

My question is that what kind of peripherals or functions does not work except temporary bugs. I read descriptions in this github and http://gnuarmeclipse.github.io .

I guess this qemu does not support FPU, UART and (maybe) DMA. Other than these two function, are there some components that don't support?

ilg-ul commented 7 years ago

I guess this qemu does not support FPU, UART and (maybe) DMA.

not yet, but planned for future versions

are there some components that don't support?

the purpose of the current version was to run blinky projects, i.e. LEDs and buttons.

the supported peripherals are:

https://github.com/gnuarmeclipse/qemu/tree/gnuarmeclipse-dev/hw/cortexm/stm32

nix7965 commented 7 years ago

In the future, I plan to run some relatively large firmware on this qemu (not now though, and I cannot mention my target firmware). Since I have 'almost zero' background on qemu and embedded systems, I want to know which components are not supported and try to avoid using related components.

So, I also saw some firmwares using some strange component that I don't know. (e.g., SPI and I2C) Are they work on it? I found some piece of codes in this qemu. But, I just want to make sure.

ilg-ul commented 7 years ago

I have 'almost zero' background on qemu and embedded systems

then I suggest you first get some experience on embedded system and then start digging into the qemu details.

did you run the tutorial from http://gnuarmeclipse.github.io/tutorials/blinky-arm/ ?

nix7965 commented 7 years ago

Yes I did it.

ilg-ul commented 7 years ago

Yes I did it.

great. in addition of the LEDs, the latest version also supports the user button, but the tutorial does not uses it.

that's about all you can currently do with qemu.

nix7965 commented 7 years ago

Well... I have one more stupid question. So, do SPI and I2C work? With tutorial codes, I don't know due to no background.

ilg-ul commented 7 years ago

do some components, such SPI and I2C, work?

not yet. the problem is not the mcu peripheral itself, but what is connected via SPI or I2C.

ilg-ul commented 7 years ago

if you have further questions, please use the project forum