Issues debugging project after porting from CodeWarrior 10.2 to 11.1

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Issues debugging project after porting from CodeWarrior 10.2 to 11.1

1,913 Views
lpeterso
Contributor I

Hi, I have recently been tasked with porting an old classic CodeWarrior project made for MCF51JM128 ColdFire v1 to CodeWarrior 11.1. I have been using the trial version of 11.1 to port the project, and we are interested in purchasing a license for 11.1 if we can get the project ported successfully.

I have followed this guide: http://cache.freescale.com/files/soft_dev_tools/doc/app_note/AN4727.pdf to port the project. After following these steps, I was getting build errors from unidentified references to “_BDT_BASE” and “_IPSBAR”. I noticed that these definitions were in the linker file of the old project, so I copied them to the linker file in the new project. After that, the project built successfully, and I was able to flash it. However, It would throw exceptions every time I would debug it.

These missing definitions seem to be USB related, and I am wondering if adding them from the old linker file has created more issues. Also, the project worked without issues on 10.2

Just to recap:

Followed guide to port from 10.2 to 11.1

Copied missing linker definitions to 11.1 project

Successfully built and flashed

Getting exception error when I start to debug

Any insight provided on this issue would be great,

Thanks.

0 Kudos
Reply
2 Replies

1,806 Views
lpeterso
Contributor I

Hi Felipe, thanks for responding to me. I actually found that the issue was in the project setup. I needed to enable console support

0 Kudos
Reply

1,805 Views
FelipeGarcia
NXP Employee
NXP Employee

Hello Landon,

 

Please accept my apologies for my late reply.

 

Could you please be more specific regarding the issue you are facing? Maybe a snippet of what you see.

 

In addition, please check the document attached about linker file for ColdFire devices.

 

Best regards,

Felipe

0 Kudos
Reply