Re: Booting another ELF from RTEMS

2019-04-16 Thread Chris Johns
On 17/4/19 2:38 am, Jonathan Brandmeyer wrote: > I'm interested in using RTEMS as both a featureful bootloader and as > my application environment. Is there a straightforward way to use > RTEMS as a bootloader itself? > > In principle, the following seems like it should work: > - Provide a bootlo

when enable idle interrupt uart does not work

2019-04-16 Thread Jython
HI, ALL AND JOEL! i am debugging the stm32 uart, found that the idle interrupt will effect the RX have cleared the idle flag by pragma but now i can not receive uart data, i don't know what's the error uint32_t *USART2_SR = (uint32_t *)0x40004400; uint32_t *USART2_DR = (uint32_t *)0x40004404; #pr

Booting another ELF from RTEMS

2019-04-16 Thread Jonathan Brandmeyer
I'm interested in using RTEMS as both a featureful bootloader and as my application environment. Is there a straightforward way to use RTEMS as a bootloader itself? In principle, the following seems like it should work: - Provide a bootloader BSP that links RTEMS into an address range that is non

Re: SPARC-RTEMS5-GDB and RTEMS Fatal error !

2019-04-16 Thread Joel Sherrill
On Mon, Apr 15, 2019 at 2:25 PM Michel Macena wrote: > 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"

pc686: --enable-rtems-debug not working

2019-04-16 Thread Jan.Sommer
Hello, if I build the pc686 BSP with --enable-rtems-debug activated I can't run any of the testsuites examples, but get the following error: $ qemu-system-i386 -append --console=/dev/com1 -no-reboot -serial stdio -monitor none -nographic -kernel ./build/i386-rtems5/c/pc686/testsuites/samples/

Re: always idle interrupt

2019-04-16 Thread Jython
log many, the SR idle flag does not be cleared Stack usage by thread ID NAMELOW HIGH CURRENT AVAILABLE USED 0x09010001 IDLE 0020006C40 - 0020007C3F 0020007BE0 4080 Unavailable 0x0A010001 UI1 0020007C68 - 002000AC67 002000AB88 12272 Unavailable isr

zynq7000 system crash problem

2019-04-16 Thread jameszxj
Hello all, I encountered a system crash problem, target board information: CPU: z7020, system: RTEMS master, memory:512M, emmc, ethernet. dynamic load is used to load the appication (RAP format) sometimes system crash under test, and output execption messages, but the messages

Re: always idle interrupt

2019-04-16 Thread Jython
the idle flag is not cleared , so does it relate to code optimizations? how to make it O0 On Tue, Apr 16, 2019 at 3:08 PM Jython wrote: > HI, ALL! > the stm32 usart2 code is here > https://gist.github.com/goog/3da34a64eff11902579df333cfd1d863 > why it always enter the idle interrupt and printk

always idle interrupt

2019-04-16 Thread Jython
HI, ALL! the stm32 usart2 code is here https://gist.github.com/goog/3da34a64eff11902579df333cfd1d863 why it always enter the idle interrupt and printk log outputs i almost could not find the error point, someone of you would help me? ___ users mailing l