Post Go back to editing

Error returned when trying to read the Power Quality library's "pack" file into the Keil development tool.

Category: Software
Product Number: ADE9430
Software Version: Power Quality Library 1.2.0

We are trying to set up the EVAL-ADE9430 to use the Power Quality library and following the instructions in Section 6.1 of the "ADSW-PQ-CLS Power Quality Library User's Guide".   We are trying to install the Power Quality library's "Pack" file into the Keil tool and getting the following failure (along with a screen capture): 

E: The latest release (0.1.0) in pack's pdsc (AnalogDevices.ADSW-PQ-CLS.pdsc) does not match pack version "1.2.0" 

E: pack version is not the latest in the pdsc file. 

The name of the "pack" file is:  AnalogDevices.ADSW-PQ-CLS.1.2.0.pack

The name of the "pdsc" file is: AnalogDevices.ADSW-PQ-CLS.pdsc

We  are not sure how to get around this, and need help. 

If this requires a newer PQL  library do we need to reapply for it or can we just download it? Thanks 

Parents
  • Hi Mike,

    This issue relates to Licensing. You are hitting the code size limit on license you are using.

    MDK-Lite License only has a code size limit of 32kB. You need 100kb. I am using MDK-Essential License. 

    The other licenses, Essential, community, professional all should have a higher allowed code size limit. 

    To look at your current license you can File>License Management within Keil OR  ARM License Manager GUI. 

    Many thanks,

    Aditya

  • Hi Aditya,

    I finally got the code built and have a complete set of instructions to get to this point including all the changes and fixes I had to make to set up the entire development Environment and build the code.

    Feedback:

    • The current Power Quality library will not build with the evaluation version of uVision. This was not stated anywhere. When a customer purchases the EVAl-ADE9430 they expect it to work without the additional costs of having to buy a development tool to build the code. Analog Devices should mention this somewhere on the landing page for the EVAL-ADE9430. 

    My next step is to flash the pqlib_example.hex  file I just built to the EVAL-ADE9430 board. 

    Questions: 

    1. This is a question i asked a while back. How do I flash the HEX File to the board?  The bottom of your post on  Apr 17, 2026 6:06 AM  states, "This will generate a hex file which you can flash to the Eval Board by clicking on Load option in Keil OR Using the STM32CubeProgrammer."
      1. Where is the "Load" option in Keil uVision, I can't locate it?  Can you give me more detailed instructions on what I need to do to flash the Hex File to the EVAL-ADE9430? 
      2. I moved my project to fix the "Read Only" issue that occurred when opening the project. Am I correct in assuming it will know  that is needs to use the hex file from the copied location I just built? Or do I need to specify it somewhere in the options? 
    2. Are you folks going to release a new Power Quality library Pack file which has the version ordering fix I found in the pdsu file?

    Best Regards,

    - mike

  • There is a "Flash" tab at the top of the uVision tool. The drop down has the following options. Is this what you are talking about by "load"? If so, do i need to change any "Configure Flash Tools" options or just do a "Flash>Download" without changing anything?

  • Hi Aditya,

    I did not hear back from you, so i tried a few things and got the board flashed. 

  • Hi Mike,

    That is great news. Now you can try out the library commands in the serial terminal. Please let us know if there is any feedback on the evaluation. 

    For future reference. 

    After the code is built without error. You can find the hex file generated where the output was specified in Options for target>Output tab. By default this is within ...release>object. 

        

    There are two ways you can flash this to the EVAL-ADE9430ARDZ board.

    1. From within the Keil software (this will require STLink Debugger V2 hardware)

    The settings below in the PQ library User Guide should let you flash the hex file to the board.

     

    2. Using STM32CubeProgrammer GUI (No STLink Debugger hardware required)

    Please follow the instructions provided on Mar 30, 2026.

    Please download and install version 2.8.0 from https://www.st.com/en/development-tools/stm32cubeprog.html.

    Once installed open GUI, browse and select the hex file to flash and please follow the steps mentioned above to flash the hex file.

    Many thanks,

    Aditya

  • Hi Aditya

    I was able to load the code and run it on the EVAL Board. I wrote up a complete set of instructions which covers all the fixes and changes i needed to do to make this work. If you need it let me know. 

    i wanted to know if there is a new release of the Power Quality library that has the fix i found with the order of the version s in that file? 

    You should also contact ARM support because the currently release Pack Installer with the Keil tool does not work with the Pack file. They gave me a special release so I could make progress. 

    Thanks - mike

  • Hi Mike, 

    That is great news. I think the complete list of changes would be quite helpful, thanks.

    There is plan of a new release, but the timeline for that has not been confirmed. We will reach out you when there is an update.

    Many thanks,

    Aditya

  • Hi Aditya,

    I sent you an email response. 

    Best regards 

    mike

Reply Children
No Data