• I get the error: L6218E: Undefined symbol __use_two_region_memory (referred from sam9261.o)
    I'm using uVision3. My target platform is:AT91SAM9261. I just created in project with the initial assembler code in it. The generated code code: ; User Initial Stack & Heap AREA |.text...
  • I get the error: L6218E: Undefined symbol __use_two_region_memory (referred from sam9261.o)
    I'm using uVision3. My target platform is:AT91SAM9261. I just created in project with the initial assembler code in it. The generated code code: ; User Initial Stack & Heap AREA |.text...
  • Init
    void GpioInit(void) { // Set to inputs FIO0DIR = \ FIO1DIR = \ FIO2DIR = \ FIO3DIR = \ FIO4DIR = 0; // clear mask registers FIO0MASK =\ FIO1MASK =\ FIO2MASK =\ FIO3MASK =\ FIO4MASK = 0; /...
  • Init
    void GpioInit(void) { // Set to inputs FIO0DIR = \ FIO1DIR = \ FIO2DIR = \ FIO3DIR = \ FIO4DIR = 0; // clear mask registers FIO0MASK =\ FIO1MASK =\ FIO2MASK =\ FIO3MASK =\ FIO4MASK = 0; /...
  • xdata init
    Hello, I'm using Keil C51 compiler with c8051f330 MCU. I have a struct that is in xdata space and is not initialized at startup. I initialize struct with this: memset(&FP, 0, sizeof(FP)); ...