Sign in

username:

password:



Not a member?

Search 68hc12



Search tips

Subscribe to 68hc12



68hc12 by Keywords

68HC1 | 812A4 | 9S12DP256 | Bootloader | CodeWarrior | D60A | Debugger | DP256 | ECT | EEPROM | EVB | Flash | HC1 | HCS12 | I2C | IAR | ICC1 | Interrupts | LCD | M68KIT912DP256 | MC9S12DP256 | MC9S12DP256B | Metrowerks | Motor | MSCAN | Multilink | PLL | Quadrature | SDI | SPI | Transceiver | XFC


Ads

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | 68HC12 | 68HC912 D60A Flash Boot Protect not working(?)

Join our technical discussions about Freescale Microcontrollers: M68HC12. (Freescale Semiconductor is a Subsidiary of Motorola).

68HC912 D60A Flash Boot Protect not working(?) - Andy Reynolds - Nov 27 14:58:00 2002

Hi Folks,

Anyone had any strange experiences with the D60A bootp flag.

I have it set and I still see my top (8000-ffff) 32k block getting
completely erased each time I erase that block - the top 8K should be
safe.

As far as I can see I am setting bootp in feemcr and feelck very
early after reset to stop erase/prog of the boot block.

If I print the F4/F5 contents they are both 0x01.

Any ideas?

Cheers

Andy





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


Re: 68HC912 D60A Flash Boot Protect not working(?) - Edward Karpicz - Nov 28 0:50:00 2002

> Hi Folks,
>
> Anyone had any strange experiences with the D60A bootp flag.
>
> I have it set and I still see my top (8000-ffff) 32k block getting
> completely erased each time I erase that block - the top 8K should be
> safe.
>
> As far as I can see I am setting bootp in feemcr and feelck very
> early after reset to stop erase/prog of the boot block.
>
> If I print the F4/F5 contents they are both 0x01.

No such experiences. D60A starts with bootp32(28) set and my bootloader
writes only
to FEE32LCK to lock bootp32. First thing I do for blank part is clearing of
F5 because
I can't erase and write to bootblock. > Any ideas?
Does oscilator start perfectly? It could be a problem. Wire reset button
and check bootp/erase
with stable clock.

Edward

> Cheers
>
> Andy




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

Re: 68HC912 D60A Flash Boot Protect not working(?) - Oliver Betz - Nov 28 2:39:00 2002

"Andy Reynolds" <> wrote:

> Anyone had any strange experiences with the D60A bootp flag.

Works as expected in my own bootloader.

> I have it set and I still see my top (8000-ffff) 32k block getting
> completely erased each time I erase that block - the top 8K should be

If I don't touch it after reset, the boot block is protected. If I
clear it afterwards, the boot block can be erased.

> As far as I can see I am setting bootp in feemcr and feelck very

FEEMCR has no "BOOTP" bit but a "LOCK" bit.

> early after reset to stop erase/prog of the boot block.

BOOTP should already be set out from reset.

Oliver






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

Re: 68HC912 D60A Flash Boot Protect not working(?) - Andy Reynolds - Nov 28 5:20:00 2002

Thanks for your help guys - I will strip out the software until I get
it to work ,

cheers

Andy

--- In 68HC12@y..., "Oliver Betz" <list_ob@g...> wrote:
> "Andy Reynolds" <eg@a...> wrote:
>
> > Anyone had any strange experiences with the D60A bootp flag.
>
> Works as expected in my own bootloader.
>
> > I have it set and I still see my top (8000-ffff) 32k block
getting
> > completely erased each time I erase that block - the top 8K
should be
>
> If I don't touch it after reset, the boot block is protected. If I
> clear it afterwards, the boot block can be erased.
>
> > As far as I can see I am setting bootp in feemcr and feelck very
>
> FEEMCR has no "BOOTP" bit but a "LOCK" bit.
>
> > early after reset to stop erase/prog of the boot block.
>
> BOOTP should already be set out from reset.
>
> Oliver




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