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

Setup Payload Generator doesn't work with Flash Download Tool #117

Open
leotordo opened this issue Nov 8, 2023 · 2 comments
Open

Setup Payload Generator doesn't work with Flash Download Tool #117

leotordo opened this issue Nov 8, 2023 · 2 comments

Comments

@leotordo
Copy link

leotordo commented Nov 8, 2023

Hello,
I'm trying to setup the payload generator for factory production. I generated my own nvs bin file.
On my partition table I've
factory_nvs, data, nvs, 0x340000, 0x6000
so I added 0x340000 factory_nvs.bin at the end of flash command line and it works.

If I use flash download tool it doesn't work. The nvs isn't flashed and the program starts with hardcoded ID

image

Any idea?
Thanks
Leo

@shahpiyushv
Copy link
Collaborator

As mentioned under HomeKit Setup Configuration, have you followed this too?

To use the setup info from this image, you will have to disable the hardcoded setup code by setting CONFIG_EXAMPLE_SETUP_CODE=n (idf.py menuconfig -> Example Configuration -> Use hard-coded setup code -> disable).

@leotordo
Copy link
Author

leotordo commented Nov 9, 2023

yes, I confirm it (see image below).
I confirm also that with command line the informations are correctly downloaded

$ esptool.py -p COM3 write_flash 0x340000 factory.bin

the problem comes when I use Flash Download Tool. May be a bug. A the moment I proceed with command line for factory production.

image

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