VLSI-based monitoring of the interprocess communication in multi-microcomputer systems with shared memory
1986; Elsevier BV; Volume: 10; Issue: 10 Linguagem: Inglês
10.1016/0141-9331(86)90064-5
ISSN1872-9436
Tópico(s)CCD and CMOS Imaging Sensors
ResumoThis chapter discusses various aspects of GNU C Compiler for developing software for Cortex-M0 microcontrollers. The GNU tool chain contains the C compiler, assembler, linker, libraries, debugger, and additional utilities. It is found that the linker script is tool chain specific because the symbol names being used are tool chain specific. It is observed that by creating a disassembly listing of the compiled program image, we can use the stacked program counter value to identify where the hard fault occurred. The hard fault handler demonstrated here also reports other stacked register values. It is suggested that can create the HardFault handler wrapper using an attribute naked C function with inline assembly code to locate the stack frame and jump to the C code. It is suggested that after the program image is generated, one need to program the image onto the flash memory of the microcontroller and test/debug the application.
Referência(s)