CW hangs when programming PT60

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

CW hangs when programming PT60

540 次查看
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?

标签 (1)
标记 (1)
0 项奖励
回复
2 回复数

326 次查看
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 项奖励
回复

326 次查看
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 项奖励
回复