Enabling ADC in Configurator fails for LPC844 and LPC845 - power_no_lib error

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

Enabling ADC in Configurator fails for LPC844 and LPC845 - power_no_lib error

943 Views
tomchr
Contributor III

Hello,

When I try to enable the ADC peripheral using the Configurator tool, I get this error:

Issue: The fsl_power driver is missing in the project .
Level: Error
Type: Validation
Tool: Toolchain/IDE project
Origin: Peripherals:BOARD_InitPeripherals
Target: Toolchain/IDE project: core0
Resource: platform.drivers.power_no_lib

If I try to right-click and select "Add SDK component", I get another error saying that power_no_lib can't be found.

I've tried in a new project on a fresh install of the latest IDE and SDK. No dice!

I do have the power driver installed, so I'm at a loss as to what's going on. Can any of you shed some light on this?

Tom

Labels (1)
0 Kudos
Reply
6 Replies

754 Views
tomchr
Contributor III

Will do. Thanks.

0 Kudos
Reply

885 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi @tomchr 

You mentioned both your MCUXpresso IDE and SDK are the latest versions. Could you please confirm both of them(IDE and SDK) are  v25.06.00?

Thanks,

Jun Zhang

0 Kudos
Reply

881 Views
tomchr
Contributor III

It looks to me like the power_no_lib driver was renamed POWER at some point but the change wasn't carried all the way through in the setup of the SDK and IDE. I use the Mac version (Apple/ARM silicon) of the IDE.

 

Both SDK and IDE were the latest version (25.6.136). Here's how to reproduce the issue:

- Install the latest IDE and SDK.

- Create a project for the LPC845. I use the 33-pin version, but I doubt that matters. Enable the drivers for the ADC and Power along with the drivers enabled by default.

- Add the ADC in the Peripheral Configurator tool.

You'll notice that there's an error about the power_no_lib.

 

The only workaround I found was to install an older version of the IDE and SDK. I found other interesting errors that way too. Including: 

- The Clocks Configurator tool in the newer IDEs requires the Power driver to be present. But the older SDKs do not have a Power driver. They have power_no_lib instead. So while it is possible to enable the ADC on IDE v. 25.06 with SDK v. 2.14, you can't configure the clocks.

 

I ended up installing IDE version 11.9.1 and SDK version 2.14 to make it work. That was the newest combination of IDE and SDK that I could find that would allow me to both configure the clocks and the ADC.

 

Tom

0 Kudos
Reply

710 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi @tomchr 

The problem is resolved in MCUXpresso Config Tools 25.09. In the existing MCUXpresso IDE, it is possible to update the version of Config Tool by following steps:

  1. Enable MCUXpresso Config Tools update site in Help > Install New Software > Manage > MCUXpresso Config Tools Update Site – make sure it’s checked. Use Apply and Close and exit the Install window

ZhangJennie_2-1760175175166.png

2. Run Help > Check for Updates and install the new Config Tools version

ZhangJennie_0-1760175264940.png

 

Thanks,

Jun Zhang

 

0 Kudos
Reply

311 Views
tomchr
Contributor III
Tried that. Now I can add the ADC driver, but "Driver power" is now missing. The clock configuration tool requires it.

I'll keep using the older version for now.

Tom
0 Kudos
Reply

801 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi @tomchr 

Please use the previous version as workaround for the moment.

I have reported this issue internally. 

I will keep you informed if any update.

Thanks,

Jun Zhang

%3CLINGO-SUB%20id%3D%22lingo-sub-2178352%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EEnabling%20ADC%20in%20Configurator%20fails%20for%20LPC844%20and%20LPC845%20-%20power_no_lib%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2178352%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3EWhen%20I%20try%20to%20enable%20the%20ADC%20peripheral%20using%20the%20Configurator%20tool%2C%20I%20get%20this%20error%3A%3C%2FP%3E%3CP%3EIssue%3A%20The%20fsl_power%20driver%20is%20missing%20in%20the%20project%20.%3CBR%20%2F%3ELevel%3A%20Error%3CBR%20%2F%3EType%3A%20Validation%3CBR%20%2F%3ETool%3A%20Toolchain%2FIDE%20project%3CBR%20%2F%3EOrigin%3A%20Peripherals%3ABOARD_InitPeripherals%3CBR%20%2F%3ETarget%3A%20Toolchain%2FIDE%20project%3A%20core0%3CBR%20%2F%3EResource%3A%20platform.drivers.power_no_lib%3C%2FP%3E%3CP%3EIf%20I%20try%20to%20right-click%20and%20select%20%22Add%20SDK%20component%22%2C%20I%20get%20another%20error%20saying%20that%20power_no_lib%20can't%20be%20found.%3C%2FP%3E%3CP%3EI've%20tried%20in%20a%20new%20project%20on%20a%20fresh%20install%20of%20the%20latest%20IDE%20and%20SDK.%20No%20dice!%3C%2FP%3E%3CP%3EI%20do%20have%20the%20power%20driver%20installed%2C%20so%20I'm%20at%20a%20loss%20as%20to%20what's%20going%20on.%20Can%20any%20of%20you%20shed%20some%20light%20on%20this%3F%3C%2FP%3E%3CP%3ETom%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2178352%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3ELPC800%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2184271%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Enabling%20ADC%20in%20Configurator%20fails%20for%20LPC844%20and%20LPC845%20-%20power_no_lib%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2184271%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F156911%22%20target%3D%22_blank%22%3E%40tomchr%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20data-olk-copy-source%3D%22MessageBody%22%3EThe%20problem%20is%20resolved%20in%20MCUXpresso%20Config%20Tools%2025.09.%20In%20the%20existing%20MCUXpresso%20IDE%2C%20it%20is%20possible%20to%20update%20the%20version%20of%20Config%20Tool%20by%20following%20steps%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3COL%20style%3D%22font-weight%3A%20400%3B%22%3E%0A%3CLI%3E%3CSPAN%3EEnable%20MCUXpresso%20Config%20Tools%20update%20site%20in%20Help%20%26gt%3B%20Install%20New%20Software%20%26gt%3B%20Manage%20%26gt%3B%20MCUXpresso%20Config%20Tools%20Update%20Site%20%E2%80%93%20make%20sure%20it%E2%80%99s%20checked.%20Use%20Apply%20and%20Close%20and%20exit%20the%20Install%20window%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22ZhangJennie_2-1760175175166.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22ZhangJennie_2-1760175175166.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F360356i62A79E437FE81781%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22ZhangJennie_2-1760175175166.png%22%20alt%3D%22ZhangJennie_2-1760175175166.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E2.%20Run%20Help%20%26gt%3B%20Check%20for%20Updates%20and%20install%20the%20new%20Config%20Tools%20version%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22ZhangJennie_0-1760175264940.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22ZhangJennie_0-1760175264940.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F360357iC192CE4F348D69C0%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22ZhangJennie_0-1760175264940.png%22%20alt%3D%22ZhangJennie_0-1760175264940.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EThanks%2C%3C%2FP%3E%0A%3CP%3EJun%20Zhang%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2181877%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Enabling%20ADC%20in%20Configurator%20fails%20for%20LPC844%20and%20LPC845%20-%20power_no_lib%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2181877%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EWill%20do.%20Thanks.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2180384%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Enabling%20ADC%20in%20Configurator%20fails%20for%20LPC844%20and%20LPC845%20-%20power_no_lib%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2180384%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F156911%22%20target%3D%22_blank%22%3E%40tomchr%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPlease%20use%20the%20previous%20version%20as%20workaround%20for%20the%20moment.%3C%2FP%3E%0A%3CP%3EI%20have%20reported%20this%20issue%20internally.%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20will%20keep%20you%20informed%20if%20any%20update.%3C%2FP%3E%0A%3CP%3EThanks%2C%3C%2FP%3E%0A%3CP%3EJun%20Zhang%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2179460%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Enabling%20ADC%20in%20Configurator%20fails%20for%20LPC844%20and%20LPC845%20-%20power_no_lib%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2179460%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EIt%20looks%20to%20me%20like%20the%20power_no_lib%20driver%20was%20renamed%20POWER%20at%20some%20point%20but%20the%20change%20wasn't%20carried%20all%20the%20way%20through%20in%20the%20setup%20of%20the%20SDK%20and%20IDE.%20I%20use%20the%20Mac%20version%20(Apple%2FARM%20silicon)%20of%20the%20IDE.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EBoth%20SDK%20and%20IDE%20were%20the%20latest%20version%20(25.6.136).%20Here's%20how%20to%20reproduce%20the%20issue%3A%3C%2FP%3E%3CP%3E-%20Install%20the%20latest%20IDE%20and%20SDK.%3C%2FP%3E%3CP%3E-%20Create%20a%20project%20for%20the%20LPC845.%20I%20use%20the%2033-pin%20version%2C%20but%20I%20doubt%20that%20matters.%20Enable%20the%20drivers%20for%20the%20ADC%20and%20Power%20along%20with%20the%20drivers%20enabled%20by%20default.%3C%2FP%3E%3CP%3E-%20Add%20the%20ADC%20in%20the%20Peripheral%20Configurator%20tool.%3C%2FP%3E%3CP%3EYou'll%20notice%20that%20there's%20an%20error%20about%20the%20power_no_lib.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EThe%20only%20workaround%20I%20found%20was%20to%20install%20an%20older%20version%20of%20the%20IDE%20and%20SDK.%20I%20found%20other%20interesting%20errors%20that%20way%20too.%20Including%3A%26nbsp%3B%3C%2FP%3E%3CP%3E-%20The%20Clocks%20Configurator%20tool%20in%20the%20newer%20IDEs%20requires%20the%20Power%20driver%20to%20be%20present.%20But%20the%20older%20SDKs%20do%20not%20have%20a%20Power%20driver.%20They%20have%20power_no_lib%20instead.%20So%20while%20it%20is%20possible%20to%20enable%20the%20ADC%20on%20IDE%20v.%2025.06%20with%20SDK%20v.%202.14%2C%20you%20can't%20configure%20the%20clocks.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EI%20ended%20up%20installing%20IDE%20version%2011.9.1%20and%20SDK%20version%202.14%20to%20make%20it%20work.%20That%20was%20the%20newest%20combination%20of%20IDE%20and%20SDK%20that%20I%20could%20find%20that%20would%20allow%20me%20to%20both%20configure%20the%20clocks%20and%20the%20ADC.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3ETom%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2179445%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Enabling%20ADC%20in%20Configurator%20fails%20for%20LPC844%20and%20LPC845%20-%20power_no_lib%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2179445%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F156911%22%20target%3D%22_blank%22%3E%40tomchr%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20mentioned%20both%20your%20MCUXpresso%20IDE%20and%20SDK%20are%20the%20latest%20versions.%20Could%20you%20please%20confirm%20both%20of%20them(IDE%20and%20SDK)%20are%26nbsp%3B%3CSPAN%3E%26nbsp%3Bv25.06.00%3F%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThanks%2C%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EJun%20Zhang%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E