在线时间13 小时
UID3184364
注册时间2015-11-26
NXP金币0
该用户从未签到
注册会员

- 积分
- 134
- 最后登录
- 2016-12-16
|
在NXP的英文论坛上看到一篇老文 讲述 如何将CW6.3安装到WIN7 WIN10等64位操作系统上。分享给大家
CW10用的不习惯。
原文链接地址 原文有一些软件可用于实现安装。
http://community.nxp.com/thread/302974
Install CodeWarrior 6.3 Windows 7 & 10 x64 directly (Classic version)
由 Rodney McGee 于 2012-12-28 创建的讨论
喜爱 • 显示 3 喜欢3 评论 • 52
CodeWarrior 6.3 is for most RS08, S08, ColdFire V1 Processors*
*Not compatibile with (S08: RN, RNA, PA, PT, Kinetis (including Tower), ColdFire V2 ...)
This post describes installing CodeWarrior for Microcontrollers (Classic IDE) - RS08/HC(S)08, ColdFire V1 v6.3
on 64-bit modern versions of Microsoft's operating systems e.g. Windows 7 and Windows 10.
Some people could argue to use the Eclipse-based CodeWarrior and they have their points (some devices and situations require it). On the other hand Freescale long knew that Eclipse-based CodeWarrior is cumbersome. Here is a great article (now only available by archive since it was deleted) article by James Trudeau (formally of Freescale) about his teams unfinished but thoughtful effort: CodeWarrior 10.3 a new perspective.
Also for those who fondly remember programming Motorola parts with an Metrowerks IDE, give this a shot.
Typically you will get the error "CodeWarrior Development Studio for Microcontrollers v6.3 is not compatible with Windows XP 64-bit installations" when trying to install under Windows 7/10 x64:
There are several methods out there for installing CodeWarrior v6.3
(Classic IDE) - RS08/HC(S)08, ColdFire V1 under a 64-bit (x64) Windows 7 installation:
1. Use XP Mode under Windows 7 (documented in AN3936, but is not recommend by Microsoft since XP SP3 is no longer supported)
2. Use Win XP under VMWare/VirtualBox (not always ideal for use with hardware debug tools)
3. Copy over the program files an XP install and run \bin\regservers.bat from inside the CW folder in program files (need an XP box)
4. This method; directly install by removing OS version check
Watch Windows 10 x64 video:
Freescale/NXP CodeWarrior Classic 6.3 Windows 10 x64 HCS08 RS08 CFV1 P&E Micro BDM - YouTube
Main Installation steps (Windows 7/10 64-bit):
1. Download Special Edition: CodeWarrior for Microcontrollers here: CW_MCU_V6_3_SE.exe which is for most RS08, S08, ColdFire V1
2. Install 7Zip, with it extract CW_MCU_V6_3_SE.exe (instead of running the exe; right click it and extract) to a folder
3. Download and extract RemoveOSCheck.vbs.zip (attached below or mirror) and move it your extracted folder.
4. Drag and drop CW_MCUs_V6_3.msi onto RemoveOSCheck.vbs giving a series of messages like "Launch Conditions Removed"
5. Run the setup.exe file located in the extracted folder, skipping updates for now.
Note: If the setup file try running setup.exe again as administrator (via right click menu).
Note: For Windows 8/10 you may need to do a custom install and uncheck the ICEbase and Softec debugger driver
6. Install the updates listed below (most are not offered by the updater).
7. If you have/need a license file, install it by copying your license.dat into C:\Program Files (x86)\Freescale\CodeWarrior for Microcontrollers V6.3
Note: for <=64KB code use this free one from Freescale open to ANY hostid (great for cloning machines in labs)
8. Run the software as administrator (using right click menu) at least once.
List of updates for CW 6.3 (in order):
CW08_V6_3_PE_V3_09_SP.exe
CW08_V6_3_CFV1_AG128_SP.exe
CW08_V6_3_CFV1_MM256_JE256_SP.exe
CW08_V6_3_CFV1_EM256_EM128_SP.exe
CW08_V6_3_HCS08_AW60_SP.exe
CW08_V6_3_HCS08_AC128_SP.exe
CW08_V6_3_HCS08_AW16A_SP.exe
CW08_V6_3_HCS08_SF4_SP.exe
CW08_V6_3_HCS08_QE32_SP.exe
CW08_V6_3_HCS08_LH64_LL64_SP.exe
CW08_V6_3_HCS08_MM128_JE128_SP.exe
CWMCUV631.exe
Note there is another patch called "CW MCU v6.3 - Flash Patch.exe" (for P&E) but it's obsolete. Follow the P&E instructions below.
P&E Micro BDMs steps:
Cyclone Pro, Cyclone Universal, USB BDM Multilink*, USB Multilink Universal, USB Multilink Universal FX.
*Note: Rev. A of the USB-ML-12 is not supported in Windows 7/10 – Rev. C is supported but discontinued
1. Download and install the latest drivers (free login required)
http://www.pemicro.com/downloads/download_file.cfm?download_id=53
2. According to this FAQ, download this zip "Patch for CFV1/S08/RS08/MON08 3rd Party Software" http://www.pemicro.com/downloads ... cfm?download_id=415 extract it and follow the rest of steps in the README text file. Basically you need to merge the files from inside the "Patch" folder in the zip into "C:\Program Files (x86)\Freescale\CodeWarrior for Microcontrollers V6.3\prog\P&E". If you do it correctly, it should prompt you about overwriting a few files, do it.
3. Run the software as administrator (using right click menu) including building and debugging at least once.
USBDM
I personally used this for a HCS08SH microcontroller with a Wytec USBDM with the latest and it works great. If you don't consider it because they are a fifth the price of other programmers and are open source hardware and software. The project is currently hosted on SourceForge.
1. Reinstall/Install latest USBDM software AFTER installing codewarrior 6.3.
2. Install the latest signed driver before plugging it in USB.
3. Use the firmware updater from the start menu to make sure the firmware is up to date
(TIP: Try the verify button before trying to update to make sure all "update mode" drivers are installed; it may crash/hang the 1st verify, fail on the 2nd verify, but that is OK, thirdly do the update)
4. You'll need to select "HCS08 Open Source BDM" in the new project wizard in CW 6.3.
Note that the automatic calculation of the clock trim doesn't work directly from CW6.3 debug you need to use the standalone USBDM HCS08 external programmer from the start menu (see posts below from USBDM dev PGO).
Dead Collector: Bring out yer dead!
Freescale: Here's one.
CodeWarrior Classic: "I'm not dead".
Dead Collector: 'Ere, he says he's not dead.
Freescale: Well, he will be soon, he's very ill.
CodeWarrior Classic: I'm getting better. I work with Windows 10 x64 now.
NXP: What about this one? Points to Freescale.
Freescale: Who me?
Note to NXP employees:
Please package the: 64-bit OS support, updated P&E drivers, 6.3.1 update, and other 6.3.x updates into a version of CW (call it 6.3.2) and make all of this unnecessary.
Message was edited by: Rodney McGee
|
|