-
Notifications
You must be signed in to change notification settings - Fork 171
Description
The current tutorial for setting up PSDK using E-port V2 development board (GD32F527ZMT7) on M400 is really lacking too much information.
After downloading all required files, software, etc., including GD32 files, when compiling the bootloader, there is error on the __disable_fiq();
Then if going into compiling the project inside mdk_app, there are a list of errors:
I was able to get over these problems by deleting or adding some headers or commands, or changing some Target settings. Then at using J-link debugger, the tutorial uses the flash algorithm GD32F5xx 4608kB, while is something that simply doesn't exist in the newest GD32 pack.
I also managed to get over that by using provided flash algorithm and changing Read/Only memory area IROM1 start and size.
Eventually I managed to get both bootloader and the app projects compiled flashed to the board without error message, I was simply trying to change the voltage request to 24V (also editing some code in the test_power_management). Not working. Tried the debug mode in Keil, but it's automatically running and I could not get any useful log information or variable values.
Of course double checked my verification information, straight copy paste a few times, still not working. The Keil not showing any error when compiling or flashing, but the VCC port where I hope to get 24V only stays at 13.75V.
At this point I really have no idea where to move forward.