• Catching memory leaks
    I have some code running on an 8051 based processor that is quite large and complex and it also uses a few arrays. To make sure that I can avoid mistakes accessing memory location that do not exist,...
  • catch read page in NAND
    How we can use catch read page in NAND driver, do it faster of this normal read page: static U32 PageRead (U32 row, U8 *buf, NAND_DRV_CFG *cfg) { U32 i, sz; /* Write command 1 */ WrCmd (0x00); ...
  • CAN2_SignalObjectEvent wont catch 29bit can id
    Is there a trick to get the CAN middle-ware to catch 29 bit ids? void CAN2_SignalObjectEvent (uint32_t obj_idx, uint32_t event) { if (event == ARM_CAN_EVENT_RECEIVE) { // If receive event ...
  • How to catch exceptions/interrupts using ULINK2
    Hi. I'm new to SAM7X and KEIL uV4 and are converting code from another IDE (written by another person). The SW seems to "fly away" due to some exception/interrupt I cannot detect. When I press RUN...
  • C51 doesn't catch mspace mismatch (warning 259)
    Hi all, according to Keil's C51 documentation the compiler should output a warning 259 when pointers to different memory spaces are intermixed. In a current project I painfully recognized that this...