Hi everyone
I'm looking for a way to use the soft reset command resetDevice to bypass the SBL.
Right now here is the SBL booting process :
Press CR key or Space key to stop auto boot and Update Meta Image...<\r><\n>
Loading existing Meta Image from Flash in 5 4 3 2 1<\r><\n>
Debug: Device info: Manufacturer: 0, Device type = 0, Capacity = 0<\r><\n>
<\r><\n>
Debug: Loading application metaImage from Flash address: c0040000<\r><\n>
Error: Meta header absent!!!<\r><\n>
<\r><\n>
Error: Could not download the metaimage to RAM. Trying to boot the backup factory default image.<\r><\n>
<\r><\n>
Debug: Loading backup factory default image from Flash address: c0100000<\r><\n>
Debug: Parsing completed<\r><\n>
***********************************<\n><\r>IWR68xx Indoor people counting demo***********************************<\n><\r>mmwDemo:/>
If the resetDevice command is sent it will boot again in the SBL (do a count down and boot in the backup factory default image)
I want to send the resetDevice command and boot directly in the factory default image.
Is it possible to modify the address in the resset function to boot directly in the image?
/**
* @b Description
* @n
* This is the CLI Handler for issuing a device soft reset
*
* @param[in] argc
* Number of arguments
* @param[in] argv
* Arguments
*
* @retval
* Success - 0
* @retval
* Error - <0
*/
static int32_t Pcount3DDemo_CLIResetDevice(int32_t argc, char *argv[])
{
uint32_t *resetAddr = (uint32_t *)0xFFFFE11C;
CLI_write("Resetting Device... \n\n");
Task_sleep(100);
*resetAddr = 0xAD;
return 0;
}