Ok. So i finally got my programmer. and to my knowledge its working.
SO i've been doing Nigels tutorial and tried compiling it with MPLAB IDE 7.10
I followed a short tutorial on how to use it on microchip website. and used their device (18f452), linker (18f452.lkr) and code (used template and added to it f452tmp0.asm) and it worked fine, Now its my turn following the same steps:
- used the project wizard
- chose my device (16f628), project name and location, tool suite,
- chose my source file (nigels tutorial 1-1) and the linker file (16f628.lkr)
Then tried to build it all and got this error. I even tried using the template and that still gave an error without me editting the template, WHAT THE HELL !
soo can someone pls tell me what i'm doing wrong or missing. Notice it says "TRISB isn't in bank 0". I nigels code isn't editing bank 0, it tries to edit bank 1
SO i've been doing Nigels tutorial and tried compiling it with MPLAB IDE 7.10
I followed a short tutorial on how to use it on microchip website. and used their device (18f452), linker (18f452.lkr) and code (used template and added to it f452tmp0.asm) and it worked fine, Now its my turn following the same steps:
- used the project wizard
- chose my device (16f628), project name and location, tool suite,
- chose my source file (nigels tutorial 1-1) and the linker file (16f628.lkr)
Then tried to build it all and got this error. I even tried using the template and that still gave an error without me editting the template, WHAT THE HELL !
soo can someone pls tell me what i'm doing wrong or missing. Notice it says "TRISB isn't in bank 0". I nigels code isn't editing bank 0, it tries to edit bank 1