Sign in

username:

password:



Not a member?

Search piclist



Search tips

Subscribe to piclist



piclist by Keywords

12F675 | 16F628 | 16F84 | 16f877 | 16F877A | 16F88 | 18F458 | ADC | AVR | Bootloader | CAN | CCS | CRC | EAGLE | EEPROM | ICD | ICSP | IDE | JDM | LED | Macros | Microchip | MPLAB | PCB-CAD | PIC10F | Pic12f675 | PIC16F84 | PIC16F84A | PIC16F877 | PIC18 | PIC18F452 | PicBasic | PICC | PICSTART | PWM | RS-485 | RS232 | SMT | SPI | UART | USART | USB | Wireless | Wisp628 | Xilinx

Ads

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | Piclist | Error [120] Call or jump not allowed at this address (must be in low half of pag

A discussion group for the PICMicro microcontroller. Also called the Microchip PIC, this list is dedicated to the use and abuse of this fine, simple, microcontroller. Close to topic posts are welcome, ie. general electronics.

Error [120] Call or jump not allowed at this address (must be in low half of pag - frequenzwurm2000 - Jul 27 11:39:00 2003

Hi group-members,
I have written a pic-programm which consists of two parts:
- some tables (like in AN556 or so)
- the program-code

The table starts at 0x0001 and ends at 0x00d6.

The program starts at 0x00d7 and ends at 0x016f. At =0x0000 is a jump
to the start of the program.

The chip I want to use is the pic16C54A-04, for it is cheap and matches
all I want. For testing I use a 16F84 (I only modify this part when I
change the pic-type:

16C54:
START movlw b'00000011' ; RA0 and RA1 Input
tris PORTA
movlw b'00000000' ; all to output
tris PORTB 16F84:
START bsf STATUS,RP0 ; Bank 1 selektieren
movlw 0 ; Port B output
movwf TRISB
movlw 3
movwf TRISA ; Port A RA0, RA1 Input
bcf STATUS,RP0 ; Bank 0 selektieren
) When I compile this for 16F84, everything works fine. When I compile it
for 16c54, I got many errors like in headline. What went wrong? I cannot
believe that I cannot use jumps or calls in the upper half of the
memorypage when I use the 16c54!

The pcb-layout is ready and uses the pinout for the 16F84 / 16C54.

Help!

Best regards
Andreas




(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )