Search Archive

Restoring Boot Mode in BSP

By ff7f00 · Jan 30, 2016in NEX Series💬 6 posts👁️ 1,491 views
Posted Jan 30, 2016 · 01:32 UTC#1

Hi, I used the TESTMODE_N test key which sets the boot mode to recovery. From here you don't have the option to Copy Script or boot into the OS. How do I restore the default boot mode from here?

 

Thanks

Posted Jan 30, 2016 · 08:00 UTC#2

Try to write your own firmware in testmode to switch to different mode, try different testmode n and a keys, also you can disable this mode using bootloader UART console.

Posted Jan 31, 2016 · 23:55 UTC#3

Try to write your own firmware in testmode to switch to different mode, try different testmode n and a keys, also you can disable this mode using bootloader UART console.

 

Will recovery mode detect an A key and restore the regular boot BSP? I couldn't get recovery mode to trigger on USB plugin.

Posted Feb 01, 2016 · 13:24 UTC#4

Will recovery mode detect an A key and restore the regular boot BSP? I couldn't get recovery mode to trigger on USB plugin.

I doubt it as A-key is checked in regular firmware, but I recommend to check this out. Try to boot with all three possible N-keys. Never tried this, but I think you can exit recovery mode by flashing your firmware from recovery mode.

 

If nothing helps - just buy for $2-$5 simple USB-UART adapter (3.3-volt compatible), connect adapter to yellow connector on the back side of your unit and restore bsp boot fields using bootloader console.

Edited Feb 01, 2016 by WhatIsWhatIsWhatIsWhat
Posted Feb 01, 2016 · 16:18 UTC#5

I doubt it as A-key is checked in regular firmware, but I recommend to check this out. Try to boot with all three possible N-keys. Never tried this, but I think you can exit recovery mode by flashing your firmware from recovery mode.

 

If nothing helps - just buy for $2-$5 simple USB-UART adapter (3.3-volt compatible), connect adapter to yellow connector on the back side of your unit and restore bsp boot fields using bootloader console.

 

Thanks for the info. Wouldn't Debug and Console have to be enabled in the BSP in order to access the UART? Also, I haven't hear the ability to hook into the connectors on the back of the unit to get to the UART. Is that documented somewhere in the AVIC Dev mod thread?

Posted Feb 01, 2016 · 16:33 UTC#6

Thanks for the info. Wouldn't Debug and Console have to be enabled in the BSP in order to access the UART? Also, I haven't hear the ability to hook into the connectors on the back of the unit to get to the UART. Is that documented somewhere in the AVIC Dev mod thread?

Bootloader debug console is always enabled. From this console you have full access to your device, including access to the bsp. This info is not yet documented, please check your PM.