[solved] Address exceeds maximum range for this processor

Hi all,

if i try to compile one of the orginal FM 1.4 pic18f452.asm

via make then i get a lot of

“Address exceeds maximum range for this processor.”

make: *** [setup_pic18f452_mbfm_tk.hex] Error 1

[error.txt](< base_url >/applications/core/interface/file/attachment.php?id=10556)

I suspected there is may some pic18f4685 option enabled

inside the asm but they are all turned off.

The pic18f4685.asm are compiled successful.

I have installed the correct version from the toolchain:

SDCC 2.80

MYSYS 1.0.11

Gputils 0.14.3 (also tried 1.0)

The forum search did not find a working solution.

Someone know what to do?

Best regards

Marxon

These are only warnings, you’ve to accept them (the curve table doesn’t fit into the PIC18F452 memory anymore…)

 

The actual error must be hidden somewhere else?

 

Best Regards, Thorsten.

Hi Thorsten,

tanks for your fast reply!

The actual error must be hidden somewhere else?

LOL!

You are right they are also compiled.

Damn i did not noticed this :confused:

Sorry for wasting your time!