I2C for raspberry pi 2 error

2020-03-11 Thread Mario Palomares
I'am currently trying to make a program that reads and writes through the i2c serial communication. The problem is that when i try to initialize GPIO header through the funciton "rpi_setup_i2c_bus()" I get this error: assertion "rtems_semaphore_obtain(gpio_bank_state[bank].lock, RTEMS_WAIT, RTEMS_

Re: Partitioned scheduling issue on Raspberry Pi 2

2019-11-04 Thread Sebastian Huber
On 04/11/2019 11:33, Ebenezer wrote: Hello Sebastian I have modified my code as per your suggestion and it works now. Thank you very much. Thanks for the update. I think we should add a run-time check to detect such configuration errors. -- Sebastian Huber, embedded brains GmbH Address : D

Re: Partitioned scheduling issue on Raspberry Pi 2

2019-11-04 Thread Ebenezer
Hello Sebastian I have modified my code as per your suggestion and it works now. Thank you very much. Best regards Ebenezer On Mon, 28 Oct 2019 at 13:39, Sebastian Huber wrote: > > On 28/10/2019 13:25, Ebenezer wrote: > > Thanks for your reply. I have attached the program that fails with > > pa

Re: Partitioned scheduling issue on Raspberry Pi 2

2019-10-28 Thread Sebastian Huber
On 28/10/2019 13:25, Ebenezer wrote: Thanks for your reply. I have attached the program that fails with partitioned EDF_SMP configuration. RTEMS_SCHEDULER_EDF_SMP(sch0, 1); RTEMS_SCHEDULER_EDF_SMP(sch1, 1); RTEMS_SCHEDULER_EDF_SMP(sch2, 1); RTEMS_SCHEDULER_EDF_SMP(sch3, 1); This configuration

Re: Partitioned scheduling issue on Raspberry Pi 2

2019-10-28 Thread Ebenezer
Thanks for your reply. I have attached the program that fails with partitioned EDF_SMP configuration. I will try RTEMS_SCHEDULER_EDF_SMP(name,CONFIGURE_MAXIMUM_PROCESSORS) on all the four scheduler instances and see if that works. Best regards Ebenezer On Mon, 28 Oct 2019 at 07:12, Sebastian Hub

Re: Partitioned scheduling issue on Raspberry Pi 2

2019-10-27 Thread Sebastian Huber
Hello Ebenezer, a self-contained example program which reproduces this issue would be helpful. In the RTEMS_SCHEDULER_EDF_SMP(name, max_cpu_count) configuration define, the max_cpu_count must be CONFIGURE_MAXIMUM_PROCESSORS. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4,

Partitioned scheduling issue on Raspberry Pi 2

2019-10-25 Thread Ebenezer
Hello everyone I am facing some issues while using partitioned scheduling on RaspberryPi2. I want to run one scheduler instance on each core (ie. 4 Scheduler instances in total). I can configure and run PRIORITY_AFFINITY_SMP, PRIORITY_SMP and SIMPLE_SMP scheduler algorithms into partitions/cluste

RE: Raspberry Pi Rtems-Graphical-Toolkit

2018-05-21 Thread Kirspel, Kevin
12:59 PM To: Kirspel, Kevin Cc: users@rtems.org; Emre Cetin Subject: Re: Raspberry Pi Rtems-Graphical-Toolkit On Mon, May 21, 2018 at 11:48 AM, Kirspel, Kevin mailto:kevin-kirs...@idexx.com>> wrote: I think that is doable for the frame buffer and non-USB touch screen, mouse, and ke

Re: Raspberry Pi Rtems-Graphical-Toolkit

2018-05-21 Thread Mikhail Svetkin
t;> <https://maps.google.com/?q=235+Hembree+Park+Drive+%0D%0A+Roswell+GA+30076&entry=gmail&source=g> >> >> Tel: (770)-510- ext. 81642 >> >> Direct: (770)-688-1642 >> >> Fax: (770)-510-4445 >> >> >> >> *From:* users [mailto:users-

Re: Raspberry Pi Rtems-Graphical-Toolkit

2018-05-21 Thread Joel Sherrill
> *From:* users [mailto:users-boun...@rtems.org] *On Behalf Of *Mikhail > Svetkin > *Sent:* Monday, May 21, 2018 12:35 PM > *To:* Kirspel, Kevin > *Cc:* users@rtems.org; Emre Cetin > > *Subject:* Re: Raspberry Pi Rtems-Graphical-Toolkit > > > > So the minimal example o

RE: Raspberry Pi Rtems-Graphical-Toolkit

2018-05-21 Thread Kirspel, Kevin
Drive Roswell GA 30076 Tel: (770)-510- ext. 81642 Direct: (770)-688-1642 Fax: (770)-510-4445 From: users [mailto:users-boun...@rtems.org] On Behalf Of Mikhail Svetkin Sent: Monday, May 21, 2018 12:35 PM To: Kirspel, Kevin Cc: users@rtems.org; Emre Cetin Subject: Re: Raspberry Pi Rtems-Graphical

Re: Raspberry Pi Rtems-Graphical-Toolkit

2018-05-21 Thread Mikhail Svetkin
t; > > Tel: (770)-510- ext. 81642 > > Direct: (770)-688-1642 > > Fax: (770)-510-4445 > > > > *From:* Joel Sherrill [mailto:j...@rtems.org] > *Sent:* Monday, May 21, 2018 9:10 AM > *To:* Kirspel, Kevin > *Cc:* Chris Johns ; Mikhail Svetkin < > mikhail.s

RE: Raspberry Pi Rtems-Graphical-Toolkit

2018-05-21 Thread Kirspel, Kevin
Subject: Re: Raspberry Pi Rtems-Graphical-Toolkit On Mon, May 21, 2018, 7:52 AM Kirspel, Kevin mailto:kevin-kirs...@idexx.com>> wrote: RTEMS LIBBSD has support for EVDEV which is a standard API for keyboard, mouse, and touchscreen. Is it the best choice, I don't know. May

Re: Raspberry Pi Rtems-Graphical-Toolkit

2018-05-21 Thread Joel Sherrill
8-1642 > Fax: (770)-510-4445 > > -Original Message- > From: Chris Johns [mailto:chr...@rtems.org] > Sent: Sunday, May 20, 2018 5:51 PM > To: Mikhail Svetkin ; Kirspel, Kevin < > kevin-kirs...@idexx.com> > Cc: users@rtems.org; Emre Cetin > Subject: Re: Raspberry

RE: Raspberry Pi Rtems-Graphical-Toolkit

2018-05-21 Thread Kirspel, Kevin
35 Hembree Park Drive Roswell GA 30076 Tel: (770)-510- ext. 81642 Direct: (770)-688-1642 Fax: (770)-510-4445 -Original Message- From: Chris Johns [mailto:chr...@rtems.org] Sent: Sunday, May 20, 2018 5:51 PM To: Mikhail Svetkin ; Kirspel, Kevin Cc: users@rtems.org; Emre Cetin Subject: R

Re: Raspberry Pi Rtems-Graphical-Toolkit

2018-05-20 Thread Chris Johns
On 16/5/18 9:39 pm, Mikhail Svetkin wrote: > > I think it will be very good if RTEMS has some kind of input subsystem > (keyboards,  mouse, touchscreen) with standard API. > Do you have an example standard API what would be suitable? Chris ___ users m

Re: Raspberry Pi Rtems-Graphical-Toolkit

2018-05-16 Thread Mikhail Svetkin
swell+GA+30076&entry=gmail&source=g> > > Tel: (770)-510- ext. 81642 > > Direct: (770)-688-1642 > > Fax: (770)-510-4445 > > > > *From:* users [mailto:users-boun...@rtems.org] *On Behalf Of *Joel > Sherrill > *Sent:* Wednesday, May 09, 2018 12:07 PM >

RE: Raspberry Pi Rtems-Graphical-Toolkit

2018-05-09 Thread Kirspel, Kevin
...@rtems.org] On Behalf Of Joel Sherrill Sent: Wednesday, May 09, 2018 12:07 PM To: Mikhail Svetkin Cc: users@rtems.org; Emre Cetin Subject: Re: Raspberry Pi Rtems-Graphical-Toolkit Very nice blog Mikhail! And it looks to be great work! Thank you for the complimentary things you said about RTEMS

Re: Raspberry Pi Rtems-Graphical-Toolkit

2018-05-09 Thread Joel Sherrill
>> Tel: (770)-510- ext. 81642 >> >> Direct: (770)-688-1642 >> >> Fax: (770)-510-4445 >> >> >> >> *From:* users [mailto:users-boun...@rtems.org] *On Behalf Of *Emre Cetin >> *Sent:* Tuesday, May 01, 2018 12:15 PM >> *To:* users@rte

Re: Raspberry Pi Rtems-Graphical-Toolkit

2018-05-04 Thread Mikhail Svetkin
GA 30076 > > Tel: (770)-510- ext. 81642 > > Direct: (770)-688-1642 > > Fax: (770)-510-4445 > > > > *From:* users [mailto:users-boun...@rtems.org] *On Behalf Of *Emre Cetin > *Sent:* Tuesday, May 01, 2018 12:15 PM > *To:* users@rtems.org > *Subject:* Fwd:

RE: Raspberry Pi Rtems-Graphical-Toolkit

2018-05-01 Thread Kirspel, Kevin
: users [mailto:users-boun...@rtems.org] On Behalf Of Emre Cetin Sent: Tuesday, May 01, 2018 12:15 PM To: users@rtems.org Subject: Fwd: Raspberry Pi Rtems-Graphical-Toolkit -- Forwarded message -- From: Emre Cetin mailto:hsnemrece...@gmail.com>> Date: 2018-05-01 19:13 GMT

Fwd: Raspberry Pi Rtems-Graphical-Toolkit

2018-05-01 Thread Emre Cetin
-- Forwarded message -- From: Emre Cetin Date: 2018-05-01 19:13 GMT+03:00 Subject: Re: Raspberry Pi Rtems-Graphical-Toolkit To: Chris Johns Thank you for your help Chris, I did what you said and it worked. However, I learned that Qt Applications works with X11 libraries in

Re: Raspberry Pi Rtems-Graphical-Toolkit

2018-04-30 Thread Chris Johns
On 01/05/2018 02:49, Emre Cetin wrote: > Hello everyone, Hi and welcome. > I have a Rtems project with Raspberry pi, I need to compile a simple QT > program. > I tried to run this project on Beaglebone Black, but it may not be as fast as > it > should be, it seems easier on

Raspberry Pi Rtems-Graphical-Toolkit

2018-04-30 Thread Emre Cetin
Hello everyone, I have a Rtems project with Raspberry pi, I need to compile a simple QT program. I tried to run this project on Beaglebone Black, but it may not be as fast as it should be, it seems easier on Rpi. And I work on the Rpi 1 model B. In the last few days I am trying to establish the

Re: Raspberry PI

2018-01-17 Thread Angelo Fraietta
OK - thanks for that. It may be worth looking into this and treating this as part of research output to justify my playing with it. On Wed, Jan 17, 2018 at 5:28 PM, William Busacker wrote: > Angelo, > > As far as I know, there are very few people using RTEMS on a Raspberry > Pi Z

Re: Raspberry PI

2018-01-16 Thread Sebastian Huber
On 17/01/18 07:28, William Busacker wrote: Most of the GPIO stuff that you'd expect has been finished. Pin control, I2C, and SPI all work. SPI could use some extra work however, but if you play around with it enough it'll go. I've been having all sorts of "fun" getting it working and seriously ne

Re: Raspberry PI

2018-01-16 Thread William Busacker
Angelo, As far as I know, there are very few people using RTEMS on a Raspberry Pi Zero (truly a shame to be honest). A few people here and there that I've found scattered through the mailing list archives, but a lot of their effort was put towards building the BSP foundation and not act

Raspberry PI

2018-01-15 Thread Angelo Fraietta
have been with Raspberry Pi with RTEMS. What versions of Pi are people running on and what peripherals and IO have people got working? A product like this is < $AU20 delivered! I am Imagining what I can do with RTEMS on it. https://core-electronics.com.au/raspberry-pi-zero.html?utm_s ou

RTEMS on QEMU for raspberry pi 1

2018-01-11 Thread Raphaël TILLET
Hello all, Since the last 3 days, I try unsuccessfully to execute a RTEMS exe (hello.exe or Ticker.exe) on QEMU for raspberry pi 1. I tried the following command , but the screen stays always black : qemu-system-arm -M raspi \ -serial stdio \ -kernel hello.exe I did the same for a