This article takes the hardware platform imx515 as an example to describe the bdi3000 firmware program burning process and steps. imx515 is based on the cotexa8 core and there is no firmware program in the newly purchased bdi3000, therefore, the firmware program can be used normally only after being burned.
1. Compile the program with a burning write Tool
Bdisetup is a tool for bdi3000 firmware burning and parameter configuration in Linux. It can be generated directly by making in the source code.
CD gdba1130/bdisetup
Make
2. Serial Communication Detection
Connect the PC and bdi3000 and dbi3000 with a serial line, and run the following command to check whether the serial communication works.
Flyan @ flyan-Rev-1-0 :~ /Bdi3000/arm11_cortex/gdba1130/bdisetup $./bdisetup-v-P/dev/ttys0-b115
BDI type: bdi3000 (SNS: 33402411)
Loader: v1.02
Firmware: Unknown
Mac: FF-FF
Ip addr: 255.255.255.255
Subnet: 255.255.255.255
Gateway: 255.255.255.255
Host IP: 255.255.255.255
Config: ������������������������������������ ������������������������������������
This indicates that bdi3000 serial communication is normal, but there is no firmware program.
3. Load/update bdi3000 firmware program
Copy the firmware b30a11gd. 115 to the current directory and update the firmware by running the following command:
Flyan @ flyan-Rev-1-0 :~ /Bdi3000/arm11_cortex/gdba1130/bdisetup $./bdisetup-u-p/dev/ttys0-b115
Connecting to BDI Loader
No valid firmware file found in.
Flyan @ flyan-Rev-1-0 :~ /Bdi3000/arm11_cortex/gdba1130/bdisetup $./bdisetup-u-p/dev/ttys0-b115-agdb-tarm11
Connecting to BDI Loader
Programming firmware with./b30a11gd. 115
Erasing firmware flash ....
Erasing firmware flash passed
Programming firmware flash ....
........................................ ........................................ ........................................ ........................................ ........................................ ........................................ .......................
Programming firmware flash passed
Programming passed
4. Configure bdi3000 default parameters
Imx51.cfg is the configuration file located in the directory of the TFTP server.
Flyan @ flyan-Rev-1-0 :~ /Bdi3000/arm11_cortex/gdba1130/bdisetup $./bdisetup-C-P/dev/ttys0-b115-i10.10.66.94-Example-m1_255.255.0-Example-F imx51.cfg
Connecting to BDI Loader
Writing Network Configuration
Configuration passed
5. Check the configuration parameters and exit the loading mode.
Flyan @ flyan-Rev-1-0 :~ /Bdi3000/arm11_cortex/gdba1130/bdisetup $./bdisetup-v-P/dev/ttys0-b115-S
BDI type: bdi3000 (SNS: 33402411)
Loader: v1.02
Firmware: v1.15 bdigdb for arm11
Mac: 00-0c-01-33-40-24
Ip addr: 10.10.66.94
Subnet: 255.255.255.0
Gateway: 10.10.66.254
Host IP: 10.10.66.226
Config: imx51.cfg