Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error 1784 using me_util.py #6

Open
Bohosul01 opened this issue Jan 30, 2024 · 2 comments
Open

Error 1784 using me_util.py #6

Bohosul01 opened this issue Jan 30, 2024 · 2 comments

Comments

@Bohosul01
Copy link

I think that Windows has changed and now HECI isn't handled the way it used to be, because when I execute me_util.py using Python 2.7 with admin rights, I get the following error:

WindowsError: [Error 1784] The supplied user buffer is not valid for the requested operation

@mbehensky
Copy link

mbehensky commented Mar 8, 2024

I was able to get it to run, and print some info about my bios .bin file by using the 32 bit version of python2.7, instead of the 64 bit version. The README is wrong; to unpack an existing binary file use
me_unpack not me_util.
If you already have a binary file you don't need to run as administrator.

@Bohosul01
Copy link
Author

Bohosul01 commented Mar 9, 2024

It worked when I tried the 32-bit version of Python 2.7.

This is not related to the issue, but I want to ask a pair of things:

  1. How can I know what commands is my intel ME able to receive? I suppose it depends on my ME firmware, so what modules/files do I have to look in order to get the information about the commands (group number / cmd number / payload data).
    Can I get this info using me_extract.py? How?

  2. I must execute the script this way: "python me_util.py 《group》《cmd》《payload》". Let's say I want to send the HMR FPO Enable MKHI command (just an example, I know it isn't posible unless in manufacturing mode): the binary data for this command is a sequence of 4 hexadecimal numbers as you can see here in page 20.
    Do I have to execute me_util.py 4 times using those hexadecimal numbers as 《payload》 in the correct order? If not, how am I supposed to send the mentioned command?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants