Hello, have someone successfully emulated Convers firmware in QEMU or something similar?
I do not have spare BCMI and Convers and even then the uploading process takes me ~25min (main and flash) with ELS27 which is a lot if I would like to test/debug some stuff so the emulation would save a lot of time.
Convers emulation
Re: Convers emulation
Flashing via Jlink, takes less then 5 seconds with rebooting , but still you need it on bench. Never heard of BCM emulation, but why you just don;t send CAN commands like BCM does to wake up your IPC ?
Tourist
Re: Convers emulation
An very interesting topic, i also tried to investigate the other day. Emulating means to speak a different machine languange as the main processor does. So the emulation (QEMU as named here was also one of my favorites) can execute commands of an foreign processor on the local host.
But this is just one of the challenges, as like in the Convers it is not only a CPU to emulate. Most often those microcontrollers using an ARM CPU of some kind. As this is very often used, there is a ARM emulation on QEMU as well.
But beeing able to execute the ARM commands is only one part of the puzzle, as the µC also had other parts included under the hood. There are periphals, timers, watchdogs and so on. Also they are connected externally to other hardware, which is part of the execution as well. One need to emulate them also to gain a full device emulation.
This is the hard part of it. You need to build a full device emulation, just in software. I think nobody had done this so far.
But this is just one of the challenges, as like in the Convers it is not only a CPU to emulate. Most often those microcontrollers using an ARM CPU of some kind. As this is very often used, there is a ARM emulation on QEMU as well.
But beeing able to execute the ARM commands is only one part of the puzzle, as the µC also had other parts included under the hood. There are periphals, timers, watchdogs and so on. Also they are connected externally to other hardware, which is part of the execution as well. One need to emulate them also to gain a full device emulation.
This is the hard part of it. You need to build a full device emulation, just in software. I think nobody had done this so far.