Thank you all for the replies.
This is an industrial product, so not worth taking the risk.
I admit I had not thought about the verify part of programming.
Regards
Bob.
Type: Posts; User: BobEdge; Keyword(s):
Thank you all for the replies.
This is an industrial product, so not worth taking the risk.
I admit I had not thought about the verify part of programming.
Regards
Bob.
Hi All,
I have a project where there are 3 818's on the same PCB, and with the same software.
Has anyone tried programming multiple devices, at the same time using a Pickit 3?
Regards
Bob.
Hi,
Issue solved. Many thanks to Henrik. The old assembler (PM) was not case sensitive, MPASM is.
Changed define adc_bits 10, and all of the other config parts to capital letters, and all is...
Henrik,
Thank you very much, issue solved by changing to capital letters.
It's always the simplest things that cause the issues.
Sorry about the dual post, no one was viewing PBP 3 section, &...
Hi Alain,
Here is the code. PIC16F870 by the way.
define OSC 20
define adc_bits 10
define adc_sampleus 50
trisa = 255
adcon0 = 129 'Internal clock, channel 0, switched on
adcon1 = 142 'Right...
Here is the code. PIC16F870 by the way.
define OSC 20
define adc_bits 10
define adc_sampleus 50
trisa = 255
adcon0 = 129 'Internal clock, channel 0, switched on
adcon1 = 142 'Right justified...
Hi,
Ever since I have been using PBP I have had the same problem. If using MPASMWIN the A/D converter module does not work, and just reads zero. In the past this was not a problem as I had the...
Hi,
Ever since I have been using PBP I have had the same problem. If using MPASMWIN the A/D converter module does not work, and just reads zero. In the past this was not a problem as I had the...
Thanks for the replies.
Good to know paralleling the inputs is not a problem.
We buy the 35A rectifiers in bulk for less than £1 each, so using 3 is no problem.
Very relieved to know There is no...
Hi,
I need a 3 phase bridge rectifier that can handle around 15A / Phase.
The limit for fairly inexpensive ones seems to be 35A, higher than this and the price is just not viable for the product....
Hi,
The conditions would be in brackets i.e.
if (a = 1) or (a = 2) then
I think the number is only limited by memory. I tried 10 no problem.
Regards
Bob
Hi Gaston,
Yes I did have some success. Unfortunately I lost the files for the completed project when a computer crashed. I do still have a basic version which as far as I remember works. The...
Hi,
Thanks for your replies. I have now solved the problem, but still cant explain why it was behaving as it was.
Turns out that I had added some code that had not been tested, before being...
Hi,
Thank you for your help. I will post the full code.
#config
__config _HS_OSC & _WDT_ON & _PWRTE_ON & _BOREN_ON & _CP_ON & _LVP_OFF
#ENDCONFIG
Hi,
I am having troubles recently. Programs that used to work ok are now behaving strangely, like certain lines of code being ignored, or so it seems. I may have only changed a pause time or...
Hi,
As usual after trawling the net, and data sheets for many hours, I have found the answer only 10 mins after posting.
When programming disable low voltage programming mode, and something...
Hi,
I am having a problem with using port B as inputs. The inputs are inverted. Here is the code.
#config
__config _HS_OSC & _WDT_ON & _PWRTE_ON & _BOREN_ON & _CP_ON
#ENDCONFIG
define OSC...
Hi,
In the past I have used the good old 2803 octal driver as inputs to a pic where space was too tight for using opto isolators.
This proved to be problematic, interference wise, due to the...
Hi Bobbo,
Did you download the PIC timer calculator linked above?
Using this we can see what is happening much more easily.
Lets take a look, you have a 4MHz osc, and the timer uses fosc / 4,...
Hi Mark,
Yes EasyHiID works with PBP2.5, and Micro Code Studio
Bob
Hi,
Just ran a simulation in isis. First thing I notice is that porta.4 does not seem to be working. Don't know if that is just the simulator though.
Will take a closer look at your code :)
Ahh I see what I was doing wrong. I thought the asm part saw all pbp names as _CAPITALS.
Thanks.
Ok, I have been doing a little more delving into asm. So I now have a specific question.
How do I use a macro?
I have tried using it in PBP, and inbetween the ASM, ENDASM commands, but I can't...
Thank's for that. I had no idea about the .lib files. Very interesting stuff.
Will also check out the piclist website.
Regards
Bob...
Hi,
Does anyone out there have any examples of using PBP variables in asm?
In particular I was thinking of reading TMR1H, & TMR1L into a 16 bit PBP variable, or setting up registers, doing A to...