5105 views|1 replies

174

Posts

1

Resources
The OP
 

[GD32L233C] + 2. Sort out some configuration issues [Copy link]

This post was last edited by chrisrh on 2022-1-8 15:02

1. First of all, the demo routine is compiled with keil5.26 . To use the demo routine directly, you must use at least keil5.25 or above;

2. Error: cannot load Flash Programming Algorithmml

......Flash\GD32L23x_256K.FLM

Check the configuration environment and whether the ROM and RAM settings are correct.

You can refer to the following start and end addresses for modification, which should solve the error:

3. Routine L233C_START_Demo and Routine L233R_EVAL_Demo

Except for some peripheral pins, the two boards can refer to eval for peripheral initialization configuration;

When using L233R_EVAL_Demo_Suites routine 21_LPTIMER_Deepsleep_Pwmout ,

It is recommended to add more delays during initialization, and run some LED Blink or something.

Then enter deepsleep, otherwise, if it cannot be woken up or the program is not written well,

You may not be able to use cmsis dap to debug the program, and you have to use CH340 to tinker with it;

I just didn't add any delay and downloaded the demo program directly.

Then, if it is not handled properly, SWDIO will not be recognized. As follows: ···

4. In low-power deep sleep mode, it is impossible to wake up normally and restore the SWDIO function:

If the SWDIO cannot read the data in the above situation, you can use CH340 to clear the memory in the chip through UART in ISP mode;

①First, set boot0 high and boot1 low, and then power on to enter ISP mode;

② Press and connect TXD, RXD, GND, VCC, reset, etc. according to the board situation;

③Use FLY_MCU, see attachment

Connect the serial port, select DTR low level to reset, RTS high level to enter the Bootloader;

Click Clear Chip and press the reset button to erase the program in the chip;

Then you can read the ARM core through SWDIO... If the ROM and RAM are configured correctly, you can download again

5. About the routine USBD_CDC_ACM, enumerate a virtual serial port through USB

Install the GD_USB driver on the computer. After downloading the program, the computer cannot recognize it...

It can’t be done as described in the routine. I wonder how you guys deal with it?

The routine should show this, but I can't recognize it.

FlyMcu.rar

790.49 KB, downloads: 1

CH341SER.ZIP

367.35 KB, downloads: 0

GD32_Dfu_Tool_V3.8.2.9056.rar

826.51 KB, downloads: 8

USB_Virtual_Com_Port_Driver_v2.0.2.2673.rar

794.9 KB, downloads: 1

This post is from GD32 MCU

Latest reply

Thanks for sharing your experience!!!   Details Published on 2022-1-10 13:06
 

6742

Posts

2

Resources
2
 

Thanks for sharing your experience!!!

This post is from GD32 MCU
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Featured Posts
MATLAB APP Designer serial port debugging tool writing

This post was last edited by lb8820265 on 2019-5-9 23:11 Previously, we introduced two ways to use VC6 to make serial ...

About the original picture and packaging

Does anyone have the original picture and package of STM32F103 series?

How to use CPLD to collect asynchronous signals

Scenario: Use CPLD to decode a serial data channel. The data has no accompanying clock and has a fixed frequency but a d ...

Measuring poles and zeros from a Bode plot

This post was last edited by Jack315 on 2021-1-25 00:52 The transfer function of a single zero is: 522846 The Bode plot ...

Encoder counting principle and motor speed measurement principle - multi-picture analysis

This post was last edited by DDZZ669 on 2021-2-14 23:30 Encoder is a sensor used to measure mechanical rotation or displ ...

35 "Ten Thousand Miles" Raspberry Pi Car——ROS Learning (Realizing Hello World)

The best way to learn ROS is to use it. The ROS official website has a Chinese version of the tutorial . After install ...

36 "Ten Thousand Miles" Raspberry Pi Car——ROS Learning (VSCode to Implement Hello World)

It is very convenient to run ROS projects in VSCode. In this section, we use ROS to write and run the "Hello world" pro ...

[The strongest open source] Hand-rubbed 120W switching power supply

I recently took the time to make a switching power supply 645265 645262 645263 645264 645261 645260

Record a blue screen pit

I mentioned a while ago that my company's computers would occasionally blue screen. Now I think about it, the blue scree ...

ESP8266 01+DHT11 acquisition

Could anyone give me some advice? When I collect DHT11 data through one of GPIO 0 and 2, the 8266 01 keeps restarting. O ...

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list