Has anyone been able to upload programs to the WeAct Studio AT32F403ACGU7C?
I could only install the core using IDE 1.8.
Has anyone been able to upload programs to the WeAct Studio AT32F403ACGU7C?
I could only install the core using IDE 1.8.
What the core did you install? Could you show the link?
Thanks for your interest!
https://raw.githubusercontent.com/WeActStudio/ArduinoCore-AT32F4/main/package_at32_index.json
IDE is 2.3.6
When loading the board from the Board Manager, I would ger a Checksum missing error.
I went back to 1.8 and the board loaded. Now it shows as loaded in 2..3.6
I can compile but not upload in either 1.8 or 2.3.6 . I receive the following message;
Sketch uses 9708 bytes (0%) of program storage space. Maximum is 1048576 bytes.
Global variables use 2060 bytes of dynamic memory.
Support USART and DFU
DFU Connect......
Unable to get DFU device
Press any key to continue . . .
Upload Quit.
Have a good day!
This is of course unfortunate. However, it is unrelated to the uploading problem you are now encountering, so don't allow it to become a "red herring" in the investigation of the uploading problem.
Unfortunately I don't have any experience with this board, so can't be of much assistance with the uploading problem. I will suggest that you see if it is possible to manually put the board into the boot mode where it presents itself as a DFU device. I don't know about your board, but generally that is done by the following procedure:
After doing that, try another upload.
I performed an investigation and reported my findings, as well as instructions for a workaround that will allow installation of the platform using Arduino IDE >=2.3.5:
https://github.com/WeActStudio/ArduinoCore-AT32F4/issues/45#issuecomment-3236895445
The workaround you found of using Arduino IDE 1.x to install the platform is completely valid so there is no need for you to use that workaround. However, it might be useful to others who encounter the same problem later and don't have Arduino IDE 1.x installed already.
Thanks for you response!!
I understand that they are two separate problems.
For the first problem loading the board, I was surprised when I tried loading it in Ide 1.8 and it loaded with no problem.
From past experience I then open 2.3.6 and found that the board was also now loaded.
I deleted the board from both Versions of the IDE's and repeated to be sure this was what was happening.
Attempt to install the AT32 package in IDE 2.3.6 give's the following error;
Failed to install platform: 'AT32F403ACGU7 Core Board:0.0.9'. 13 INTERNAL: Cannot install platform: installing platform WeActStudio:at32f403a@0.0.9: testing local archive integrity: testing archive checksum: missing checksum for: ArduinoCore-AT32F4-main.zip
By shutting down 2.3.6 and reinstalling in 1.8, then restart 2.3.6, the board is ther but evidently the DFU driver is not in place.
Both IDE 1.8 and 2.3.6 fail in the way shown above. Using the RESET/BOOT0 procedure and watching Windows Hardware Manager, the button sequence loads the STM32 bootloader
The platform does not provide drivers, so this is not a case of Arduino IDE 1.x not installing the drivers bundled with the platform.
Do you see a new device appear in the Windows Device Manager after connecting the board to your computer? If so, what is the exact name of the device, and under which section of the device tree is it located? Also, is there a
symbol on that device?
I have searched for seveal hours for and Arduino compatible loader and have found none. Either ISP using ST-Link, USB, or Daplink.
Sorry I sent incomplete. I have not located a DFU loader either.
I'm not sure I understand what you mean by "loader".
Do you mean "bootloader" (a special program that runs on the microcontroller to facilitate flashing a program binary)?
Or are you instead referring to a flashing tool that runs on your computer and allows you flash program binaries to the board (something equivalent to the AVRDUDE tool we use for boards with an AVR microcontroller)?
Both! I would prefer to find a DFU bootloader that will allow easy programming from Arduino 2.3.6. If that is not possible, Then a I would use an in circuit programmer.
I have tried and downloaded a DFU bootloader from the Artery website but Arduino does not recognize it.