Re: Write and read functions for RTEMS

2019-09-27 Thread Michel Macena
t, hope can someone help. Thanks ! Em sex, 27 de set de 2019 às 02:33, Michel Macena escreveu: > I'm using an ERC32 chip (sparc) . Do you mean the console driver ? > > > > Em ter, 24 de set de 2019 às 20:47, Chris Johns > escreveu: > >> On 21/9/19 8:39 am, Michel

Re: Write and read functions for RTEMS

2019-09-26 Thread Michel Macena
I'm using an ERC32 chip (sparc) . Do you mean the console driver ? Em ter, 24 de set de 2019 às 20:47, Chris Johns escreveu: > On 21/9/19 8:39 am, Michel Macena wrote: > > I noticed in the IO primitive manager section in the RTEMS POSIX guide > that > > there are a re

Write and read functions for RTEMS

2019-09-20 Thread Michel Macena
I noticed in the IO primitive manager section in the RTEMS POSIX guide that there are a read and a write function, however the IO guide are not finished yet, so I don't know if those functions are in good shape to use. Are they ok ? Also is there a tcdrain (from termios.h) equivalent function for

Re: Three chip erc32 Re: CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER macro issue

2019-09-20 Thread Michel Macena
s would apply to ticker ... > > Jiri. > > > On 9/3/19 12:57 AM, Joel Sherrill wrote: > > Jiri does this ring a bell with the old Tharsys board and 3 chip erc32? > > On Mon, Sep 2, 2019, 5:09 PM Michel Macena wrote: > >> It is the ERC 32 chipset version (TSC691, TS

Re: CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER macro issue

2019-09-02 Thread Michel Macena
c32. > > Check that it survives initialising the clock and gets the interrupt ok. > > This isn't something I have heard of before. Is this a very early erc32? > Just wondering with nothing specific in mind. > > --joel > > > >> Em sex, 30 de ago de 2019 às 03:21,

Re: CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER macro issue

2019-08-30 Thread Michel Macena
30 de ago de 2019 às 03:21, Sebastian Huber < sebastian.hu...@embedded-brains.de> escreveu: > On 30/08/2019 19:09, Michel Macena wrote: > > I still have the issue with the macro #define > > CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER. I tried > > a different version of R

Re: CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER macro issue

2019-08-29 Thread Michel Macena
ION_DOES_NOT_NEED_CLOCK_DRIVER macro, > the board returns all > prints properly at the serial port. > > > Em sex, 26 de jul de 2019 às 17:47, Joel Sherrill > escreveu: > >> >> >> On Fri, Jul 26, 2019 at 3:13 PM Michel Macena >> wrote: >> >>

Re: Serial port issues

2019-08-07 Thread Michel Macena
A. I can make the board print properly in console (ch A) but when I ask to getc(), getchark(),fgets() or scanf() it does not get the character or string. Thanks. Em seg, 5 de ago de 2019 às 17:55, Michel Macena escreveu: > Hi, I'm working with an ERC 32 target board and would like >

Serial port issues

2019-08-05 Thread Michel Macena
Hi, I'm working with an ERC 32 target board and would like to read strings or any characters in the serial input (UART). regular C printf() function works well but when I try fgets(), scanf() or fgetc() the board just does not get the string or any character, is there any RTEMS specific ways to get

Re: Problem building rrtems

2019-07-28 Thread Michel Macena
Try to install python dev package: > sudo apt-get install python-dev > Best, Michel Em dom, 28 de jul de 2019 às 06:26, Nils Hölscher escreveu: > Hi, > > Did you take a look at the Host computer section and installed your > dependencies? > https://docs.rtems.org/branches/master/user/hosts/posi

Re: CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER macro issue

2019-07-27 Thread Michel Macena
rt. Em sex, 26 de jul de 2019 às 17:47, Joel Sherrill escreveu: > > > On Fri, Jul 26, 2019 at 3:13 PM Michel Macena > wrote: > >> I tried the break at _Terminate, for a working program (with the #define >> CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER macro)

Re: CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER macro issue

2019-07-26 Thread Michel Macena
now exactly what may be causing this and don't know how can I track the issue ? any ideas ? Em qua, 24 de jul de 2019 às 16:33, Joel Sherrill escreveu: > > > On Wed, Jul 24, 2019, 1:58 PM Michel Macena wrote: > >> Thanks for the answer. >> Sorry for my ignorance but I

Re: CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER macro issue

2019-07-24 Thread Michel Macena
de> escreveu: > > > On 23/07/2019 21:30, Michel Macena wrote: > > Hi, I have compiled a test code for an ERC32 target board and loaded it > > using gdb, > > the code: > > > > #include > > > > #include > >

Change Clock Frequency

2019-07-24 Thread Michel Macena
Hi, I'm working with an ERC 32 target board and would like to change the system clock frequency. There is a file in $PROJECT_HOME/src/rtems/bsps/sparc/shared/start called Start.s. In this file there is a line for clock speed: > SYM(CLOCK_SPEED): > > .word 0x0a, 0, 0, 0 ! 7E (10 MHz default) > I

CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER macro issue

2019-07-23 Thread Michel Macena
Hi, I have compiled a test code for an ERC32 target board and loaded it using gdb, the code: #include > > #include > #include > > rtems_task Init( > rtems_task_argument ignored > ) > { > > uint16_t a=6; > printf( "Hello World Michel\n" ); > printf( "numero: %d\n",a ); > > > } > >

SPARC-RTEMS5-GDB and RTEMS Fatal error !

2019-04-15 Thread Michel Macena
Hi, I have compiled a code for an ERC32 target board and loaded it using gdb, the code: #include > #include > #include > > > rtems_task Init( > rtems_task_argument ignored > ) > { > > printf( "Hello World Michel\n" ); > printf( "Hello World Michel\n" ); > printf( "Hello World Mich

SPARC-RTEMS5-GDB no symbol "remotebaud" in context

2019-04-08 Thread Michel Macena
Hi, I have compiled a modified version of file hello_world_c from example V2 repository 4-10-2 version in SPARC-RTEMS5-GCC. The only modification was on the text of "Hello World". Command line: > sparc-rtems5-gcc -Wall -g -B /home/inpe/masters_p > roject/rtems/5/sparc-rtems5/erc32/lib -specs bsp_

Build fails in a Linux Mint 32 bits

2019-04-02 Thread Michel Macena
HI, I'm trying to build a new rtems working envinronment in a new computer with linux mint 32 bits. I'm following the quick-start section of the user guide. In the following line: ../source-builder/sb-set-builder --prefix=$HOME/quick-start/rtems/5 > 5/rtems-sparc > The terminal returned BUILD FAI

Re: SPARC-RTEMS5-GCC ignores or don't find libraries

2019-03-25 Thread Michel Macena
e 2019 às 01:19, Chris Johns escreveu: > On 24/3/19 3:28 am, Michel Macena wrote: > > I'm a beginner with RTEMS > > Welcome. > > > and I have built a RTEMS5 environment for an erc32 > > chip (the example in RTEMS Docs) in my computer with > > linux mint. &

SPARC-RTEMS5-GCC ignores or don't find libraries

2019-03-23 Thread Michel Macena
I'm a beginner with RTEMS and I have built a RTEMS5 environment for an erc32 chip (the example in RTEMS Docs) in my computer with linux mint. The environment comes with sample applications. I'm trying to compile the sample from "hello" (init.c) using sparc-rtems5-gcc, here's the command line: spar