- posted
14 years ago
[help] kompilacja programu na PICa
- Vote on answer
- posted
14 years ago
Śmiesznie to brzmi "zmieniłem kształt sinusoidy" :P...
Odpowiadam "w ciemno" - niektóre genialne programy głupieją jeśli w nazwie pliku (ścieżce) jest SPACJA. Jeśli u Ciebie nie jest problemem zbyt długa nazwa pliku (na przykład C:\Program Files\Microchip\ to już
27 znaków ;)), to sprawdź, czy nie ma spacji... te 62 znaki mogą dotyczyć także innego pliku, z którego oprogramowanie korzysta w czasie kompilacji ;)...Pozdrawiam Konop
- Vote on answer
- posted
14 years ago
- Vote on answer
- posted
14 years ago
Error 113 :
Symbol not previously defined A symbol was referenced that has not yet been defined. Check the spelling and location of the declaration of any symbols used in your code. Only addresses may be used as forward references. Constants and variables must be declared before they are used.
This sometimes happens when #include files are used in your project. Since the text from an include file is inserted at the location of the #include statement, and you may have labels used before that point, you can get this error. Also, the error may occur due to a typing error, spelling mistake or case change in your label. MyLabel is not the same as Mylabel unless case sensitivity is turned off (it is on by default). Additionally, goto MyLabel will never locate the code at Mylabl or Mylable. Check for these sorts of mistakes first. As a general rule, put your include files at the top of each file. If this seems to cluttered, you may include files within other include files.
Ściągnij i zainstaluj MPLAB'a. Będzie Ci łatwiej skonfigurować projekt. W ustawieniach projektu znajdziesz opcję generowania pliku HEX.
Pozdr, Mariusz.
- Vote on answer
- posted
14 years ago
- Vote on answer
- posted
14 years ago
Zamien we wszystkich plikach slowo "Config" na cos innego np "Lol" u mnie po zmienie poszlo.
Pozdrawiam
- Vote on answer
- posted
14 years ago
VSS pisze:
Z ciekawości, przeniosłem ten projekt do MPLAB'a. Kosztowało to trochę wysiłku i przeróbek, bo kod nie był relokowalny. Kompiluje się bez błędów ale nie daję gwarancji na działanie, bo grzebałem w skrypcie linkera :-) Nie mam zdrowia i czasu na segmentację ROM'u :-) Musisz sam sprawdzić. Projekt skonfigurowany dla PIC16F877. Plik zip trzeba rozpakować na dysku D tak, by ścieżki do plików pasowały. Powiedz, gdzie to wrzucić.
Pozdr, Mariusz Ł.