vanvught / gd32f407re-dmx512-rdm Goto Github PK
View Code? Open in Web Editor NEWGD32F407RE DMX512 RDM
Home Page: https://www.gd32-dmx.org
License: MIT License
GD32F407RE DMX512 RDM
Home Page: https://www.gd32-dmx.org
License: MIT License
So i bought a GD32f407RE. Flashed the bootlader v1.3 with ST-Link adapter to the adress 0x08000000. I am using DP83848 Phy. The router is assigning the IP from DHCP, but for a short time. Also there is no ping response. In the meantime, i can see the device in the Firmware Update Manager, but with an ip in the range of 169.x.x.x. And after 10-15sec the device dissapears in the router as well. By the way the PC0 LED is blinking in 500ms intervals. What does that mean? Can you help?
Also does the firmware only works by uploading it through the bootloader or can i flash it directly? If yes, what are the network settings for your firmware release? DHCP or Static IP?
Thanks.
Hi Arjan,
Everything fine so far. Got some issues though:
1- After configuring the network.txt with a static IP and dhcp=0 & save it, and after pushing the reset button it is updating the IP and it works fine, but it looses the static IP settings and turns back to DHCP mode and gets again it's IP from the DHCP pool after powering the device on or after a power surge.
In my setup i need to work only with static IP's.
So how to make the device stuck to a static IP? Are the settings not stored in the eeprom?
2- The device is not accepting the reboot command from the remote configuration manager. But it is accepting it from the Firmware update UI. So i have to reboot the device manually through the reset button. What can cause this?
edit: well i could reserve an IP on the router side for that mac, but sometimes i just need to plug it on the PC's network card, and acces it directly with it's static IP.
Thanks.
Hi,
is it possible to run this also on a stm32f407 board? If so, what are the steps for that?
Hi Arjan,
I compiled the firmware with:
CONFIG_STORE_USE_SPI
After booting the device, the SPI flash is detected but i can not store the settings via the Remote Configuration Manager on the flash.
Do i need to change anything else in the firmware to work with the external SPI Flash?
Here is the debug:
``
�[37m�[40mNo display found
Detected W25Q32BV/W25Q32FV_SPI with sector size 4096 total 4194304 bytes
[V1.3] GD32F407RE Compiled on Nov 21 2022 at 17:14:40
�[32mArt-Net 4 Pixel controller {8x 4 Universes}�[37m
�[33m�[40mNetwork init
�[37mNetwork
Hostname : gigadevice_472B14
IfName : 1: eth0
Inet : 192.168.0.154/24
Netmask : 255.255.255.0
Gateway : 192.168.0.1
Broadcast : 192.168.0.255
Mac : 02:35:1a:47:4c:10
Mode : D
�[33m�[40mConfiguring MDNS
�[37mmDNS
Name : gigadevice_472B14.local
_config._udp.local 10501
_http._tcp.local 80 node=Art-Net Pixel
�[33m�[40mConfiguring Art-Net
�[37mArtNetNode() src/node/artnetnode.cpp, line 66: PAGE_SIZE=4, PAGES=8, MAX_PORTS=32
--> src/node/artnetnode.cpp:SetShortName:177
<-- src/node/artnetnode.cpp:SetShortName:195
--> src/node/artnetnode.cpp:SetLongName:199
<-- src/node/artnetnode.cpp:SetLongName:216
�[33m�[40mConfiguring RDMNet
�[37mRDMNet
CID : 142b4732-3530-3702-3959-333282b4b166
LLRP Device configuration
Port UDP : 5569
Multicast join Request : 239.255.250.133
Multicast Response : 239.255.250.134
RDM Device configuration
Manufacturer Name : https://gd32-dmx.org
Manufacturer ID : 5000
Serial Number : 32472B14
Root label : GD32F407RE Pixel
Product Category : 0100
Product Detail : 0601
RDM Responder configuration
Protocol Version 1.0
DMX Address : 65535
DMX Footprint : 0
Personality 1 of 1 [Art-Net Pixel 1-WS2812B:170]
Sub Devices : 0
Sensors : 0
Node 4 [8]
Firmware : 1.55
Short name : AvV Art-Net Node
Long name : GD32F407RE Art-Net 4 https://gd32-dmx.org
Pixel configuration
Type : WS2812B [3]
Count : 170
Mapping : GRB [2]
T0H : 0.31 [0xC0]
T1H : 0.78 [0xF8]
Gamma correction No
Clock: 6400000 Hz
Pixel DMX configuration
Outputs : 1
Grouping count : 1 [Groups : 170]
�[33m�[40mStarting RDMNet
�[37m�[32m�[40mRDMNet started
�[37m�[33m�[40mStarting Art-Net
�[37m�[32m�[40mArt-Net started
�[37m
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.