Sign in

username:

password:



Not a member?

Search piclist



Search tips

Subscribe to piclist



piclist by Keywords

12F675 | 16F628 | 16F84 | 16f877 | 16F877A | 16F88 | 18F458 | ADC | AVR | Bootloader | CAN | CCS | CRC | EAGLE | EEPROM | ICD | ICSP | IDE | JDM | LED | Macros | Microchip | MPLAB | PCB-CAD | PIC10F | Pic12f675 | PIC16F84 | PIC16F84A | PIC16F877 | PIC18 | PIC18F452 | PicBasic | PICC | PICSTART | PWM | RS-485 | RS232 | SMT | SPI | UART | USART | USB | Wireless | Wisp628 | Xilinx


Ads

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | Piclist | I don't programming that 18F458 and 12F675

A discussion group for the PICMicro microcontroller. Also called the Microchip PIC, this list is dedicated to the use and abuse of this fine, simple, microcontroller. Close to topic posts are welcome, ie. general electronics.

I don't programming that 18F458 and 12F675 - cnt - Jul 7 12:49:00 2003

Hello, I've a problem with my programmer! I'm using a jdm programmer and ic-prog v1.05A. I can programming 16F84 and 16F877 without any problem. I try to programming 18F458 and 12F675 but I don't programming them :( could you tell me what I am doing now? thanks for your advices sory for my english CNT TEK.

____________________________________________________________________________
Türkiye'nin en samimi arkadaş arama servisi ile hayatınıza renk katın! arkadasim.mynet.com





(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )


RE: I don't programming that 18F458 and 12F675 - Wouter van Ooijen - Jul 7 13:11:00 2003

Message
>  I'm using a jdm programmer and ic-prog v1.05A.  
> I try to programming 18F458 and 12F675 but I don't programming them 
 
1. Does that version of ic-prog support the chip types you are trying to program? 
2. Do you pull the PGM pin low (assuming you use HVP)?
 

Wouter van Ooijen

-- -------------------------------------------
Van Ooijen Technische Informatica: www.voti.nl
consultancy, development, PICmicro products
 





(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

Re: I don't programming that 18F458 and 12F675 - John Remington - Jul 8 14:44:00 2003

Well the 12F6x chips require the MCLR to be held high prior to VCC
coming up, something that the JDM programmer doesn't do (it's powered
from the RS232 port, both the VCC and MCLR are hot when you plug in the
programmer). My guess is the 18F chip is similar. The 16F84 chip does
not make this requirement.

Now having said all that, I have been able to program the 12F6x chips
with the JDM style programmer (olimex) and ICProg software. The caveat
is don't use the internal oscillator (some one else suggested not tying
MCLR high internally allowing that pin to be I/O) on the chip. It
seems that when the chip is programmed to run on the internal
oscillator it starts running as soon as you plug the
chip/programmer/cable into the RS232 port and that prevents the chip
from being programmed.

Or at least that's my experience with the 12F6x chips. I have
successfully overrided this by putting a 9vdc on the MCLR prior to
pluggin the RS232 into the programmer, then unpluggin the 9vdc as soon
as I hit the program button, effectively reviving all of my chips.

Regards, John Remington.
--- cnt <> wrote:

---------------------------------
Hello,I've a problem with my programmer!I'm using a jdm programmer and
ic-prog v1.05A.I can programming 16F84 and 16F877 without any problem.
I try to programming 18F458 and 12F675 but I don't programming them
:(could you tell me what I am doing now?thanks for your advicessory for
my englishCNT TEK.
____________________________________________________________________________
Türkiye'nin en samimi arkadaş arama servisi ile hayatınıza renk katın!
arkadasim.mynet.com

Yahoo! Groups Sponsor ADVERTISEMENT

to unsubscribe, go to http://www.yahoogroups.com and follow the
instructions

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __________________________________






(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

RE: I don't programming that 18F458 and 12F675 - Wouter van Ooijen - Jul 8 14:54:00 2003

> Well the 12F6x chips require the MCLR to be held high prior to VCC
> coming up, ... My guess is the 18F chip is similar.

So far this is only required for chips that can configure the /MCLR pin
as input, and in my experience you can get away with the old
(Vcc-then-Vpp) sequence as long as you don't actually configure the
/MCLR pin as input.

> The caveat
> is don't use the internal oscillator ...

That points to another problem: the programmer does not rise /MCLR to
Vpp fast enough. As the rise time is specified in clock cycles this
won't be much of a problem when configured for a crystal and no crystal
is connected, but is becomes a problem whith either the internal osc or
when a crystal is connected. I remember that my first programmer (some
almost-no-parts serial port variant) could do ICSP, but only when I
removed the crystal during programming.

But of course the best advice is: get a real programmer... (My Wisp628
kit is less than $30 including S/H)

Wouter van Ooijen

-- -------------------------------------------
Van Ooijen Technische Informatica: www.voti.nl
consultancy, development, PICmicro products


______________________________
Stellaris® MCU Family: New Parts, New Package, New Price.


(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )

PMW setting for PIC17c756a - rashid husain - Jul 9 11:27:00 2003

Hi,

I am setting up motor control bu using PIC17c756a.
The setting will be as follows:

1. User enter the desired speed and the speed will be
sent to PIC MCU. Then, from the speed received, the
PMW duty cycle will be changed accordingly.
(just like Stve Bowling's article)

2. I used the function
OPENPWM1(0xff); //for 10 bit resolution
SetDCPWM1(pwm); //pwm according to speed

3. I declared the pwm as unsigned int pwm

4. Then when I change the speed which call pwm= 255( 8
bit number) everything works ok.

5. When I changed speed which call pwm = 1023 , the
motor will run at this pwm value and will ignore any
changes in speed.

6. So seems to me that although I set the PWM to be 10
bit resolution, it can only take 8 bit value of pwm.
Then, if it takes pwm value of 10 bit (1023 for
example), that will be the last pwm value and it
cannot be changed anymore..

I really need help if anybody can give advise on this
setting of PWM to 10 bit resolution.

By the way, I am using MPLAB17 IDE.

thanks a lot

rashid
__________________________________



______________________________
Stellaris® MCU Family: New Parts, New Package, New Price.


(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )