Hallo, vielleicht kann mir hier jemand helfen. Ich benutze die Lite Version des PICC-Compilers von HI-Tech, V.9.70 für die Programmierung des PIC16F635. Der Compiler lässt immer den Bereich von 0x001..0x0FF unbenutzt. Sobald ich mehr Code haben will, meldet er "Speicher voll", obwohl dieser Bereich frei ist. Auszug aus dem Compiler-Ergebnis: HI-TECH C Compiler for PIC10/12/16 MCUs (Lite Mode) V9.70 Copyright (C) 2009 Microchip Technology Inc. Psect Usage Map: Psect | Contents | Memory Range | Size -----------|------------------------------------|---------------|------- ------ end_init | Initialization code | 0000h - 0000h | 1 word strings | Strings and constant data | 0100h - 0110h | 17 words cinit | | 0111h - 011Bh | 11 words clrtext | Memory clearing code | 011Ch - 0123h | 8 words text85 | Program and library code | 0124h - 0126h | 3 words text82 | Program and library code | 0127h - 0127h | 1 word text81 | Program and library code | 0128h - 0128h | 1 word text80 | Program and library code | 0129h - 0129h | 1 word text79 | Program and library code | 012Ah - 012Ah | 1 word text88 | Program and library code | 012Bh - 012Bh | 1 word text87 | Program and library code | 01E1h - 01F8h | 24 words text83 | Program and library code | 01F9h - 0225h | 45 words text84 | Program and library code | 0226h - 0268h | 67 words text86 | Program and library code | 0269h - 02B7h | 79 words maintext | Program code for main() function | 02B8h - 03FFh | 328 words -----------|------------------------------------|---------------|------- ------ Frei ist der Speicherbereich tatsächlich, da im map-file dieser als unused ausgewiesen ist: UNUSED ADDRESS RANGES Name Unused Largest block Delta BANK0 0006A-0006F 6 1 CODE 00001-000FF FF 2 0012C-001E0 B5 COMMON 00079-0007D 5 1 Mir kommt es vor als ob irgendwo eine Einstelloption wie "min. PSECT-Adresse = 0x100)" exisitiert, aber ich habe alle Optionen durchforstet und bin einfach zu blöd dazu. Kann mir jemand die Augen öffnen? Danke!
Hi da ich unter C nur mit PIC18 aufwärts aberbeite, kann ich dir nur das bieten: http://forum.htsoft.com/all/ubbthreads.php oder evtl noch: http://www.fernando-heitor.de/picforum/index.php Gruß Gerhard
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
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.