-
Notifications
You must be signed in to change notification settings - Fork 33
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
Error: This board doesn't support arduino framework! GD32F103 #50
Comments
We are indeed planning on supporting all GD32 ARM chips soon. Work is currently underway to complete the |
You are doing a great job. Life is got so much easier when moving to PlatformIO with GD32. |
Any news about the integration of the GD32F103 and arduino lately? |
The main task is that we have an automatic pinmap generator I've linked above -- we don't want to manually write and maintain 106 pin maps for the GD32F10x series, that would be insane. Expanding the pinmap generator requires adding the necessary PDF parser functions from the datasheet and adapting to its architectural differences. The chip series currently supported use alternate functions ("AF'ers"), but the GD32F10x use special bits that activate a remapping of pins for a certain peripherals ("Remappers"). I wanted to do support this since forever but I haven't found the time yet, I'll try and prioritize it higher. |
That would be great! Thanks for all the time you are dedicating to this project. |
Hi,I also hope to support as soon as possible F10x,expecting... |
Hi, great work! |
Did you try flashing the binary program produced fro the Olimexino-STM32 directly on the Olimex-GD32? They are binary compatible I think. How did you program the board previously, over USB / Maple bootloader or directly via the SWD interface? |
thank you for your quick answer. i used directly the USB and Maple Rev3 for the olimex-stm32. I use the libmaple. But from what I understand the GD32a card has been abandoned. |
Okay, so if the Maple USB bootloader is on the GD32 board correctly does it accept being flashed via the Arduino IDE with libmaple? (Treating it as if it were a STM32 board). Can it upload but the resulting program won't run? |
I have this error : dfu-util - (C) 2007-2008 by OpenMoko Inc. I wanted to do a test on this card with an example of your GD32 library with a st-link and since I have the impression that it does not detect the card via the usb B port.. |
Hm, after you flash the bootloader on the board, does it show up a Maple DFU bootloader in the device manager with the 1EAF:0003 USB VID:PID? Did you burn the bootloader on the board yourself? Which file from https://github.com/rogerclarkmelbourne/STM32duino-bootloader/tree/master/bootloader_only_binaries? Do you have an ST-Link available? |
No I don't have a bootloader. |
Hi, why is stm32 platform not good enough? |
The CPU architecture is the same, but the peripherals are different. In theory they're mostly the same. In practice they're different enough to require separate platform code. You can flash an STM32F103 image on a GD32F103, and it'll run, but it's also likely to write into a wrong address and crash, or just not do anything at all. I've done it. I've been taking a look at the pin map generator script (what a heroic effort!) to make pins for the f10x series, Edit: All this work because I bought a clone board for $5 cheaper. Lol! |
I came across this document that lists some differences. |
I was wondering if there is going to be support for GD32F103.
For now, I use the Android version from this repo: platform-ststm32, and is working but is not optimal.
Would be great to use ArduinoCore-GD32 for the GD32F103
The text was updated successfully, but these errors were encountered: