- Sun Mar 29, 2020 12:15 pm
#20349
Hi There,
I've been messing around with my G30 and OpenOCD. I've noticed BLE113 from my replacement dashboard that is supposed to be OEM is slightly different than the BLE113 firmware from ScooterHacking. Also, when connecting the Ninebot app, it forever alters the BLE at address 0x0003F400 and puts in "N3M-Ninebot-Mini0001" along with some other info. If I flash back the dashboard with the original full dump, it verifies OK but on rebooting, it gets put back in. I verified this has something to do with the UICR because if I add into the script to program the UICR file from the M365PRO flash file:
"program UICR 0x10001000 verify"
All gets reset and all is well.
What I'm trying to do is to dump the UICR in the dashboard but the commands I use aren't working or are the wrong ones. If I issue this command:
"dump_image maxble_full_backup.bin 0 0x40000"
I get a full chip backup. I want the same, but for the UICR.
Thanks everyone
I've been messing around with my G30 and OpenOCD. I've noticed BLE113 from my replacement dashboard that is supposed to be OEM is slightly different than the BLE113 firmware from ScooterHacking. Also, when connecting the Ninebot app, it forever alters the BLE at address 0x0003F400 and puts in "N3M-Ninebot-Mini0001" along with some other info. If I flash back the dashboard with the original full dump, it verifies OK but on rebooting, it gets put back in. I verified this has something to do with the UICR because if I add into the script to program the UICR file from the M365PRO flash file:
"program UICR 0x10001000 verify"
All gets reset and all is well.
What I'm trying to do is to dump the UICR in the dashboard but the commands I use aren't working or are the wrong ones. If I issue this command:
"dump_image maxble_full_backup.bin 0 0x40000"
I get a full chip backup. I want the same, but for the UICR.
Thanks everyone