Project:        m4_boot_flash
Platform:       S32V234 - M4
Toolchain:      GCC 6.3
Hardware:       Tested with S32V234-EVB2 (SCH29288 REV B2)

#######################################		General Software Notes:	       #######################################
* The application demonstrates a simple example to configure the PLL and UART on m4
* Only clocks relevant to this project is configured
* Contains configurations to run on SRAM, from SD/QSPI or XIP from QSPI
* Only Lauterbach debugging configuration is supported
* Only Windows host OS is supported

1)	Debug_RAM - configuration to run the application from SRAM
	Use the [m4_boot_flash_Debug_RAM_Lauterbach] launch configuration to load and debug the application
	
2)	Debug_FLASH_XIP - configuration to boot from external QSPI and Execute In Place (XIP)
	
	Use the [m4_boot_flash_Debug_FLASH_QSPI_Lauterbach] launch configuration to load and debug the application
	from the flash region (0x20000000) programmed in the linker file.
	Refer to *NOTE to find the right switch and RCON position for QSPI booting option 
	
3)  Debug_FLASH_RAM - configuration to boot from external flash and execute on SRAM (applicable to both QSPI & SD card)  	
	
	1. use the [m4_boot_flash_Debug_FLASH_QSPI_Lauterbach] launch configuration to load and debug the application when booting from QSPI
	Application would start from the SRAM region (0x3E800000) programmed in the linker file.
	Refer to *NOTE to find the right switch and RCON position for QSPI booting option (same as Debug_FLASH_XIP in terms of hardware configuration)
	
	2. use third party software such as Win32DiskImager to load the ".bin" to the SD card, then use	
	the [m4_boot_flash_Debug_FLASH_SD_Lauterbach] launch configuration to load and debug the application when booting from SD card 
	(Reset the board if debug not working)
	
	Refer to *NOTE to find the right switch and RCON position for each booting option 
	
#######################################################################################################################	
	*NOTE - Make sure the following jumper and RCON configuration are selected before launching the debugging session
	
	QSPI
	- J48 -> 2-3
	
	SD
	- J48 -> 1-2
	
	RCON    SD(M4)     QSPI(M4)
	-SW5    NA         NA
	-SW6    6          2,6
	-SW7    2,6        2,6
	-SW8    8          1
