Error 126 while loading library : PEOSBDMV1.DLL

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

Error 126 while loading library : PEOSBDMV1.DLL

3,123 Views
mike__m
Contributor I

Hi. I'm trying to debug simple C project created by wizard. I've got Win7 (64), CW5.1, P&E USB BDM Multilink and MC9S12NE64 device.

When I click debug, I see:

...

Loading Target ...
IO registers loaded for MC9S12NE64 from C:\Program Files (x86)\Freescale\CWS12v5.1\prog\REG\MCU03EA.REG
Error 126 while loading library : C:\Program Files (x86)\Freescale\CWS12v5.1\prog\PEOSBDMV1.DLL
Error 126 while loading library : PEOSBDMV1.DLL
Unable to load OSBDMDRIVER : PEOSBDMV1.DLL

...

then

Block Module Name      Address Range   Status
   0  FLASH_4000      FFFFFF -1FFFFFD   Skipped - Unselected
   1  FLASH_C000      FFFFFF -1FFFFFD   Skipped - Unselected
   2  ALL_PPAGES      FFFFFF -1FFFFFD   Skipped - Unselected
   3  FLAT8000_P3C    FFFFFF -1FFFFFD   Skipped - Unselected

FP: Call of a command not implemented!
Please modify "flags" in FLASH_4000 module INFO applet.

FP: Call of a command not implemented!
Please modify "flags" in FLASH_C000 module INFO applet.

FP: Call of a command not implemented!
Please modify "flags" in ALL_PPAGES module INFO applet.

FP: Call of a command not implemented!

...

and finally

Postload command file correctly executed.
RUNNING
ILLEGAL_BP
RUNNING
ILLEGAL_BP
RUNNING
ILLEGAL_BP

 

What's wrong with the project?

Labels (1)
Tags (1)
0 Kudos
2 Replies

1,441 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

I suppose that problem will be in OSBDM driver.

Which hardware interface are you trying to use to connect to MC9S12DJ64 device? OSBDM?

1.      Could you please reinstall OSBDM driver? Driver you can download from here: http://www.pemicro.com/osbdm/index.cfm

2.      If step 1 doesn’t work, you can try updating OSBDM firmware (in case if you using OSBDM interface). Firmware update is nice described in this document: http://www.freescale.com/files/community_files/OSBDM08/OSBDM_ERRATA.pdf

3.      I found also this answer on PEmicro forum: “Had an old project built on an XP machine with 5.0, loaded up in 5.1 on the new machine, same error. Stole the P&E ini from a new project built for the same cpu, fixed it right now.” So, if your project was build on different PC (different OS), there could be some problem with paths. By “P&E ini” here probably mean OpenSourceBDM.ini or P&E_Multilink_USB.ini from project directory.

=========================================

this answer is for you. if it helps, please click on "correct answer " button. thanks!

Best Regards,

ZhangJun

0 Kudos

1,441 Views
mike__m
Contributor I
0 Kudos