Kept getting flash algorithm overflow when using the MAX32625PICO to program MAX32666
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.5k
- Forks
- 560
- Avg merge
- 1h 41m
- Merged PRs (30d)
- 3
Description
PS R:\Python\OpenOCD\bin> pyocd flash -t max32666 -f 10000 continuous_recording.hex
0002092 I Loading R:\Python\OpenOCD\bin\continuous_recording.hex [load_cmd]
[= ] 2%0031117 C flash algorithm overflowed stack (4096 bytes) [main]
PS R:\Python\OpenOCD\bin> pyocd flash -t max32666 -f 30000 continuous_recording.hex
0001346 I Loading R:\Python\OpenOCD\bin\continuous_recording.hex [load_cmd]
[= ] 2%0011382 C flash algorithm overflowed stack (4096 bytes) [main]
PS R:\Python\OpenOCD\bin> pyocd flash -t max32666 -f 30000 continuous_recording.hex
0001364 I Loading R:\Python\OpenOCD\bin\continuous_recording.hex [load_cmd]
[= ] 2%0011399 C flash algorithm overflowed stack (4096 bytes) [__main
I can successfully erase even at 40000 speed. Just can't seem to flash.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the reported pyocd flash -t max32666 commands with the MAX32625PICO and continuous_recording.hex, comparing the successful erase with the flash failure. Trace the flash path for the MAX32666 target and determine why the 4096-byte flash-algorithm stack overflows; done means the image flashes successfully without that error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- devtools, embedded-iot
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 32/100