I'm programming the pic with jal so i'm using the jal compiler in combination with a programmer. I'm programming the pic and reading out the values from a few registers (for example adcon0) to the lcd. when changing values in registers located in bank0, i can see the register value does change by reading out the values to the lcd. when i try to do the same for example with adcon1 (located in bank1), i don't get the values just written to that register on the lcd, but just a random value that doesn't make sense. i've already tried another pic and i did configure the tris regs hope you get my problem a bit more.. basically i can't write to registers located in other banks then bank0. ---- Jinx schrijft: > > i can't congifure ADCON1 and so the port configuration for > > vref+ and the analog channels etc, can't be made > > How are you looking at this to be able to say that you can't access > Bank1 ? For example is MPLAB (or whatever it is you're using) > not working in simulation or are you actually programming the PIC > and it doesn't do what it's supposed to ? > > Tried another PIC ? > > > yes, i have everything configured as it should be > > Does that include TRIS ? > > Joe confused......... > > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist