• In Simulatormode ENDRX Flag is not correctly set
    I'm working with uV3 and AT91SAM7S256. After configuring the PDC and USART0 in this way: AT91F_PDC_SetRx( (AT91PS_PDC) &(pUSART->US_RPR), RxBuf0, 5); AT91F_PDC_SetNextRx( (AT91PS_PDC) &(pUSART-...
  • Optimization -O1 removes (maybe unused) variables
    A bootloader and an application communicate via 8 variables located in SRAM at fixed addresses (starting at 0x20007F80 in our case). If using -O0 for both (bootloader, applicatijn), all eight addresses...
  • Custom optimize settings in a code
    1. I am using uVision 5, C51 V9.52 & wrote a code. It has multiple source files, one of which is task_manager.c. In it it has three functions: a) bit_reset() b) bit_set() c) rgb_write() 2. These...
  • isr_send_signal( ) doesn't notify if signal flag already set.
    I want to know in my ISR whether the last signal was not received. os_send_signal() returns NOT_OK in this situation, however looking at the source for RTX166 full, it looks like the isr_send_signal(...
  • STM32F103 PLL Ready Flag Never Set
    I am trying to set PLL as my system clock source upon startup of my microcontroller, STM32f103( www.kynix.com/.../STM32F103C4T6A.pdf ) I have commented all the defines in my system_stm32f10x.c ...