-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Custom SPI flash configuration (--spi-connection) does not work properly (ESPTOOL-94) #243
Comments
It may be a little while before I get to verify this. Do you still see this bug even when the CS pin is set to a lower value? Possible there's a bug translating pin numbers >31. |
I tested 16, 17, 19, and 33. All resulted in the internal flash being used. |
Hi, I have tried change all the pin ( also randomly) and if I keep the Q = 7 I get the output related to the standard 4MB flash:
while unknow data if Q != 7 ( independently of the value of the other pins):
does anyone have any updates on this? |
Bad prototype? esptool/flasher_stub/rom_functions.h Line 47 in b8f6793
|
@negativekelvin What do you mean? |
It should be |
Doesn't work for me too, I tried 6,7,8,9,23 but the tool ignores and uses the internal flash. Is this fixed, any updates? |
Any updates? My Issue: and when I try to load files to external flash, it again defaults to on-board 4MB flash. $ esptool.py --no-stub --port COM17 write_flash 0x10000 file.txt Leaving... It looks to me like it is the same issue that everyone here is facing.. or am I missing something else? Thanks. |
Use --spi-connection in all your commands not just the first one |
Thank you @negativekelvin, it now works as intended. |
I’m closing this issue because it has been inactive for a few months and it seems like it's not relevant anymore. Please reopen if further discussion is needed. |
@radimkarnis was this fixed in the stub loader? |
Hello, after taking a second look I decided to reopen this issue. The decision to close it was hasty and based on an unrelated solution mentioned by @SunilDullolli. |
Hi Team, any update for this issue? |
No matter what CS line is given as a parameter, it appears to be ignored in the following example:
esptool.py --chip esp32 flash_id --spi-connection 6,7,8,9,33
The above will always use the internal flash.
[edit]
The issue does not occur when using "--no-stub".
The text was updated successfully, but these errors were encountered: