I have deleted my previous post about this same subject because I have been working on it a little further and found a couple of interesting issues, so I will post my problem again but in a different way and new data.
I will make it as short as possible. I have been using @pgo USBDM open source project for a couple of years now for development and also for teaching. My students have the USBDM project full featured PCB and I ordered about 50 pcs of this board, that uses MC9S08JM60CLD chip. The complete project @ pgo can be found here.
I have the latest USBDM versión installed USBDM_4_12_1_295_Win in my Windows 10 PC. I am using CodeWarrior 11.1
I have 3 completely assembled working USBDM boards, one of which I’ve been using for more than 2 years, programming and debugging most of the time MC9S08 chips e.g. AC60, JM60, QE128, SH8, QE8, PT16, and the like. I kept the other 2 as spares. Never had a problem.
This first PCB's firmware was programmed using another USBDM programmer, and the corresponding FLASH image was used, the one that was available by that time.
I also have an old P&E Micro Multilink cable 12E that I kept as a spare and also for a project in which I used RS08KA2, a tiny chip that was ideal for my project. Never had a problem.
Two weeks ago I couldn't make my USBDM programmer flash any of the KA2 chips from a bunch of about 20 fresh units. I still keep about 150 brand new chips obtained from Mouser. For some reason the programming session starts but it stops at a certain point of the process. After that, it reports that it has erased the chip's memory. Then the programming process crashes and there is no way to regain control. The opened project must be closed an exit CodeWarrior.
I attached the error windows in the pictures. I decided to reinstall the complete USBDM_4_12_1_295_Win in my PC. Again the USBDM board can program and debug any kind of chip, except for my KA2s.
I picked both spare USBDM assembled boards and plug them to see if I had some hardware problem. None of these 2 boards could now connect to CodeWarrior. Both LEDs off. So I decided to reflash the firmware with the corresponding flash image that came with USBDM_4_12_1_295_Win version as along time has passed and the fiemware version needed to be updated.
For this, I used the standalone USBDM HCS08 programmer and my original USBDM programmer working board. Both chips programmed and verified correctly but couldn't connect to CodeWarrior, with the green LEDs off. I tried but couldn't succesfully program several KA2 chips with the RS08 standalone programmer software.
At that point I tried instead to program the two JM60 USBDM boards using the internal CodeWarrior 11.1 flash programmer and had success. Both boards are working normally.
I tried to use the same method with the KA2, but it still has the same problem. It gets stucked before the programming attempt. I tried using the 3 USBDM working programmer boards with no luck.
So, my first conclusion is that there is something wrong with the standalone USBDM flash programmer that reports good programming and verifying but any of the boards worked. This could be solved using the CodeWarrior internal flash programmer version. I prefer to think that I am skipping something.
In the case of the RS08KA2, it is still impossible to program any of the several parts I have using both the CodeWarrior internal flash programmer and the standalone USBDM RS08 programmer. This is very strange because the old P&E Micro 12E Multilink cable can do the job.
Maybe @pgo or somebody could give me a hand and help me understand what I am doing wrong?
I would very much appreciate that.
Thank you.