Hi all
I tried to use USBDM commercial products to program the MC9S08PT60, however the programmer can not detect the chip ID. It gave error like: could not launch the BDM, the target MCU may be secured. I don't know how to fix this problem. Does this MCU requires a new version of BDM??? Hope someone can help me.
Regards
Hi Shucheng,
I did a quick test with a JS16 based BDM
http://usbdm.sourceforge.net/USBDM_V4.10/USBDM_JS16/html/index.html
and it seemed to work OK.
It is a bit unclear what the problem is from your description. Could you do the following:
If you want to be more helpful you can repeat the above using the debug version of the HCS08 programmer which is available in the installation directory. Please post the Programmer log file and the usbdm.log.
Also provide the following information:
Thanks.
Hi
The MCU I used is M9S8PT60VLH. I tried with debug version as well, but I could not find any log file.
Regards
Shucheng Zhu
Hi Shucheng,
The log file are in %appdata%/usbdm
The useful files would be FlashProgrammer_HCS08.log and usbdm.log.
I assume you did try cycling the power when the dialogue pops up? Some devices can't be connected to unless the power is cycled while the BKGD signal is held low.
bye
Hi pgo
Yes I cycled power to the board. Yesterday I measured waveforms of BKGD and reset pin and found the BKGD pin voltage level is not correct, I changed the pull-up resistor from 10k ohms to 2kohms. Now the programmer start to detect ID of MCU. However it detected the PT to PA series. I will find out the log and attach them here.
Regards
Shucheng Zhu
Hi Shucheng,
I will have a look at the logs tonight,
In the meantime you could try manually selecting the device as I think there is some error in the handling of the SDIDs for aliased devices which was introduced in the latest version.
I would have thought that a pull-up of 10K would be fine for the BKGD signal. I'm surprised that a change to 2K would be necessary.
bye
Hi
I tried to use the manual selection of MCU, it seems not work as well.
Regards
Shucheng Zhu
Hi
Thank you for reply me. That is my first time to use USBDM. So I got several problems.
I set the stand-alone HCS08 programmer as shown in Fig.1 and 2
Fig.1
Fig.2
When I tried to detect the chip ID, it started to give errors in following figures:
I also tried to load the Hex file: HCS08-PTxx-flash-program.abs.s19. The programmers gave such following errors:
The USBDM I used based on JS16. The website is USBDM_JS16仿真下载器-售价40元_开发工具_北京飞锐泰克科技有限公司. The system I used is windows 7 32bit system.