MVME162 BSP Issues
Joel Sherrill
joel.sherrill at OARcorp.com
Thu Nov 3 17:11:46 UTC 2011
On 11/03/2011 11:35 AM, Hoover, Victor P CTR NAVAIR, AIR 4.1.3.3 wrote:
>
>> -----Original Message-----
>> From: Eric Norum [mailto:wenorum at lbl.gov]
>> Sent: Wednesday, November 02, 2011 18:33
>> To: Hoover, Victor P CTR NAVAIR, AIR 4.1.3.3
>> Cc: rtems-users at rtems.org
>> Subject: Re: MVME162 BSP Issues
>>
>> Stack overflow perhaps?
>> Using a C library routine before all the required data structures have
>> been set up?
>> Have you tried using printk in your startup tests?
> Just to clarify, I'm testing with the testsuites/samples/fileio program.
> The problems are occurring in the function that displays the menu to the
> user. I'm assuming that at this point everything should be initialized.
>
> Stack size:
> I've increased the stack sizes and still have the same problems. Besides,
> stack issues wouldn't explain the following:
>
> printf("test output\n"); // works fine
> printf("test output"); // locks the processor
>
> printk:
> I tried using printk to display a newline terminated text string. No output
> Appeared on the console port but the system didn't hang.
>
This BSP doesn't appear to have printk support.
> I did find out why the 162 BSP doesn't accept any user input though. The
> char_ready function in console.c always returns false even on success. Once
> I changed the final line in the function to return true then I managed to
> get input data to the program.
>
That makes sense.
> That's one step further than I was yesterday.
>
> - Vic Hoover
--
Joel Sherrill, Ph.D. Director of Research& Development
joel.sherrill at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
More information about the users
mailing list