Unable to erase the flash on a GT16A

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Unable to erase the flash on a GT16A

Jump to solution
2,384 Views
Hawkeye
Contributor III

I can not erase the flash when using PROGHCS08 v1.40.  Typically it re-initializes when I choose to erase the module.

The problem is with our board which we have modified. With the old board I have no problems but with the new one it fails. The changes on the board are not supposed to impact the MCU but obviously they do.

One difference I see when attempting erase the flash is that with our new board and v1.04 of the algorithm the programmer reports a bus frequency of 7741 KHz. With an older version of the algorithm it was reporting a bus frequency of 3685 KHz. With a working board the bus frequency is reported as 15546 KHz.

Can anybody suggest why the frequency is different or what to look at to solve this problem?

 

Thanks

Labels (1)
0 Kudos
Reply
1 Solution
1,488 Views
Hawkeye
Contributor III
Replacing the mcu solved the problem.

View solution in original post

0 Kudos
Reply
4 Replies
1,488 Views
Hawkeye
Contributor III

Maybe I am not really "connected" to the GT16A as the programmer always initializes and loads the programming algorithm when I select Erase Module.

Can anybody tell me why it would do that?

 

Thanks

0 Kudos
Reply
1,489 Views
Hawkeye
Contributor III
Replacing the mcu solved the problem.
0 Kudos
Reply
1,488 Views
peg
Senior Contributor IV

Hello Hawkeye,

 

Are you saying you can connect to the device with out any problem but only get a problem with the erase command?

Are you securing the device previously?

I use the GT16A a lot and have not seen any problem like this.

 

0 Kudos
Reply
1,488 Views
Hawkeye
Contributor III

Thanks for the response Peg.

 

Yes I can connect to the device (and read the System Device ID registers) but can not erase or program the device.

 

It is a new device and the programmer software reports that it is unsecured.

 

Both the programmer and debugger read NVOPT as $FE.

The programmer reads FOPT as $C2.

 

There are 4 bytes which are not erased:

$FFBE = $73

$FFBF = $FE

$FFFE = $00

$FFFF = $80

 

The difference I have seen between the the two boards is the bus frequency reported by the programmer.

We use the GT16A on the old board and do not have this problem.  There is something different with this board or maybe this individual device is damaged.  I am trying to get the device swapped but I think the tool is not working.

 

Thanks

0 Kudos
Reply