@echo off
set curdir=%~dp0
cd /d %curdir% 
convert_hex ..\Debug_FLASH\Exe\cva_asw_m0118.srec /FA /FR:0x10000-0x37FFB /FP:FF /CS9:@0x37FFC /XS:32 -o cva_asw_m0118_iar.s19
convert_hex cva_asw_m0118_iar.s19 /XI:32 -o cva_asw_m0118_iar.hex