Forum: Mikrocontroller und Digitale Elektronik CC5X Compiler - Fehlermeldung


von Olaf R. (olaf_rechtner)


Lesenswert?

Hallo,

vielleicht kennt sich jemand mit dem CC5X Compiler aus, bekomme hier 
folgende Fehlermeldung:

"Address above 0xFFFF is not supported by selected hex file format"

Wenn ich den Code für einen PIC16F627A kompiliere funktioniert es. 
Sobald ich aber einen PIC16F1517 verwenden möchte, kommt die vorgenannte 
Fehlermeldung.

Grüße
Olaf

von Gori (Gast)


Lesenswert?

Die Anfrage ist zwar schon alt, aber falls wieder mal jemand über das 
Problem stolpert
siehe: http://www.bknd.com/cc5x/faq.shtml
Zitat:
I get error message "Address above 0xFFFF is not supported by selected 
hex file".
The HEX file must be changed from INHX8M to INHX32 when using the new 
enhanced 14 bit core devices. In MPLAB, the hex format can be changed to 
INHX32 by selecting menu item "Project->Build Options->Project" or 
right-click on the project name and then "Build Options...". Then click 
on the "CC5X C Compiler" TAB. There is a line termed “Hex Format”. 
Select the LAST box on this line (all are termed “inhx”) and notice how 
the line below change to “-CC –fINHX32 –a –L –Q –V –FM”.

Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.