Hi,
I have a strange behaviour regarding memory access between my user application
and the driver i have developed I'd like to get some clarification on.
The development is all used on or1k arch.
On the application side, I have a buffer declared as:
#define PACKET_SIZE 256
volatile uint8_t
Hi,
Can I presume that using errno with RTEMS does not work? To me I'm baffled that
a RTEMS_SUCCESSFULL value must be returned in order to retain the errno value.
regards,
Indy
From: Inderjit Singh
Sent: 24 August 2015 15:07
To: Chris Johns; devel@rtems.org
From: devel [devel-boun...@rtems.org] on behalf of Sebastian Huber
[sebastian.hu...@embedded-brains.de]
Sent: 11 September 2015 10:18
To: devel@rtems.org
Subject: Re: rtems_set_errno_and_return_minus_one in driver not returning
correct value
On 11/09/15 10:10, Inderjit Singh wrote:
> Ca
] on behalf of Inderjit Singh
[inderjit.si...@aacmicrotec.com]
Sent: 24 August 2015 09:08
To: Chris Johns; devel@rtems.org
Subject: RE: rtems_set_errno_and_return_minus_one in driver not returning
correct value
Hi Chris,
I am pretty sure the driver is working fine yes. I had this issue for some time
From: Chris Johns [chr...@rtems.org]
Sent: 24 August 2015 01:19
To: Inderjit Singh; devel@rtems.org
Subject: Re: rtems_set_errno_and_return_minus_one in driver not returning
correct value
On 21/08/2015 10:22 pm, Inderjit Singh wrote:
Hi,
In my RTEMS driver I set and return
Hi,
I put some debug macos in my driver and when building the rtems, i get failure
in telned. Any idea why?
RTEMS version 4.10.99 from git some time from May.
My configuration: ../rtems/configure --target=or1k-rtems4.11
--enable-rtemsbsp=or1k-bb --enable-test=samples
Hi,
In my RTEMS driver I set and return error value by following macro:
rtems_set_errno_and_return_minus_one(EALREADY);
But in my rtems app when I print the error out by:
fd = open(RTEMS_SYSFLASH_DEVICE_NAME, O_RDWR);
if(fd 0) {
printk(Couldn't Open device (%d:%d:%s)., fd, errno,
To: Inderjit Singh; devel@rtems.org
Subject: Re: BSP Driver not initialized
On July 1, 2015 10:47:16 AM CDT, Inderjit Singh
inderjit.si...@aacmicrotec.com wrote:
Hi,
I'm trying to initialize (get up) my driver for a or1k target. I reused
the the hello sample program to see if the driver ckicks
Hi,
I'm trying to initialize (get up) my driver for a or1k target. I reused the the
hello sample program to see if the driver ckicks in but nothing in th console
(except the hello msg in Init fiunction. Does anyone know why?
I updated the file as shown below. At this point I am only interested