![]() | ![]() | ![]() |
| | |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| Hi, I have recently changed from 16F84 to 16F628A. To do so I have upgraded Melabs v1.42 Picbasic Compiler to v1.45. I used a small test Picbasic program is written using DOS Edit, then Run ...\PBC\pbc -p16F628A filename The result is this error message: "Error .....\PBC\INC\B16F628A.INC 7:[225]Undefined Symbol 'INTRC_OSC' " The v1.45 uses PM v4.02 Does the different assembler has new requirements? ??????? kenmac | |
| |
| | (permalink) |
| Hi again, It's OK folks - I have sorted this one. Apparently it is necessary to declare the operating frequency, which wasn't necessary with the 84A. So the following was added: symbol xtal = 4 The program now compiles OK. kenmac | |
| |
| | (permalink) |
| So, I still have the original problem with that error message [225]. I have tried a few things, with no joy. Incidentally, the PM is v4.06, not v4.02 (typo). Any help would be appreciated. :?: :?: kenmac | |
| |
| | (permalink) |
| i wish i could help , but i dont use picbasic. assembly is the only way to go. | |
| |
| | (permalink) |
| I have solved this one. Eventually I consulted with Melabs Support and they supplied a later version of the P16F62XA.INC file. I compared that with the Upgrade version and found 3 lines with differences - appear to be spelling errors, INTOSC in lieu of INTROSC. Anyway, I substituted the later file and it all works OK now. kenmac | |
| |