Thanks, it worked! Sorry for long delay, forgot about the post until now.
I found by clearing ANSEL, and clearing PORTA/PORTB in page 0, all problems went away!
Thanks,
James
Search found 5 matches
- Sun Mar 16, 2014 6:46 pm
- Forum: E-blocks
- Topic: Works in VLAB, not in E-Blocks
- Replies: 8
- Views: 5662
- Tue Mar 04, 2014 11:20 pm
- Forum: E-blocks
- Topic: Works in VLAB, not in E-Blocks
- Replies: 8
- Views: 5662
Re: Works in VLAB, not in E-Blocks
So if I were to use this code, and double check the MCLR Setting when I go to upload it, the problem *might* be solved? LIST P=16F88 __CONFIG H'2007', H'3F7A' ; RC mode __CONFIG H'2008', H'3FFC' ; Clock Fail-Safe disabled ORG 0 ; Reset vector GOTO 5 ; Goto start of program ORG 4 ; Interrupt vector G...
- Tue Mar 04, 2014 8:26 pm
- Forum: E-blocks
- Topic: Works in VLAB, not in E-Blocks
- Replies: 8
- Views: 5662
Re: Works in VLAB, not in E-Blocks
Hi, thanks for taking such an interest in this, if you can figure this out then you'll be a lifesaver! Here's the contents of the .HEX file that was uploaded (the simple test code) :020000040000FA :020000000528D1 :0800080005288316FF30850076 :0C001000860183120614851886140A2845 :02400E007A3FF7 :024010...
- Tue Mar 04, 2014 4:04 pm
- Forum: E-blocks
- Topic: Works in VLAB, not in E-Blocks
- Replies: 8
- Views: 5662
Re: Works in VLAB, not in E-Blocks
Hi Martin, thanks for the quick reply.
With this particular bit of software MCLR defaults to internal, WDT is disabled (along with the other various timers, and Low Voltage is disabled. These were also checked before programming started.
Thanks,
James
With this particular bit of software MCLR defaults to internal, WDT is disabled (along with the other various timers, and Low Voltage is disabled. These were also checked before programming started.
Thanks,
James
- Tue Mar 04, 2014 3:00 pm
- Forum: E-blocks
- Topic: Works in VLAB, not in E-Blocks
- Replies: 8
- Views: 5662
Works in VLAB, not in E-Blocks
First, apologies if this has been solved before: A quick search couldn't find the result. I'm in the process of doing my Electronics Coursework, which is done using ASM4PICsv4. I created my program, and found that VLAB didn't have enough RA ports (My program used all 8, VLAB only supports 5). We the...