Skip to content

Disassembly of the 2nd generation dashboard firmware from a NIU N1s electric scooter (Model 2018+)

Notifications You must be signed in to change notification settings

axelmuhr/NIU_gen2_dashboard_fw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

NIU 2nd generation dashboard firmware

This is the Disassembly of the 2nd generation dashboard firmware from a NIU N1s aka NQi electric scooter (starting with model year 2018+) A label on the back of the case says "N1SPv20" and the firmware seems to be revision NSHDBV04

Hardware

Besides the LCD, a buck-converter and RS485 receiver the dashboard contains an STM32F0308T6 32-bit micro controller from STmicro.

That's an ARM Cortex®-M0 core and run at speeds up to 48 MHz having 64k of flash and 8k of RAM. Aditionally there are two USARTs, two SPI and two I2C controllers built in.

To learn more about it visit https://www.myniu.org/2nd-gen-dashboard/

Code

This is the "first shot" at the disassembly mainly adding labels to the known addresses (e.g. USART1_base) hinting towards the functionality of those functions which are using them.

If an address was defined in multiple places I numbered them like USART1_base, USART1_base2, USART1_base3, ...

About

Disassembly of the 2nd generation dashboard firmware from a NIU N1s electric scooter (Model 2018+)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published