Posted on January 13, 2005 at 05:30I must reload the timer LTARR of LTCSR2. If i reload LTARR with new value, the new value is will reload at next overflow not immediately. I have tried: RIM; // disable interrupt LTARR = 0xD3; // reload count SIM; /...
Posted on January 03, 2005 at 13:20Have you insert STACKTOP? Example for ST7LITE 9, file project.prm: /* * FILE project.prm * ST7FLITE09 */ LINK project.abs NAMES main.o isr.o funcs.o END SECTIONS MY_ZRAM = NO_INIT 0x0080 TO 0x00FE; /* Le p...
Posted on January 03, 2005 at 12:52When I do: Tempvalue = (Value>>12); the link generate: ERROR M5108: Called application detected an error project.prm with: #pragma DATA_SEG DEFAULT extern unsigned int Tempvalue; extern unsigned int Value; Same err...
Posted on October 22, 2004 at 10:48 I use thi code for correct the oscillator: EECSR = 0x00; /* E2 in read */ RCCR = ((EEPROM[0] & 0xFF00) >> ; /* codice not portable - BIG endian */