• Unexpected return code from os_mbx_send
    I am using : µVision V4.22.22.0 Toolchain: MDK-ARM Standard Version: 4.22a This code is causing my problem: U8 res = os_mbx_send (CB_XMIT_MAILBOX, packetInfo, 0xFFFF); if(OS_R_OK != res) ...
  • Program execution getting stuck
    I am working on LPC2106 microcontroller with Keil development tool.My problem is upon a function execution the controll is getting transferred back but Link Register is not getting next instruction/function...
  • HardFault_Handler occure when Timer interrupt enableing
    Hi I am using LPC1788 evaluation kit (OEM509 board) and I need to use timer interrupt and CMSIS RTX OS at the same time. here is a part of source code: TIM_ConfigStruct.PrescaleOption=TIM_PRESCALE_USVAL;...
  • memcpy usage landing in HardFault_Handler
    Hi, I am using memcpy and it is not running and landing in HardFault_Handler. I am trying to create a big font to display in TFT LCD. Below is my scenario. Can somebody what I am missing here...
  • HardFault_Handler after NVIC access.
    Used hardware: KEIL ARM MCB1700, eval How can the line: NVIC_EnableIRQ(UART0_IRQn); create an error HardFault 715: NVIC_EnableIRQ(UART0_IRQn); 0x000024B0 2005 MOVS r0,#0x05 0x000024B2 F000F9AF...