Unable to switch target HC12 variant devices when using Codewarrior V3.1

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

Unable to switch target HC12 variant devices when using Codewarrior V3.1

跳至解决方案
3,075 次查看
EmbeddedCoder
Contributor III
While developing our code, we have started off using a MC9S12DP256B device on an evaluation board. We have then switched to a MC9S12A512 device (which should be pretty much drop in replacement with twice the memory!).
 
However, even though the linker file has been amended (and map file shows all code at correct places) and derivative changed in the debugger, the codewarrior debugger throws an error when trying to load the code. (it says "unable to load code to FF80 to 10180 - i.e. the vector table!).
 
The only way I have found of solving this error is to uninstall and reinstall the codewarrior application - then it works perfectly (with the exact same project files and .ini files). This indicates to me some switch that I need to change in the debugger - but I cannot find it!!
 
Any ideas - I'm getting tired of reinstallation every time I switch targets!
标签 (1)
标记 (1)
0 项奖励
1 解答
522 次查看
EmbeddedCoder
Contributor III
After raising a service request to Freescale, it seems that with CodeWarrior V3.1, flashing the A512 device doesn't work very well, and an update is required from the engineering team!

在原帖中查看解决方案

0 项奖励
4 回复数
523 次查看
EmbeddedCoder
Contributor III
After raising a service request to Freescale, it seems that with CodeWarrior V3.1, flashing the A512 device doesn't work very well, and an update is required from the engineering team!
0 项奖励
522 次查看
EmbeddedCoder
Contributor III

Hi CrasyCat,

Do you mean ICD-12 -> Set Derivative menu setting?

I have altered this, and "MC9S12A512" is displayed in the lower right hand side of the application window so I think this is set correctly - is this what you meant?

0 项奖励
522 次查看
EmbeddedCoder
Contributor III
Oh, and sorry, forgot to say - yes I am using a P&E Parallel Multilink BDM!
0 项奖励
522 次查看
CrasyCat
Specialist III
Hello
 
 I assume you are using a P&E Multilink to debug on your target board. Am I right?
 You need to adjust the MCU in the MCU Selection dialog. To open the "MCU
  selection" dialog, select "ICD12" -> "Set MCU Type".
 
 Select MC9S12A512 there.
 
  I hope this helps.
 
CrasyCat
0 项奖励