Hello PGO,
I found that it was my mistake : I was not correctly setting the Clock type and parameters!
The Flash Programmer is Version 1.0.3,
BDM firmware 2.0
DLL 3.1.1
BDM hardware is one I made myself with a JM60.
With a HCS08QE128 (SDID 0x1.015) or HCS08AC128 (SDID 0x0.01B) the SDID is read, but the device type is not recognized and so the Clock type is left on "External" which doesn't work. If I set it to S08ICSV3 it's ok for the QE128, and the AC128 uses S08ICGV4.
With a HCS08LG32 the device type is correctly set, so the clock is also configured automatically after clicking on "Detect SDID".
With the correct clock settings, all three work fine, even with a secured chip.
So, my apologies for taking your time...
When using the USBDM from Codewarrior 6.3 or 6.3.1 and Hiwave.exe with Open Source BDM dll v. 3.05, with a CF1 device a secure chip is automatically unsecured without any additional steps, but with the three HCS08 parts I tried one has to first manually select the "Unsecure..." command from the "HCS08 Open Source BDM" menu, otherwise one gets the error message "Error while loading diagnostic algorithm to target system. The chip may be secured or the derivative selected may be wrong."
But this is not a big deal, and it may be due some configuration setting I missed in the command files, but in case it's of any interest, I attach three gdi log files -- one of the failure when trying to program a secured device, one of the sucessful unsecure command, and one of the success programming of the unsecured device.
Many thanks for providing this great tool!