Board logo

标题: 往MD9S12DP256B内下载程序被提示:No programming voltage [打印本页]

作者: malyyuer    时间: 2007-5-18 15:46     标题: 往MD9S12DP256B内下载程序被提示:No programming voltage

往MD9S12DP256B内下载程序被提示:No programming voltage怎么回事?
具体情况:
MCU clock speed: 2797000 Hz
Block Module Name Address Range Status
0 EEPROM 400 - FFF Blank - Unselected
1 FLASH_4000 4000 - 7FFF Programmed - Unselected
2 FLASH_C000 C000 - FFFF Programmed - Unselected
3 ALL_PPAGES 308000 -3FBFFF Programmed - Unselected
4 FLAT8000_P30 8000 - BFFF Programmed - Unselected

FP: The UNPROTECT command is not available for the EEPROM flash module => Skipped.

FP: The UNPROTECT command is not available for the FLASH_4000 flash module => Skipped.

FP: The UNPROTECT command is not available for the FLASH_C000 flash module => Skipped.

FP: The UNPROTECT command is not available for the ALL_PPAGES flash module => Skipped.

FP: The UNPROTECT command is not available for the FLAT8000_P30 flash module => Skipped.
executing .\cmd\P&E_Multilink_CyclonePro_vppon.cmd

!// Before programming the flash, the commands written below will be executed
done .\cmd\P&E_Multilink_CyclonePro_vppon.cmd

Vppon command file correctly executed.

FP: No programming voltage

FP: No programming voltage

FP: ALL_PPAGES flash module is bad or protected.
executing .\cmd\P&E_Multilink_CyclonePro_vppoff.cmd

!// After programming the flash, the commands written below will be executed
done .\cmd\P&E_Multilink_CyclonePro_vppoff.cmd

Vppoff command file correctly executed.
FP: Arm FLASH for loading.
executing .\cmd\P&E_Multilink_CyclonePro_vppon.cmd

!// Before programming the flash, the commands written below will be executed
done .\cmd\P&E_Multilink_CyclonePro_vppon.cmd

Vppon command file correctly executed.
executing .\cmd\P&E_Multilink_CyclonePro_vppoff.cmd

!// After programming the flash, the commands written below will be executed
done .\cmd\P&E_Multilink_CyclonePro_vppoff.cmd

Vppoff command file correctly executed.
FP: FLASH disarmed.
executing .\cmd\P&E_Multilink_CyclonePro_reset.cmd

!// After reset the commands written below will be executed
done .\cmd\P&E_Multilink_CyclonePro_reset.cmd

Reset command file correctly executed.
executing .\cmd\P&E_Multilink_CyclonePro_postload.cmd

!// After load the commands written below will be executed
RESET
done .\cmd\P&E_Multilink_CyclonePro_postload.cmd

Postload command file correctly executed.
main 0x308000 T
STARTED
RUNNING
ILLEGAL_BP

in>


其中在写程序前后分别执行了:
done .\cmd\P&E_Multilink_CyclonePro_vppon.cmd
和done .\cmd\P&E_Multilink_CyclonePro_vppoff.cmd
我看了这两个工程所生成得文件,是空的,跟这有关系么?
请各位不吝赐教!
作者: malyyuer    时间: 2007-5-18 16:05

[upload=image/bmp]uploadImages/下载界面.bmp[/upload]

这是下载界面!
作者: strongchen    时间: 2007-5-18 16:24

你可以用wizard引导建一个新的project,不做任何修改,然后用调试功能写芯片试试。
作者: malyyuer    时间: 2007-5-18 16:29

版主好,我如您所说建了一个工程,依然如此。
作者: malyyuer    时间: 2007-5-18 16:32

应该是编程电压的问题,我已经在板子上打开了使能位ROMON,可还是这样
作者: strongchen    时间: 2007-5-18 16:33

那可能需要再仔细检查一下硬件了。或者用解密(unsecure)试试。
作者: malyyuer    时间: 2007-5-18 16:41

我也是初解除Freescale单片机。在Codewarrior中怎么看芯片处于加密状态?
作者: strongchen    时间: 2007-5-18 16:57

一般处于加密状态时就无法连接。不管是否加密,都可以unsecure试试。
作者: malyyuer    时间: 2007-5-18 17:08

我用Unsecure,却被告知:
derivative can not be unsecured!!!
The unsecured command file might be missing or disable.
Why?
作者: strongchen    时间: 2007-5-18 17:30

你用的是4.6版的CodeWarrior吗?重新下载安装一遍试试吧。
作者: malyyuer    时间: 2007-5-18 19:44

谢谢版主的帮助,问题解决了,在创建共产能够时,我用的时USB连BDM,而且用P&E Multilink_CyclonePro就出那问题,现在用Full Chip simulation就好了
作者: malyyuer    时间: 2007-5-19 10:36

P&E Multilink_CyclonePro和Full Chip simulation有什么区别?
我用的是USB接BDM,上面写着USB Multilink
作者: malyyuer    时间: 2007-5-19 23:06

晕啊!还是那个问题,我被愚了!Full Chip simulation模式是脱离硬件的仿真,其实他没有硬件也可以调试程序。最终还是没有能下进去啊!!
郁闷!哪位能指点一下。怎么回事啊???
作者: strongchen    时间: 2007-5-21 09:48

把你的整个project打包贴出来看看吧。或者发到strongchen_free@yahoo.com.cn。
作者: malyyuer    时间: 2007-5-21 10:24

您好,我只是用向导建了一个新工程,目的是调通板子。我把工程给您发邮箱去了,你帮我看看,怎么P&E_Multilink_CyclonePro_vppon.cmd和P&E_Multilink_CyclonePro_vppoff.cmd里面是空的?




作者: strongchen    时间: 2007-5-21 10:50

我试过你的project了,没有问题。写入我的板子可以调试和仿真。你再检查一下硬件吧。也可以重装一下CodeWarrior试试。




欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) Powered by Discuz! 7.0.0