@echo off
set curdir=%~dp0
cd /d %curdir% 
convert_hex ..\Debug_FLASH\Exe\cva_asw_m0146.srec /FA /FR:0x10000-0xFFFFB /FP:FF /CSR9:@0xFFFFC /XS:32 -o cva_asw_m0146_iar.s19
convert_hex cva_asw_m0146_iar.s19 /XI:32 -o cva_asw_m0146_iar.hex