hi all,
i want to compile a program for pic12f675 with pic basic pro but there is an error : " unable to find -p<pic> processor file 12f675.bas " . does anyone know how I can manage to get that file ?
hi all,
i want to compile a program for pic12f675 with pic basic pro but there is an error : " unable to find -p<pic> processor file 12f675.bas " . does anyone know how I can manage to get that file ?
Can you compile with another PIC i.e. 12F629 or else?
If so, be sure your PBP version support the PIC12F675. Should be at least V2.42
http://www.melabs.com/support/upgrade.htm#History
Last edited by mister_e; - 20th August 2006 at 23:18.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Even if you manage to somehow get the file, you can't just use it with an earlier version of PBP. MELabs has changed some stuff around between versions in these files...
I wrote my own .bas and .inc files (back when I was using 2.30) to support the 16F81x PICs, you could do the same if you can't afford the upgrade. Start with the 12F629 files and familiarize yourself with the datasheets - you'll need to understand the registers, and how MELabs constructed their files, with the bit masking and stuff. Then make copies of the 12F629 files and edit them to support the 675.
Then I came to my senses and upgraded. Too many new chips to keep up with (rather spend my time writing code, not writing compiler support hacks).
Or, as Mister_E says, try using the 12F629 option. If you are not using the 675's ADC, it should fly - the registers are nearly identical between these 2 PICs.
Bookmarks