Introduction
ECB(Ethernet to CAN Bridge)is an Ethernet to CAN adapter, the function of this adapter includes signal conversion between Ethernet and CAN. The adapter is equipped with STM32F429VET6 Master Chip and has 10/100Mbps brandwidth. The default IP address is 192.168.1.30, and the Ethernet protocol is UDP with default interface number 2000. The ECB adapter has 2 independent 1 Mbps CAN bus lines that are insulated, which increases CAN communication brandwidth in the system, decreases communication delays, promotes system’s real-time performance and achieves control of multiple actuators series connection system with complex closed-loop design.
Our ECB’s principle graph and BOM, along with Ethernet communication protocol are all open sources. Users could develop on ECB by themselves based on their own requirements. In this way, it promotes the efficiency of users’ new product development in order to accelerate their listing timing.
Resource overview
- CPU:STM32F429VET6
- RAM:256K
- Flash:512K
- Ethernet communication: single line, 10/100M adaptive speed
- CAN communication: double line, 1Mbps speed
- LED 10 units: 3 power indicator LEDs, 5 user LEDs, 1 Ethernet connection status indicator LED, 1 Ethernet connection speed indicator LED.
-
- Inertial navigation module: 1 unit
- emergency stop switch: 1 unit
- 12V 3A power output: 1 unit
- 5V 3A power output: 1 unit
- Power & CAN signal compound interface: 4 units, each unit includes CAN and power signal simultaneously.
- Extension interface: 2 sets of 2.54mm double pin headers, which include I2C, SPI, and USART
- Reserved master chip pin: 28 pins that have complex functions, please refer to the materials attached.
Using a power voltage higher than the maximum input voltage is strictly forbidden.
The product should be stored dry. Direct sunlight and rain contact, dropping, throwing and falling are strictly forbidden.
The product is sensitive to static electricity and could cause permanent damage to the chip. Before touching the product, it is recommended to release all static electricity on one’s body through the human body static electricity eliminator or just put one’s hands on the wall for a while.
Description of interfaces
Core board Pins
P1 pins
P1 PIN# |
Name |
P1 PIN# |
Name |
1 |
PC0 |
2 |
PB1 |
3 |
PA15 |
4 |
PB15 |
5 |
PB14 |
6 |
PB8 |
7 |
PE10 |
8 |
PB7 |
9 |
PE8 |
10 |
PE9 |
11 |
PE4 |
12 |
PE5 |
13 |
PD15 |
14 |
PE3 |
15 |
PD13 |
16 |
PD14 |
17 |
PD3 |
18 |
PD4 |
19 |
PD1 |
20 |
PD2 |
P2 pins
P1 PIN# |
Name |
P1 PIN# |
Name |
1 |
PA5 |
2 |
PA3 |
3 |
PA6 |
4 |
PA4 |
5 |
AGND |
6 |
PA0 |
7 |
PB3 |
8 |
PB4 |
9 |
SPI2_SCK |
10 |
SPI2_NSS |
11 |
SPI2_MISO |
12 |
SPI2_MOSI |
13 |
I2C3_SCL |
14 |
I2C3_SDA |
15 |
PD6/USART2_RX |
16 |
VCC_5V |
17 |
PD5/USART2_TX |
18 |
VCC_12V |
19 |
GND |
20 |
PC7 |
Shape and size
Note: Unit is millimeters
Instructions for operating ECB
Note: Since there are multiple ECBs connecting with the same computer, IP and MAC addresses cannot be duplicated. Visit “changing IP and MAC address” to change the ECB’s IP and MAC
Changing IP and MAC addresses
Download
- Visit this link download linkto download SDK and relevant documents, or directly run the codes below.
$ git clone https://github.com/innfos/ipChangeTool.git
- Go to ipChangeTool menu, and modify the administration authority:
chmod 777 ipChange
- After confirming there is only one ECB or ECU has been powered and connected to the computer, run the codes below.
./ipChange -ip=<1~255> -mac=<1~255>
- Be advised that you can only change the last digit for modifying IP and MAC addresses. e.g. The IP address of an ECB is 192.168.1.30, you can only modify the “30”.
Ethernet IAP firmware upgrade
-
Startup: After powering up the ECB, the system will go to the bootloader program in the default setting, the system will jump to users program after 5 seconds. The system will keep staying in the bootloader if the ROM is empty.
-
Ethernet IAP software: update ECB firmware through Ethernet IAP software. For downloads and instructions please refer to the link below:
- Erasing users program: under the bootloader program, using Ethernet IAP software to erase users program.
-
Jumping back to the bootloader program from users program: In users program, you can jump back to the bootloader program through Ethernet IAP software. If succeeded, the system will stay in the bootloader unless you reset the system or upgrade the firmware.
-
ECB firmware upgrade: under the bootloader program, you can upgrade ECB firmware through Ethernet IAP software. See resources below
Resources
- ECB_SCH ECB_HUB_SCH ECB_Core
- STM32F429 data
Versions
See older versions and modifications below
Version |
update date |
type |
location |
content |
V3.0.0 |
2019.11.01 |
modify |
全文 |
full-text |
V2.2.4 |
2019.07.05 |
addon |
resources |
add ECB_core principle graph |
V2.2.3 |
19.05.30 |
modify |
ECB and ECB_HUB connection |
modify graphs |
modify |
Multiple ECB connection |
modify graphs |
V2.2.2 |
19.05.29 |
modify |
overview |
modify the overview graphs |
modify |
Shape and size |
modify graphs |
addon |
interface model and specification |
add interface model number |
V2.2.1 |
2019.05.28 |
delete |
interface description |
delete Alternate functions |
V2.2.0 |
2019.05.02 |
addon |
ECB & HUB |
add in full-text |