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

Can not set SPI_PAD_CONFIG_CS0 to values greater than 0x1f (ESPTOOL-130) #216

Closed
jaanh opened this issue Jul 17, 2017 · 3 comments
Closed

Comments

@jaanh
Copy link

jaanh commented Jul 17, 2017

Running python espefuse.py burn_efuse SPI_PAD_CONFIG_CS0 32 in espefuse.py v2.0.1 yields the following error: A fatal error occurred: Value mask for efuse SPI_PAD_CONFIG_CS0 is 0x1f. Value 0x20 is too large.

The documentation for espefuse.py states that GPIO 32 and 33 are allowed as SPI pins and from what I understand should be entered as their real value (e.g "32" or "33").

@jaanh
Copy link
Author

jaanh commented Jul 19, 2017

Worked around the problem by adding the following on line 316:
if args.new_value not in [32, 33]:

@projectgus
Copy link
Contributor

Hi @jaanh ,

Thanks for reporting this. It's a bug and we will add a fix. The workaround you should have sounds like a good one until then.

Angus

@jaanh
Copy link
Author

jaanh commented Oct 4, 2017

Has the issue been fixed?

@radimkarnis radimkarnis changed the title Can not set SPI_PAD_CONFIG_CS0 to values greater than 0x1f Can not set SPI_PAD_CONFIG_CS0 to values greater than 0x1f (ESPTOOL-130) Dec 10, 2020
espressif-bot pushed a commit that referenced this issue Mar 22, 2021
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