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

Flashing Artery AT32F421 Bootloader #131

Open
flyb083 opened this issue Mar 4, 2024 · 3 comments
Open

Flashing Artery AT32F421 Bootloader #131

flyb083 opened this issue Mar 4, 2024 · 3 comments

Comments

@flyb083
Copy link

flyb083 commented Mar 4, 2024

When I follow the WIKI
https://github.com/AlkaMotors/AM32-MultiRotor-ESC-firmware/wiki/Flashing-Tekko32-45A-Single-ESC
to flush the bootloader, I ran into the following problems:

1.Add the first program algorithm:
Load "D:\WORK\202402_AM32\AT32F421_AM32_Bootloader-main\Objects\Am32.axf"
No Algorithm found for: 08000000H - 0800250FH
Partial Erase Done (areas with no algorithms skipped!)
No Algorithm found for: 08000000H - 0800250FH
Partial Programming Done (areas with no algorithms skipped!)
Partial Verify OK (areas with no algorithms skipped!)
Application running ...
Uploading flash失败.png…

2.Add a second program algorithm:
Load "D:\WORK\202402_AM32\AT32F421_AM32_Bootloader-main\Objects\Am32.axf"
No Algorithm found for: 1FFFF800H - 1FFFF80BH
Partial Erase Done (areas with no algorithms skipped!)
No Algorithm found for: 1FFFF800H - 1FFFF80BH
Partial Programming Done (areas with no algorithms skipped!)
Partial Verify OK (areas with no algorithms skipped!)
Application running ...
Uploading flash失败2.png…

Unsurprisingly, the ESC cannot be connected ESC Config Tool.

If I add both algorithms at the same time:
Load "D:\WORK\202402_AM32\AT32F421_AM32_Bootloader-main\Objects\Am32.axf"
Erase Done.
Programming Done.
Verify OK.
Application running ...

the ESC still cannot be connected ESC Config Tool. I need help

@AlkaMotors
Copy link
Owner

The first two steps you did are correct. What esc are you programming and what is the input pin that it uses for signal?

@flyb083
Copy link
Author

flyb083 commented Mar 8, 2024

Actually, I'm not sure. I connected the ESC Config Tool to update the firmware to AM32_WRAITH32_F421_1.93 before flush the bootloader. The motor can operate normally, so I think it should be PA2. But I have changed the pin, PA2 and PA4 have the same result.I'm using STLink and JLink.I also found an issue where the ARM.hex end address I compiled exceeded the start address of the APP.Is there a problem with my keil compiler version or setup

@flyb083
Copy link
Author

flyb083 commented Mar 8, 2024

The first two steps you did are correct. What esc are you programming and what is the input pin that it uses for signal?

Sorry, It's my fault .The input pin is PB4,I directly use JFLAH flash the bootloader,the ESC Config Tool can be connected in some cases.Thank you for your recovery.

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