Description:
Thank you all for your attention, and we continue to review the wonderful content from last week.
0 Weekly Video Edition
1 Web-Based Electronic Development Supporting Online Simulation Programming


Programming Effect:
2 Implementation of Anti-Attack on CAN Bus, Improving CAN Stability
Currently, very few CAN communications have such protection, so they cannot cope with local or remote attacks. The author Kenneth Tindell has published a paper and four videos on YouTube addressing this issue; everyone interested can take a look.
3 Using wolfssl Encryption Algorithm with MDK Configuration Wizard is Very Convenient
MDK can be used directly by installing the corresponding software package; this usage is also suitable for IAR, similar to the video tutorial shared earlier:
BSP Video Tutorial Issue 21: Easily Achieve Variable Length Serial Port DMA Transmission and Reception, Supporting Bare Metal and RTOS, Including Both MDK and IAR Methods, More Convenient than CubeMX
4 BigFAT
SEGGER’s open BigFAT specification breaks the 4GB limit for each file in FAT.
This is a good thing, as exFAT is paid and not cheap. SEGGER’s BigFAT specification allows any third party to store files larger than 4GB on standard FAT media, and it is now publicly available. This specification is not subject to any patent restrictions and can be freely used with supporting tools. I want to mention something else: major foreign websites have begun to launch Chinese versions of their blogs, and this time SEGGER has also released Chinese news for the first time. Previously, Ubuntu also opened a cn.ubuntu site where blog posts are specifically published in Chinese, and the Chinese blogs are almost free of translation traces. It’s rare to see blogs specifically published in Chinese.
For example, last week Ubuntu posted:
5 TDK has Always Excelled in Comic Documentation and Web Material
Previously, I shared TDK’s documentation: 【Vivid and Interesting】 Power Electronics, Inductors, and Capacitors Knowledge Popularization Document, which is quite powerful!
This comic style is indeed very suitable for knowledge sharing, but it is too labor-intensive to produce. I have been looking at their official website these days, and it is also very impressive:
6 MDK’s LwIP Software Package Upgraded to 2.2.0
This upgrade updates the hardware check support for the underlying driver; the Ethernet MAC has some built-in hardware check support, which was not supported in earlier versions of this driver package, causing users to encounter problems when they manually turned it on. This support has now been officially added.
7 Microsoft’s .NET MAUI eBook Released
Currently, there is no English version, and it can only be translated by the browser. If you need to download the English version, you can click the bottom left corner.
8 Digital Temperature Sensor
Silergy has launched a new digital temperature sensor Q52910 that supports a working temperature range of -40°C to +125°C. The SQ52910 is very suitable as a high-precision NTC/PTC thermistor replacement, requiring no calibration or external component signal conditioning, with a measurement accuracy of up to ±0.5°C. The device’s temperature sensing is highly linearized, and the temperature can be known without complex calculations or lookups. The integrated 12-bit ADC provides a resolution as low as 0.0625°C.
9 Microchip University
10 Compilation of C++ Class Related File Resources
The author has compiled some resources related to C++ class issues; everyone who needs this can take a look.
11 H7-TOOL Update This Week
H7-TOOL released V2.18, offline programming now includes Chipsea, Huimang Micro, Wuhan Xinyuan, Lingxin, etc., supporting scanning guns and bringing LUA write file API, enabling logging or data recording.
First of all, thank you all for the feedback; this upgrade fixes some issues, and those not fixed will be addressed in the next upgrade.
[Update Summary]1. Open the LUA fwrite function, greatly facilitating offline data recording. With this feature, everyone using LUA programs to operate SPI, CANFD, I2C, and serial port operations on target devices can achieve offline data recording or logging functions easily. 2. Open the USB and Ethernet control TOOL programming protocol, making it easier for customers to develop USB HID interfaces or Ethernet interface PC software to control the programmer. Previously, protocols for controlling programmers via RS232 serial, RS485 serial, and TTL serial were shared. 3. No need to inject programs; TOOL can directly control GPIO examples through LUA programs. 4. Added ELF file parsing function. 5. The host computer now supports the transmission of files larger than 32MB, facilitating the downloading of large capacity Flash files. 6. Expanded LUA SWD interface functions to read and write various types of values. 7. RTOS Trace function of H7-TOOL, no need for additional code on the target board, real-time detection of RTOS task execution status, supports online and offline play. 8. Optimized the MD5 file calculation algorithm, doubling the speed. 9. Added a global mute parameter, including offline programming end prompt sound, and executing beep in LUA programs will also be turned off. 10. Offline programming: (0) Now supports scanning guns, both one-dimensional and two-dimensional codes are supported. (1) New Chipsea Technology CS32F0, F1, L0 series. (2) New FMD (Huimang Micro) FT32F030, 032, 072. (3) New WHXY (Wuhan Xinyuan) full series CW32F002, CW32F003, CW32F020, CW32F30, CW32L031, CW32L083. (4) New Lingxin LCM32F0xx series. (5) New Yateli AT32F425 series. (6) New National Technology N32G43x, N32G031, N32G032 series. (7) New Fudan Micro FM33LGxx writing option character function scanning gun. (8) New 64MB model W25Q512 for SPI FLASH chips. (9) Also added Vango (Wangao) V85xx series, Huaxin Micro special SWM341 series, NXP MKE16Z64, etc., with some minor issues to be fixed in the next upgrade. (10) Support opening the chip configuration file directory (click the “series” tab).
1. Upgrade Notes for New Version Because the automatic reconnection feature of the WiFi module has been disabled, it is now controlled by the program to connect to the WiFi hotspot, so after the upgrade, everyone needs to update the WiFi password.
2. Open the LUA fwrite function, greatly facilitating offline data recording With this feature, everyone using LUA programs to operate SPI, CANFD, I2C, and serial port operations on target devices can achieve offline data recording or logging functions easily. At the same time, the hardware exception black box function can also record fault information into a file, making it easier to share with the host computer. The operation instructions for this update will be posted on the forum in the coming days:
3. Open the USB and Ethernet control TOOL programming protocol Previously shared protocols for controlling programmers via RS232 serial, RS485 serial, and TTL serial are now complemented by the USB and Ethernet control TOOL programming protocols, making it easier for customers to develop USB HID interfaces or Ethernet interface PC software to control the programmer. Additionally, our host computer has added protocol command testing, making it easier for everyone to use.
4. No need to inject programs, TOOL can directly control GPIO examples through LUA programs Testing STM32F407 GPIO flip, detailed operation instructions will be updated for everyone in the coming days, examples can be found in the software package path:
h7toolPC_release\EMMC\H7-TOOL\Lua\Example\SWD
5. Added ELF file parsing function To facilitate everyone’s opening of ELF files to view information, this function has been added. For example, Embedded Studio can directly open the ELF files generated by itself, while MDK and IAR cannot open them directly and must use their own executable command files or use readelf, objdump to open them. Here, we directly base on the executable files provided by MDK for parsing, as the content is more detailed and implementation is simpler. After opening the host computer’s software package, open the file app.ini, and at the end, there is a MDK path; everyone just needs to fill in the first-level path.
6. The host computer now supports the transmission of files larger than 32MB
Sometimes you need to download large files when offline programming W25Q512 (64MB size) or other large capacity Flash, or when using external Flash above 32MB capacity like H7, iMX RT, etc. Currently, the TOOL host computer has supported direct downloading to the TOOL’s built-in 4GB eMMC.
7. Expanded LUA SWD interface functions to read and write various types of values Single precision, double precision float, strings can all be read now.
8. H7-TOOL’s RTOS Trace function does not require any additional code on the target board, real-time detection of RTOS task execution status, supports online and offline play 【Milestone】 Extremely impressive, no need for any additional code on the target board, real-time detection of RTOS task execution status, supports online and offline play. This will be launched soon, and a configuration dialog will be developed on the host computer to flexibly display various RTOS information. Currently, it is still simply displayed in a printed manner:
9. Offline Programming (0) Now supports scanning guns, both one-dimensional and two-dimensional codes are supported:
(1) New Chipsea Technology CS32F0, F1, L0 series
(2) New FMD (Huimang Micro) FT32F030, 032, 072
(3) New WHXY (Wuhan Xinyuan) full series CW32F002, CW32F003, CW32F020, CW32F30, CW32L031, CW32L083
(4) New Lingxin LCM32F0xx series
(5) New Yateli AT32F425 series
(6) New National Technology N32G43x, N32G031, N32G032 series
(7) Added Fudan Micro FM33LGxx writing option character function scanning gun
(8) New 64MB model W25Q512 for SPI FLASH chips
(9) Also added Vango (Wangao) V85xx series, Huaxin Micro special SWM341 series, NXP MKE16Z64, etc., with some minor issues to be fixed in the next upgrade.
(10) Support for opening the chip configuration file directory (click the “series” tab)
10. Current supported offline programming chip list:Detailed update records:
All messages link source and attachment click the original text at the end to read and download