CW hangs when programming PT60

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

CW hangs when programming PT60

487 Views
joshdgill
Contributor I

I purchased a MC9S08PT60 mcu to test the tsi module for a potential project. I am trying to download code to the core using a usb-ml-12e programmer. After the power cycle dialog box, CW hangs at "Downloading xxx bytes... (98%)." It will hang forever with no error messages. I've checked CW for updates (I'm using V10.3), and also checked the bdm for firmware updates.

 

Has anyone had a similar experience?

 

On a side note, no ports are in the device initialization window for the PT60, just the other modules. Is there a way to bring back the port initialization?

Labels (1)
Tags (1)
0 Kudos
2 Replies

273 Views
Encoder1
Contributor III

Hi Josh,

I had many times problem with downloading code to an already flashed or (worse) to a new processor when the power supply of the CPU was too much low in current availability. This was due, in my case, to the fact that just after reset the CPU was preset in high frequency mode to check BDM and this caused it to sunk too much current from the supply.

In another case the CPU was incorrectly preset by my code at the beginning causing some I/O to be overloaded with the same result as above.

In all cases I was able to correctly program the part simply by allowing the CPU power supply to deliver more current.

Regards,

Salvatore

0 Kudos

273 Views
admin
Specialist II

Hi Salvatore,

Thanks for the reply. I'm using a bench supply, 5v, current limit set at max. The MCU was connected to a few things, but to troubleshoot, I disconnected everything except VDD, VDDA, VSS, VSSA, RST, and BKGD.

I thought maybe it was something in the configuration of the project, so I've created a new, empty project with complete default settings, and it also won't program. My USB BDM is working, I have tested this on a working QE board and have no issues downloading code.

Best,

Josh

0 Kudos