<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Plain Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.5pt;
font-family:Consolas;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.PlainTextChar
{mso-style-name:"Plain Text Char";
mso-style-priority:99;
mso-style-link:"Plain Text";
font-family:Consolas;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoPlainText">Adding the initialize_shadow_register_stacks() to the bsp_predriver_hook() did the trick. Thanks for the info.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">> Hello Kevin,<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">> we may integrate the BSP next year. Attached is our bspstart.c file.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">> On 2013-12-02 23:28, Kirspel, Kevin wrote:<o:p></o:p></p>
<p class="MsoPlainText">> > I added the global definition for <o:p></o:p></p>
<p class="MsoPlainText">> > _Nios2_ISR_Status_interrupts_disabled (except I used <o:p>
</o:p></p>
<p class="MsoPlainText">> > NIOS2_ISR_STATUS_BITS_EIC_IL instead of INTERRUPT_DISABLE_IL_BITS ? I
<o:p></o:p></p>
<p class="MsoPlainText">> > assume it?s the highest interrupt level in your BSP). It successfully
<o:p></o:p></p>
<p class="MsoPlainText">> > compiles but will crash on startup while spitting out the RTEMS shell
<o:p></o:p></p>
<p class="MsoPlainText">> > hello message. So it processes some ISRs successfully but then dies.
<o:p></o:p></p>
<p class="MsoPlainText">> > I?m not sure if there is more I need to do in my BSP. I have it working with the below > ISR handler but it doesn?t do everything that yours did.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">> There are some initialization steps necessary for shadow registers. You should run the test sptests/spcontext01.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">> --<o:p></o:p></p>
<p class="MsoPlainText">> Sebastian Huber, embedded brains GmbH<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">> Address : Dornierstr. 4, D-82178 Puchheim, Germany<o:p></o:p></p>
<p class="MsoPlainText">> Phone : +49 89 189 47 41-16<o:p></o:p></p>
<p class="MsoPlainText">> Fax : +49 89 189 47 41-09<o:p></o:p></p>
<p class="MsoPlainText">> E-Mail : <a href="mailto:sebastian.huber@embedded-brains.de">
sebastian.huber@embedded-brains.de</a><o:p></o:p></p>
<p class="MsoPlainText">> PGP : Public key available on request.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">> Diese Nachricht ist keine gesch?ftliche Mitteilung im Sinne des EHUG.<span style="font-size:11.0pt;font-family:"Calibri","sans-serif""><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Kevin Kirspel<o:p></o:p></p>
<p class="MsoNormal">Senior Research Engineer<o:p></o:p></p>
<p class="MsoNormal">Opti Medical<o:p></o:p></p>
<p class="MsoNormal">235 Hembree Park Drive<o:p></o:p></p>
<p class="MsoNormal">Roswell GA 30076<o:p></o:p></p>
<p class="MsoNormal">Tel: (770)-510-4444 ext. 81642<o:p></o:p></p>
<p class="MsoNormal">Direct: (770)-688-1642<o:p></o:p></p>
<p class="MsoNormal">Fax: (770)-510-4445<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>