TNJ-MCU Program Upgrade and Keyboard Usage Tutorial¶
1 准备工作 Preparation¶
请提前准备一条程序升级线,一条程序下载线,一个调试键盘。
Please prepare a program upgrade line, a program download line, and a debugging keyboard in advance.


2 确定COM口 Identify the COM Port¶
将程序升级线的USB端插入到电脑上,另外一端与控制器的插头对插好。鼠标右键点击“此电脑”图标,点击进入“管理”页面。
Insert the USB end of the program upgrade cable into the computer, and connect the other end to the controller's plug. Right-click on the 'This PC' icon, and select 'Manage' to access the management page.

点击进入“设备管理器”,打开右边的串口列表,假如看到如下图中的“CH340”则说明已经正常连接,请记住此时的COM口号。
Click to enter 'Device Manager' ,open the right-side serial port list. If you see 'CH340' as shown in the figure below, it indicates a successful connection. Please remember the COM port number at this time.

3 程序升级 Program Upgrade¶
操作这一步之前,整车请勿通电!
Before performing this step, please do not power on the E-motorcycle.
进入到“ProgrammerCore V5.0”的文件夹,找到下图所示图标,为方便后续使用,可创建桌面快捷方式。
Enter the 'Programmer Core V5.0' folder, find the as shown in the following figure icon, for convenience in future use, you can create a desktop shortcut.

鼠标左键双击该图标,如果不能正常打开,提示需要安装“.NET”文件,假如电脑系统为64位,请安装下载的下图所示文件。假如为32位系统,请自行下载和安装对应文件,也可咨询OVK、OVES公司的相关人员。
Double-click the icon with the left mouse button. If it doesn't open properly and prompts to install '.NET' files, install the downloaded as shown in the following figure file for a 64-bit system. For a 32-bit system, please download and install the corresponding file yourself, or consult relevant personnel from OVK and OVES companies.

正常双击改图标,后会弹出如下软件启动界面。
If the icon is double-clicked successfully, the software launch interface will pop up as follows.

软件语言设置:软件启动后,点击左下角的设置图标,语言栏的下拉菜单中选择英语。
Software Language Setting: After the software is launched, click on the settings icon at the bottom left, and choose English from the language dropdown menu.

再点击下图所示图标回到主页面,如下图所示。
Click on the icon shown in the following figure again to return to the main page, as shown in the following picture.

无须填写账号和密码,直接点击登录“LOGIN”。
No need to fill in the account and password, just click 'LOGIN' directly.
将下图中标注中的方框进行勾选。
Check the boxes marked in the box in the figure below.

弹出如下界面,请点击“OK”按钮。
When the following interface pops up, please click the 'OK' button.

按照下图标注,点击Port的下拉菜单,选择上面我们确认过的COM口,点击FILE菜单,选择“LOAD FROM LOCAL ZIP FILE”。
Following the annotation in the figure below, click the dropdown menu for 'Port,' select the COM port we confirmed earlier, click the 'FILE' menu, and choose 'LOAD FROM LOCAL ZIP FILE'.

在弹出的窗口中,请找到存放如图所示该文件的路径,并单击“打开OPEN”。
In the pop-up window, please locate the path where the file as shown in the figure, and click 'Open.'

一切准备已经就绪,此时通过钥匙给摩托车上电,会进入自动升级过程,此过程请勿断电!一般升级到2048时会进入等待状态,请稍等几秒钟,不要切断电源。否则控制器会进入锁定状态,需要返厂才可以解锁。
All preparations are complete. Now, by powering on the E-motorcycle using the key, it will enter the automatic upgrade process. Please do not cut off the power during this process! Typically, when upgrading to 2048, it may enter a waiting state. Please wait for a few seconds and do not disconnect the power. Otherwise, the controller may enter a locked state and will require factory assistance to unlock.

当界面出现下图中的“Boot SuccessfullyEllapsed:1510ms)”时,升级已经完成。请点击“STOP BOOTING”按钮,然后关闭升级软件,将摩托车断电重启。
When the interface displays 'Boot Successfully Elapsed: 1510(ms)' as shown in the figure below, the upgrade is complete. Please click the 'STOP BOOTING' button, then close the upgrade software, and power off and restart the motorcycle.

4 MCU上位机初步使用 Initial Use of MCU Upper Computer¶
进入到“OVES-LBMCGuiV3.7z”的文件夹,找到OVES的图标,为方便后续使用,可创建桌面快捷方式。鼠标左键双击该图标,将弹出如下界面。
Enter the folder named 'OVES-LBMCGuiV3.7z,' find the ‘OVES’ icon, and for convenience in future use, you can create a desktop shortcut. Double-click the icon with the left mouse button, and the following interface will appear.

点击上图中的“卫星锅”图标,将弹出如下界面,点击“Serial port”的下拉菜单,选择之前确认的COM口。
Click on the 'Satellite pot ' icon in the upper figure, and the following interface will appear. Click the dropdown menu for 'Serial port,' and select the previously confirmed COM port.

点击“OK”键,将弹出如下界面,说明上位机已经与控制器正常连接。
Click the 'OK' button, and the following interface will appear, indicating that the upper computer is successfully connected to the controller.

单击界面中的“手指”图标,将切换到如下界面。
Click on the 'finger' icon in the interface to switch to the following screen.

在界面中选择“Self-leaning parameter”,将切换到如下界面。此时请先确保摩托车的后轮已经离地,且可以正常转动,请远离轮子。然后点击“Start self-leaning”按键,电机将带动后轮转动。
In the interface, select 'Self-leaning parameter' to switch to the following screen. At this point, please make sure that the rear wheel of the motorcycle is off the ground and can rotate freely. Keep a distance from the wheel. Then click the 'Start self-leaning' button, and the motor will drive the rear wheel to rotate.

自学习完成后,在界面会出现“Self Learning Successfully”,如下图所示。
After the self-learning is completed, the interface will display 'Self Learning Successfully,' as shown in the following picture.

点击“FOC Monitoring”,切换到如下界面,可以看到MCU的故障状态,电机实时转速,电机的相电流、母线电压(DC)、母线电流以及MCU温度、电机温度等。
Click on 'FOC Monitoring' to switch to the following interface, where you can view the MCU's fault status, motor real-time speed, motor phase current, bus voltage (DC), bus current, as well as MCU temperature, motor temperature, and more.

通过上述动作,已经完成了MCU的程序升级和电机自学习功能,如果需要进一步的上位机操作教程,请联系OVES的售后人员。
By completing the above steps, the MCU program upgrade and motor self-learning functions have been successfully carried out. If further guidance on upper computer operations is required, please contact OVES after-sales personnel.