<div dir="ltr">Hi Sebastian,<div><br></div><div>Thank you. I didn't notice that.</div><div><br></div><div>I recompile with SMP enabled, and the application doesn't run successfully in the TSIM-LEON3 simulator. Below is the error message:</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Initializing and starting from 0x40000000<br> <br>  CPU 0 in error mode (tt=0x80, trap instruction)<br>  (In trap table for tt=0x02, illegal instruction)<br>      70150  40000020  91d02000   ta        0                        start + 0x20</blockquote><div><br></div><div>The thing is, the same code will work if I compile with SMP disabled. When the SMP is enabled, the simulator will crash like above, even with the simple hello world application.</div><div><br></div><div>Have anyone here run into a similar issue? Or do you know any other leon3 (or sparc) simulator that I can try?</div><div><br></div><div>Best regards,</div><div>Duc Anh</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 9 Jun 2021 at 18:46, Sebastian Huber <<a href="mailto:sebastian.huber@embedded-brains.de">sebastian.huber@embedded-brains.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 09/06/2021 18:39, Đức Anh wrote:<br>
> - Is there a way to enable SMP for SPARC/LEON3 in RTEMS 6?<br>
<br>
Just set "RTEMS_SMP = True" in your config.ini:<br>
<br>
<a href="https://docs.rtems.org/branches/master/user/bld/index.html#migration-from-autoconf-automake" rel="noreferrer" target="_blank">https://docs.rtems.org/branches/master/user/bld/index.html#migration-from-autoconf-automake</a><br>
<br>
-- <br>
embedded brains GmbH<br>
Herr Sebastian HUBER<br>
Dornierstr. 4<br>
82178 Puchheim<br>
Germany<br>
email: <a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brains.de</a><br>
phone: +49-89-18 94 741 - 16<br>
fax:   +49-89-18 94 741 - 08<br>
<br>
Registergericht: Amtsgericht München<br>
Registernummer: HRB 157899<br>
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler<br>
Unsere Datenschutzerklärung finden Sie hier:<br>
<a href="https://embedded-brains.de/datenschutzerklaerung/" rel="noreferrer" target="_blank">https://embedded-brains.de/datenschutzerklaerung/</a><br>
</blockquote></div>