EmbeddedRelated.com
Forums

Programming Flash of 912DG128A

Started by Unknown December 1, 2002
Hello

I have some problems programming the internal flash arrays 02, 03 on a
912DG128A using P&E Prog12Z. As someone posted before, Prog12 will verify
the contents as correct but ICD12 and NoICE shows only 0xff at these
locations.

Does anyone have some help how i can programm these blocks?

Regards
Michael.

P.s. It may be also useful to hear something from the P&E folks as, i think,
i am not the only one who has some problems with this.




Hallo,

do you have the newest programmfiles? By the MCUez software for the 912DG128A I needed the newest files. The files have the ending *.fpp.
I don't know it is the same by using the P&E Prog12Z. Patrick
----- Original Message -----
From:
To:
Sent: Sunday, December 01, 2002 4:11 PM
Subject: [68HC12] Programming Flash of 912DG128A Hello

I have some problems programming the internal flash arrays 02, 03 on a
912DG128A using P&E Prog12Z. As someone posted before, Prog12 will verify
the contents as correct but ICD12 and NoICE shows only 0xff at these
locations.

Does anyone have some help how i can programm these blocks?

Regards
Michael.

P.s. It may be also useful to hear something from the P&E folks as, i think,
i am not the only one who has some problems with this.
--------------------



Michael

1. The P&E programmer uses S-Records (Physical) and not Logical Records.
Depending upon the compiler/assembler, you may have to convert Logical
Records to S-Records. There is a GUI based utility on P&E's web site to
do this. www.pemicro.com

2. In many debuggers, you must set the ppage register in order to see
the proper part of the flash image. If the programmer verifies the file
you are loading, then the data is there since the programmer does a full
read back if you do a verify.

Regards
Dave Perreault
P&E

wrote:

>Hello
>
>I have some problems programming the internal flash arrays 02, 03 on a
>912DG128A using P&E Prog12Z. As someone posted before, Prog12 will verify
>the contents as correct but ICD12 and NoICE shows only 0xff at these
>locations.
>
>Does anyone have some help how i can programm these blocks?
>
>Regards
> Michael.
>
>P.s. It may be also useful to hear something from the P&E folks as, i think,
>i am not the only one who has some problems with this. >-------------------- >
>">http://docs.yahoo.com/info/terms/



On Sonntag, 1. Dezember 2002 16:42, Dr. David A. Perreault wrote:
> Michael
>
> 1. The P&E programmer uses S-Records (Physical) and not Logical Records.
> Depending upon the compiler/assembler, you may have to convert Logical
> Records to S-Records. There is a GUI based utility on P&E's web site to
> do this. www.pemicro.com
>
> 2. In many debuggers, you must set the ppage register in order to see
> the proper part of the flash image. If the programmer verifies the file
> you are loading, then the data is there since the programmer does a full
> read back if you do a verify.
>
> Regards
> Dave Perreault
> P&E
As stated before, i test this using ICD12 and checked it again with NoICE. I
also tried to switch through the different pages using PPAGE(0xff) and
checked contents at the Window at (0x8000-0xc000). PPAGE 04-07 shows only
blank pages but i programmed every page (using the 4 Flashfiles 32K0-32K3 at
start 0x4000) with the same pattern witch is actually my programmcode but who
cares. Page 00-01 and 02-03 shows me the same startbits which seems to be
correct.

I think, if i can program the first two pages of Flash with this S-Record, i
should also be able to program the same code to the other two, but this
fails in Prog12.

Is there anyone out there who did a sucessful programming of Flash Block 03 or
04 on an 912DG128A using Prog12Z?

Regards
Michael