-
Notifications
You must be signed in to change notification settings - Fork 130
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
esp32c2 use espflash v3 is error,v2.1 is normal #614
Comments
Can you post the |
espflash v2
My esp32c2 uses a 26M crystal oscillator, so the default baud rate is 74880, espflash v2 will be garbled when using "monitor" directly, so I have to manually set the baud rate of "monitor" to 74880, v3 fixes this problem, and will automatically set the baud rate of "monitor". espflash monitor --baud=74880
|
|
espflash v3in sdkconfig.defaults add
Manually set file pathnow recognize 1MB space
|
Does this also gets resolved with esp-rs/std-training#240 @xiaguangbo ? |
That problem is the crystal oscillator setting problem, has been solved. And I have to run |
Can you try using
|
Did you add
Note how it fails but after appending |
I also have this issue on esp32 (WT-ETH01), 2 works but 3 doesn't connect. |
Mind trying to use runner = "espflash flash --monitor --no-stub" Or add it in the espflash command: I'm still confused, as I was able to flash and monitor a 26 MHz C2 with no issues. Sadly, I don't have any ESP32, so I can't really try reproducing it. |
Same result. I should mention my ESP32 uses a 40 MHz crystal, so I don't think that's related.
|
When using the working espflash 2, does it also reports 40MHz ?? Do you know that for a fact or just guessing it from what espflash reports? |
The output us from 2. 3 doesn't event get to that point.
yes, this. This is the output from 3:
|
Mind enabling debug logs? |
@SergioGasquez The steps you are taking to reproduce the issue are correct. In summary, after compiling once, if you add There is currently an issue with the partition table. We are now only able to use 2MB, whereas previously we could use 4MB. According to the logs, the partition table has changed from: |
This looks like a different issue, can you open a new issue with details, how to reproduce it and this pastebin? |
A few things to test:
runner = "espflash flash --monitor --flash-size 4mb"
|
@SergioGasquez How to configure partition tables in
I tested it once before, manually specifying |
Glad that we have a workarround!
If you updated your esp-idf project to make a partition-table of 4mb, |
1、 2、 3、
Why ESPFlash V2 works directly. I think it's troublesome to change the documents. The original partition table of the code repository is 1MB, and this 2MB and 4MB I guess is changed by the download tool itself. |
And now only recognize 2MB space,before can recognize 4MB
espflash v3 log
The text was updated successfully, but these errors were encountered: