From: Sameer Kalliadan Poyil <sameer.kp.in@gmail.com>
To: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Cc: "Philippe Mathieu-Daudé" <philmd@linaro.org>,
qemu-discuss@nongnu.org, qemu-devel@nongnu.org
Subject: Re: Qemu for TC377
Date: Wed, 24 Apr 2024 12:29:30 -0400 [thread overview]
Message-ID: <CAAA2AK-3eH58WwOY-tmDaYD94Z7vWH3Hm24cNE0BLG62bNWLFw@mail.gmail.com> (raw)
In-Reply-To: <2dmeztro45uitfbbpjlpekwv6zai2wntvvyfbggx2ps5ds2ye3@ij7eygqpw4x7>
[-- Attachment #1: Type: text/plain, Size: 3391 bytes --]
Hi Bastian,
Thanks a lot. I have downloaded HighTec IDE from (
https://free-entry-toolchain.hightec-rt.com/) and tried to run the TSIM but
no success. In web, I don't see any documentation how to run it. The doc
comes along with tsim doesn't explain how to start the simulator. Could you
let me know how to start tsim for a helloworld.elf for TC3xx ? is there a
Menu in highTec IDE to start it ? I believe it is a cmd
tool(C:\HIGHTEC\toolchains\tricore\v4.9.3.0-infineon-1.0\bin\tsim)
Regards
Sameer
On Sun, Apr 21, 2024 at 6:18 AM Bastian Koppelmann <
kbastian@mail.uni-paderborn.de> wrote:
> Hi Sameer,
>
> On Tue, Apr 16, 2024 at 02:26:10PM -0400, Sameer Kalliadan Poyil wrote:
> > Hi Bastian,
> >
> > Thanks for the information. I thought that I can do some prototyping
> before the
> > HW arrives. :)
> >
> > Yes I am interested for your bare metal program boot_to_main run it on
> TSIM.
> > Is Infineon TSIM free? I searched it and I didn't find any download
> link. Could
> > you please give a link for that if it is from Infineon?
>
> I usually get it from the free entry toolchain [1]
>
> >
> > s it(TSIM) trace32 simulator ?
> https://repo.lauterbach.com/download_demo.html
> > ?
> >
> > This page https://wiki.qemu.org/Documentation/Platforms/TriCore shows
> SCU is
> > under development.
>
> I should change that on the wiki. I was experimenting with a QEMU model
> for the
> SCU when I was still in University, but nothing usable resulted from that.
> Now
> my time for such developments is unfortunately limited :(.
>
> >
> > Could you let me know who is developing it ? is it possible to take an
> > existing SCU and modify according to AURIX data sheet? I see that UART is
> > possible to for Tricore like the one developed for ARM versatile platform
> >
> > Here is the link
> https://mail.gnu.org/archive/html/qemu-devel/2016-10/msg04514.html
>
> Sure, you can add a model of the Aurix UART in QEMU. It's "just" a matter
> of
> putting in the time to implement its registers and functionality.
>
> >
> > I have aurix development trial version and able to compile a UART
> project using
> > Tasking compiler and tried to run it on qemu, but I don't see any logs
> in the
> > qemu terminal as you said there is no peripherals implemented
> >
> > qemu-system-tricore -machine KIT_AURIX_TC277_TRB -cpu tc27x -m 6M
> -nographic
> > -kernel ASCLIN_Shell_UART_1_KIT_TC277_TFT.elf -serial stdio -append
> "console=
> > ttyAMA0 console=ttyS0"
>
> I usually add '-d exec,cpu,nochain -D /tmp/exec.log -accel
> tcg,one-insn-per-tb=on'
> to get an execution trace to see if the binary is executing.
>
> You can also try attaching gdb by adding '-s -S' to the CLI. And then run
> in
> tricore-gdb 'target remote localhost:1234' see [2]
>
> >
> >
> > Also do you know if there is a virtual UART framework to communicate
> between
> > two Qemu instances or two TSIM instances running similar OS or different
> OS? I
> > need to do prototype testing RPMSg communication between MCU and SOC
> using
> > external physical UART/SPI which can be tested using vritual UART using
> two
> > qemu instances.
>
> No, I don't know of something like this.
>
> Cheers,
> Bastian
>
> [1] https://free-entry-toolchain.hightec-rt.com/
> [2] https://www.qemu.org/docs/master/system/gdb.html
>
[-- Attachment #2: Type: text/html, Size: 4567 bytes --]
prev parent reply other threads:[~2024-04-24 16:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAAA2AK8p=RtqeNZXfnqprw+kqEBTvrQo1Va81+ctfYAT6k6jnA@mail.gmail.com>
2024-04-14 16:15 ` Qemu for TC377 Philippe Mathieu-Daudé
2024-04-15 11:51 ` Bastian Koppelmann
2024-04-16 18:26 ` Sameer Kalliadan Poyil
2024-04-21 10:17 ` Bastian Koppelmann
2024-04-24 16:29 ` Sameer Kalliadan Poyil [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAAA2AK-3eH58WwOY-tmDaYD94Z7vWH3Hm24cNE0BLG62bNWLFw@mail.gmail.com \
--to=sameer.kp.in@gmail.com \
--cc=kbastian@mail.uni-paderborn.de \
--cc=philmd@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-discuss@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).