I downloaded the latest version 1.10 for the DT-INTS14 and now I get a lot of errors.
Does anyone else has the same problem? With v1.0 had no error (but nothing was working either....)
I want to use IOC of a F887 device.
The test code is this:
The errors are like ERROR: (" Add:" wsave1 VAR BYTE $A0 SYSTEM, Or change to wsave BYTE $70 SYSTEM)Code:DEFINE OSC 4 ;----- Configuration bits ------------------------------------------------ @Line1 = _DEBUG_OFF & _LVP_OFF & _FCMEN_OFF & _IESO_OFF & _BOR_OFF @Line2 = _CP_OFF & _MCLRE_ON & _PWRTE_ON & _WDT_ON & _XT_OSC @ __CONFIG _CONFIG1, Line1 & Line2 @ __CONFIG _CONFIG2, _WRT_HALF & _BOR40V OPTION_REG.0=1 'PSA0 PRESCALER SELECT 1:1 TO 1:256 OPTION_REG.1=1 'PSA1 OPTION_REG.2=1 'PSA2 OPTION_REG.3=1 'PRESCALER TO: 1->WDT, 0->TMR0 OPTION_REG.4=0 'T0SE SOURCE EDGE 1->H TO L, 0->L TO H OPTION_REG.5=0 'T0CS 1->FROM RA4, 0->FROM INT. CLOCK OPTION_REG.6=0 'INT EDGE SELECT 0->H TO L, 1->L TO H OPTION_REG.7=0 'PULL UP 1->DISABLE, 0->ENABLE adcon0=%01000001 '0 off adcon1=$80'6 off (all digitals) ansel=$01 anselh=$00 PORTA=%00000001:PORTB=%00010000:PORTC=%10000001:PORTD=0:PORTE=0 TRISC=$80:TRISD=0:TRISE=0 TRISA = %00000001:TRISB = %00010000 WPUB=%00010000 'Enable weak pull up on PortB.4 while 1 wend ASM INT_LIST macro; IntSource, Label, Type, ResetFlag? INT_Handler RBC_INT, _IOC2, PBP, yes endm INT_CREATE ; Creates the interrupt processor ENDASM @ INT_ENABLE RBC_INT ; Enable Port B on change '------------- INTERRUPTS SETUP --------------------- IOC2: if portb.4=1 then high portb.0 else low portb.0 endif @ INT_RETURN
or
ERROR: (Chip has RAM in BANK3, but wsave3 was not found.) etc
Ioannis


)


Bookmarks