How to flash a new image to ameoba 8722 module?

How to flash a new image to ameoba 8722 module?

I tried to install new image to the module. but unfortunately its not working as expected as mentioned in the starting guide

Hi @jithin,

Did you enter download mode by pressing the two buttons at the top right?

Are you using standard SDK or Arduino SDK?

Thank you.

I tried both.

while trying with Arduino Im getting below error
‘.\tools\windows\pad.exe’ is not recognized as an internal or external command,
operable program or batch file.
Couldn’t determine program size

while trying with the standard sdk, using image tool, it will show downloading image started and immediately it shows downloading failed

The module I am using has 2 usb slots whereas the module mentioning in the website has 3 usb slots. I have tried multiple methods mentioned in the website and RTK discussion site. but couldn’t succeed

Hi @jithin,

Can you show the full serial monitor log in Arduino?

Thank you.

‘.\tools\windows\pad.exe’ is not recognized as an internal or external command,
operable program or batch file.
Couldn’t determine program size

Please enter the upload mode manually(wait 5s)
05
04
03
02
01
terminate called after throwing an instance of ‘std::system_error’
what(): Invalid argument
Uploading.error: Failed to open COM58
error: Open serial port

I’m manually able to open serial port and able to move to download mode as well

Hi @jithin,

Can you try giving permissions to tools\windows\pad.exe ? Make sure that it is executable?

Thank you.

Seems the tools folder is missing ( checked hidden files as well)

Hi @jithin,

Can you try to get the tools folder from here ? GitHub - Ameba-AIoT/ameba-arduino-1: Ameba1 Arduino third-party package SDK

Thank you.

Kelvin,

Getting the same error after copying the tools folder. Seems its disappearing after running the program. Could be any permission issue?

Hi @jithin,

Can you try giving permission?

What error are you facing?

Thank you.

in this its padding.exe, but error showing tools/windows/pad.exe

‘.\tools\windows\pad.exe’ is not recognized as an internal or external command,
operable program or batch file.
Couldn’t determine program size

anything else i need to try?

Hi @jithin,

Can you try renaming the padding.exe to pad.exe?

Thank you.

Sure. Kelvin, is there any other way i can connect with you so that i can share my screen to look into this issue

Hi @jithin,

I think it would be best to just communicate here. It will be beneficial to any other users facing the same issue as you next time. Unless you really need to ask the questions privately, let me know.

Thank you.

sure. no pblm. will give permission and update

Kelvin,

Im able to flash images to the board. I think yes it was due some permission issue. will keep posted the latest updates further once its available

Either we can use Arduino or using micro python method
https://www.amebaiot.com/en/amebad-micropython-getting-started/

1 Like