PDA

View Full Version : from 877 to 452



Automan
- 1st November 2004, 17:42
HI all

"I've got a problem!", i wrote a piece of code for the 16F877 which works fine but i haven't enough memory to continue.
So i have decided to move it to 18F452 but it doesn't start.

crystal is actualy a 4MHz

I use :
-microcode studio 2.1.0.6
-PBP 2.45
-mpasmwin v03.80.03
-labtool 48 universal programmer

I have no error report

here is the beginning of my code

can someone help me i don't understand what's wrong.

mister_e
- 1st November 2004, 18:06
Pure guess here, what about if you try this

RCON=0

Automan
- 1st November 2004, 18:28
i have trying with rcon=0 but no more result

mister_e
- 1st November 2004, 18:39
i'm pretty sure it's an oscillator or brown out setting... i'll get one of these F452 and i'll test it. i'll let you know

a bientot

mister_e
- 1st November 2004, 18:59
just few thought here.

2.What about if you remove all the configuration fuse setting and do it manually on your programmer program.

2. can you to set erase before programming on your programmer ?

3. can you remove the testing at Min vdd and max VDD on your programmer ?

4. is ICSP, in case yes is it possible to try only in programmer socket?

let us know

Automan
- 1st November 2004, 19:06
HI mister_e,

its the same result

i have a old 'picstart plus' i'm going to try with it, may be my programmer is out

i let you know the result

mister_e
- 1st November 2004, 19:27
Hope your PICstart is updated for that... or i hope you have an 17C blank in extra to update it or, better, Upgrade Flash kit already fitted in.

regards

Automan
- 1st November 2004, 19:34
HI mister_e

1 - if i remove all the configuration fuse setting and do it manually on my programmer it's the same result

2 - i always erase the chip before i program it

3 - i program it without test min or max VDD

4 - my programmer isn't ICSP

5 - i have tryed to program with 'picstart plus' but when i 'import' the HEX file i've got those error message :

"the format of the file c:\...........................\therm452 jfb.hex can not be read or written because its extension was not recognized'

Automan
- 1st November 2004, 19:36
HI,

yes i've got upgrade my picstart plus with 17c and firmware v3.11

à bientôt

mister_e
- 1st November 2004, 19:58
Hi automan, i'm really not sure of the following but is V3.11 support 18F452... maybe this is the reason of those error messages. The newest version the the firmware is 4.XXX

Automan
- 1st November 2004, 20:11
HI mister_e

the firmware v3.11 is the last with pic17c, for the newer firmware i should buy the upgrade kit.

so i can't do the test now.