CW 5.0 Generates Error 48 Message while programming the MC908QB8MPE using the DEMO908QB8 Board

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

CW 5.0 Generates Error 48 Message while programming the MC908QB8MPE using the DEMO908QB8 Board

1,957 Views
datamstr
Contributor II
Hi All,
 
I have been programming the MC908QB8 (TSSOP) part in the Demo Board just fine. Today, I removed the TSSOP package and installed a 16 pin socket to program the PDIP part. Now, I am getting the following error message:
 
"Device responded properly, but ROM is secure". Error 48 during script!
 
I selected the "Ignore Security" setting, but still get the Error 48. I think this must be a security code issue, but I am not really sure. I saw in another post something about "Forced Monitor Mode", but I do not see that selection in the CW IDE.
 
Any thoughts?
 
TIA,
David Evennou
 

 
Labels (1)
0 Kudos
4 Replies

355 Views
bigmac
Specialist III
Hello David,
 
This would seem to suggest that the PDIP part you are trying to program is not blank.  Notwithstanding the error, is it possible to erase the flash contents for the device?
 
Regards,
Mac
 
0 Kudos

355 Views
datamstr
Contributor II
Hi Mac,
 
I tried two parts that are new samples from Freescale, so I guess they should be blank.

Thanks,
David
0 Kudos

355 Views
Alban
Senior Contributor II
Salut David,
 
The ROM is secured because you didn't pass the security bytes check.
To do the programing you are REQUIRED to get a Power On Reset = POR.
                     Otherwise Flash stays secure.
 
Please do check that the flags on the debugger says YES to all.
If you only have a NO at the last one, it's probably because the POR was not performed properly.
 
See Figure 17-9 in the QB8 datasheet. Simplified Monitor Mode Entry Flowchart.
 
Cheers,
Alban.
0 Kudos

355 Views
datamstr
Contributor II
Alban,
 
Thanks for your post!
Are you referring to the "Connection Status Summary" flags? If so, there were no "no" flags in the CW Debugger. So, I changed the "Mon08 Diagnostics" to "Enabled" and stepped through the process manually. The flash memory programmed OK this time. Next I powered down the DEMO Board and installed the other new sample part. I ran the debugger with "Mon08 Diagnostics" set to "Disabled". I expected the flash programming to fail, but it worked OK. So, now I am not sure what the problem was. I will be getting an order of more parts in this morning and will try the process again.
 
Thanks,
David Evennou
0 Kudos