Reply by jpdi March 4, 20112011-03-04
Thank you, Rob.

I knew the possibility to secure code, but never use it. Bu It don't know
NoIce forces that security disabled.

After some time searching about P&E drivers, a full uninstall then install
again P&E driver, then reboot solved the problem.
The strange thing was this problem appears on my 2 computers... where I
installed MpLab from Microchip too.
I suppose some problem here.

So, it's OK now.
Thank a lot
Best regard

Joel
> -----Message d'origine-----
> De : 6... [mailto:6...]
> De la part de Rob
> Envoy: vendredi 4 mars 2011 14:18
> : 6...
> Objet : [68HC12] Re: Unable to flash 9s12 !
>
> Hi Joel,
>
> The following is from the "Flash Burning" section of the
> NoICE documentation (bold type)...
>
> "The HCS12 family has a security feature controlled by the
> contents of the Flash word at address 0xFF0E/0xFF0F. The
> NoICE Flash burner forces this word to the value 0xFFFE. This
> disables security. The alternative would be to let you
> program the bits, and then have BDM be disabled the next time
> you reset the chip. NoICE is a debugger, not a production
> Flash burner, so we assume that you want to use BDM to debug
> your program."
>
> I wasted a fair bit of time trying to experiment with
> security before I found this information. I understand the
> intent of the software, however it does creates a development
> blind-spot. In the end I was forced to purchase an expensive
> programmer.
>
> -rob
>
>
> --- In 6..., "jpdi" wrote:
> >
> > Sorry !
> >
> > Desinstall P&E driver, then re-install it, and it's OK now.
> >
> >
> >
> > > -----Message d'origine-----
> > > De : 6... [mailto:6...] De la
> > > part de jpdi Envoy: vendredi 4 mars 2011 10:16 :
> > > 6... Objet : [68HC12] Unable to flash 9s12 !
> > >
> > > Hi all !
> > >
> > > It's a lot of time I didn't program with S12.
> > > Now, I've some soft release to do, and the cpu I try to
> modify soft
> > > refuses to be programmed.
> > > NoIce reports me
> > > "Verify fail at add... wanted xx, got yy
> > > (if this is protection byte, NoIce may prevent you from locking
> > > yourself out)
> > > .../..."
> > >
> > > I never-never protected the CPUs I use.
> > >
> > > I tried with 3 other boards I've, wich refused to be programmed
> > > (same CPU).
> > > Just 1 another is OK... It's the same CPU, but not the
> good board !
> > >
> > > Config :
> > > ICC12
> > > NoIce version 9.4
> > > CPU MC9s12xdp512cal
> > > P&E BDM
> > >
> > > Note :
> > > 1) The USB P&E BDM I usually use is not recognize by my
> computer
> > > now.
> > > So I used an old BDM on parallel port. I tried to reinstall P&E
> > > driver, without any success.
> > > May be a conflict between 2 systems (Microchip ICD3 and
> P&E BDM ?)
> > >
> > > 2) NoIce 9.4 is up to date.
> > >
> > > What happend ?
> > >
> > > Thanks a lot for you help.
> > >
> > > Joel
> > >
> > >
> > >
> > >
> > >
> > >
> > >
Reply by Rob March 4, 20112011-03-04
Hi Joel,

The following is from the "Flash Burning" section of the NoICE documentation (bold type)...

"The HCS12 family has a security feature controlled by the contents of the Flash word at address 0xFF0E/0xFF0F. The NoICE Flash burner forces this word to the value 0xFFFE. This disables security. The alternative would be to let you program the bits, and then have BDM be disabled the next time you reset the chip. NoICE is a debugger, not a production Flash burner, so we assume that you want to use BDM to debug your program."

I wasted a fair bit of time trying to experiment with security before I found this information. I understand the intent of the software, however it does creates a development blind-spot. In the end I was forced to purchase an expensive programmer.

-rob
--- In 6..., "jpdi" wrote:
>
> Sorry !
>
> Desinstall P&E driver, then re-install it, and it's OK now.
>
>
>
> > -----Message d'origine-----
> > De : 6... [mailto:6...]
> > De la part de jpdi
> > Envoy: vendredi 4 mars 2011 10:16
> > : 6...
> > Objet : [68HC12] Unable to flash 9s12 !
> >
> > Hi all !
> >
> > It's a lot of time I didn't program with S12.
> > Now, I've some soft release to do, and the cpu I try to
> > modify soft refuses to be programmed.
> > NoIce reports me
> > "Verify fail at add... wanted xx, got yy
> > (if this is protection byte, NoIce may prevent you from
> > locking yourself out)
> > .../..."
> >
> > I never-never protected the CPUs I use.
> >
> > I tried with 3 other boards I've, wich refused to be
> > programmed (same CPU).
> > Just 1 another is OK... It's the same CPU, but not the good board !
> >
> > Config :
> > ICC12
> > NoIce version 9.4
> > CPU MC9s12xdp512cal
> > P&E BDM
> >
> > Note :
> > 1) The USB P&E BDM I usually use is not recognize by my
> > computer now.
> > So I used an old BDM on parallel port. I tried to
> > reinstall P&E driver, without any success.
> > May be a conflict between 2 systems (Microchip ICD3 and
> > P&E BDM ?)
> >
> > 2) NoIce 9.4 is up to date.
> >
> > What happend ?
> >
> > Thanks a lot for you help.
> >
> > Joel
> >
> >
> >
> >
> >
> >
> >
Reply by jpdi March 4, 20112011-03-04
Sorry !

Desinstall P&E driver, then re-install it, and it's OK now.



> -----Message d'origine-----
> De : 6... [mailto:6...]
> De la part de jpdi
> Envoy: vendredi 4 mars 2011 10:16
> : 6...
> Objet : [68HC12] Unable to flash 9s12 !
>
> Hi all !
>
> It's a lot of time I didn't program with S12.
> Now, I've some soft release to do, and the cpu I try to
> modify soft refuses to be programmed.
> NoIce reports me
> "Verify fail at add... wanted xx, got yy
> (if this is protection byte, NoIce may prevent you from
> locking yourself out)
> .../..."
>
> I never-never protected the CPUs I use.
>
> I tried with 3 other boards I've, wich refused to be
> programmed (same CPU).
> Just 1 another is OK... It's the same CPU, but not the good board !
>
> Config :
> ICC12
> NoIce version 9.4
> CPU MC9s12xdp512cal
> P&E BDM
>
> Note :
> 1) The USB P&E BDM I usually use is not recognize by my
> computer now.
> So I used an old BDM on parallel port. I tried to
> reinstall P&E driver, without any success.
> May be a conflict between 2 systems (Microchip ICD3 and
> P&E BDM ?)
>
> 2) NoIce 9.4 is up to date.
>
> What happend ?
>
> Thanks a lot for you help.
>
> Joel
>
>
>
>
>
>
>
Reply by Alex Bratovic March 4, 20112011-03-04
Hi Joel
I had to update the BDM firmware of my Blue P&E USB hcs08/hcs12 rev B
multilink before it would work properly after updating Codewarrior to 5.1
The latest P&E drivers removed support for parallel port BDM. Uninstall
and download Version 9.

cheers
Alex
6... wrote:
> There is 1 message in this issue.
>
> Topics in this digest:
>
> 1a. Unable to flash 9s12 !
> From: jpdi
> Message
> ________________________________________________________________________
> 1a. Unable to flash 9s12 !
> Posted by: "jpdi" j...@free.fr dieseinfo
> Date: Fri Mar 4, 2011 1:15 am ((PST))
>
> Hi all !
>
> It's a lot of time I didn't program with S12.
> Now, I've some soft release to do, and the cpu I try to modify soft refuses
> to be programmed.
> NoIce reports me
> "Verify fail at add... wanted xx, got yy
> (if this is protection byte, NoIce may prevent you from locking
> yourself out)
> .../..."
>
> I never-never protected the CPUs I use.
>
> I tried with 3 other boards I've, wich refused to be programmed (same CPU).
> Just 1 another is OK... It's the same CPU, but not the good board !
>
> Config :
> ICC12
> NoIce version 9.4
> CPU MC9s12xdp512cal
> P&E BDM
>
> Note :
> 1) The USB P&E BDM I usually use is not recognize by my computer
> now.
> So I used an old BDM on parallel port. I tried to reinstall P&E
> driver, without any success.
> May be a conflict between 2 systems (Microchip ICD3 and P&E BDM ?)
>
> 2) NoIce 9.4 is up to date.
>
> What happend ?
>
> Thanks a lot for you help.
>
> Joel
>
>
Reply by jpdi March 4, 20112011-03-04
Hi all !

It's a lot of time I didn't program with S12.
Now, I've some soft release to do, and the cpu I try to modify soft refuses
to be programmed.
NoIce reports me
"Verify fail at add... wanted xx, got yy
(if this is protection byte, NoIce may prevent you from locking
yourself out)
.../..."

I never-never protected the CPUs I use.

I tried with 3 other boards I've, wich refused to be programmed (same CPU).
Just 1 another is OK... It's the same CPU, but not the good board !

Config :
ICC12
NoIce version 9.4
CPU MC9s12xdp512cal
P&E BDM

Note :
1) The USB P&E BDM I usually use is not recognize by my computer
now.
So I used an old BDM on parallel port. I tried to reinstall P&E
driver, without any success.
May be a conflict between 2 systems (Microchip ICD3 and P&E BDM ?)

2) NoIce 9.4 is up to date.

What happend ?

Thanks a lot for you help.

Joel