CommunityGD32Cores / platform-gd32

PlatformIO platform for ARM-based GD32{F,E,L,W} chips. Work in Progress!
67 stars 28 forks source link

Getting a GDE103CBT6 board to work #1

Closed crosswick closed 3 years ago

crosswick commented 3 years ago

Hi! This is a continuation of the discussion at https://github.com/platformio/platformio-core/issues/3927

I think the issue might be that on my board, there is actually a CB version of the E103 chip instead of a C8, as on the aliexpress link I sent you.

Could you make a board definition for this, please?

maxgerhardt commented 3 years ago

But then it could be due to the fix I made in https://github.com/maxgerhardt/platform-gd32/commit/6ba430bfe459a1f133a688946cfa789a1c867870 an hour ago.

But great that it's working now \o/

You might also try the gd32-spl-usart example for the boards and see if there's output on PA9 at 115200 baud.

Or all the examples at the Examples folder in http://www.gd32mcu.com/download/down/document_id/230/path_type/1

And soon we'll surely have Arduino support for the board at https://github.com/CommunityGD32Cores/GD32Core-New, after I get my board from Aliexpress :)

crosswick commented 3 years ago

But then it could be due to the fix I made in 6ba430b an hour ago.

Ah :)

But great that it's working now \o/

It sure is! I'll try some more examples later, and also look into making a board definition for my own custom project.

If you'd like, I could set up a VM for you some time if you want to do some more testing on the boards I have here.

Thanks a lot for now!

maxgerhardt commented 3 years ago

Yes looking in hindsight that above fix was absolutely necessary, without that the first board's linker script and size information for which a compilation has been done would be 'stuck' forever as the used linker script, even when a different board is selected, causing these wrong RAM/Flash issues.

If you'd like, I could set up a VM for you some time if you want to do some more testing on the boards I have here.

Thanks for the offer, I'll keep it in mind for later development, for now we still have work to do on the F30x series and new hardware is on the way :D