Compile fix.
authorMichael McMaster <michael@codesrc.com>
Sun, 23 Mar 2014 12:30:53 +0000 (22:30 +1000)
committerMichael McMaster <michael@codesrc.com>
Sun, 23 Mar 2014 12:30:53 +0000 (22:30 +1000)
183 files changed:
software/SCSI2SD/SCSI2SD.cydsn/Generated_Source/PSoC5/cybootloader.c
software/SCSI2SD/SCSI2SD.cydsn/SCSI2SD.cyfit
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/.deps/ARM_C_FILE.P [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/.deps/C_FILE.P [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/.deps/GNU_ARM_ASM_FILE.P [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/BL.lst [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/BL.o [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/Cm3Start.lst [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/Cm3Start.o [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/CyBootAsmGnu.lst [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/CyBootAsmGnu.o [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/CyDmac.lst [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/CyDmac.o [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/CyFlash.lst [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/CyFlash.o [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/CyLib.lst [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/CyLib.o [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/CySpc.lst [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/CySpc.o [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/USBFS.lst [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/USBFS.o [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/USBFS_Dm.lst [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/USBFS_Dm.o [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/USBFS_Dp.lst [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/USBFS_Dp.o [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/USBFS_audio.lst [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/USBFS_audio.o [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/USBFS_boot.lst [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/USBFS_boot.o [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/USBFS_cdc.lst [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/USBFS_cdc.o [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/USBFS_cls.lst [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/USBFS_cls.o [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/USBFS_descr.lst [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/USBFS_descr.o [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/USBFS_drv.lst [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/USBFS_drv.o [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/USBFS_episr.lst [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/USBFS_episr.o [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/USBFS_hid.lst [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/USBFS_hid.o [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/USBFS_midi.lst [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/USBFS_midi.o [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/USBFS_pm.lst [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/USBFS_pm.o [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/USBFS_std.lst [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/USBFS_std.o [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/USBFS_vnd.lst [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/USBFS_vnd.o [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/USB_Bootloader-ARM_GCC_473-Release-BUILD.log [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/USB_Bootloader-ARM_GCC_473-Release-REBUILD.log [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/USB_Bootloader.a [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/USB_Bootloader.elf [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/USB_Bootloader.hex [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/USB_Bootloader.map [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/cyPm.lst [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/cyPm.o [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/cyfitter_cfg.lst [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/cyfitter_cfg.o [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/cymetadata.lst [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/cymetadata.o [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/cyutils.lst [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/cyutils.o [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/library.deps [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/main.lst [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/main.o [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyfitter_cfg.c
software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cymetadata.c
software/SCSI2SD/USB_Bootloader.cydsn/TopDesign/TopDesign.cysch
software/SCSI2SD/USB_Bootloader.cydsn/USB_Bootloader.cyfit
software/SCSI2SD/USB_Bootloader.cydsn/USB_Bootloader.cyprj.Micha_000
software/SCSI2SD/USB_Bootloader.cydsn/USB_Bootloader.rpt
software/SCSI2SD/USB_Bootloader.cydsn/USB_Bootloader_timing.html
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/BL.c [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/BL.h [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/BL_PVT.h [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/Cm3Iar.icf [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/Cm3RealView.scat [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/Cm3Start.c [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/CyBootAsmGnu.s [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/CyBootAsmIar.s [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/CyBootAsmRv.s [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/CyDmac.c [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/CyDmac.h [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/CyFlash.c [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/CyFlash.h [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/CyLib.c [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/CyLib.h [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/CySpc.c [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/CySpc.h [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/PSoC5_PSoC5LP_100-TQFP.xml [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/SCSI_Out_DBx_aliases.h [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/SCSI_Out_aliases.h [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/USBFS.c [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/USBFS.h [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/USBFS_Dm.c [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/USBFS_Dm.h [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/USBFS_Dm_aliases.h [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/USBFS_Dp.c [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/USBFS_Dp.h [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/USBFS_Dp_aliases.h [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/USBFS_audio.c [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/USBFS_audio.h [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/USBFS_boot.c [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/USBFS_cdc.c [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/USBFS_cdc.h [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/USBFS_cdc.inf [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/USBFS_cls.c [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/USBFS_descr.c [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/USBFS_drv.c [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/USBFS_episr.c [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/USBFS_hid.c [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/USBFS_hid.h [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/USBFS_midi.c [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/USBFS_midi.h [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/USBFS_pm.c [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/USBFS_pvt.h [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/USBFS_std.c [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/USBFS_vnd.c [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/USB_Bootloader.bvf [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/USB_Bootloader.ctl [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/USB_Bootloader.cycdx [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/USB_Bootloader.cyfit [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/USB_Bootloader.dsf [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/USB_Bootloader.pci [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/USB_Bootloader.pco [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/USB_Bootloader.plc_log [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/USB_Bootloader.route [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/USB_Bootloader.rpt [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/USB_Bootloader.rt_log [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/USB_Bootloader.sdc [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/USB_Bootloader.sdf [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/USB_Bootloader.svd [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/USB_Bootloader.tr [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/USB_Bootloader.v [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/USB_Bootloader.vh2 [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/USB_Bootloader.wde [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/USB_Bootloader_p.lib [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/USB_Bootloader_p.pco [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/USB_Bootloader_p.vh2 [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/USB_Bootloader_r.lib [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/USB_Bootloader_r.vh2 [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/USB_Bootloader_t.lib [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/USB_Bootloader_t.vh2 [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/USB_Bootloader_timing.html [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/USB_Bootloader_u.sdc [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/bitstream.txt [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/cm3gcc.ld [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/core_cm3.h [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/core_cm3_psoc5.h [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/core_cmFunc.h [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/core_cmInstr.h [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/cyPm.c [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/cyPm.h [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/cydevice.h [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/cydevice_trm.h [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/cydevicegnu.inc [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/cydevicegnu_trm.inc [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/cydeviceiar.inc [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/cydeviceiar_trm.inc [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/cydevicerv.inc [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/cydevicerv_trm.inc [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/cydisabledsheets.h [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/cyfitter.h [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/cyfitter_cfg.c [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/cyfitter_cfg.h [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/cyfittergnu.inc [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/cyfitteriar.inc [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/cyfitterrv.inc [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/cymetadata.c [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/cypins.h [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/cytypes.h [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/cyutils.c [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/device.lib [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/eeprom.hex [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/elab_dependencies.txt [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/generated_files.txt [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/lcpsoc3/index [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/liberty_reader.log [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/placer.log [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/project.h [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/protect.hex [deleted file]
software/SCSI2SD/USB_Bootloader.cydsn/codegentemp/warp_dependencies.txt [deleted file]

index 2292dca..32543d5 100755 (executable)
@@ -31,18 +31,18 @@ const uint8 cy_bootloader[] = {
     0x00u, 0x40u, 0x00u, 0x20u, 0x11u, 0x00u, 0x00u, 0x00u,\r
     0x61u, 0x01u, 0x00u, 0x00u, 0x61u, 0x01u, 0x00u, 0x00u,\r
     0x08u, 0xB5u, 0x04u, 0x4Bu, 0x04u, 0x48u, 0x1Au, 0x68u,\r
-    0x02u, 0x60u, 0x00u, 0xF0u, 0x71u, 0xFCu, 0x00u, 0xF0u,\r
+    0x02u, 0x60u, 0x00u, 0xF0u, 0x7Bu, 0xFCu, 0x00u, 0xF0u,\r
     0xA1u, 0xF8u, 0x00u, 0xBFu, 0xFAu, 0x46u, 0x00u, 0x40u,\r
     0xBCu, 0x76u, 0x00u, 0x40u, 0x10u, 0xB5u, 0x05u, 0x4Cu,\r
     0x23u, 0x78u, 0x33u, 0xB9u, 0x04u, 0x48u, 0x10u, 0xB1u,\r
     0x04u, 0x48u, 0xAFu, 0xF3u, 0x00u, 0x80u, 0x01u, 0x21u,\r
     0x21u, 0x70u, 0x10u, 0xBDu, 0x28u, 0xC1u, 0xFFu, 0x1Fu,\r
-    0x00u, 0x00u, 0x00u, 0x00u, 0xF4u, 0x1Fu, 0x00u, 0x00u,\r
+    0x00u, 0x00u, 0x00u, 0x00u, 0x0Cu, 0x20u, 0x00u, 0x00u,\r
     0x08u, 0xB5u, 0x06u, 0x4Bu, 0x1Bu, 0xB1u, 0x06u, 0x48u,\r
     0x06u, 0x49u, 0xAFu, 0xF3u, 0x00u, 0x80u, 0x06u, 0x48u,\r
     0x01u, 0x68u, 0x11u, 0xB1u, 0x05u, 0x4Au, 0x02u, 0xB1u,\r
     0x90u, 0x47u, 0x08u, 0xBDu, 0x00u, 0x00u, 0x00u, 0x00u,\r
-    0xF4u, 0x1Fu, 0x00u, 0x00u, 0x2Cu, 0xC1u, 0xFFu, 0x1Fu,\r
+    0x0Cu, 0x20u, 0x00u, 0x00u, 0x2Cu, 0xC1u, 0xFFu, 0x1Fu,\r
     0x08u, 0xC1u, 0xFFu, 0x1Fu, 0x00u, 0x00u, 0x00u, 0x00u,\r
     0x08u, 0xB5u, 0x36u, 0x4Bu, 0x1Au, 0x78u, 0x02u, 0xF0u,\r
     0xFEu, 0x00u, 0x18u, 0x70u, 0x93u, 0xF8u, 0x22u, 0x10u,\r
@@ -70,7 +70,7 @@ const uint8 cy_bootloader[] = {
     0x03u, 0xF8u, 0x0Du, 0x0Cu, 0x13u, 0xF8u, 0x0Eu, 0x1Cu,\r
     0x01u, 0xF0u, 0xFEu, 0x02u, 0x03u, 0xF8u, 0x0Eu, 0x2Cu,\r
     0x13u, 0xF8u, 0x0Fu, 0x0Cu, 0x00u, 0xF0u, 0xFEu, 0x01u,\r
-    0x03u, 0xF8u, 0x0Fu, 0x1Cu, 0x00u, 0xF0u, 0x94u, 0xFBu,\r
+    0x03u, 0xF8u, 0x0Fu, 0x1Cu, 0x00u, 0xF0u, 0x9Eu, 0xFBu,\r
     0xFEu, 0xE7u, 0x00u, 0xBFu, 0x00u, 0x50u, 0x00u, 0x40u,\r
     0xFEu, 0xE7u, 0x00u, 0x00u, 0x08u, 0xB5u, 0x12u, 0x49u,\r
     0x12u, 0x4Bu, 0x4Au, 0x1Cu, 0x1Au, 0xD0u, 0x53u, 0xF8u,\r
@@ -80,9 +80,9 @@ const uint8 cy_bootloader[] = {
     0x04u, 0x32u, 0xF7u, 0xE7u, 0x53u, 0xF8u, 0x04u, 0x0Cu,\r
     0x00u, 0x22u, 0x82u, 0x42u, 0x03u, 0xD0u, 0x00u, 0x25u,\r
     0xA5u, 0x50u, 0x04u, 0x32u, 0xF9u, 0xE7u, 0x01u, 0x39u,\r
-    0x10u, 0x33u, 0xE2u, 0xE7u, 0x01u, 0xF0u, 0xEAu, 0xFEu,\r
+    0x10u, 0x33u, 0xE2u, 0xE7u, 0x01u, 0xF0u, 0xF6u, 0xFEu,\r
     0xFFu, 0xF7u, 0x6Au, 0xFFu, 0xFEu, 0xE7u, 0x00u, 0xBFu,\r
-    0x00u, 0x00u, 0x00u, 0x00u, 0x38u, 0x22u, 0x00u, 0x00u,\r
+    0x00u, 0x00u, 0x00u, 0x00u, 0x5Cu, 0x22u, 0x00u, 0x00u,\r
     0x08u, 0xB5u, 0x10u, 0x4Au, 0x10u, 0x4Bu, 0x1Au, 0x60u,\r
     0x98u, 0x68u, 0x40u, 0xF4u, 0x00u, 0x72u, 0x9Au, 0x60u,\r
     0x00u, 0x23u, 0x03u, 0x2Bu, 0x96u, 0xBFu, 0x0Du, 0x4Au,\r
@@ -96,232 +96,235 @@ const uint8 cy_bootloader[] = {
     0x61u, 0x01u, 0x00u, 0x00u, 0x00u, 0xC0u, 0xFFu, 0x1Fu,\r
     0xBCu, 0x76u, 0x00u, 0x40u, 0x04u, 0xC1u, 0xFFu, 0x1Fu,\r
     0x08u, 0xEDu, 0x00u, 0xE0u, 0x00u, 0xC1u, 0xFFu, 0x1Fu,\r
-    0xF8u, 0xB5u, 0x72u, 0xB6u, 0x5Au, 0x4Bu, 0x01u, 0x22u,\r
+    0xF8u, 0xB5u, 0x72u, 0xB6u, 0x5Fu, 0x4Bu, 0x01u, 0x22u,\r
     0xA3u, 0xF5u, 0xA0u, 0x61u, 0xA1u, 0xF5u, 0x80u, 0x75u,\r
-    0x06u, 0x20u, 0x52u, 0x24u, 0x57u, 0x4Eu, 0x1Au, 0x70u,\r
-    0x08u, 0x70u, 0x2Cu, 0x70u, 0x37u, 0x78u, 0x56u, 0x4Bu,\r
-    0x56u, 0x4Au, 0x40u, 0xF6u, 0x18u, 0x00u, 0x41u, 0xF2u,\r
+    0x06u, 0x20u, 0x52u, 0x24u, 0x5Cu, 0x4Eu, 0x1Au, 0x70u,\r
+    0x08u, 0x70u, 0x2Cu, 0x70u, 0x37u, 0x78u, 0x5Bu, 0x4Bu,\r
+    0x5Bu, 0x4Au, 0x40u, 0xF6u, 0x18u, 0x00u, 0x41u, 0xF2u,\r
     0x51u, 0x21u, 0x17u, 0x70u, 0x19u, 0x25u, 0x18u, 0x80u,\r
-    0x00u, 0x24u, 0x23u, 0xF8u, 0x02u, 0x1Cu, 0x52u, 0x4Eu,\r
+    0x00u, 0x24u, 0x23u, 0xF8u, 0x02u, 0x1Cu, 0x57u, 0x4Eu,\r
     0x4Fu, 0xF4u, 0xF0u, 0x70u, 0x37u, 0x78u, 0x07u, 0xF0u,\r
     0x01u, 0x02u, 0x42u, 0xEAu, 0x44u, 0x04u, 0x00u, 0xF0u,\r
-    0x63u, 0xFBu, 0x01u, 0x3Du, 0x04u, 0xF0u, 0x03u, 0x04u,\r
-    0x17u, 0xD0u, 0x03u, 0x2Cu, 0xEFu, 0xD1u, 0x4Bu, 0x48u,\r
-    0x4Bu, 0x4Fu, 0x00u, 0x26u, 0x4Fu, 0xF4u, 0x80u, 0x73u,\r
-    0x4Au, 0x4Du, 0x07u, 0x21u, 0x48u, 0x22u, 0x02u, 0x24u,\r
+    0x6Fu, 0xFBu, 0x01u, 0x3Du, 0x04u, 0xF0u, 0x03u, 0x04u,\r
+    0x17u, 0xD0u, 0x03u, 0x2Cu, 0xEFu, 0xD1u, 0x50u, 0x48u,\r
+    0x50u, 0x4Fu, 0x00u, 0x26u, 0x4Fu, 0xF4u, 0x80u, 0x73u,\r
+    0x4Fu, 0x4Du, 0x07u, 0x21u, 0x48u, 0x22u, 0x02u, 0x24u,\r
     0x03u, 0x80u, 0x01u, 0x70u, 0x3Eu, 0x70u, 0xBAu, 0x70u,\r
     0x06u, 0x70u, 0x46u, 0x71u, 0x00u, 0xF8u, 0x03u, 0x4Cu,\r
     0x28u, 0x78u, 0x40u, 0xF0u, 0x04u, 0x03u, 0x2Bu, 0x70u,\r
-    0x00u, 0xE0u, 0xFEu, 0xE7u, 0x42u, 0x4Fu, 0x06u, 0x21u,\r
+    0x00u, 0xE0u, 0xFEu, 0xE7u, 0x47u, 0x4Fu, 0x06u, 0x21u,\r
     0x01u, 0xFBu, 0x06u, 0x72u, 0x00u, 0x21u, 0x10u, 0x68u,\r
-    0x01u, 0x36u, 0x92u, 0x88u, 0x01u, 0xF0u, 0x91u, 0xFEu,\r
+    0x01u, 0x36u, 0x92u, 0x88u, 0x01u, 0xF0u, 0x9Du, 0xFEu,\r
     0x08u, 0x2Eu, 0xF3u, 0xD1u, 0x00u, 0x23u, 0x19u, 0x46u,\r
-    0x3Cu, 0x4Cu, 0x00u, 0x22u, 0x18u, 0x59u, 0x30u, 0x34u,\r
+    0x41u, 0x4Cu, 0x00u, 0x22u, 0x18u, 0x59u, 0x30u, 0x34u,\r
     0xC6u, 0xB2u, 0x20u, 0xF0u, 0xFFu, 0x07u, 0x04u, 0xEBu,\r
     0x41u, 0x04u, 0xD5u, 0xB2u, 0xAEu, 0x42u, 0x09u, 0xD0u,\r
     0x04u, 0xEBu, 0x42u, 0x0Cu, 0x14u, 0xF8u, 0x12u, 0x50u,\r
     0x9Cu, 0xF8u, 0x01u, 0xE0u, 0x01u, 0x32u, 0x05u, 0xF8u,\r
     0x07u, 0xE0u, 0xF2u, 0xE7u, 0x04u, 0x33u, 0xC0u, 0xB2u,\r
-    0x30u, 0x2Bu, 0x01u, 0x44u, 0xE4u, 0xD1u, 0x30u, 0x4Cu,\r
+    0x30u, 0x2Bu, 0x01u, 0x44u, 0xE4u, 0xD1u, 0x35u, 0x4Cu,\r
     0x22u, 0x78u, 0x42u, 0xF0u, 0x02u, 0x00u, 0x20u, 0x70u,\r
-    0x21u, 0x7Cu, 0x2Eu, 0x48u, 0x41u, 0xF0u, 0x02u, 0x03u,\r
-    0x2Du, 0x49u, 0x23u, 0x74u, 0x0Cu, 0x78u, 0x44u, 0xF0u,\r
-    0x40u, 0x02u, 0x0Au, 0x70u, 0x03u, 0x78u, 0x2Bu, 0x4Au,\r
-    0x43u, 0xF0u, 0x10u, 0x04u, 0x2Au, 0x4Bu, 0x04u, 0x70u,\r
+    0x21u, 0x7Cu, 0x33u, 0x48u, 0x41u, 0xF0u, 0x02u, 0x03u,\r
+    0x32u, 0x49u, 0x23u, 0x74u, 0x0Cu, 0x78u, 0x44u, 0xF0u,\r
+    0x40u, 0x02u, 0x0Au, 0x70u, 0x03u, 0x78u, 0x30u, 0x4Au,\r
+    0x43u, 0xF0u, 0x10u, 0x04u, 0x2Fu, 0x4Bu, 0x04u, 0x70u,\r
     0x18u, 0x68u, 0x5Cu, 0x68u, 0x10u, 0x60u, 0x54u, 0x60u,\r
-    0x1Au, 0x46u, 0x28u, 0x48u, 0x52u, 0xF8u, 0x08u, 0x4Fu,\r
+    0x1Au, 0x46u, 0x2Du, 0x48u, 0x52u, 0xF8u, 0x08u, 0x4Fu,\r
     0x04u, 0x60u, 0x54u, 0x68u, 0x12u, 0x89u, 0x44u, 0x60u,\r
     0x02u, 0x81u, 0x1Au, 0x46u, 0x52u, 0xF8u, 0x12u, 0x4Fu,\r
-    0x52u, 0x68u, 0x40u, 0xF8u, 0xAEu, 0x4Cu, 0x40u, 0xF8u,\r
-    0xAAu, 0x2Cu, 0x53u, 0xF8u, 0x1Au, 0x0Fu, 0x20u, 0x4Au,\r
-    0x5Bu, 0x68u, 0x10u, 0x60u, 0x1Fu, 0x48u, 0x53u, 0x60u,\r
-    0x02u, 0x78u, 0x42u, 0xF0u, 0x08u, 0x03u, 0x03u, 0x70u,\r
-    0x1Du, 0x48u, 0x1Eu, 0x4Au, 0x03u, 0x78u, 0x03u, 0xF0u,\r
-    0x07u, 0x00u, 0x1Bu, 0x09u, 0x10u, 0x70u, 0x53u, 0x70u,\r
-    0x1Bu, 0x4Au, 0x44u, 0x20u, 0x10u, 0x70u, 0x1Bu, 0x4Au,\r
-    0x0Bu, 0x46u, 0x0Cu, 0x31u, 0x53u, 0xF8u, 0x04u, 0x0Bu,\r
-    0x8Bu, 0x42u, 0x42u, 0xF8u, 0x04u, 0x0Bu, 0xF9u, 0xD1u,\r
-    0x19u, 0x88u, 0x11u, 0x80u, 0xF8u, 0xBDu, 0x00u, 0xBFu,\r
-    0x00u, 0x48u, 0x00u, 0x40u, 0x0Fu, 0x01u, 0x00u, 0x49u,\r
-    0x22u, 0x42u, 0x00u, 0x40u, 0xA1u, 0x46u, 0x00u, 0x40u,\r
-    0x25u, 0x42u, 0x00u, 0x40u, 0x04u, 0x40u, 0x00u, 0x40u,\r
-    0x06u, 0x40u, 0x00u, 0x40u, 0xE8u, 0x46u, 0x00u, 0x40u,\r
-    0xF8u, 0x1Fu, 0x00u, 0x00u, 0x28u, 0x20u, 0x00u, 0x00u,\r
-    0x03u, 0x50u, 0x01u, 0x40u, 0xC2u, 0x43u, 0x00u, 0x40u,\r
-    0xA0u, 0x43u, 0x00u, 0x40u, 0x02u, 0x51u, 0x00u, 0x40u,\r
-    0x84u, 0x20u, 0x00u, 0x00u, 0xF0u, 0x51u, 0x00u, 0x40u,\r
-    0x62u, 0x51u, 0x00u, 0x40u, 0x22u, 0x43u, 0x00u, 0x40u,\r
-    0xCFu, 0x01u, 0x00u, 0x49u, 0x6Eu, 0x58u, 0x00u, 0x40u,\r
-    0x76u, 0x58u, 0x00u, 0x40u, 0xB0u, 0x43u, 0x00u, 0x40u,\r
-    0x00u, 0x47u, 0x00u, 0x00u, 0x43u, 0x1Eu, 0x10u, 0xB5u,\r
-    0x02u, 0x46u, 0x06u, 0x2Bu, 0x0Du, 0xD8u, 0xDFu, 0xE8u,\r
-    0x03u, 0xF0u, 0x06u, 0x0Eu, 0x23u, 0x04u, 0x08u, 0x0Au,\r
-    0x21u, 0x00u, 0x16u, 0x48u, 0x08u, 0xE0u, 0x16u, 0x4Bu,\r
-    0x1Bu, 0xE0u, 0x16u, 0x48u, 0x04u, 0xE0u, 0x16u, 0x48u,\r
-    0x02u, 0xE0u, 0x00u, 0x20u, 0x00u, 0xE0u, 0x15u, 0x48u,\r
-    0x41u, 0x78u, 0x00u, 0x78u, 0x41u, 0xEAu, 0x00u, 0x20u,\r
-    0x02u, 0x2Au, 0x04u, 0xD0u, 0x03u, 0x2Au, 0x07u, 0xD0u,\r
-    0x01u, 0x2Au, 0x15u, 0xD1u, 0x04u, 0xE0u, 0x02u, 0x02u,\r
-    0x42u, 0xEAu, 0x10u, 0x23u, 0x98u, 0xB2u, 0x10u, 0xBDu,\r
-    0x00u, 0xBAu, 0x10u, 0xBDu, 0x0Cu, 0x4Bu, 0x00u, 0xE0u,\r
-    0x0Cu, 0x4Bu, 0xD8u, 0x78u, 0x9Cu, 0x78u, 0x59u, 0x78u,\r
-    0x1Bu, 0x78u, 0x40u, 0xEAu, 0x03u, 0x60u, 0x40u, 0xEAu,\r
-    0x04u, 0x23u, 0x43u, 0xEAu, 0x01u, 0x40u, 0xE3u, 0xE7u,\r
-    0x10u, 0xBDu, 0x00u, 0xBFu, 0xD2u, 0xFFu, 0x01u, 0x00u,\r
-    0xC1u, 0xFFu, 0x01u, 0x00u, 0xD6u, 0xFFu, 0x01u, 0x00u,\r
-    0xD4u, 0xFFu, 0x01u, 0x00u, 0xC5u, 0xFFu, 0x01u, 0x00u,\r
-    0xD8u, 0xFFu, 0x01u, 0x00u, 0xC9u, 0xFFu, 0x01u, 0x00u,\r
-    0x70u, 0xB5u, 0x02u, 0x20u, 0xFFu, 0xF7u, 0xB6u, 0xFFu,\r
-    0x06u, 0x46u, 0x03u, 0x20u, 0xFFu, 0xF7u, 0xB2u, 0xFFu,\r
-    0x71u, 0x1Cu, 0x00u, 0xEBu, 0x01u, 0x26u, 0x02u, 0x20u,\r
-    0xFFu, 0xF7u, 0xACu, 0xFFu, 0x00u, 0x24u, 0x01u, 0x30u,\r
-    0x01u, 0x02u, 0x25u, 0x46u, 0xB1u, 0x42u, 0x09u, 0xD2u,\r
-    0x11u, 0xF8u, 0x01u, 0x0Bu, 0x42u, 0x1Eu, 0xD3u, 0xB2u,\r
-    0x04u, 0x19u, 0xFDu, 0x2Bu, 0x98u, 0xBFu, 0x01u, 0x25u,\r
-    0xE4u, 0xB2u, 0xF3u, 0xE7u, 0x02u, 0x20u, 0xFFu, 0xF7u,\r
-    0x99u, 0xFFu, 0x0Fu, 0x49u, 0x42u, 0x1Cu, 0x13u, 0x02u,\r
-    0xDBu, 0x08u, 0x8Eu, 0x42u, 0x01u, 0xD0u, 0xF6u, 0x08u,\r
-    0x01u, 0xE0u, 0x4Fu, 0xF4u, 0x80u, 0x46u, 0xB3u, 0x42u,\r
-    0x06u, 0xD2u, 0x03u, 0xF1u, 0x90u, 0x41u, 0x08u, 0x78u,\r
-    0x01u, 0x33u, 0x02u, 0x19u, 0xD4u, 0xB2u, 0xF6u, 0xE7u,\r
-    0x05u, 0x48u, 0x64u, 0x42u, 0x02u, 0x78u, 0xE4u, 0xB2u,\r
-    0x94u, 0x42u, 0x01u, 0xD0u, 0x06u, 0x20u, 0x70u, 0xBDu,\r
-    0x00u, 0x2Du, 0xFBu, 0xD0u, 0x00u, 0x20u, 0x70u, 0xBDu,\r
-    0xC0u, 0xFFu, 0x01u, 0x00u, 0x2Du, 0xE9u, 0xF0u, 0x4Fu,\r
-    0xADu, 0xF5u, 0x61u, 0x7Du, 0x80u, 0x46u, 0x00u, 0xF0u,\r
-    0xE3u, 0xFBu, 0x62u, 0xB6u, 0x00u, 0x26u, 0xB2u, 0x46u,\r
-    0x4Fu, 0xF0u, 0x0Au, 0x09u, 0x37u, 0x46u, 0xB8u, 0xF1u,\r
-    0x00u, 0x0Fu, 0x01u, 0xD1u, 0xFFu, 0x23u, 0x00u, 0xE0u,\r
-    0x43u, 0x46u, 0x4Au, 0xA8u, 0x4Fu, 0xF4u, 0x96u, 0x71u,\r
-    0x01u, 0xAAu, 0x00u, 0xF0u, 0x0Bu, 0xFCu, 0xB8u, 0xF1u,\r
-    0x00u, 0x0Fu, 0x03u, 0xD0u, 0x09u, 0xF1u, 0xFFu, 0x39u,\r
-    0x5Fu, 0xFAu, 0x89u, 0xF9u, 0xB9u, 0xF1u, 0x00u, 0x0Fu,\r
-    0x02u, 0xD0u, 0x00u, 0x28u, 0xE7u, 0xD1u, 0x01u, 0xE0u,\r
-    0x00u, 0x28u, 0x71u, 0xD1u, 0xBDu, 0xF8u, 0x04u, 0x20u,\r
-    0x06u, 0x2Au, 0x40u, 0xF2u, 0x7Bu, 0x81u, 0x9Du, 0xF8u,\r
-    0x28u, 0x31u, 0x01u, 0x2Bu, 0x40u, 0xF0u, 0x76u, 0x81u,\r
-    0x9Du, 0xF8u, 0x2Au, 0x01u, 0x9Du, 0xF8u, 0x2Bu, 0x51u,\r
-    0x4Au, 0xA9u, 0x40u, 0xEAu, 0x05u, 0x25u, 0xECu, 0x1Du,\r
-    0x4Bu, 0x19u, 0x94u, 0x42u, 0x58u, 0x79u, 0x19u, 0x79u,\r
-    0x00u, 0xF2u, 0x66u, 0x81u, 0x9Au, 0x79u, 0x17u, 0x2Au,\r
-    0x40u, 0xF0u, 0x64u, 0x81u, 0x2Bu, 0x1Du, 0x9Bu, 0xB2u,\r
-    0x00u, 0x22u, 0x3Bu, 0xB1u, 0x0Du, 0xF2u, 0x27u, 0x14u,\r
-    0xE4u, 0x5Cu, 0x01u, 0x3Bu, 0x12u, 0x19u, 0x92u, 0xB2u,\r
-    0x9Bu, 0xB2u, 0xF6u, 0xE7u, 0x52u, 0x42u, 0x41u, 0xEAu,\r
-    0x00u, 0x20u, 0x91u, 0xB2u, 0x88u, 0x42u, 0x40u, 0xF0u,\r
-    0x53u, 0x81u, 0x4Au, 0xE0u, 0x00u, 0x2Eu, 0x00u, 0xF0u,\r
-    0x4Du, 0x81u, 0x01u, 0x2Du, 0x4Fu, 0xF0u, 0x00u, 0x04u,\r
-    0x40u, 0xF0u, 0x3Cu, 0x81u, 0xBBu, 0xF1u, 0x01u, 0x0Fu,\r
-    0x00u, 0xF2u, 0x38u, 0x81u, 0xFFu, 0x23u, 0x8Du, 0xF8u,\r
-    0x2Cu, 0x41u, 0x8Du, 0xF8u, 0x2Du, 0x41u, 0x25u, 0x46u,\r
-    0x8Du, 0xF8u, 0x2Eu, 0x31u, 0x8Du, 0xF8u, 0x2Fu, 0x61u,\r
-    0x04u, 0x24u, 0x01u, 0x20u, 0x00u, 0x22u, 0x21u, 0x1Du,\r
-    0xADu, 0xF8u, 0x06u, 0x40u, 0x8Du, 0xF8u, 0x28u, 0x01u,\r
-    0x8Du, 0xF8u, 0x29u, 0x51u, 0x8Du, 0xF8u, 0x2Au, 0x41u,\r
-    0x8Du, 0xF8u, 0x2Bu, 0x21u, 0x8Bu, 0xB2u, 0x0Du, 0xF2u,\r
-    0x27u, 0x10u, 0xC1u, 0x5Cu, 0x01u, 0x3Bu, 0x52u, 0x18u,\r
-    0x9Bu, 0xB2u, 0x92u, 0xB2u, 0x00u, 0x2Bu, 0xF6u, 0xD1u,\r
-    0x50u, 0x42u, 0x81u, 0xB2u, 0x08u, 0x0Au, 0x4Bu, 0xAAu,\r
-    0x0Du, 0xF2u, 0x2Du, 0x13u, 0x11u, 0x55u, 0x18u, 0x55u,\r
-    0x17u, 0x21u, 0x0Du, 0xF5u, 0x97u, 0x72u, 0xE3u, 0x1Du,\r
-    0x11u, 0x55u, 0x4Au, 0xA8u, 0x99u, 0xB2u, 0x0Du, 0xF1u,\r
-    0x06u, 0x02u, 0x96u, 0x23u, 0x00u, 0xF0u, 0x60u, 0xFBu,\r
-    0xB8u, 0xF1u, 0x00u, 0x0Fu, 0x3Fu, 0xF4u, 0x72u, 0xAFu,\r
-    0x00u, 0x2Eu, 0x00u, 0xF0u, 0x12u, 0x81u, 0x01u, 0x26u,\r
-    0x69u, 0xE7u, 0x9Du, 0xF8u, 0x29u, 0x21u, 0x9Du, 0xF8u,\r
-    0x2Cu, 0xB1u, 0xA2u, 0xF1u, 0x31u, 0x03u, 0x0Au, 0x2Bu,\r
-    0x00u, 0xF2u, 0xF7u, 0x80u, 0x01u, 0xA1u, 0x51u, 0xF8u,\r
-    0x23u, 0xF0u, 0x00u, 0xBFu, 0x89u, 0x06u, 0x00u, 0x00u,\r
-    0xADu, 0x05u, 0x00u, 0x00u, 0x43u, 0x08u, 0x00u, 0x00u,\r
-    0xA7u, 0x06u, 0x00u, 0x00u, 0x59u, 0x07u, 0x00u, 0x00u,\r
-    0x43u, 0x08u, 0x00u, 0x00u, 0x5Fu, 0x07u, 0x00u, 0x00u,\r
-    0x7Du, 0x07u, 0x00u, 0x00u, 0xA7u, 0x06u, 0x00u, 0x00u,\r
-    0x97u, 0x07u, 0x00u, 0x00u, 0x23u, 0x08u, 0x00u, 0x00u,\r
-    0x00u, 0x2Eu, 0x00u, 0xF0u, 0xDFu, 0x80u, 0x00u, 0x2Du,\r
-    0x40u, 0xF0u, 0xDCu, 0x80u, 0xFFu, 0xF7u, 0xF0u, 0xFEu,\r
-    0xD0u, 0xF1u, 0x01u, 0x02u, 0x38u, 0xBFu, 0x00u, 0x22u,\r
-    0x8Du, 0xF8u, 0x2Cu, 0x21u, 0xBBu, 0xE0u, 0x34u, 0x2Au,\r
-    0x12u, 0xD1u, 0x00u, 0x2Eu, 0x00u, 0xF0u, 0xCEu, 0x80u,\r
-    0x03u, 0x2Du, 0x40u, 0xF0u, 0xCBu, 0x80u, 0xABu, 0xF1u,\r
-    0x40u, 0x07u, 0x3Fu, 0x2Fu, 0x8Cu, 0xBFu, 0x4Fu, 0xF4u,\r
-    0x90u, 0x77u, 0x10u, 0x27u, 0x95u, 0xA8u, 0x00u, 0x21u,\r
-    0x3Au, 0x46u, 0x01u, 0xF0u, 0x86u, 0xFCu, 0x05u, 0xE0u,\r
-    0x00u, 0x2Eu, 0x00u, 0xF0u, 0xBBu, 0x80u, 0x02u, 0x2Du,\r
-    0x40u, 0xF2u, 0xB8u, 0x80u, 0x03u, 0x3Du, 0x95u, 0xABu,\r
-    0x2Au, 0x46u, 0xD8u, 0x19u, 0x0Du, 0xF2u, 0x2Fu, 0x11u,\r
-    0x01u, 0xF0u, 0x6Eu, 0xFCu, 0xABu, 0xF1u, 0x40u, 0x00u,\r
-    0x7Au, 0x19u, 0x3Fu, 0x28u, 0x96u, 0xB2u, 0x03u, 0xD8u,\r
-    0x00u, 0xF0u, 0xD2u, 0xF9u, 0x10u, 0x24u, 0x01u, 0xE0u,\r
-    0x4Fu, 0xF4u, 0x90u, 0x74u, 0xA6u, 0x42u, 0x40u, 0xF0u,\r
-    0x97u, 0x80u, 0x9Du, 0xF8u, 0x2Eu, 0x11u, 0x9Du, 0xF8u,\r
-    0x2Du, 0x71u, 0xBBu, 0xF1u, 0x3Fu, 0x0Fu, 0x47u, 0xEAu,\r
-    0x01u, 0x25u, 0x11u, 0xD8u, 0xBAu, 0xF1u, 0x00u, 0x0Fu,\r
-    0x0Eu, 0xD1u, 0x51u, 0x46u, 0x4Fu, 0xF4u, 0x90u, 0x72u,\r
-    0x02u, 0xA8u, 0x01u, 0xF0u, 0x56u, 0xFCu, 0x01u, 0x20u,\r
-    0xFFu, 0x21u, 0x02u, 0xAAu, 0x4Fu, 0xF4u, 0x90u, 0x73u,\r
-    0x00u, 0xF0u, 0x62u, 0xF9u, 0x4Fu, 0xF0u, 0x01u, 0x0Au,\r
-    0x33u, 0x46u, 0x58u, 0x46u, 0x29u, 0x46u, 0x95u, 0xAAu,\r
-    0x00u, 0xF0u, 0x5Au, 0xF9u, 0x01u, 0x26u, 0x00u, 0x28u,\r
-    0x75u, 0xD0u, 0x00u, 0x27u, 0x0Au, 0x25u, 0x75u, 0xE0u,\r
-    0x00u, 0x2Eu, 0x77u, 0xD0u, 0x7Au, 0xE0u, 0x00u, 0x2Eu,\r
-    0x74u, 0xD0u, 0x7Cu, 0x19u, 0xB4u, 0xF5u, 0x96u, 0x7Fu,\r
-    0x6Eu, 0xD8u, 0x95u, 0xA9u, 0xC8u, 0x19u, 0x2Au, 0x46u,\r
-    0x4Bu, 0xA9u, 0x01u, 0xF0u, 0x29u, 0xFCu, 0xA7u, 0xB2u,\r
-    0x00u, 0x25u, 0x63u, 0xE0u, 0x00u, 0x2Du, 0x65u, 0xD1u,\r
-    0x3Au, 0x48u, 0x02u, 0xAEu, 0x4Bu, 0xACu, 0x03u, 0xC8u,\r
-    0x86u, 0xE8u, 0x03u, 0x00u, 0x84u, 0xE8u, 0x03u, 0x00u,\r
-    0x01u, 0x26u, 0x08u, 0x24u, 0x21u, 0xE7u, 0x00u, 0x2Eu,\r
-    0x58u, 0xD0u, 0x03u, 0x2Du, 0x56u, 0xD1u, 0x9Du, 0xF8u,\r
-    0x2Eu, 0x01u, 0x9Du, 0xF8u, 0x2Du, 0x11u, 0xABu, 0xF1u,\r
-    0x40u, 0x02u, 0x3Fu, 0x2Au, 0x41u, 0xEAu, 0x00u, 0x25u,\r
-    0x0Au, 0xD8u, 0x2Du, 0x01u, 0x00u, 0x23u, 0x10u, 0x22u,\r
-    0x2Du, 0x48u, 0x11u, 0x18u, 0x4Cu, 0x5Du, 0x01u, 0x3Au,\r
-    0x23u, 0x44u, 0xDBu, 0xB2u, 0xF8u, 0xD1u, 0x26u, 0xE0u,\r
-    0x05u, 0xEBu, 0x0Bu, 0x23u, 0x1Cu, 0x02u, 0x4Fu, 0xF4u,\r
-    0x80u, 0x72u, 0x00u, 0x23u, 0x01u, 0x3Au, 0x10u, 0x5Du,\r
-    0x19u, 0x18u, 0xCBu, 0xB2u, 0x00u, 0x2Au, 0xF9u, 0xD1u,\r
-    0xBBu, 0xF1u, 0x3Fu, 0x0Fu, 0x17u, 0xD8u, 0x0Bu, 0xF5u,\r
-    0x10u, 0x34u, 0x05u, 0xEBu, 0x04u, 0x20u, 0x41u, 0x01u,\r
-    0x54u, 0x5Cu, 0x01u, 0x32u, 0x1Bu, 0x19u, 0x20u, 0x2Au,\r
-    0xDBu, 0xB2u, 0xF9u, 0xD1u, 0xBBu, 0xF1u, 0x01u, 0x0Fu,\r
-    0x09u, 0xD1u, 0xFFu, 0x2Du, 0x07u, 0xD1u, 0x1Bu, 0x4Du,\r
-    0x1Bu, 0x4Cu, 0x28u, 0x78u, 0x19u, 0x1Au, 0x23u, 0x78u,\r
-    0xCAu, 0x1Au, 0x02u, 0xF0u, 0xFFu, 0x03u, 0x5Du, 0x42u,\r
-    0x8Du, 0xF8u, 0x2Cu, 0x51u, 0x00u, 0x25u, 0x01u, 0x24u,\r
-    0xDBu, 0xE6u, 0xFFu, 0xF7u, 0x29u, 0xFEu, 0x10u, 0xB9u,\r
-    0x14u, 0x4Du, 0x80u, 0x24u, 0x2Cu, 0x70u, 0x00u, 0xF0u,\r
-    0x45u, 0xF9u, 0x0Bu, 0xE0u, 0x04u, 0x25u, 0xD0u, 0xE6u,\r
-    0x01u, 0x26u, 0x00u, 0x27u, 0x04u, 0xE0u, 0x07u, 0x46u,\r
-    0x9Au, 0xE7u, 0x05u, 0x25u, 0x00u, 0x24u, 0xC8u, 0xE6u,\r
-    0x03u, 0x25u, 0xFBu, 0xE7u, 0x04u, 0x25u, 0xF9u, 0xE7u,\r
-    0x08u, 0x25u, 0xF7u, 0xE7u, 0xB8u, 0xF1u, 0x00u, 0x0Fu,\r
-    0x01u, 0xD1u, 0x47u, 0x46u, 0x5Eu, 0xE6u, 0x00u, 0x27u,\r
-    0xEDu, 0xE6u, 0x0Du, 0xF5u, 0x61u, 0x7Du, 0xBDu, 0xE8u,\r
-    0xF0u, 0x8Fu, 0x00u, 0xBFu, 0xA8u, 0x20u, 0x00u, 0x00u,\r
-    0xFFu, 0x7Fu, 0x00u, 0x40u, 0xD0u, 0xFFu, 0x01u, 0x00u,\r
-    0xD1u, 0xFFu, 0x01u, 0x00u, 0xFAu, 0x46u, 0x00u, 0x40u,\r
-    0x10u, 0xB5u, 0xC8u, 0xB0u, 0x00u, 0xF0u, 0x92u, 0xF8u,\r
-    0x10u, 0xB1u, 0x00u, 0x20u, 0x00u, 0xF0u, 0x14u, 0xF9u,\r
-    0x68u, 0x46u, 0x00u, 0xF0u, 0x9Fu, 0xF8u, 0x10u, 0xB1u,\r
-    0x00u, 0x20u, 0x00u, 0xF0u, 0x0Du, 0xF9u, 0x16u, 0x48u,\r
-    0x03u, 0x68u, 0x19u, 0x68u, 0x00u, 0x23u, 0x0Au, 0x46u,\r
-    0x22u, 0xB1u, 0x12u, 0xF8u, 0x01u, 0x4Du, 0xE3u, 0x18u,\r
-    0xDBu, 0xB2u, 0xF9u, 0xE7u, 0x42u, 0x68u, 0x10u, 0x78u,\r
-    0xC4u, 0x1Au, 0x04u, 0xF0u, 0xFFu, 0x03u, 0x83u, 0x42u,\r
-    0x00u, 0xD1u, 0x11u, 0xB9u, 0x00u, 0x20u, 0x00u, 0xF0u,\r
-    0xF7u, 0xF8u, 0x0Cu, 0x4Cu, 0xFFu, 0xF7u, 0xD4u, 0xFDu,\r
-    0x21u, 0x78u, 0x01u, 0xF0u, 0xC0u, 0x02u, 0x40u, 0x2Au,\r
-    0x00u, 0xD0u, 0x18u, 0xB1u, 0x00u, 0x20u, 0x20u, 0x70u,\r
-    0xFFu, 0xF7u, 0x0Cu, 0xFEu, 0x14u, 0x20u, 0xFFu, 0xF7u,\r
-    0x09u, 0xFEu, 0x80u, 0x20u, 0x20u, 0x70u, 0x00u, 0xF0u,\r
-    0xE5u, 0xF8u, 0x48u, 0xB0u, 0x10u, 0xBDu, 0x00u, 0xBFu,\r
-    0x0Cu, 0xC1u, 0xFFu, 0x1Fu, 0xFAu, 0x46u, 0x00u, 0x40u,\r
-    0x08u, 0xB5u, 0x0Au, 0x4Bu, 0x1Au, 0x78u, 0x02u, 0xF0u,\r
-    0xC0u, 0x00u, 0x80u, 0x28u, 0x0Cu, 0xD1u, 0x00u, 0x21u,\r
-    0x19u, 0x70u, 0x01u, 0x20u, 0xFFu, 0xF7u, 0x6Au, 0xFDu,\r
-    0x30u, 0xB1u, 0x01u, 0x20u, 0xFFu, 0xF7u, 0x66u, 0xFDu,\r
-    0xBDu, 0xE8u, 0x08u, 0x40u, 0xFFu, 0xF7u, 0x60u, 0xBDu,\r
-    0x08u, 0xBDu, 0x00u, 0xBFu, 0xFAu, 0x46u, 0x00u, 0x40u,\r
+    0x40u, 0xF8u, 0xC0u, 0x4Cu, 0x54u, 0x68u, 0x12u, 0x89u,\r
+    0x40u, 0xF8u, 0xBCu, 0x4Cu, 0x20u, 0xF8u, 0xB8u, 0x2Cu,\r
+    0x1Au, 0x46u, 0x52u, 0xF8u, 0x1Cu, 0x4Fu, 0x52u, 0x68u,\r
+    0x40u, 0xF8u, 0xAEu, 0x4Cu, 0x40u, 0xF8u, 0xAAu, 0x2Cu,\r
+    0x53u, 0xF8u, 0x24u, 0x0Fu, 0x1Fu, 0x4Au, 0x5Bu, 0x68u,\r
+    0x10u, 0x60u, 0x1Fu, 0x48u, 0x53u, 0x60u, 0x02u, 0x78u,\r
+    0x42u, 0xF0u, 0x08u, 0x03u, 0x03u, 0x70u, 0x1Du, 0x48u,\r
+    0x1Du, 0x4Au, 0x03u, 0x78u, 0x03u, 0xF0u, 0x07u, 0x00u,\r
+    0x1Bu, 0x09u, 0x10u, 0x70u, 0x53u, 0x70u, 0x1Bu, 0x4Au,\r
+    0x44u, 0x20u, 0x10u, 0x70u, 0x1Au, 0x4Au, 0x0Bu, 0x46u,\r
+    0x0Cu, 0x31u, 0x53u, 0xF8u, 0x04u, 0x0Bu, 0x8Bu, 0x42u,\r
+    0x42u, 0xF8u, 0x04u, 0x0Bu, 0xF9u, 0xD1u, 0x19u, 0x88u,\r
+    0x11u, 0x80u, 0xF8u, 0xBDu, 0x00u, 0x48u, 0x00u, 0x40u,\r
+    0x0Fu, 0x01u, 0x00u, 0x49u, 0x22u, 0x42u, 0x00u, 0x40u,\r
+    0xA1u, 0x46u, 0x00u, 0x40u, 0x25u, 0x42u, 0x00u, 0x40u,\r
+    0x04u, 0x40u, 0x00u, 0x40u, 0x06u, 0x40u, 0x00u, 0x40u,\r
+    0xE8u, 0x46u, 0x00u, 0x40u, 0x10u, 0x20u, 0x00u, 0x00u,\r
+    0x40u, 0x20u, 0x00u, 0x00u, 0x03u, 0x50u, 0x01u, 0x40u,\r
+    0xC2u, 0x43u, 0x00u, 0x40u, 0xA0u, 0x43u, 0x00u, 0x40u,\r
+    0x02u, 0x51u, 0x00u, 0x40u, 0x9Eu, 0x20u, 0x00u, 0x00u,\r
+    0xF0u, 0x51u, 0x00u, 0x40u, 0x62u, 0x51u, 0x00u, 0x40u,\r
+    0x22u, 0x43u, 0x00u, 0x40u, 0xCFu, 0x01u, 0x00u, 0x49u,\r
+    0x6Eu, 0x58u, 0x00u, 0x40u, 0x76u, 0x58u, 0x00u, 0x40u,\r
+    0xB0u, 0x43u, 0x00u, 0x40u, 0x00u, 0x47u, 0x00u, 0x00u,\r
+    0x43u, 0x1Eu, 0x10u, 0xB5u, 0x02u, 0x46u, 0x06u, 0x2Bu,\r
+    0x0Du, 0xD8u, 0xDFu, 0xE8u, 0x03u, 0xF0u, 0x06u, 0x0Eu,\r
+    0x23u, 0x04u, 0x08u, 0x0Au, 0x21u, 0x00u, 0x16u, 0x48u,\r
+    0x08u, 0xE0u, 0x16u, 0x4Bu, 0x1Bu, 0xE0u, 0x16u, 0x48u,\r
+    0x04u, 0xE0u, 0x16u, 0x48u, 0x02u, 0xE0u, 0x00u, 0x20u,\r
+    0x00u, 0xE0u, 0x15u, 0x48u, 0x41u, 0x78u, 0x00u, 0x78u,\r
+    0x41u, 0xEAu, 0x00u, 0x20u, 0x02u, 0x2Au, 0x04u, 0xD0u,\r
+    0x03u, 0x2Au, 0x07u, 0xD0u, 0x01u, 0x2Au, 0x15u, 0xD1u,\r
+    0x04u, 0xE0u, 0x02u, 0x02u, 0x42u, 0xEAu, 0x10u, 0x23u,\r
+    0x98u, 0xB2u, 0x10u, 0xBDu, 0x00u, 0xBAu, 0x10u, 0xBDu,\r
+    0x0Cu, 0x4Bu, 0x00u, 0xE0u, 0x0Cu, 0x4Bu, 0xD8u, 0x78u,\r
+    0x9Cu, 0x78u, 0x59u, 0x78u, 0x1Bu, 0x78u, 0x40u, 0xEAu,\r
+    0x03u, 0x60u, 0x40u, 0xEAu, 0x04u, 0x23u, 0x43u, 0xEAu,\r
+    0x01u, 0x40u, 0xE3u, 0xE7u, 0x10u, 0xBDu, 0x00u, 0xBFu,\r
+    0xD2u, 0xFFu, 0x01u, 0x00u, 0xC1u, 0xFFu, 0x01u, 0x00u,\r
+    0xD6u, 0xFFu, 0x01u, 0x00u, 0xD4u, 0xFFu, 0x01u, 0x00u,\r
+    0xC5u, 0xFFu, 0x01u, 0x00u, 0xD8u, 0xFFu, 0x01u, 0x00u,\r
+    0xC9u, 0xFFu, 0x01u, 0x00u, 0x70u, 0xB5u, 0x02u, 0x20u,\r
+    0xFFu, 0xF7u, 0xB6u, 0xFFu, 0x06u, 0x46u, 0x03u, 0x20u,\r
+    0xFFu, 0xF7u, 0xB2u, 0xFFu, 0x71u, 0x1Cu, 0x00u, 0xEBu,\r
+    0x01u, 0x26u, 0x02u, 0x20u, 0xFFu, 0xF7u, 0xACu, 0xFFu,\r
+    0x00u, 0x24u, 0x01u, 0x30u, 0x01u, 0x02u, 0x25u, 0x46u,\r
+    0xB1u, 0x42u, 0x09u, 0xD2u, 0x11u, 0xF8u, 0x01u, 0x0Bu,\r
+    0x42u, 0x1Eu, 0xD3u, 0xB2u, 0x04u, 0x19u, 0xFDu, 0x2Bu,\r
+    0x98u, 0xBFu, 0x01u, 0x25u, 0xE4u, 0xB2u, 0xF3u, 0xE7u,\r
+    0x02u, 0x20u, 0xFFu, 0xF7u, 0x99u, 0xFFu, 0x0Fu, 0x49u,\r
+    0x42u, 0x1Cu, 0x13u, 0x02u, 0xDBu, 0x08u, 0x8Eu, 0x42u,\r
+    0x01u, 0xD0u, 0xF6u, 0x08u, 0x01u, 0xE0u, 0x4Fu, 0xF4u,\r
+    0x80u, 0x46u, 0xB3u, 0x42u, 0x06u, 0xD2u, 0x03u, 0xF1u,\r
+    0x90u, 0x41u, 0x08u, 0x78u, 0x01u, 0x33u, 0x02u, 0x19u,\r
+    0xD4u, 0xB2u, 0xF6u, 0xE7u, 0x05u, 0x48u, 0x64u, 0x42u,\r
+    0x02u, 0x78u, 0xE4u, 0xB2u, 0x94u, 0x42u, 0x01u, 0xD0u,\r
+    0x06u, 0x20u, 0x70u, 0xBDu, 0x00u, 0x2Du, 0xFBu, 0xD0u,\r
+    0x00u, 0x20u, 0x70u, 0xBDu, 0xC0u, 0xFFu, 0x01u, 0x00u,\r
+    0x2Du, 0xE9u, 0xF0u, 0x4Fu, 0xADu, 0xF5u, 0x61u, 0x7Du,\r
+    0x80u, 0x46u, 0x00u, 0xF0u, 0xE5u, 0xFBu, 0x62u, 0xB6u,\r
+    0x00u, 0x26u, 0xB2u, 0x46u, 0x4Fu, 0xF0u, 0x0Au, 0x09u,\r
+    0x37u, 0x46u, 0xB8u, 0xF1u, 0x00u, 0x0Fu, 0x01u, 0xD1u,\r
+    0xFFu, 0x23u, 0x00u, 0xE0u, 0x43u, 0x46u, 0x4Au, 0xA8u,\r
+    0x4Fu, 0xF4u, 0x96u, 0x71u, 0x01u, 0xAAu, 0x00u, 0xF0u,\r
+    0x0Du, 0xFCu, 0xB8u, 0xF1u, 0x00u, 0x0Fu, 0x03u, 0xD0u,\r
+    0x09u, 0xF1u, 0xFFu, 0x39u, 0x5Fu, 0xFAu, 0x89u, 0xF9u,\r
+    0xB9u, 0xF1u, 0x00u, 0x0Fu, 0x02u, 0xD0u, 0x00u, 0x28u,\r
+    0xE7u, 0xD1u, 0x01u, 0xE0u, 0x00u, 0x28u, 0x71u, 0xD1u,\r
+    0xBDu, 0xF8u, 0x04u, 0x20u, 0x06u, 0x2Au, 0x40u, 0xF2u,\r
+    0x7Bu, 0x81u, 0x9Du, 0xF8u, 0x28u, 0x31u, 0x01u, 0x2Bu,\r
+    0x40u, 0xF0u, 0x76u, 0x81u, 0x9Du, 0xF8u, 0x2Au, 0x01u,\r
+    0x9Du, 0xF8u, 0x2Bu, 0x51u, 0x4Au, 0xA9u, 0x40u, 0xEAu,\r
+    0x05u, 0x25u, 0xECu, 0x1Du, 0x4Bu, 0x19u, 0x94u, 0x42u,\r
+    0x58u, 0x79u, 0x19u, 0x79u, 0x00u, 0xF2u, 0x66u, 0x81u,\r
+    0x9Au, 0x79u, 0x17u, 0x2Au, 0x40u, 0xF0u, 0x64u, 0x81u,\r
+    0x2Bu, 0x1Du, 0x9Bu, 0xB2u, 0x00u, 0x22u, 0x3Bu, 0xB1u,\r
+    0x0Du, 0xF2u, 0x27u, 0x14u, 0xE4u, 0x5Cu, 0x01u, 0x3Bu,\r
+    0x12u, 0x19u, 0x92u, 0xB2u, 0x9Bu, 0xB2u, 0xF6u, 0xE7u,\r
+    0x52u, 0x42u, 0x41u, 0xEAu, 0x00u, 0x20u, 0x91u, 0xB2u,\r
+    0x88u, 0x42u, 0x40u, 0xF0u, 0x53u, 0x81u, 0x4Au, 0xE0u,\r
+    0x00u, 0x2Eu, 0x00u, 0xF0u, 0x4Du, 0x81u, 0x01u, 0x2Du,\r
+    0x4Fu, 0xF0u, 0x00u, 0x04u, 0x40u, 0xF0u, 0x3Cu, 0x81u,\r
+    0xBBu, 0xF1u, 0x01u, 0x0Fu, 0x00u, 0xF2u, 0x38u, 0x81u,\r
+    0xFFu, 0x23u, 0x8Du, 0xF8u, 0x2Cu, 0x41u, 0x8Du, 0xF8u,\r
+    0x2Du, 0x41u, 0x25u, 0x46u, 0x8Du, 0xF8u, 0x2Eu, 0x31u,\r
+    0x8Du, 0xF8u, 0x2Fu, 0x61u, 0x04u, 0x24u, 0x01u, 0x20u,\r
+    0x00u, 0x22u, 0x21u, 0x1Du, 0xADu, 0xF8u, 0x06u, 0x40u,\r
+    0x8Du, 0xF8u, 0x28u, 0x01u, 0x8Du, 0xF8u, 0x29u, 0x51u,\r
+    0x8Du, 0xF8u, 0x2Au, 0x41u, 0x8Du, 0xF8u, 0x2Bu, 0x21u,\r
+    0x8Bu, 0xB2u, 0x0Du, 0xF2u, 0x27u, 0x10u, 0xC1u, 0x5Cu,\r
+    0x01u, 0x3Bu, 0x52u, 0x18u, 0x9Bu, 0xB2u, 0x92u, 0xB2u,\r
+    0x00u, 0x2Bu, 0xF6u, 0xD1u, 0x50u, 0x42u, 0x81u, 0xB2u,\r
+    0x08u, 0x0Au, 0x4Bu, 0xAAu, 0x0Du, 0xF2u, 0x2Du, 0x13u,\r
+    0x11u, 0x55u, 0x18u, 0x55u, 0x17u, 0x21u, 0x0Du, 0xF5u,\r
+    0x97u, 0x72u, 0xE3u, 0x1Du, 0x11u, 0x55u, 0x4Au, 0xA8u,\r
+    0x99u, 0xB2u, 0x0Du, 0xF1u, 0x06u, 0x02u, 0x96u, 0x23u,\r
+    0x00u, 0xF0u, 0x62u, 0xFBu, 0xB8u, 0xF1u, 0x00u, 0x0Fu,\r
+    0x3Fu, 0xF4u, 0x72u, 0xAFu, 0x00u, 0x2Eu, 0x00u, 0xF0u,\r
+    0x12u, 0x81u, 0x01u, 0x26u, 0x69u, 0xE7u, 0x9Du, 0xF8u,\r
+    0x29u, 0x21u, 0x9Du, 0xF8u, 0x2Cu, 0xB1u, 0xA2u, 0xF1u,\r
+    0x31u, 0x03u, 0x0Au, 0x2Bu, 0x00u, 0xF2u, 0xF7u, 0x80u,\r
+    0x01u, 0xA1u, 0x51u, 0xF8u, 0x23u, 0xF0u, 0x00u, 0xBFu,\r
+    0x9Du, 0x06u, 0x00u, 0x00u, 0xC1u, 0x05u, 0x00u, 0x00u,\r
+    0x57u, 0x08u, 0x00u, 0x00u, 0xBBu, 0x06u, 0x00u, 0x00u,\r
+    0x6Du, 0x07u, 0x00u, 0x00u, 0x57u, 0x08u, 0x00u, 0x00u,\r
+    0x73u, 0x07u, 0x00u, 0x00u, 0x91u, 0x07u, 0x00u, 0x00u,\r
+    0xBBu, 0x06u, 0x00u, 0x00u, 0xABu, 0x07u, 0x00u, 0x00u,\r
+    0x37u, 0x08u, 0x00u, 0x00u, 0x00u, 0x2Eu, 0x00u, 0xF0u,\r
+    0xDFu, 0x80u, 0x00u, 0x2Du, 0x40u, 0xF0u, 0xDCu, 0x80u,\r
+    0xFFu, 0xF7u, 0xF0u, 0xFEu, 0xD0u, 0xF1u, 0x01u, 0x02u,\r
+    0x38u, 0xBFu, 0x00u, 0x22u, 0x8Du, 0xF8u, 0x2Cu, 0x21u,\r
+    0xBBu, 0xE0u, 0x34u, 0x2Au, 0x12u, 0xD1u, 0x00u, 0x2Eu,\r
+    0x00u, 0xF0u, 0xCEu, 0x80u, 0x03u, 0x2Du, 0x40u, 0xF0u,\r
+    0xCBu, 0x80u, 0xABu, 0xF1u, 0x40u, 0x07u, 0x3Fu, 0x2Fu,\r
+    0x8Cu, 0xBFu, 0x4Fu, 0xF4u, 0x90u, 0x77u, 0x10u, 0x27u,\r
+    0x95u, 0xA8u, 0x00u, 0x21u, 0x3Au, 0x46u, 0x01u, 0xF0u,\r
+    0x88u, 0xFCu, 0x05u, 0xE0u, 0x00u, 0x2Eu, 0x00u, 0xF0u,\r
+    0xBBu, 0x80u, 0x02u, 0x2Du, 0x40u, 0xF2u, 0xB8u, 0x80u,\r
+    0x03u, 0x3Du, 0x95u, 0xABu, 0x2Au, 0x46u, 0xD8u, 0x19u,\r
+    0x0Du, 0xF2u, 0x2Fu, 0x11u, 0x01u, 0xF0u, 0x70u, 0xFCu,\r
+    0xABu, 0xF1u, 0x40u, 0x00u, 0x7Au, 0x19u, 0x3Fu, 0x28u,\r
+    0x96u, 0xB2u, 0x03u, 0xD8u, 0x00u, 0xF0u, 0xD4u, 0xF9u,\r
+    0x10u, 0x24u, 0x01u, 0xE0u, 0x4Fu, 0xF4u, 0x90u, 0x74u,\r
+    0xA6u, 0x42u, 0x40u, 0xF0u, 0x97u, 0x80u, 0x9Du, 0xF8u,\r
+    0x2Eu, 0x11u, 0x9Du, 0xF8u, 0x2Du, 0x71u, 0xBBu, 0xF1u,\r
+    0x3Fu, 0x0Fu, 0x47u, 0xEAu, 0x01u, 0x25u, 0x11u, 0xD8u,\r
+    0xBAu, 0xF1u, 0x00u, 0x0Fu, 0x0Eu, 0xD1u, 0x51u, 0x46u,\r
+    0x4Fu, 0xF4u, 0x90u, 0x72u, 0x02u, 0xA8u, 0x01u, 0xF0u,\r
+    0x58u, 0xFCu, 0x01u, 0x20u, 0xFFu, 0x21u, 0x02u, 0xAAu,\r
+    0x4Fu, 0xF4u, 0x90u, 0x73u, 0x00u, 0xF0u, 0x64u, 0xF9u,\r
+    0x4Fu, 0xF0u, 0x01u, 0x0Au, 0x33u, 0x46u, 0x58u, 0x46u,\r
+    0x29u, 0x46u, 0x95u, 0xAAu, 0x00u, 0xF0u, 0x5Cu, 0xF9u,\r
+    0x01u, 0x26u, 0x00u, 0x28u, 0x75u, 0xD0u, 0x00u, 0x27u,\r
+    0x0Au, 0x25u, 0x75u, 0xE0u, 0x00u, 0x2Eu, 0x77u, 0xD0u,\r
+    0x7Au, 0xE0u, 0x00u, 0x2Eu, 0x74u, 0xD0u, 0x7Cu, 0x19u,\r
+    0xB4u, 0xF5u, 0x96u, 0x7Fu, 0x6Eu, 0xD8u, 0x95u, 0xA9u,\r
+    0xC8u, 0x19u, 0x2Au, 0x46u, 0x4Bu, 0xA9u, 0x01u, 0xF0u,\r
+    0x2Bu, 0xFCu, 0xA7u, 0xB2u, 0x00u, 0x25u, 0x63u, 0xE0u,\r
+    0x00u, 0x2Du, 0x65u, 0xD1u, 0x3Au, 0x48u, 0x02u, 0xAEu,\r
+    0x4Bu, 0xACu, 0x03u, 0xC8u, 0x86u, 0xE8u, 0x03u, 0x00u,\r
+    0x84u, 0xE8u, 0x03u, 0x00u, 0x01u, 0x26u, 0x08u, 0x24u,\r
+    0x21u, 0xE7u, 0x00u, 0x2Eu, 0x58u, 0xD0u, 0x03u, 0x2Du,\r
+    0x56u, 0xD1u, 0x9Du, 0xF8u, 0x2Eu, 0x01u, 0x9Du, 0xF8u,\r
+    0x2Du, 0x11u, 0xABu, 0xF1u, 0x40u, 0x02u, 0x3Fu, 0x2Au,\r
+    0x41u, 0xEAu, 0x00u, 0x25u, 0x0Au, 0xD8u, 0x2Du, 0x01u,\r
+    0x00u, 0x23u, 0x10u, 0x22u, 0x2Du, 0x48u, 0x11u, 0x18u,\r
+    0x4Cu, 0x5Du, 0x01u, 0x3Au, 0x23u, 0x44u, 0xDBu, 0xB2u,\r
+    0xF8u, 0xD1u, 0x26u, 0xE0u, 0x05u, 0xEBu, 0x0Bu, 0x23u,\r
+    0x1Cu, 0x02u, 0x4Fu, 0xF4u, 0x80u, 0x72u, 0x00u, 0x23u,\r
+    0x01u, 0x3Au, 0x10u, 0x5Du, 0x19u, 0x18u, 0xCBu, 0xB2u,\r
+    0x00u, 0x2Au, 0xF9u, 0xD1u, 0xBBu, 0xF1u, 0x3Fu, 0x0Fu,\r
+    0x17u, 0xD8u, 0x0Bu, 0xF5u, 0x10u, 0x34u, 0x05u, 0xEBu,\r
+    0x04u, 0x20u, 0x41u, 0x01u, 0x54u, 0x5Cu, 0x01u, 0x32u,\r
+    0x1Bu, 0x19u, 0x20u, 0x2Au, 0xDBu, 0xB2u, 0xF9u, 0xD1u,\r
+    0xBBu, 0xF1u, 0x01u, 0x0Fu, 0x09u, 0xD1u, 0xFFu, 0x2Du,\r
+    0x07u, 0xD1u, 0x1Bu, 0x4Du, 0x1Bu, 0x4Cu, 0x28u, 0x78u,\r
+    0x19u, 0x1Au, 0x23u, 0x78u, 0xCAu, 0x1Au, 0x02u, 0xF0u,\r
+    0xFFu, 0x03u, 0x5Du, 0x42u, 0x8Du, 0xF8u, 0x2Cu, 0x51u,\r
+    0x00u, 0x25u, 0x01u, 0x24u, 0xDBu, 0xE6u, 0xFFu, 0xF7u,\r
+    0x29u, 0xFEu, 0x10u, 0xB9u, 0x14u, 0x4Du, 0x80u, 0x24u,\r
+    0x2Cu, 0x70u, 0x00u, 0xF0u, 0x47u, 0xF9u, 0x0Bu, 0xE0u,\r
+    0x04u, 0x25u, 0xD0u, 0xE6u, 0x01u, 0x26u, 0x00u, 0x27u,\r
+    0x04u, 0xE0u, 0x07u, 0x46u, 0x9Au, 0xE7u, 0x05u, 0x25u,\r
+    0x00u, 0x24u, 0xC8u, 0xE6u, 0x03u, 0x25u, 0xFBu, 0xE7u,\r
+    0x04u, 0x25u, 0xF9u, 0xE7u, 0x08u, 0x25u, 0xF7u, 0xE7u,\r
+    0xB8u, 0xF1u, 0x00u, 0x0Fu, 0x01u, 0xD1u, 0x47u, 0x46u,\r
+    0x5Eu, 0xE6u, 0x00u, 0x27u, 0xEDu, 0xE6u, 0x0Du, 0xF5u,\r
+    0x61u, 0x7Du, 0xBDu, 0xE8u, 0xF0u, 0x8Fu, 0x00u, 0xBFu,\r
+    0xCCu, 0x20u, 0x00u, 0x00u, 0xFFu, 0x7Fu, 0x00u, 0x40u,\r
+    0xD0u, 0xFFu, 0x01u, 0x00u, 0xD1u, 0xFFu, 0x01u, 0x00u,\r
+    0xFAu, 0x46u, 0x00u, 0x40u, 0x10u, 0xB5u, 0xC8u, 0xB0u,\r
+    0x00u, 0xF0u, 0x94u, 0xF8u, 0x10u, 0xB1u, 0x00u, 0x20u,\r
+    0x00u, 0xF0u, 0x16u, 0xF9u, 0x68u, 0x46u, 0x00u, 0xF0u,\r
+    0xA1u, 0xF8u, 0x10u, 0xB1u, 0x00u, 0x20u, 0x00u, 0xF0u,\r
+    0x0Fu, 0xF9u, 0x16u, 0x48u, 0x03u, 0x68u, 0x19u, 0x68u,\r
+    0x00u, 0x23u, 0x0Au, 0x46u, 0x22u, 0xB1u, 0x12u, 0xF8u,\r
+    0x01u, 0x4Du, 0xE3u, 0x18u, 0xDBu, 0xB2u, 0xF9u, 0xE7u,\r
+    0x42u, 0x68u, 0x10u, 0x78u, 0xC4u, 0x1Au, 0x04u, 0xF0u,\r
+    0xFFu, 0x03u, 0x83u, 0x42u, 0x00u, 0xD1u, 0x11u, 0xB9u,\r
+    0x00u, 0x20u, 0x00u, 0xF0u, 0xF9u, 0xF8u, 0x0Cu, 0x4Cu,\r
+    0xFFu, 0xF7u, 0xD4u, 0xFDu, 0x21u, 0x78u, 0x01u, 0xF0u,\r
+    0xC0u, 0x02u, 0x40u, 0x2Au, 0x00u, 0xD0u, 0x18u, 0xB1u,\r
+    0x00u, 0x20u, 0x20u, 0x70u, 0xFFu, 0xF7u, 0x0Cu, 0xFEu,\r
+    0x14u, 0x20u, 0xFFu, 0xF7u, 0x09u, 0xFEu, 0x80u, 0x20u,\r
+    0x20u, 0x70u, 0x00u, 0xF0u, 0xE7u, 0xF8u, 0x48u, 0xB0u,\r
+    0x10u, 0xBDu, 0x00u, 0xBFu, 0x0Cu, 0xC1u, 0xFFu, 0x1Fu,\r
+    0xFAu, 0x46u, 0x00u, 0x40u, 0x08u, 0xB5u, 0x0Au, 0x4Bu,\r
+    0x1Au, 0x78u, 0x02u, 0xF0u, 0xC0u, 0x00u, 0x80u, 0x28u,\r
+    0x0Cu, 0xD1u, 0x00u, 0x21u, 0x19u, 0x70u, 0x01u, 0x20u,\r
+    0xFFu, 0xF7u, 0x6Au, 0xFDu, 0x30u, 0xB1u, 0x01u, 0x20u,\r
+    0xFFu, 0xF7u, 0x66u, 0xFDu, 0xBDu, 0xE8u, 0x08u, 0x40u,\r
+    0xFFu, 0xF7u, 0x60u, 0xBDu, 0x08u, 0xBDu, 0x00u, 0xBFu,\r
+    0xFAu, 0x46u, 0x00u, 0x40u, 0x00u, 0x00u, 0x00u, 0x00u,\r
     0x02u, 0x30u, 0x80u, 0x08u, 0x00u, 0xF0u, 0x05u, 0x80u,\r
     0x00u, 0xBFu, 0x01u, 0x38u, 0x00u, 0x46u, 0x7Fu, 0xF4u,\r
     0xFCu, 0xAFu, 0x70u, 0x47u, 0xEFu, 0xF3u, 0x10u, 0x80u,\r
@@ -506,9 +509,9 @@ const uint8 cy_bootloader[] = {
     0x23u, 0xBEu, 0x00u, 0xBFu, 0xA5u, 0x43u, 0x00u, 0x40u,\r
     0x9Du, 0x60u, 0x00u, 0x40u, 0x94u, 0x43u, 0x00u, 0x40u,\r
     0x12u, 0x60u, 0x00u, 0x40u, 0xF8u, 0x51u, 0x00u, 0x40u,\r
-    0x84u, 0x60u, 0x00u, 0x40u, 0xF3u, 0x15u, 0x00u, 0x00u,\r
-    0xF1u, 0x15u, 0x00u, 0x00u, 0x31u, 0x14u, 0x00u, 0x00u,\r
-    0x89u, 0x15u, 0x00u, 0x00u, 0xBDu, 0x15u, 0x00u, 0x00u,\r
+    0x84u, 0x60u, 0x00u, 0x40u, 0x0Bu, 0x16u, 0x00u, 0x00u,\r
+    0x09u, 0x16u, 0x00u, 0x00u, 0x49u, 0x14u, 0x00u, 0x00u,\r
+    0xA1u, 0x15u, 0x00u, 0x00u, 0xD5u, 0x15u, 0x00u, 0x00u,\r
     0x18u, 0x4Bu, 0x01u, 0x22u, 0x10u, 0xB5u, 0x1Au, 0x70u,\r
     0x17u, 0x4Bu, 0x4Fu, 0xF4u, 0x00u, 0x04u, 0x1Cu, 0x60u,\r
     0x4Fu, 0xF0u, 0x80u, 0x74u, 0x1Cu, 0x60u, 0x1Au, 0x60u,\r
@@ -822,7 +825,7 @@ const uint8 cy_bootloader[] = {
     0x04u, 0x4Bu, 0x05u, 0x49u, 0x1Au, 0x78u, 0x01u, 0xEBu,\r
     0xC2u, 0x03u, 0x5Au, 0x68u, 0x02u, 0xEBu, 0xC0u, 0x00u,\r
     0xC0u, 0x68u, 0x70u, 0x47u, 0x6Cu, 0xC1u, 0xFFu, 0x1Fu,\r
-    0xB0u, 0x20u, 0x00u, 0x00u, 0xF8u, 0xB5u, 0x3Du, 0x4Bu,\r
+    0xD4u, 0x20u, 0x00u, 0x00u, 0xF8u, 0xB5u, 0x3Du, 0x4Bu,\r
     0x1Au, 0x78u, 0x00u, 0x2Au, 0x74u, 0xD0u, 0x18u, 0x78u,\r
     0x41u, 0x1Eu, 0xC8u, 0xB2u, 0xFFu, 0xF7u, 0xE8u, 0xFFu,\r
     0xC3u, 0x68u, 0x05u, 0x7Au, 0x08u, 0x33u, 0x00u, 0x20u,\r
@@ -1009,9 +1012,9 @@ const uint8 cy_bootloader[] = {
     0x08u, 0x70u, 0x32u, 0xE0u, 0x60u, 0xC1u, 0xFFu, 0x1Fu,\r
     0x00u, 0x60u, 0x00u, 0x40u, 0x01u, 0x60u, 0x00u, 0x40u,\r
     0x03u, 0x60u, 0x00u, 0x40u, 0x6Cu, 0xC1u, 0xFFu, 0x1Fu,\r
-    0xB0u, 0x20u, 0x00u, 0x00u, 0x02u, 0x60u, 0x00u, 0x40u,\r
-    0x76u, 0x21u, 0x00u, 0x00u, 0xF2u, 0x21u, 0x00u, 0x00u,\r
-    0x6Cu, 0x21u, 0x00u, 0x00u, 0x04u, 0x60u, 0x00u, 0x40u,\r
+    0xD4u, 0x20u, 0x00u, 0x00u, 0x02u, 0x60u, 0x00u, 0x40u,\r
+    0x9Au, 0x21u, 0x00u, 0x00u, 0x16u, 0x22u, 0x00u, 0x00u,\r
+    0x90u, 0x21u, 0x00u, 0x00u, 0x04u, 0x60u, 0x00u, 0x40u,\r
     0x78u, 0xC1u, 0xFFu, 0x1Fu, 0x55u, 0xC1u, 0xFFu, 0x1Fu,\r
     0x6Fu, 0xC1u, 0xFFu, 0x1Fu, 0x71u, 0xC1u, 0xFFu, 0x1Fu,\r
     0x5Eu, 0xC1u, 0xFFu, 0x1Fu, 0x5Cu, 0xC1u, 0xFFu, 0x1Fu,\r
@@ -1039,92 +1042,94 @@ const uint8 cy_bootloader[] = {
     0x0Eu, 0x4Bu, 0x00u, 0x24u, 0xE8u, 0x1Au, 0x85u, 0x10u,\r
     0xACu, 0x42u, 0x05u, 0xD0u, 0x0Bu, 0x49u, 0x51u, 0xF8u,\r
     0x24u, 0x20u, 0x90u, 0x47u, 0x01u, 0x34u, 0xF7u, 0xE7u,\r
-    0x00u, 0xF0u, 0x34u, 0xF9u, 0x08u, 0x49u, 0x09u, 0x4Au,\r
+    0x00u, 0xF0u, 0x3Au, 0xF9u, 0x08u, 0x49u, 0x09u, 0x4Au,\r
     0x54u, 0x1Au, 0xA5u, 0x10u, 0x00u, 0x24u, 0xACu, 0x42u,\r
     0x05u, 0xD0u, 0x05u, 0x4Bu, 0x53u, 0xF8u, 0x24u, 0x00u,\r
     0x80u, 0x47u, 0x01u, 0x34u, 0xF7u, 0xE7u, 0x38u, 0xBDu,\r
-    0x10u, 0x22u, 0x00u, 0x00u, 0x10u, 0x22u, 0x00u, 0x00u,\r
-    0x10u, 0x22u, 0x00u, 0x00u, 0x18u, 0x22u, 0x00u, 0x00u,\r
+    0x34u, 0x22u, 0x00u, 0x00u, 0x34u, 0x22u, 0x00u, 0x00u,\r
+    0x34u, 0x22u, 0x00u, 0x00u, 0x3Cu, 0x22u, 0x00u, 0x00u,\r
     0x10u, 0xB5u, 0x00u, 0x23u, 0x93u, 0x42u, 0x03u, 0xD0u,\r
     0xCCu, 0x5Cu, 0xC4u, 0x54u, 0x01u, 0x33u, 0xF9u, 0xE7u,\r
     0x10u, 0xBDu, 0x82u, 0x18u, 0x03u, 0x46u, 0x93u, 0x42u,\r
     0x02u, 0xD0u, 0x03u, 0xF8u, 0x01u, 0x1Bu, 0xFAu, 0xE7u,\r
-    0x70u, 0x47u, 0x00u, 0x00u, 0x58u, 0x22u, 0x00u, 0x00u,\r
-    0x81u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u,\r
-    0x10u, 0x51u, 0x00u, 0x40u, 0x30u, 0x00u, 0x50u, 0x51u,\r
+    0x70u, 0x47u, 0x00u, 0x00u, 0x80u, 0x22u, 0x00u, 0x00u,\r
+    0x40u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u,\r
+    0x10u, 0x51u, 0x00u, 0x40u, 0x20u, 0x00u, 0x50u, 0x51u,\r
     0x00u, 0x40u, 0x10u, 0x00u, 0xC0u, 0x51u, 0x00u, 0x40u,\r
     0x10u, 0x00u, 0x00u, 0x00u, 0x01u, 0x40u, 0x00u, 0x10u,\r
     0x00u, 0x14u, 0x01u, 0x40u, 0x00u, 0x08u, 0x00u, 0x40u,\r
     0x01u, 0x40u, 0x00u, 0x0Au, 0x00u, 0x4Cu, 0x01u, 0x40u,\r
     0x00u, 0x02u, 0x00u, 0x50u, 0x01u, 0x40u, 0x20u, 0x00u,\r
-    0x01u, 0x45u, 0x00u, 0x40u, 0x01u, 0x52u, 0x00u, 0x40u,\r
+    0x01u, 0x45u, 0x00u, 0x40u, 0x02u, 0x52u, 0x00u, 0x40u,\r
     0x01u, 0x17u, 0x01u, 0x40u, 0x01u, 0x19u, 0x01u, 0x40u,\r
     0x03u, 0x40u, 0x01u, 0x40u, 0x02u, 0x41u, 0x01u, 0x40u,\r
     0x02u, 0x42u, 0x01u, 0x40u, 0x02u, 0x43u, 0x01u, 0x40u,\r
     0x03u, 0x47u, 0x01u, 0x40u, 0x03u, 0x48u, 0x01u, 0x40u,\r
     0x02u, 0x4Cu, 0x01u, 0x40u, 0x01u, 0x51u, 0x01u, 0x40u,\r
-    0x7Eu, 0x02u, 0x7Cu, 0x40u, 0xEEu, 0x0Au, 0xEEu, 0x0Au,\r
-    0x33u, 0x80u, 0x36u, 0x40u, 0xCCu, 0x30u, 0xA6u, 0x40u,\r
-    0xA7u, 0x80u, 0xA6u, 0x40u, 0xA7u, 0x80u, 0xA6u, 0x40u,\r
-    0xA7u, 0x80u, 0x08u, 0x08u, 0x0Fu, 0x40u, 0xC2u, 0x0Cu,\r
-    0xAEu, 0x40u, 0xAFu, 0x80u, 0xEEu, 0x50u, 0xACu, 0x08u,\r
-    0xAFu, 0x40u, 0x00u, 0x0Au, 0x00u, 0xFFu, 0xFFu, 0x00u,\r
+    0x7Eu, 0x02u, 0x1Cu, 0x3Eu, 0x7Cu, 0x40u, 0xEEu, 0x0Au,\r
+    0xEEu, 0x0Au, 0x33u, 0x80u, 0x36u, 0x40u, 0xCCu, 0x30u,\r
+    0xA6u, 0x40u, 0xA7u, 0x80u, 0xA6u, 0x40u, 0xA7u, 0x80u,\r
+    0xA6u, 0x40u, 0xA7u, 0x80u, 0x08u, 0x08u, 0x0Fu, 0x40u,\r
+    0xC2u, 0x0Cu, 0xAEu, 0x40u, 0xAFu, 0x80u, 0xEEu, 0x50u,\r
+    0xACu, 0x08u, 0xAFu, 0x40u, 0x00u, 0x0Au, 0x00u, 0xFFu,\r
+    0xFFu, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u,\r
+    0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0xC0u, 0x00u,\r
+    0x3Eu, 0x00u, 0x00u, 0x3Eu, 0x00u, 0x00u, 0x00u, 0x00u,\r
+    0x00u, 0x00u, 0x00u, 0xFCu, 0xFCu, 0x00u, 0x00u, 0x00u,\r
+    0x00u, 0x00u, 0x00u, 0x0Fu, 0x0Fu, 0x00u, 0x00u, 0x00u,\r
+    0x00u, 0x00u, 0x00u, 0x00u, 0x69u, 0x30u, 0x13u, 0x2Eu,\r
+    0x00u, 0x14u, 0x01u, 0x01u, 0x01u, 0x00u, 0x00u, 0x00u,\r
+    0xDCu, 0x20u, 0x00u, 0x00u, 0x01u, 0x00u, 0x00u, 0x00u,\r
+    0x16u, 0x22u, 0x00u, 0x00u, 0x01u, 0x00u, 0x00u, 0x00u,\r
+    0xECu, 0x20u, 0x00u, 0x00u, 0x01u, 0x00u, 0x00u, 0x00u,\r
+    0xEDu, 0x21u, 0x00u, 0x00u, 0x02u, 0x00u, 0x00u, 0x00u,\r
+    0x0Eu, 0x21u, 0x00u, 0x00u, 0x01u, 0x00u, 0x00u, 0x00u,\r
+    0x20u, 0x21u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u,\r
+    0x0Cu, 0x21u, 0x00u, 0x00u, 0x03u, 0x00u, 0x00u, 0x00u,\r
+    0x01u, 0x03u, 0x40u, 0x00u, 0x03u, 0x00u, 0x00u, 0x00u,\r
+    0x82u, 0x03u, 0x40u, 0x00u, 0x03u, 0x00u, 0x00u, 0x00u,\r
+    0x01u, 0x00u, 0x00u, 0x00u, 0x28u, 0x21u, 0x00u, 0x00u,\r
+    0x00u, 0x00u, 0x00u, 0x00u, 0x5Cu, 0x21u, 0x00u, 0x00u,\r
+    0x00u, 0x00u, 0x00u, 0x00u, 0x50u, 0x21u, 0x00u, 0x00u,\r
     0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u,\r
-    0x00u, 0x00u, 0x00u, 0x00u, 0xC0u, 0x00u, 0x00u, 0xFCu,\r
-    0xFCu, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x0Fu,\r
-    0x0Fu, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u,\r
-    0x69u, 0x30u, 0x13u, 0x2Eu, 0x00u, 0x14u, 0x01u, 0x01u,\r
-    0x01u, 0x00u, 0x00u, 0x00u, 0xB8u, 0x20u, 0x00u, 0x00u,\r
-    0x01u, 0x00u, 0x00u, 0x00u, 0xF2u, 0x21u, 0x00u, 0x00u,\r
-    0x01u, 0x00u, 0x00u, 0x00u, 0xC8u, 0x20u, 0x00u, 0x00u,\r
-    0x01u, 0x00u, 0x00u, 0x00u, 0xC9u, 0x21u, 0x00u, 0x00u,\r
-    0x02u, 0x00u, 0x00u, 0x00u, 0xEAu, 0x20u, 0x00u, 0x00u,\r
-    0x01u, 0x00u, 0x00u, 0x00u, 0xFCu, 0x20u, 0x00u, 0x00u,\r
-    0x00u, 0x00u, 0x00u, 0x00u, 0xE8u, 0x20u, 0x00u, 0x00u,\r
-    0x03u, 0x00u, 0x00u, 0x00u, 0x01u, 0x03u, 0x40u, 0x00u,\r
-    0x03u, 0x00u, 0x00u, 0x00u, 0x82u, 0x03u, 0x40u, 0x00u,\r
-    0x03u, 0x00u, 0x00u, 0x00u, 0x01u, 0x00u, 0x00u, 0x00u,\r
-    0x04u, 0x21u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u,\r
-    0x38u, 0x21u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u,\r
-    0x2Cu, 0x21u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u,\r
-    0x00u, 0x00u, 0x00u, 0x00u, 0x01u, 0x00u, 0x00u, 0x00u,\r
-    0x44u, 0x21u, 0x00u, 0x00u, 0x01u, 0x00u, 0x00u, 0x00u,\r
-    0xDBu, 0x21u, 0x00u, 0x00u, 0x41u, 0x00u, 0x00u, 0x00u,\r
-    0x33u, 0xC2u, 0xFFu, 0x1Fu, 0x74u, 0xC2u, 0xFFu, 0x1Fu,\r
-    0x41u, 0x00u, 0x00u, 0x00u, 0xF2u, 0xC1u, 0xFFu, 0x1Fu,\r
-    0xEEu, 0xC1u, 0xFFu, 0x1Fu, 0x24u, 0x00u, 0x05u, 0x01u,\r
-    0x09u, 0x00u, 0xA1u, 0x00u, 0x09u, 0x00u, 0xA1u, 0x00u,\r
+    0x01u, 0x00u, 0x00u, 0x00u, 0x68u, 0x21u, 0x00u, 0x00u,\r
+    0x01u, 0x00u, 0x00u, 0x00u, 0xFFu, 0x21u, 0x00u, 0x00u,\r
+    0x41u, 0x00u, 0x00u, 0x00u, 0x33u, 0xC2u, 0xFFu, 0x1Fu,\r
+    0x74u, 0xC2u, 0xFFu, 0x1Fu, 0x41u, 0x00u, 0x00u, 0x00u,\r
+    0xF2u, 0xC1u, 0xFFu, 0x1Fu, 0xEEu, 0xC1u, 0xFFu, 0x1Fu,\r
+    0x24u, 0x00u, 0x05u, 0x01u, 0x09u, 0x00u, 0xA1u, 0x00u,\r
+    0x09u, 0x00u, 0xA1u, 0x00u, 0x09u, 0x00u, 0x15u, 0x00u,\r
+    0x25u, 0xFFu, 0x75u, 0x08u, 0x95u, 0x40u, 0x91u, 0x02u,\r
     0x09u, 0x00u, 0x15u, 0x00u, 0x25u, 0xFFu, 0x75u, 0x08u,\r
-    0x95u, 0x40u, 0x91u, 0x02u, 0x09u, 0x00u, 0x15u, 0x00u,\r
-    0x25u, 0xFFu, 0x75u, 0x08u, 0x95u, 0x40u, 0x81u, 0x02u,\r
-    0xC0u, 0xC0u, 0x00u, 0x00u, 0x0Au, 0x03u, 0x30u, 0x00u,\r
-    0x30u, 0x00u, 0x30u, 0x00u, 0x31u, 0x00u, 0x04u, 0x03u,\r
-    0x09u, 0x04u, 0x2Cu, 0x03u, 0x43u, 0x00u, 0x79u, 0x00u,\r
-    0x70u, 0x00u, 0x72u, 0x00u, 0x65u, 0x00u, 0x73u, 0x00u,\r
-    0x73u, 0x00u, 0x20u, 0x00u, 0x53u, 0x00u, 0x65u, 0x00u,\r
-    0x6Du, 0x00u, 0x69u, 0x00u, 0x63u, 0x00u, 0x6Fu, 0x00u,\r
-    0x6Eu, 0x00u, 0x64u, 0x00u, 0x75u, 0x00u, 0x63u, 0x00u,\r
-    0x74u, 0x00u, 0x6Fu, 0x00u, 0x72u, 0x00u, 0x22u, 0x03u,\r
-    0x50u, 0x00u, 0x53u, 0x00u, 0x6Fu, 0x00u, 0x43u, 0x00u,\r
-    0x33u, 0x00u, 0x20u, 0x00u, 0x42u, 0x00u, 0x6Fu, 0x00u,\r
-    0x6Fu, 0x00u, 0x74u, 0x00u, 0x6Cu, 0x00u, 0x6Fu, 0x00u,\r
-    0x61u, 0x00u, 0x64u, 0x00u, 0x65u, 0x00u, 0x72u, 0x00u,\r
-    0x00u, 0x09u, 0x02u, 0x29u, 0x00u, 0x01u, 0x01u, 0x00u,\r
-    0x80u, 0x00u, 0x09u, 0x04u, 0x00u, 0x00u, 0x02u, 0x03u,\r
-    0x00u, 0x00u, 0x02u, 0x09u, 0x21u, 0x11u, 0x01u, 0x00u,\r
-    0x01u, 0x22u, 0x24u, 0x00u, 0x07u, 0x05u, 0x01u, 0x03u,\r
-    0x40u, 0x00u, 0x01u, 0x07u, 0x05u, 0x82u, 0x03u, 0x40u,\r
-    0x00u, 0x01u, 0x12u, 0x01u, 0x00u, 0x02u, 0x00u, 0x00u,\r
-    0x00u, 0x08u, 0xB4u, 0x04u, 0x1Du, 0xB7u, 0x01u, 0x30u,\r
-    0x01u, 0x02u, 0x80u, 0x01u, 0xF8u, 0xB5u, 0x00u, 0xBFu,\r
-    0xF8u, 0xBCu, 0x08u, 0xBCu, 0x9Eu, 0x46u, 0x70u, 0x47u,\r
-    0x51u, 0x00u, 0x00u, 0x00u, 0xB9u, 0x01u, 0x00u, 0x00u,\r
+    0x95u, 0x40u, 0x81u, 0x02u, 0xC0u, 0xC0u, 0x00u, 0x00u,\r
+    0x0Au, 0x03u, 0x30u, 0x00u, 0x30u, 0x00u, 0x30u, 0x00u,\r
+    0x31u, 0x00u, 0x04u, 0x03u, 0x09u, 0x04u, 0x2Cu, 0x03u,\r
+    0x43u, 0x00u, 0x79u, 0x00u, 0x70u, 0x00u, 0x72u, 0x00u,\r
+    0x65u, 0x00u, 0x73u, 0x00u, 0x73u, 0x00u, 0x20u, 0x00u,\r
+    0x53u, 0x00u, 0x65u, 0x00u, 0x6Du, 0x00u, 0x69u, 0x00u,\r
+    0x63u, 0x00u, 0x6Fu, 0x00u, 0x6Eu, 0x00u, 0x64u, 0x00u,\r
+    0x75u, 0x00u, 0x63u, 0x00u, 0x74u, 0x00u, 0x6Fu, 0x00u,\r
+    0x72u, 0x00u, 0x22u, 0x03u, 0x50u, 0x00u, 0x53u, 0x00u,\r
+    0x6Fu, 0x00u, 0x43u, 0x00u, 0x33u, 0x00u, 0x20u, 0x00u,\r
+    0x42u, 0x00u, 0x6Fu, 0x00u, 0x6Fu, 0x00u, 0x74u, 0x00u,\r
+    0x6Cu, 0x00u, 0x6Fu, 0x00u, 0x61u, 0x00u, 0x64u, 0x00u,\r
+    0x65u, 0x00u, 0x72u, 0x00u, 0x00u, 0x09u, 0x02u, 0x29u,\r
+    0x00u, 0x01u, 0x01u, 0x00u, 0x80u, 0x00u, 0x09u, 0x04u,\r
+    0x00u, 0x00u, 0x02u, 0x03u, 0x00u, 0x00u, 0x02u, 0x09u,\r
+    0x21u, 0x11u, 0x01u, 0x00u, 0x01u, 0x22u, 0x24u, 0x00u,\r
+    0x07u, 0x05u, 0x01u, 0x03u, 0x40u, 0x00u, 0x01u, 0x07u,\r
+    0x05u, 0x82u, 0x03u, 0x40u, 0x00u, 0x01u, 0x12u, 0x01u,\r
+    0x00u, 0x02u, 0x00u, 0x00u, 0x00u, 0x08u, 0xB4u, 0x04u,\r
+    0x1Du, 0xB7u, 0x01u, 0x30u, 0x01u, 0x02u, 0x80u, 0x01u,\r
     0xF8u, 0xB5u, 0x00u, 0xBFu, 0xF8u, 0xBCu, 0x08u, 0xBCu,\r
-    0x9Eu, 0x46u, 0x70u, 0x47u, 0x2Du, 0x00u, 0x00u, 0x00u,\r
-    0x38u, 0x22u, 0x00u, 0x00u, 0x08u, 0xC1u, 0xFFu, 0x1Fu,\r
-    0x20u, 0x00u, 0x00u, 0x00u, 0x50u, 0x01u, 0x00u, 0x00u,\r
-    0x00u, 0x00u, 0x00u, 0x00u, 0xECu, 0x1Fu, 0x00u, 0x00u,\r
-    0xF0u, 0x1Fu, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x7Du,\r
+    0x9Eu, 0x46u, 0x70u, 0x47u, 0x51u, 0x00u, 0x00u, 0x00u,\r
+    0xB9u, 0x01u, 0x00u, 0x00u, 0xF8u, 0xB5u, 0x00u, 0xBFu,\r
+    0xF8u, 0xBCu, 0x08u, 0xBCu, 0x9Eu, 0x46u, 0x70u, 0x47u,\r
+    0x2Du, 0x00u, 0x00u, 0x00u, 0x60u, 0x22u, 0x00u, 0x00u,\r
+    0x08u, 0xC1u, 0xFFu, 0x1Fu, 0x20u, 0x00u, 0x00u, 0x00u,\r
+    0x50u, 0x01u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u,\r
+    0x00u, 0x00u, 0x00u, 0x00u, 0x04u, 0x20u, 0x00u, 0x00u,\r
+    0x08u, 0x20u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x7Du,\r
     0x00u, 0xFAu, 0x00u, 0x00u, 0x40u, 0x00u, 0x00u, 0x00u,\r
     0x00u, 0x90u, 0xD0u, 0x03u, 0x00u, 0x00u, 0x00u, 0x00u,\r
     0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u,\r
@@ -1142,11 +1147,6 @@ const uint8 cy_bootloader[] = {
     0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u,\r
     0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u,\r
     0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u,\r
-    0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u,\r
-    0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u,\r
-    0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u,\r
-    0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u,\r
-    0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u,\r
     0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u, 0x00u};\r
 \r
 #if defined(__GNUC__) || defined(__ARMCC_VERSION)\r
@@ -1158,7 +1158,7 @@ __attribute__ ((__section__(".cymeta"), used))
 #endif\r
 const uint8 cy_metadata[] = {\r
     0x00u, 0x01u, 0x2Eu, 0x13u, 0x30u, 0x69u, 0x00u, 0x01u,\r
-    0x2Eu, 0x1Fu, 0x88u, 0x6Bu};\r
+    0x2Eu, 0x1Fu, 0x8Cu, 0x6Bu};\r
 \r
 #if defined(__GNUC__) || defined(__ARMCC_VERSION)\r
 __attribute__ ((__section__(".cycustnvl"), used))\r
index e8e530b..d6ca504 100755 (executable)
Binary files a/software/SCSI2SD/SCSI2SD.cydsn/SCSI2SD.cyfit and b/software/SCSI2SD/SCSI2SD.cydsn/SCSI2SD.cyfit differ
diff --git a/software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/.deps/ARM_C_FILE.P b/software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/.deps/ARM_C_FILE.P
deleted file mode 100755 (executable)
index 9a9241a..0000000
+++ /dev/null
@@ -1,170 +0,0 @@
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/BL.o : W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/BL.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/BL_PVT.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyDmac.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyFlash.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyLib.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CySpc.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/SCSI_Out_DBx_aliases.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/SCSI_Out_aliases.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/SD_PULLUP.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/SD_PULLUP_aliases.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_Dm.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_Dm_aliases.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_Dp.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_Dp_aliases.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_audio.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_cdc.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_hid.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_midi.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_pvt.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/core_cm3.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/core_cm3_psoc5.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/core_cmFunc.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/core_cmInstr.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyPm.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevice.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevice_trm.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydisabledsheets.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyfitter.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyfitter_cfg.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cypins.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cytypes.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/project.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/BL.c \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/BL.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/BL_PVT.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyDmac.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyFlash.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyLib.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CySpc.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/SCSI_Out_DBx_aliases.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/SCSI_Out_aliases.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/SD_PULLUP.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/SD_PULLUP_aliases.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_Dm.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_Dm_aliases.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_Dp.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_Dp_aliases.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_audio.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_cdc.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_hid.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_midi.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_pvt.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/core_cm3.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/core_cm3_psoc5.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/core_cmFunc.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/core_cmInstr.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyPm.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevice.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevice_trm.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydisabledsheets.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyfitter.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyfitter_cfg.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cypins.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cytypes.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/project.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/BL.c : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/Cm3Start.o : W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyDmac.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyFlash.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyLib.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CySpc.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyPm.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevice.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevice_trm.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyfitter.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyfitter_cfg.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cytypes.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/Cm3Start.c \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/Cm3Start.c : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/CyDmac.o : W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyDmac.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyFlash.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyLib.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CySpc.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyPm.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevice.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevice_trm.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyfitter.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cytypes.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyDmac.c \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyDmac.c : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/CyFlash.o : W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyFlash.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyLib.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CySpc.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyPm.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevice.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevice_trm.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyfitter.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cytypes.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyFlash.c \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyFlash.c : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/CyLib.o : W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyFlash.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyLib.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CySpc.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyPm.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevice.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevice_trm.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyfitter.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cytypes.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyLib.c \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyLib.c : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/CySpc.o : W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyFlash.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyLib.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CySpc.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyPm.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevice.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevice_trm.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyfitter.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cytypes.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CySpc.c \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CySpc.c : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/SD_PULLUP.o : W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/SD_PULLUP.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/SD_PULLUP_aliases.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevice.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevice_trm.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyfitter.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cypins.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cytypes.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/SD_PULLUP.c \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/SD_PULLUP.c : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/USBFS.o : W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyDmac.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyFlash.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyLib.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CySpc.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_hid.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_pvt.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyPm.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevice.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevice_trm.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyfitter.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cytypes.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS.c \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS.c : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/USBFS_Dm.o : W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_Dm.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_Dm_aliases.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevice.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevice_trm.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyfitter.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cypins.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cytypes.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_Dm.c \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_Dm.c : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/USBFS_Dp.o : W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_Dp.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_Dp_aliases.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevice.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevice_trm.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyfitter.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cypins.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cytypes.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_Dp.c \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_Dp.c : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/USBFS_audio.o : W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyDmac.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyFlash.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyLib.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CySpc.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_audio.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_midi.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_pvt.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyPm.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevice.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevice_trm.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyfitter.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cytypes.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_audio.c \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_audio.c : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/USBFS_boot.o : W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyFlash.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyLib.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CySpc.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyPm.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevice.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevice_trm.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyfitter.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cytypes.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_boot.c \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_boot.c : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/USBFS_cdc.o : W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyFlash.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyLib.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CySpc.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_cdc.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_pvt.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyPm.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevice.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevice_trm.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyfitter.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cytypes.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_cdc.c \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_cdc.c : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/USBFS_cls.o : W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyFlash.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyLib.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CySpc.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_pvt.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyPm.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevice.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevice_trm.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyfitter.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cytypes.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_cls.c \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_cls.c : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/USBFS_descr.o : W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyFlash.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyLib.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CySpc.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_pvt.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyPm.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevice.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevice_trm.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyfitter.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cytypes.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_descr.c \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_descr.c : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/USBFS_drv.o : W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyFlash.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyLib.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CySpc.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_pvt.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyPm.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevice.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevice_trm.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyfitter.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cytypes.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_drv.c \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_drv.c : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/USBFS_episr.o : W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyDmac.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyFlash.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyLib.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CySpc.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_midi.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_pvt.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyPm.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevice.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevice_trm.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyfitter.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cytypes.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_episr.c \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_episr.c : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/USBFS_hid.o : W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyFlash.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyLib.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CySpc.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_hid.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_pvt.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyPm.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevice.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevice_trm.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyfitter.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cytypes.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_hid.c \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_hid.c : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/USBFS_midi.o : W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyDmac.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyFlash.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyLib.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CySpc.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_midi.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_pvt.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyPm.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevice.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevice_trm.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyfitter.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cytypes.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_midi.c \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_midi.c : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/USBFS_pm.o : W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/BL.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/BL_PVT.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyDmac.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyFlash.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyLib.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CySpc.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/SCSI_Out_DBx_aliases.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/SCSI_Out_aliases.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/SD_PULLUP.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/SD_PULLUP_aliases.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_Dm.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_Dm_aliases.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_Dp.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_Dp_aliases.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_audio.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_cdc.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_hid.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_midi.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_pvt.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/core_cm3.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/core_cm3_psoc5.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/core_cmFunc.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/core_cmInstr.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyPm.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevice.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevice_trm.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydisabledsheets.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyfitter.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyfitter_cfg.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cypins.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cytypes.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/project.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_pm.c \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_pm.c : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/USBFS_std.o : W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyDmac.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyFlash.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyLib.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CySpc.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_cdc.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_midi.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_pvt.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyPm.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevice.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevice_trm.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyfitter.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cytypes.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_std.c \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_std.c : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/USBFS_vnd.o : W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyFlash.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyLib.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CySpc.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_pvt.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyPm.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevice.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevice_trm.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyfitter.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cytypes.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_vnd.c \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_vnd.c : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/cyPm.o : W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyFlash.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyLib.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CySpc.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyPm.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevice.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevice_trm.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyfitter.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cytypes.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyPm.c \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyPm.c : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/cyfitter_cfg.o : W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyFlash.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyLib.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CySpc.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyPm.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevice.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevice_trm.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyfitter.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyfitter_cfg.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cytypes.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyfitter_cfg.c \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyfitter_cfg.c : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/cymetadata.o : W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevice.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevice_trm.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyfitter.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cytypes.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cymetadata.c \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cymetadata.c : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/cyutils.o : W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevice.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevice_trm.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyfitter.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cytypes.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyutils.c \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyutils.c : \r
-\r
diff --git a/software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/.deps/C_FILE.P b/software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/.deps/C_FILE.P
deleted file mode 100755 (executable)
index aa6db68..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/main.o : W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/BL.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/BL_PVT.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyDmac.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyFlash.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyLib.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CySpc.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/SCSI_Out_DBx_aliases.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/SCSI_Out_aliases.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/SD_PULLUP.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/SD_PULLUP_aliases.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_Dm.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_Dm_aliases.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_Dp.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_Dp_aliases.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_audio.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_cdc.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_hid.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_midi.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_pvt.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/core_cm3.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/core_cm3_psoc5.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/core_cmFunc.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/core_cmInstr.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyPm.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevice.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevice_trm.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydisabledsheets.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyfitter.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyfitter_cfg.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cypins.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cytypes.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/project.h W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/main.c \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/BL.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/BL_PVT.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyDmac.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyFlash.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyLib.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CySpc.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/SCSI_Out_DBx_aliases.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/SCSI_Out_aliases.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/SD_PULLUP.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/SD_PULLUP_aliases.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_Dm.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_Dm_aliases.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_Dp.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_Dp_aliases.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_audio.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_cdc.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_hid.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_midi.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/USBFS_pvt.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/core_cm3.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/core_cm3_psoc5.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/core_cmFunc.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/core_cmInstr.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyPm.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevice.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevice_trm.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydisabledsheets.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyfitter.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyfitter_cfg.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cypins.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cytypes.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/project.h : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/main.c : \r
-\r
diff --git a/software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/.deps/GNU_ARM_ASM_FILE.P b/software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/.deps/GNU_ARM_ASM_FILE.P
deleted file mode 100755 (executable)
index 7595633..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/CyBootAsmGnu.o : W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevicegnu.inc W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevicegnu_trm.inc W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyfittergnu.inc W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyBootAsmGnu.s \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevicegnu.inc : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cydevicegnu_trm.inc : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/cyfittergnu.inc : \r
-\r
-W:/SCSI2SD/software/SCSI2SD/USB_Bootloader.cydsn/Generated_Source/PSoC5/CyBootAsmGnu.s : \r
-\r
diff --git a/software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/BL.lst b/software/SCSI2SD/USB_Bootloader.cydsn/CortexM3/ARM_GCC_473/Release/BL.lst
deleted file mode 100755 (executable)
index 5fc2a5b..0000000
+++ /dev/null
@@ -1,8147 +0,0 @@
-ARM GAS  C:\Users\MICHA_~1\AppData\Local\Temp\ccjItj5m.s                       page 1\r
-\r
-\r
-   1                           .syntax unified\r
-   2                           .cpu cortex-m3\r
-   3                           .fpu softvfp\r
-   4                           .eabi_attribute 20, 1\r
-   5                           .eabi_attribute 21, 1\r
-   6                           .eabi_attribute 23, 3\r
-   7                           .eabi_attribute 24, 1\r
-   8                           .eabi_attribute 25, 1\r
-   9                           .eabi_attribute 26, 1\r
-  10                           .eabi_attribute 30, 4\r
-  11                           .eabi_attribute 34, 1\r
-  12                           .eabi_attribute 18, 4\r
-  13                           .thumb\r
-  14                           .file   "BL.c"\r
-  15                           .text\r
-  16                   .Ltext0:\r
-  17                           .cfi_sections   .debug_frame\r
-  18                           .section        .text.BL_LaunchBootloadable,"ax",%progbits\r
-  19                           .align  1\r
-  20                           .thumb\r
-  21                           .thumb_func\r
-  22                           .type   BL_LaunchBootloadable, %function\r
-  23                   BL_LaunchBootloadable:\r
-  24                   .LFB62:\r
-  25                           .file 1 ".\\Generated_Source\\PSoC5\\BL.c"\r
-   1:.\Generated_Source\PSoC5/BL.c **** /*******************************************************************************\r
-   2:.\Generated_Source\PSoC5/BL.c **** * File Name: BL.c\r
-   3:.\Generated_Source\PSoC5/BL.c **** * Version 1.20\r
-   4:.\Generated_Source\PSoC5/BL.c **** *\r
-   5:.\Generated_Source\PSoC5/BL.c **** *  Description:\r
-   6:.\Generated_Source\PSoC5/BL.c **** *   Provides an API for the Bootloader component. The API includes functions\r
-   7:.\Generated_Source\PSoC5/BL.c **** *   for starting boot loading operations, validating the application and\r
-   8:.\Generated_Source\PSoC5/BL.c **** *   jumping to the application.\r
-   9:.\Generated_Source\PSoC5/BL.c **** *\r
-  10:.\Generated_Source\PSoC5/BL.c **** ********************************************************************************\r
-  11:.\Generated_Source\PSoC5/BL.c **** * Copyright 2008-2013, Cypress Semiconductor Corporation.  All rights reserved.\r
-  12:.\Generated_Source\PSoC5/BL.c **** * You may use this file only in accordance with the license, terms, conditions,\r
-  13:.\Generated_Source\PSoC5/BL.c **** * disclaimers, and limitations in the end user license agreement accompanying\r
-  14:.\Generated_Source\PSoC5/BL.c **** * the software package with which this file was provided.\r
-  15:.\Generated_Source\PSoC5/BL.c **** *******************************************************************************/\r
-  16:.\Generated_Source\PSoC5/BL.c **** \r
-  17:.\Generated_Source\PSoC5/BL.c **** #include "BL_PVT.h"\r
-  18:.\Generated_Source\PSoC5/BL.c **** \r
-  19:.\Generated_Source\PSoC5/BL.c **** #include "project.h"\r
-  20:.\Generated_Source\PSoC5/BL.c **** #include <string.h>\r
-  21:.\Generated_Source\PSoC5/BL.c **** \r
-  22:.\Generated_Source\PSoC5/BL.c **** \r
-  23:.\Generated_Source\PSoC5/BL.c **** /*******************************************************************************\r
-  24:.\Generated_Source\PSoC5/BL.c **** * The Checksum and SizeBytes are forcefully set in code. We then post process\r
-  25:.\Generated_Source\PSoC5/BL.c **** * the hex file from the linker and inject their values then. When the hex file\r
-  26:.\Generated_Source\PSoC5/BL.c **** * is loaded onto the device these two variables should have valid values.\r
-  27:.\Generated_Source\PSoC5/BL.c **** * Because the compiler can do optimizations remove the constant\r
-  28:.\Generated_Source\PSoC5/BL.c **** * accesses, these should not be accessed directly. Instead, the variables\r
-  29:.\Generated_Source\PSoC5/BL.c **** * CyBtldr_ChecksumAccess & CyBtldr_SizeBytesAccess should be used to get the\r
-  30:.\Generated_Source\PSoC5/BL.c **** * proper values at runtime.\r
-  31:.\Generated_Source\PSoC5/BL.c **** *******************************************************************************/\r
-  32:.\Generated_Source\PSoC5/BL.c **** #if defined(__ARMCC_VERSION) || defined (__GNUC__)\r
-\fARM GAS  C:\Users\MICHA_~1\AppData\Local\Temp\ccjItj5m.s                      page 2\r
-\r
-\r
-  33:.\Generated_Source\PSoC5/BL.c ****     __attribute__((section (".bootloader")))\r
-  34:.\Generated_Source\PSoC5/BL.c **** #elif defined (__ICCARM__)\r
-  35:.\Generated_Source\PSoC5/BL.c ****     #pragma location=".bootloader"\r
-  36:.\Generated_Source\PSoC5/BL.c **** #endif  /* defined(__ARMCC_VERSION) || defined (__GNUC__) */\r
-  37:.\Generated_Source\PSoC5/BL.c **** \r
-  38:.\Generated_Source\PSoC5/BL.c **** const uint8  CYCODE BL_Checksum = 0u;\r
-  39:.\Generated_Source\PSoC5/BL.c **** const uint8  CYCODE *BL_ChecksumAccess  = (const uint8  CYCODE *)(&BL_Checksum);\r
-  40:.\Generated_Source\PSoC5/BL.c **** \r
-  41:.\Generated_Source\PSoC5/BL.c **** #if defined(__ARMCC_VERSION) || defined (__GNUC__)\r
-  42:.\Generated_Source\PSoC5/BL.c ****     __attribute__((section (".bootloader")))\r
-  43:.\Generated_Source\PSoC5/BL.c **** #elif defined (__ICCARM__)\r
-  44:.\Generated_Source\PSoC5/BL.c ****     #pragma location=".bootloader"\r
-  45:.\Generated_Source\PSoC5/BL.c **** #endif  /* defined(__ARMCC_VERSION) || defined (__GNUC__) */\r
-  46:.\Generated_Source\PSoC5/BL.c **** \r
-  47:.\Generated_Source\PSoC5/BL.c **** const uint32 CYCODE BL_SizeBytes = 0xFFFFFFFFu;\r
-  48:.\Generated_Source\PSoC5/BL.c **** const uint32 CYCODE *BL_SizeBytesAccess = (const uint32 CYCODE *)(&BL_SizeBytes);\r
-  49:.\Generated_Source\PSoC5/BL.c **** \r
-  50:.\Generated_Source\PSoC5/BL.c **** \r
-  51:.\Generated_Source\PSoC5/BL.c **** #if(0u != BL_DUAL_APP_BOOTLOADER)\r
-  52:.\Generated_Source\PSoC5/BL.c ****     uint8 BL_activeApp = BL_MD_BTLDB_ACTIVE_NONE;\r
-  53:.\Generated_Source\PSoC5/BL.c **** #else\r
-  54:.\Generated_Source\PSoC5/BL.c ****     #define BL_activeApp      (BL_MD_BTLDB_ACTIVE_0)\r
-  55:.\Generated_Source\PSoC5/BL.c **** #endif  /* (0u != BL_DUAL_APP_BOOTLOADER) */\r
-  56:.\Generated_Source\PSoC5/BL.c **** \r
-  57:.\Generated_Source\PSoC5/BL.c **** \r
-  58:.\Generated_Source\PSoC5/BL.c **** /***************************************\r
-  59:.\Generated_Source\PSoC5/BL.c **** *     Function Prototypes\r
-  60:.\Generated_Source\PSoC5/BL.c **** ***************************************/\r
-  61:.\Generated_Source\PSoC5/BL.c **** static cystatus BL_WritePacket(uint8 status, uint8 buffer[], uint16 size) CYSMALL \\r
-  62:.\Generated_Source\PSoC5/BL.c ****                                     ;\r
-  63:.\Generated_Source\PSoC5/BL.c **** \r
-  64:.\Generated_Source\PSoC5/BL.c **** static uint16   BL_CalcPacketChecksum(const uint8 buffer[], uint16 size) CYSMALL \\r
-  65:.\Generated_Source\PSoC5/BL.c ****                                     ;\r
-  66:.\Generated_Source\PSoC5/BL.c **** \r
-  67:.\Generated_Source\PSoC5/BL.c **** static uint8    BL_Calc8BitFlashSum(uint32 start, uint32 size) CYSMALL \\r
-  68:.\Generated_Source\PSoC5/BL.c ****                                     ;\r
-  69:.\Generated_Source\PSoC5/BL.c **** #if(!CY_PSOC4)\r
-  70:.\Generated_Source\PSoC5/BL.c **** static uint8    BL_Calc8BitEepromSum(uint32 start, uint32 size) CYSMALL \\r
-  71:.\Generated_Source\PSoC5/BL.c ****                                     ;\r
-  72:.\Generated_Source\PSoC5/BL.c **** #endif /* (!CY_PSOC4) */\r
-  73:.\Generated_Source\PSoC5/BL.c **** \r
-  74:.\Generated_Source\PSoC5/BL.c **** static void     BL_HostLink(uint8 timeOut) \\r
-  75:.\Generated_Source\PSoC5/BL.c ****                                     ;\r
-  76:.\Generated_Source\PSoC5/BL.c **** \r
-  77:.\Generated_Source\PSoC5/BL.c **** static void     BL_LaunchApplication(void) CYSMALL \\r
-  78:.\Generated_Source\PSoC5/BL.c ****                                     ;\r
-  79:.\Generated_Source\PSoC5/BL.c **** \r
-  80:.\Generated_Source\PSoC5/BL.c **** static cystatus BL_ValidateBootloadable(uint8 appId) CYSMALL \\r
-  81:.\Generated_Source\PSoC5/BL.c ****                                     ;\r
-  82:.\Generated_Source\PSoC5/BL.c **** \r
-  83:.\Generated_Source\PSoC5/BL.c **** static uint32   BL_GetMetadata(uint8 fieldName, uint8 appId)\\r
-  84:.\Generated_Source\PSoC5/BL.c ****                                     ;\r
-  85:.\Generated_Source\PSoC5/BL.c **** \r
-  86:.\Generated_Source\PSoC5/BL.c **** #if(!CY_PSOC3)\r
-  87:.\Generated_Source\PSoC5/BL.c ****     /* Implementation for the PSoC 3 resides in a BL_psoc3.a51 file.  */\r
-  88:.\Generated_Source\PSoC5/BL.c ****     static void     BL_LaunchBootloadable(uint32 appAddr);\r
-  89:.\Generated_Source\PSoC5/BL.c **** #endif  /* (!CY_PSOC3) */\r
-\fARM GAS  C:\Users\MICHA_~1\AppData\Local\Temp\ccjItj5m.s                      page 3\r
-\r
-\r
-  90:.\Generated_Source\PSoC5/BL.c **** \r
-  91:.\Generated_Source\PSoC5/BL.c **** \r
-  92:.\Generated_Source\PSoC5/BL.c **** /*******************************************************************************\r
-  93:.\Generated_Source\PSoC5/BL.c **** * Function Name: BL_CalcPacketChecksum\r
-  94:.\Generated_Source\PSoC5/BL.c **** ********************************************************************************\r
-  95:.\Generated_Source\PSoC5/BL.c **** *\r
-  96:.\Generated_Source\PSoC5/BL.c **** * Summary:\r
-  97:.\Generated_Source\PSoC5/BL.c **** *  This computes the 16 bit checksum for the provided number of bytes contained\r
-  98:.\Generated_Source\PSoC5/BL.c **** *  in the provided buffer\r
-  99:.\Generated_Source\PSoC5/BL.c **** *\r
- 100:.\Generated_Source\PSoC5/BL.c **** * Parameters:\r
- 101:.\Generated_Source\PSoC5/BL.c **** *  buffer:\r
- 102:.\Generated_Source\PSoC5/BL.c **** *     The buffer containing the data to compute the checksum for\r
- 103:.\Generated_Source\PSoC5/BL.c **** *  size:\r
- 104:.\Generated_Source\PSoC5/BL.c **** *     The number of bytes in buffer to compute the checksum for\r
- 105:.\Generated_Source\PSoC5/BL.c **** *\r
- 106:.\Generated_Source\PSoC5/BL.c **** * Returns:\r
- 107:.\Generated_Source\PSoC5/BL.c **** *  16 bit checksum for the provided data\r
- 108:.\Generated_Source\PSoC5/BL.c **** *\r
- 109:.\Generated_Source\PSoC5/BL.c **** *******************************************************************************/\r
- 110:.\Generated_Source\PSoC5/BL.c **** static uint16 BL_CalcPacketChecksum(const uint8 buffer[], uint16 size) \\r
- 111:.\Generated_Source\PSoC5/BL.c ****                     CYSMALL \r
- 112:.\Generated_Source\PSoC5/BL.c **** {\r
- 113:.\Generated_Source\PSoC5/BL.c ****     #if(0u != BL_PACKET_CHECKSUM_CRC)\r
- 114:.\Generated_Source\PSoC5/BL.c **** \r
- 115:.\Generated_Source\PSoC5/BL.c ****         uint16 CYDATA crc = BL_CRC_CCITT_INITIAL_VALUE;\r
- 116:.\Generated_Source\PSoC5/BL.c ****         uint16 CYDATA tmp;\r
- 117:.\Generated_Source\PSoC5/BL.c ****         uint8  CYDATA i;\r
- 118:.\Generated_Source\PSoC5/BL.c ****         uint16 CYDATA tmpIndex = size;\r
- 119:.\Generated_Source\PSoC5/BL.c **** \r
- 120:.\Generated_Source\PSoC5/BL.c ****         if(0u == size)\r
- 121:.\Generated_Source\PSoC5/BL.c ****         {\r
- 122:.\Generated_Source\PSoC5/BL.c ****             crc = ~crc;\r
- 123:.\Generated_Source\PSoC5/BL.c ****         }\r
- 124:.\Generated_Source\PSoC5/BL.c ****         else\r
- 125:.\Generated_Source\PSoC5/BL.c ****         {\r
- 126:.\Generated_Source\PSoC5/BL.c ****             do\r
- 127:.\Generated_Source\PSoC5/BL.c ****             {\r
- 128:.\Generated_Source\PSoC5/BL.c ****                 tmp = buffer[tmpIndex - size];\r
- 129:.\Generated_Source\PSoC5/BL.c **** \r
- 130:.\Generated_Source\PSoC5/BL.c ****                 for (i = 0u; i < 8u; i++)\r
- 131:.\Generated_Source\PSoC5/BL.c ****                 {\r
- 132:.\Generated_Source\PSoC5/BL.c ****                     if (0u != ((crc & 0x0001u) ^ (tmp & 0x0001u)))\r
- 133:.\Generated_Source\PSoC5/BL.c ****                     {\r
- 134:.\Generated_Source\PSoC5/BL.c ****                         crc = (crc >> 1u) ^ BL_CRC_CCITT_POLYNOMIAL;\r
- 135:.\Generated_Source\PSoC5/BL.c ****                     }\r
- 136:.\Generated_Source\PSoC5/BL.c ****                     else\r
- 137:.\Generated_Source\PSoC5/BL.c ****                     {\r
- 138:.\Generated_Source\PSoC5/BL.c ****                         crc >>= 1u;\r
- 139:.\Generated_Source\PSoC5/BL.c ****                     }\r
- 140:.\Generated_Source\PSoC5/BL.c **** \r
- 141:.\Generated_Source\PSoC5/BL.c ****                     tmp >>= 1u;\r
- 142:.\Generated_Source\PSoC5/BL.c ****                 }\r
- 143:.\Generated_Source\PSoC5/BL.c **** \r
- 144:.\Generated_Source\PSoC5/BL.c ****                 size--;\r
- 145:.\Generated_Source\PSoC5/BL.c ****             }\r
- 146:.\Generated_Source\PSoC5/BL.c ****             while(0u != size);\r
-\fARM GAS  C:\Users\MICHA_~1\AppData\Local\Temp\ccjItj5m.s                      page 4\r
-\r
-\r
- 147:.\Generated_Source\PSoC5/BL.c **** \r
- 148:.\Generated_Source\PSoC5/BL.c ****             crc = ~crc;\r
- 149:.\Generated_Source\PSoC5/BL.c ****             tmp = crc;\r
- 150:.\Generated_Source\PSoC5/BL.c ****             crc = ( uint16 )(crc << 8u) | (tmp >> 8u);\r
- 151:.\Generated_Source\PSoC5/BL.c ****         }\r
- 152:.\Generated_Source\PSoC5/BL.c **** \r
- 153:.\Generated_Source\PSoC5/BL.c ****         return(crc);\r
- 154:.\Generated_Source\PSoC5/BL.c **** \r
- 155:.\Generated_Source\PSoC5/BL.c ****     #else\r
- 156:.\Generated_Source\PSoC5/BL.c **** \r
- 157:.\Generated_Source\PSoC5/BL.c ****         uint16 CYDATA sum = 0u;\r
- 158:.\Generated_Source\PSoC5/BL.c **** \r
- 159:.\Generated_Source\PSoC5/BL.c ****         while (size > 0u)\r
- 160:.\Generated_Source\PSoC5/BL.c ****         {\r
- 161:.\Generated_Source\PSoC5/BL.c ****             sum += buffer[size - 1u];\r
- 162:.\Generated_Source\PSoC5/BL.c ****             size--;\r
- 163:.\Generated_Source\PSoC5/BL.c ****         }\r
- 164:.\Generated_Source\PSoC5/BL.c **** \r
- 165:.\Generated_Source\PSoC5/BL.c ****         return(( uint16 )1u + ( uint16 )(~sum));\r
- 166:.\Generated_Source\PSoC5/BL.c **** \r
- 167:.\Generated_Source\PSoC5/BL.c ****     #endif /* (0u != BL_PACKET_CHECKSUM_CRC) */\r
- 168:.\Generated_Source\PSoC5/BL.c **** }\r
- 169:.\Generated_Source\PSoC5/BL.c **** \r
- 170:.\Generated_Source\PSoC5/BL.c **** \r
- 171:.\Generated_Source\PSoC5/BL.c **** /*******************************************************************************\r
- 172:.\Generated_Source\PSoC5/BL.c **** * Function Name: BL_Calc8BitFlashSum\r
- 173:.\Generated_Source\PSoC5/BL.c **** ********************************************************************************\r
- 174:.\Generated_Source\PSoC5/BL.c **** *\r
- 175:.\Generated_Source\PSoC5/BL.c **** * Summary:\r
- 176:.\Generated_Source\PSoC5/BL.c **** *  This computes the 8 bit sum for the provided number of bytes contained in\r
- 177:.\Generated_Source\PSoC5/BL.c **** *  flash.\r
- 178:.\Generated_Source\PSoC5/BL.c **** *\r
- 179:.\Generated_Source\PSoC5/BL.c **** * Parameters:\r
- 180:.\Generated_Source\PSoC5/BL.c **** *  start:\r
- 181:.\Generated_Source\PSoC5/BL.c **** *     The starting address to start summing data for\r
- 182:.\Generated_Source\PSoC5/BL.c **** *  size:\r
- 183:.\Generated_Source\PSoC5/BL.c **** *     The number of bytes to read and compute the sum for\r
- 184:.\Generated_Source\PSoC5/BL.c **** *\r
- 185:.\Generated_Source\PSoC5/BL.c **** * Returns:\r
- 186:.\Generated_Source\PSoC5/BL.c **** *   8 bit sum for the provided data\r
- 187:.\Generated_Source\PSoC5/BL.c **** *\r
- 188:.\Generated_Source\PSoC5/BL.c **** *******************************************************************************/\r
- 189:.\Generated_Source\PSoC5/BL.c **** static uint8 BL_Calc8BitFlashSum(uint32 start, uint32 size) \\r
- 190:.\Generated_Source\PSoC5/BL.c ****                 CYSMALL \r
- 191:.\Generated_Source\PSoC5/BL.c **** {\r
- 192:.\Generated_Source\PSoC5/BL.c ****     uint8 CYDATA sum = 0u;\r
- 193:.\Generated_Source\PSoC5/BL.c **** \r
- 194:.\Generated_Source\PSoC5/BL.c ****     while (size > 0u)\r
- 195:.\Generated_Source\PSoC5/BL.c ****     {\r
- 196:.\Generated_Source\PSoC5/BL.c ****         size--;\r
- 197:.\Generated_Source\PSoC5/BL.c ****         sum += BL_GET_CODE_BYTE(start + size);\r
- 198:.\Generated_Source\PSoC5/BL.c ****     }\r
- 199:.\Generated_Source\PSoC5/BL.c **** \r
- 200:.\Generated_Source\PSoC5/BL.c ****     return(sum);\r
- 201:.\Generated_Source\PSoC5/BL.c **** }\r
- 202:.\Generated_Source\PSoC5/BL.c **** \r
- 203:.\Generated_Source\PSoC5/BL.c **** \r
-\fARM GAS  C:\Users\MICHA_~1\AppData\Local\Temp\ccjItj5m.s                      page 5\r
-\r
-\r
- 204:.\Generated_Source\PSoC5/BL.c **** #if(!CY_PSOC4)\r
- 205:.\Generated_Source\PSoC5/BL.c **** \r
- 206:.\Generated_Source\PSoC5/BL.c ****     /*******************************************************************************\r
- 207:.\Generated_Source\PSoC5/BL.c ****     * Function Name: BL_Calc8BitEepromSum\r
- 208:.\Generated_Source\PSoC5/BL.c ****     ********************************************************************************\r
- 209:.\Generated_Source\PSoC5/BL.c ****     *\r
- 210:.\Generated_Source\PSoC5/BL.c ****     * Summary:\r
- 211:.\Generated_Source\PSoC5/BL.c ****     *  This computes the 8 bit sum for the provided number of bytes contained in\r
- 212:.\Generated_Source\PSoC5/BL.c ****     *  EEPROM.\r
- 213:.\Generated_Source\PSoC5/BL.c ****     *\r
- 214:.\Generated_Source\PSoC5/BL.c ****     * Parameters:\r
- 215:.\Generated_Source\PSoC5/BL.c ****     *  start:\r
- 216:.\Generated_Source\PSoC5/BL.c ****     *     The starting address to start summing data for\r
- 217:.\Generated_Source\PSoC5/BL.c ****     *  size:\r
- 218:.\Generated_Source\PSoC5/BL.c ****     *     The number of bytes to read and compute the sum for\r
- 219:.\Generated_Source\PSoC5/BL.c ****     *\r
- 220:.\Generated_Source\PSoC5/BL.c ****     * Returns:\r
- 221:.\Generated_Source\PSoC5/BL.c ****     *   8 bit sum for the provided data\r
- 222:.\Generated_Source\PSoC5/BL.c ****     *\r
- 223:.\Generated_Source\PSoC5/BL.c ****     *******************************************************************************/\r
- 224:.\Generated_Source\PSoC5/BL.c ****     static uint8 BL_Calc8BitEepromSum(uint32 start, uint32 size) \\r
- 225:.\Generated_Source\PSoC5/BL.c ****                     CYSMALL \r
- 226:.\Generated_Source\PSoC5/BL.c ****     {\r
- 227:.\Generated_Source\PSoC5/BL.c ****         uint8 CYDATA sum = 0u;\r
- 228:.\Generated_Source\PSoC5/BL.c **** \r
- 229:.\Generated_Source\PSoC5/BL.c ****         while (size > 0u)\r
- 230:.\Generated_Source\PSoC5/BL.c ****         {\r
- 231:.\Generated_Source\PSoC5/BL.c ****             size--;\r
- 232:.\Generated_Source\PSoC5/BL.c ****             sum += BL_GET_EEPROM_BYTE(start + size);\r
- 233:.\Generated_Source\PSoC5/BL.c ****         }\r
- 234:.\Generated_Source\PSoC5/BL.c **** \r
- 235:.\Generated_Source\PSoC5/BL.c ****         return(sum);\r
- 236:.\Generated_Source\PSoC5/BL.c ****     }\r
- 237:.\Generated_Source\PSoC5/BL.c **** \r
- 238:.\Generated_Source\PSoC5/BL.c **** #endif  /* (!CY_PSOC4) */\r
- 239:.\Generated_Source\PSoC5/BL.c **** \r
- 240:.\Generated_Source\PSoC5/BL.c **** \r
- 241:.\Generated_Source\PSoC5/BL.c **** /*******************************************************************************\r
- 242:.\Generated_Source\PSoC5/BL.c **** * Function Name: BL_Start\r
- 243:.\Generated_Source\PSoC5/BL.c **** ********************************************************************************\r
- 244:.\Generated_Source\PSoC5/BL.c **** * Summary:\r
- 245:.\Generated_Source\PSoC5/BL.c **** *  This function is called in order executing following algorithm:\r
- 246:.\Generated_Source\PSoC5/BL.c **** *\r
- 247:.\Generated_Source\PSoC5/BL.c **** *  - Identify active bootloadable application (applicable only to\r
- 248:.\Generated_Source\PSoC5/BL.c **** *    Multi-application bootloader)\r
- 249:.\Generated_Source\PSoC5/BL.c **** *\r
- 250:.\Generated_Source\PSoC5/BL.c **** *  - Validate bootloader application (desing-time configurable, Bootloader\r
- 251:.\Generated_Source\PSoC5/BL.c **** *    application validation option of the component customizer)\r
- 252:.\Generated_Source\PSoC5/BL.c **** *\r
- 253:.\Generated_Source\PSoC5/BL.c **** *  - Validate active bootloadable application\r
- 254:.\Generated_Source\PSoC5/BL.c **** *\r
- 255:.\Generated_Source\PSoC5/BL.c **** *  - Run communication subroutine (desing-time configurable, Wait for command\r
- 256:.\Generated_Source\PSoC5/BL.c **** *    option of the component customizer)\r
- 257:.\Generated_Source\PSoC5/BL.c **** *\r
- 258:.\Generated_Source\PSoC5/BL.c **** *  - Schedule bootloadable and reset device\r
- 259:.\Generated_Source\PSoC5/BL.c **** *\r
- 260:.\Generated_Source\PSoC5/BL.c **** * Parameters:\r
-\fARM GAS  C:\Users\MICHA_~1\AppData\Local\Temp\ccjItj5m.s                      page 6\r
-\r
-\r
- 261:.\Generated_Source\PSoC5/BL.c **** *  None\r
- 262:.\Generated_Source\PSoC5/BL.c **** *\r
- 263:.\Generated_Source\PSoC5/BL.c **** * Return:\r
- 264:.\Generated_Source\PSoC5/BL.c **** *  This method will never return. It will either load a new application and\r
- 265:.\Generated_Source\PSoC5/BL.c **** *  reset the device or it will jump directly to the existing application.\r
- 266:.\Generated_Source\PSoC5/BL.c **** *\r
- 267:.\Generated_Source\PSoC5/BL.c **** * Side Effects:\r
- 268:.\Generated_Source\PSoC5/BL.c **** *  If this method determines that the bootloader appliation itself is corrupt,\r
- 269:.\Generated_Source\PSoC5/BL.c **** *  this method will not return, instead it will simply hang the application.\r
- 270:.\Generated_Source\PSoC5/BL.c **** *\r
- 271:.\Generated_Source\PSoC5/BL.c **** *******************************************************************************/\r
- 272:.\Generated_Source\PSoC5/BL.c **** void BL_Start(void) CYSMALL \r
- 273:.\Generated_Source\PSoC5/BL.c **** {\r
- 274:.\Generated_Source\PSoC5/BL.c ****     #if(0u != BL_BOOTLOADER_APP_VALIDATION)\r
- 275:.\Generated_Source\PSoC5/BL.c ****         uint8 CYDATA calcedChecksum;\r
- 276:.\Generated_Source\PSoC5/BL.c ****     #endif    /* (0u != BL_BOOTLOADER_APP_VALIDATION) */\r
- 277:.\Generated_Source\PSoC5/BL.c **** \r
- 278:.\Generated_Source\PSoC5/BL.c ****     #if(!CY_PSOC4)\r
- 279:.\Generated_Source\PSoC5/BL.c ****         uint8 CYXDATA BL_flashBuffer[BL_FROW_SIZE];\r
- 280:.\Generated_Source\PSoC5/BL.c ****     #endif  /* (!CY_PSOC4) */\r
- 281:.\Generated_Source\PSoC5/BL.c **** \r
- 282:.\Generated_Source\PSoC5/BL.c ****     cystatus tmpStatus;\r
- 283:.\Generated_Source\PSoC5/BL.c **** \r
- 284:.\Generated_Source\PSoC5/BL.c **** \r
- 285:.\Generated_Source\PSoC5/BL.c ****     /* Identify active bootloadable application */\r
- 286:.\Generated_Source\PSoC5/BL.c ****     #if(0u != BL_DUAL_APP_BOOTLOADER)\r
- 287:.\Generated_Source\PSoC5/BL.c **** \r
- 288:.\Generated_Source\PSoC5/BL.c ****         if(BL_MD_BTLDB_ACTIVE_VALUE(0u) == BL_MD_BTLDB_IS_ACTIVE)\r
- 289:.\Generated_Source\PSoC5/BL.c ****         {\r
- 290:.\Generated_Source\PSoC5/BL.c ****             BL_activeApp = BL_MD_BTLDB_ACTIVE_0;\r
- 291:.\Generated_Source\PSoC5/BL.c ****         }\r
- 292:.\Generated_Source\PSoC5/BL.c ****         else if (BL_MD_BTLDB_ACTIVE_VALUE(1u) == BL_MD_BTLDB_IS_ACTIVE)\r
- 293:.\Generated_Source\PSoC5/BL.c ****         {\r
- 294:.\Generated_Source\PSoC5/BL.c ****             BL_activeApp = BL_MD_BTLDB_ACTIVE_1;\r
- 295:.\Generated_Source\PSoC5/BL.c ****         }\r
- 296:.\Generated_Source\PSoC5/BL.c ****         else\r
- 297:.\Generated_Source\PSoC5/BL.c ****         {\r
- 298:.\Generated_Source\PSoC5/BL.c ****             BL_activeApp = BL_MD_BTLDB_ACTIVE_NONE;\r
- 299:.\Generated_Source\PSoC5/BL.c ****         }\r
- 300:.\Generated_Source\PSoC5/BL.c **** \r
- 301:.\Generated_Source\PSoC5/BL.c ****     #endif  /* (0u != BL_DUAL_APP_BOOTLOADER) */\r
- 302:.\Generated_Source\PSoC5/BL.c **** \r
- 303:.\Generated_Source\PSoC5/BL.c **** \r
- 304:.\Generated_Source\PSoC5/BL.c ****     /* Initialize Flash subsystem for non-PSoC 4 devices */\r
- 305:.\Generated_Source\PSoC5/BL.c ****     #if(!CY_PSOC4)\r
- 306:.\Generated_Source\PSoC5/BL.c ****         if (CYRET_SUCCESS != CySetTemp())\r
- 307:.\Generated_Source\PSoC5/BL.c ****         {\r
- 308:.\Generated_Source\PSoC5/BL.c ****             CyHalt(0x00u);\r
- 309:.\Generated_Source\PSoC5/BL.c ****         }\r
- 310:.\Generated_Source\PSoC5/BL.c **** \r
- 311:.\Generated_Source\PSoC5/BL.c ****         if (CYRET_SUCCESS != CySetFlashEEBuffer(BL_flashBuffer))\r
- 312:.\Generated_Source\PSoC5/BL.c ****         {\r
- 313:.\Generated_Source\PSoC5/BL.c ****             CyHalt(0x00u);\r
- 314:.\Generated_Source\PSoC5/BL.c ****         }\r
- 315:.\Generated_Source\PSoC5/BL.c ****     #endif  /* (CY_PSOC4) */\r
- 316:.\Generated_Source\PSoC5/BL.c **** \r
- 317:.\Generated_Source\PSoC5/BL.c **** \r
-\fARM GAS  C:\Users\MICHA_~1\AppData\Local\Temp\ccjItj5m.s                      page 7\r
-\r
-\r
- 318:.\Generated_Source\PSoC5/BL.c ****     /***********************************************************************\r
- 319:.\Generated_Source\PSoC5/BL.c ****     * Bootloader Application Validation\r
- 320:.\Generated_Source\PSoC5/BL.c ****     *\r
- 321:.\Generated_Source\PSoC5/BL.c ****     * Halt device if:\r
- 322:.\Generated_Source\PSoC5/BL.c ****     *  - Calculated checksum does not much one stored in metadata section\r
- 323:.\Generated_Source\PSoC5/BL.c ****     *  - Invalid pointer to the place where bootloader application ends\r
- 324:.\Generated_Source\PSoC5/BL.c ****     *  - Flash subsystem where not initialized correctly\r
- 325:.\Generated_Source\PSoC5/BL.c ****     ***********************************************************************/\r
- 326:.\Generated_Source\PSoC5/BL.c ****     #if(0u != BL_BOOTLOADER_APP_VALIDATION)\r
- 327:.\Generated_Source\PSoC5/BL.c **** \r
- 328:.\Generated_Source\PSoC5/BL.c ****         /* Calculate Bootloader application checksum */\r
- 329:.\Generated_Source\PSoC5/BL.c ****         calcedChecksum = BL_Calc8BitFlashSum(BL_MD_BTLDR_ADDR_PTR,\r
- 330:.\Generated_Source\PSoC5/BL.c ****                 *BL_SizeBytesAccess - BL_MD_BTLDR_ADDR_PTR);\r
- 331:.\Generated_Source\PSoC5/BL.c **** \r
- 332:.\Generated_Source\PSoC5/BL.c ****         /* we actually included the checksum, so remove it */\r
- 333:.\Generated_Source\PSoC5/BL.c ****         calcedChecksum -= *BL_ChecksumAccess;\r
- 334:.\Generated_Source\PSoC5/BL.c ****         calcedChecksum = ( uint8 )1u + ( uint8 )(~calcedChecksum);\r
- 335:.\Generated_Source\PSoC5/BL.c **** \r
- 336:.\Generated_Source\PSoC5/BL.c ****         /* Checksum and pointer to bootloader verification */\r
- 337:.\Generated_Source\PSoC5/BL.c ****         if((calcedChecksum != *BL_ChecksumAccess) ||\r
- 338:.\Generated_Source\PSoC5/BL.c ****            (0u == *BL_SizeBytesAccess))\r
- 339:.\Generated_Source\PSoC5/BL.c ****         {\r
- 340:.\Generated_Source\PSoC5/BL.c ****             CyHalt(0x00u);\r
- 341:.\Generated_Source\PSoC5/BL.c ****         }\r
- 342:.\Generated_Source\PSoC5/BL.c **** \r
- 343:.\Generated_Source\PSoC5/BL.c ****     #endif  /* (0u != BL_BOOTLOADER_APP_VALIDATION) */\r
- 344:.\Generated_Source\PSoC5/BL.c **** \r
- 345:.\Generated_Source\PSoC5/BL.c **** \r
- 346:.\Generated_Source\PSoC5/BL.c ****     /***********************************************************************\r
- 347:.\Generated_Source\PSoC5/BL.c ****     * Active Bootloadable Application Validation\r
- 348:.\Generated_Source\PSoC5/BL.c ****     *\r
- 349:.\Generated_Source\PSoC5/BL.c ****     * If active bootloadable application is invalid or bootloader\r
- 350:.\Generated_Source\PSoC5/BL.c ****     * application is scheduled - do the following:\r
- 351:.\Generated_Source\PSoC5/BL.c ****     *  - schedule bootloader application to be run after software reset\r
- 352:.\Generated_Source\PSoC5/BL.c ****     *  - Go to the communication subroutine. Will wait for commands forever\r
- 353:.\Generated_Source\PSoC5/BL.c ****     ***********************************************************************/\r
- 354:.\Generated_Source\PSoC5/BL.c ****     tmpStatus = BL_ValidateBootloadable(BL_activeApp);\r
- 355:.\Generated_Source\PSoC5/BL.c **** \r
- 356:.\Generated_Source\PSoC5/BL.c ****     if ((BL_GET_RUN_TYPE == BL_START_BTLDR) ||\r
- 357:.\Generated_Source\PSoC5/BL.c ****         (CYRET_SUCCESS != tmpStatus))\r
- 358:.\Generated_Source\PSoC5/BL.c ****     {\r
- 359:.\Generated_Source\PSoC5/BL.c ****         BL_SET_RUN_TYPE(0u);\r
- 360:.\Generated_Source\PSoC5/BL.c **** \r
- 361:.\Generated_Source\PSoC5/BL.c ****         BL_HostLink(BL_WAIT_FOR_COMMAND_FOREVER);\r
- 362:.\Generated_Source\PSoC5/BL.c ****     }\r
- 363:.\Generated_Source\PSoC5/BL.c **** \r
- 364:.\Generated_Source\PSoC5/BL.c **** \r
- 365:.\Generated_Source\PSoC5/BL.c ****     /* Go to the communication subroutine. Will wait for commands specifed time */\r
- 366:.\Generated_Source\PSoC5/BL.c ****     #if(0u != BL_WAIT_FOR_COMMAND)\r
- 367:.\Generated_Source\PSoC5/BL.c **** \r
- 368:.\Generated_Source\PSoC5/BL.c ****         /* Timeout is in 100s of miliseconds */\r
- 369:.\Generated_Source\PSoC5/BL.c ****         BL_HostLink(BL_WAIT_FOR_COMMAND_TIME);\r
- 370:.\Generated_Source\PSoC5/BL.c **** \r
- 371:.\Generated_Source\PSoC5/BL.c ****     #endif  /* (0u != BL_WAIT_FOR_COMMAND) */\r
- 372:.\Generated_Source\PSoC5/BL.c **** \r
- 373:.\Generated_Source\PSoC5/BL.c **** \r
- 374:.\Generated_Source\PSoC5/BL.c ****     /* Schedule bootloadable application and perform software reset */\r
-\fARM GAS  C:\Users\MICHA_~1\AppData\Local\Temp\ccjItj5m.s                      page 8\r
-\r
-\r
- 375:.\Generated_Source\PSoC5/BL.c ****     BL_LaunchApplication();\r
- 376:.\Generated_Source\PSoC5/BL.c **** }\r
- 377:.\Generated_Source\PSoC5/BL.c **** \r
- 378:.\Generated_Source\PSoC5/BL.c **** \r
- 379:.\Generated_Source\PSoC5/BL.c **** /*******************************************************************************\r
- 380:.\Generated_Source\PSoC5/BL.c **** * Function Name: BL_LaunchApplication\r
- 381:.\Generated_Source\PSoC5/BL.c **** ********************************************************************************\r
- 382:.\Generated_Source\PSoC5/BL.c **** *\r
- 383:.\Generated_Source\PSoC5/BL.c **** * Summary:\r
- 384:.\Generated_Source\PSoC5/BL.c **** *  Jumps the PC to the start address of the user application in flash.\r
- 385:.\Generated_Source\PSoC5/BL.c **** *\r
- 386:.\Generated_Source\PSoC5/BL.c **** * Parameters:\r
- 387:.\Generated_Source\PSoC5/BL.c **** *  None\r
- 388:.\Generated_Source\PSoC5/BL.c **** *\r
- 389:.\Generated_Source\PSoC5/BL.c **** * Returns:\r
- 390:.\Generated_Source\PSoC5/BL.c **** *  This method will never return if it succesfully goes to the user application.\r
- 391:.\Generated_Source\PSoC5/BL.c **** *\r
- 392:.\Generated_Source\PSoC5/BL.c **** *******************************************************************************/\r
- 393:.\Generated_Source\PSoC5/BL.c **** static void BL_LaunchApplication(void) CYSMALL \r
- 394:.\Generated_Source\PSoC5/BL.c **** {\r
- 395:.\Generated_Source\PSoC5/BL.c ****     /* Schedule Bootloadable to start after reset */\r
- 396:.\Generated_Source\PSoC5/BL.c ****     BL_SET_RUN_TYPE(BL_START_APP);\r
- 397:.\Generated_Source\PSoC5/BL.c **** \r
- 398:.\Generated_Source\PSoC5/BL.c ****     CySoftwareReset();\r
- 399:.\Generated_Source\PSoC5/BL.c **** }\r
- 400:.\Generated_Source\PSoC5/BL.c **** \r
- 401:.\Generated_Source\PSoC5/BL.c **** \r
- 402:.\Generated_Source\PSoC5/BL.c **** /*******************************************************************************\r
- 403:.\Generated_Source\PSoC5/BL.c **** * Function Name: CyBtldr_CheckLaunch\r
- 404:.\Generated_Source\PSoC5/BL.c **** ********************************************************************************\r
- 405:.\Generated_Source\PSoC5/BL.c **** *\r
- 406:.\Generated_Source\PSoC5/BL.c **** * Summary:\r
- 407:.\Generated_Source\PSoC5/BL.c **** *  This routine checks to see if the bootloader or the bootloadable application\r
- 408:.\Generated_Source\PSoC5/BL.c **** *  should be run.  If the application is to be run, it will start executing.\r
- 409:.\Generated_Source\PSoC5/BL.c **** *  If the bootloader is to be run, it will return so the bootloader can\r
- 410:.\Generated_Source\PSoC5/BL.c **** *  continue starting up.\r
- 411:.\Generated_Source\PSoC5/BL.c **** *\r
- 412:.\Generated_Source\PSoC5/BL.c **** * Parameters:\r
- 413:.\Generated_Source\PSoC5/BL.c **** *  None\r
- 414:.\Generated_Source\PSoC5/BL.c **** *\r
- 415:.\Generated_Source\PSoC5/BL.c **** * Returns:\r
- 416:.\Generated_Source\PSoC5/BL.c **** *  None\r
- 417:.\Generated_Source\PSoC5/BL.c **** *\r
- 418:.\Generated_Source\PSoC5/BL.c **** *******************************************************************************/\r
- 419:.\Generated_Source\PSoC5/BL.c **** void CyBtldr_CheckLaunch(void) CYSMALL \r
- 420:.\Generated_Source\PSoC5/BL.c **** {\r
- 421:.\Generated_Source\PSoC5/BL.c **** \r
- 422:.\Generated_Source\PSoC5/BL.c **** #if(CY_PSOC4)\r
- 423:.\Generated_Source\PSoC5/BL.c **** \r
- 424:.\Generated_Source\PSoC5/BL.c ****     /*******************************************************************************\r
- 425:.\Generated_Source\PSoC5/BL.c ****     * Set cyBtldrRunType to zero in case of non-software reset occured. This means\r
- 426:.\Generated_Source\PSoC5/BL.c ****     * that bootloader application is scheduled - that is initial clean state. The\r
- 427:.\Generated_Source\PSoC5/BL.c ****     * value of cyBtldrRunType is valid only in case of software reset.\r
- 428:.\Generated_Source\PSoC5/BL.c ****     *******************************************************************************/\r
- 429:.\Generated_Source\PSoC5/BL.c ****     if (0u == (BL_RES_CAUSE_REG & BL_RES_CAUSE_RESET_SOFT))\r
- 430:.\Generated_Source\PSoC5/BL.c ****     {\r
- 431:.\Generated_Source\PSoC5/BL.c ****         cyBtldrRunType = 0u;\r
-\fARM GAS  C:\Users\MICHA_~1\AppData\Local\Temp\ccjItj5m.s                      page 9\r
-\r
-\r
- 432:.\Generated_Source\PSoC5/BL.c ****     }\r
- 433:.\Generated_Source\PSoC5/BL.c **** \r
- 434:.\Generated_Source\PSoC5/BL.c **** #endif /* (CY_PSOC4) */\r
- 435:.\Generated_Source\PSoC5/BL.c **** \r
- 436:.\Generated_Source\PSoC5/BL.c **** \r
- 437:.\Generated_Source\PSoC5/BL.c ****     if (BL_GET_RUN_TYPE == BL_START_APP)\r
- 438:.\Generated_Source\PSoC5/BL.c ****     {\r
- 439:.\Generated_Source\PSoC5/BL.c ****         BL_SET_RUN_TYPE(0u);\r
- 440:.\Generated_Source\PSoC5/BL.c **** \r
- 441:.\Generated_Source\PSoC5/BL.c ****         /*******************************************************************************\r
- 442:.\Generated_Source\PSoC5/BL.c ****         * Indicates that we have told ourselves to jump to the application since we have\r
- 443:.\Generated_Source\PSoC5/BL.c ****         * already told ourselves to jump, we do not do any expensive verification of the\r
- 444:.\Generated_Source\PSoC5/BL.c ****         * application. We just check to make sure that the value at CY_APP_ADDR_ADDRESS\r
- 445:.\Generated_Source\PSoC5/BL.c ****         * is something other than 0.\r
- 446:.\Generated_Source\PSoC5/BL.c ****         *******************************************************************************/\r
- 447:.\Generated_Source\PSoC5/BL.c ****         if(0u != BL_GetMetadata(BL_GET_METADATA_BTLDB_ADDR, BL_activeApp))\r
- 448:.\Generated_Source\PSoC5/BL.c ****         {\r
- 449:.\Generated_Source\PSoC5/BL.c ****             /* Never return from this method */\r
- 450:.\Generated_Source\PSoC5/BL.c ****             BL_LaunchBootloadable(BL_GetMetadata(BL_GET_METADATA_BTLDB_ADDR,\r
- 451:.\Generated_Source\PSoC5/BL.c ****                                                                              BL_activeApp));\r
- 452:.\Generated_Source\PSoC5/BL.c ****         }\r
- 453:.\Generated_Source\PSoC5/BL.c ****     }\r
- 454:.\Generated_Source\PSoC5/BL.c **** }\r
- 455:.\Generated_Source\PSoC5/BL.c **** \r
- 456:.\Generated_Source\PSoC5/BL.c **** \r
- 457:.\Generated_Source\PSoC5/BL.c **** /* Moves the arguement appAddr (RO) into PC, moving execution to the appAddr */\r
- 458:.\Generated_Source\PSoC5/BL.c **** #if defined (__ARMCC_VERSION)\r
- 459:.\Generated_Source\PSoC5/BL.c **** \r
- 460:.\Generated_Source\PSoC5/BL.c ****     __asm static void BL_LaunchBootloadable(uint32 appAddr)\r
- 461:.\Generated_Source\PSoC5/BL.c ****     {\r
- 462:.\Generated_Source\PSoC5/BL.c ****         BX  R0\r
- 463:.\Generated_Source\PSoC5/BL.c ****         ALIGN\r
- 464:.\Generated_Source\PSoC5/BL.c ****     }\r
- 465:.\Generated_Source\PSoC5/BL.c **** \r
- 466:.\Generated_Source\PSoC5/BL.c **** #elif defined(__GNUC__)\r
- 467:.\Generated_Source\PSoC5/BL.c **** \r
- 468:.\Generated_Source\PSoC5/BL.c ****     __attribute__((noinline)) /* Workaround for GCC toolchain bug with inlining */\r
- 469:.\Generated_Source\PSoC5/BL.c ****     __attribute__((naked))\r
- 470:.\Generated_Source\PSoC5/BL.c ****     static void BL_LaunchBootloadable(uint32 appAddr)\r
- 471:.\Generated_Source\PSoC5/BL.c ****     {\r
-  26                           .loc 1 471 0\r
-  27                           .cfi_startproc\r
-  28                           @ Naked Function: prologue and epilogue provided by programmer.\r
-  29                           @ args = 0, pretend = 0, frame = 0\r
-  30                           @ frame_needed = 0, uses_anonymous_args = 0\r
-  31                   .LVL0:\r
- 472:.\Generated_Source\PSoC5/BL.c ****         __asm volatile("    BX  R0\n");\r
-  32                           .loc 1 472 0\r
-  33                   @ 472 ".\Generated_Source\PSoC5\BL.c" 1\r
-  34 0000 0047                     BX  R0\r
-  35                   \r
-  36                   @ 0 "" 2\r
- 473:.\Generated_Source\PSoC5/BL.c ****     }\r
-  37                           .loc 1 473 0\r
-  38                           .thumb\r
-  39                           .cfi_endproc\r
-  40                   .LFE62:\r
-\fARM GAS  C:\Users\MICHA_~1\AppData\Local\Temp\ccjItj5m.s                      page 10\r
-\r
-\r
-  41                           .size   BL_LaunchBootloadable, .-BL_LaunchBootloadable\r
-  42                           .section        .text.BL_GetMetadata.constprop.1,"ax",%progbits\r
-  43                           .align  1\r
-  44                           .thumb\r
-  45                           .thumb_func\r
-  46                           .type   BL_GetMetadata.constprop.1, %function\r
-  47                   BL_GetMetadata.constprop.1:\r
-  48                   .LFB69:\r
- 474:.\Generated_Source\PSoC5/BL.c **** \r
- 475:.\Generated_Source\PSoC5/BL.c **** #elif defined (__ICCARM__)\r
- 476:.\Generated_Source\PSoC5/BL.c **** \r
- 477:.\Generated_Source\PSoC5/BL.c ****     static void BL_LaunchBootloadable(uint32 appAddr)\r
- 478:.\Generated_Source\PSoC5/BL.c ****     {\r
- 479:.\Generated_Source\PSoC5/BL.c ****         __asm volatile("    BX  R0\n");\r
- 480:.\Generated_Source\PSoC5/BL.c ****     }\r
- 481:.\Generated_Source\PSoC5/BL.c **** \r
- 482:.\Generated_Source\PSoC5/BL.c **** #endif  /* (__ARMCC_VERSION) */\r
- 483:.\Generated_Source\PSoC5/BL.c **** \r
- 484:.\Generated_Source\PSoC5/BL.c **** \r
- 485:.\Generated_Source\PSoC5/BL.c **** /*******************************************************************************\r
- 486:.\Generated_Source\PSoC5/BL.c **** * Function Name: BL_ValidateBootloadable\r
- 487:.\Generated_Source\PSoC5/BL.c **** ********************************************************************************\r
- 488:.\Generated_Source\PSoC5/BL.c **** * Summary:\r
- 489:.\Generated_Source\PSoC5/BL.c **** *  This routine computes the checksum, zero check, 0xFF check of the\r
- 490:.\Generated_Source\PSoC5/BL.c **** *  application area to determine whether a valid application is loaded.\r
- 491:.\Generated_Source\PSoC5/BL.c **** *\r
- 492:.\Generated_Source\PSoC5/BL.c **** * Parameters:\r
- 493:.\Generated_Source\PSoC5/BL.c **** *  appId:\r
- 494:.\Generated_Source\PSoC5/BL.c **** *      The application number to verify\r
- 495:.\Generated_Source\PSoC5/BL.c **** *\r
- 496:.\Generated_Source\PSoC5/BL.c **** * Returns:\r
- 497:.\Generated_Source\PSoC5/BL.c **** *  CYRET_SUCCESS  - if successful\r
- 498:.\Generated_Source\PSoC5/BL.c **** *  CYRET_BAD_DATA - if the bootloadable is corrupt\r
- 499:.\Generated_Source\PSoC5/BL.c **** *\r
- 500:.\Generated_Source\PSoC5/BL.c **** *******************************************************************************/\r
- 501:.\Generated_Source\PSoC5/BL.c **** static cystatus BL_ValidateBootloadable(uint8 appId) CYSMALL \\r
- 502:.\Generated_Source\PSoC5/BL.c **** \r
- 503:.\Generated_Source\PSoC5/BL.c ****     {\r
- 504:.\Generated_Source\PSoC5/BL.c ****         uint32 CYDATA idx;\r
- 505:.\Generated_Source\PSoC5/BL.c **** \r
- 506:.\Generated_Source\PSoC5/BL.c ****         uint32 CYDATA end   = BL_FIRST_APP_BYTE(appId) +\r
- 507:.\Generated_Source\PSoC5/BL.c ****                                 BL_GetMetadata(BL_GET_METADATA_BTLDB_LENGTH,\r
- 508:.\Generated_Source\PSoC5/BL.c ****                                                        appId);\r
- 509:.\Generated_Source\PSoC5/BL.c **** \r
- 510:.\Generated_Source\PSoC5/BL.c ****         CYBIT         valid = 0u; /* Assume bad flash image */\r
- 511:.\Generated_Source\PSoC5/BL.c ****         uint8  CYDATA calcedChecksum = 0u;\r
- 512:.\Generated_Source\PSoC5/BL.c **** \r
- 513:.\Generated_Source\PSoC5/BL.c **** \r
- 514:.\Generated_Source\PSoC5/BL.c ****         #if(0u != BL_DUAL_APP_BOOTLOADER)\r
- 515:.\Generated_Source\PSoC5/BL.c **** \r
- 516:.\Generated_Source\PSoC5/BL.c ****             if(appId > 1u)\r
- 517:.\Generated_Source\PSoC5/BL.c ****             {\r
- 518:.\Generated_Source\PSoC5/BL.c ****                 return(CYRET_BAD_DATA);\r
- 519:.\Generated_Source\PSoC5/BL.c ****             }\r
- 520:.\Generated_Source\PSoC5/BL.c **** \r
- 521:.\Generated_Source\PSoC5/BL.c ****         #endif  /* (0u != BL_DUAL_APP_BOOTLOADER) */\r
- 522:.\Generated_Source\PSoC5/BL.c **** \r
-\fARM GAS  C:\Users\MICHA_~1\AppData\Local\Temp\ccjItj5m.s                      page 11\r
-\r
-\r
- 523:.\Generated_Source\PSoC5/BL.c **** \r
- 524:.\Generated_Source\PSoC5/BL.c ****         #if(0u != BL_FAST_APP_VALIDATION)\r
- 525:.\Generated_Source\PSoC5/BL.c **** \r
- 526:.\Generated_Source\PSoC5/BL.c ****             if(BL_MD_BTLDB_VERIFIED_VALUE(appId) == BL_MD_BTLDB_IS_VERIFIED)\r
- 527:.\Generated_Source\PSoC5/BL.c ****             {\r
- 528:.\Generated_Source\PSoC5/BL.c ****                 return(CYRET_SUCCESS);\r
- 529:.\Generated_Source\PSoC5/BL.c ****             }\r
- 530:.\Generated_Source\PSoC5/BL.c **** \r
- 531:.\Generated_Source\PSoC5/BL.c ****         #endif  /* (0u != BL_FAST_APP_VALIDATION) */\r
- 532:.\Generated_Source\PSoC5/BL.c **** \r
- 533:.\Generated_Source\PSoC5/BL.c **** \r
- 534:.\Generated_Source\PSoC5/BL.c ****         /* Calculate checksum of bootloadable image */\r
- 535:.\Generated_Source\PSoC5/BL.c ****         for(idx = BL_FIRST_APP_BYTE(appId); idx < end; ++idx)\r
- 536:.\Generated_Source\PSoC5/BL.c ****         {\r
- 537:.\Generated_Source\PSoC5/BL.c ****             uint8 CYDATA curByte = BL_GET_CODE_BYTE(idx);\r
- 538:.\Generated_Source\PSoC5/BL.c **** \r
- 539:.\Generated_Source\PSoC5/BL.c ****             if((curByte != 0u) && (curByte != 0xFFu))\r
- 540:.\Generated_Source\PSoC5/BL.c ****             {\r
- 541:.\Generated_Source\PSoC5/BL.c ****                 valid = 1u;\r
- 542:.\Generated_Source\PSoC5/BL.c ****             }\r
- 543:.\Generated_Source\PSoC5/BL.c **** \r
- 544:.\Generated_Source\PSoC5/BL.c ****             calcedChecksum += curByte;\r
- 545:.\Generated_Source\PSoC5/BL.c ****         }\r
- 546:.\Generated_Source\PSoC5/BL.c **** \r
- 547:.\Generated_Source\PSoC5/BL.c **** \r
- 548:.\Generated_Source\PSoC5/BL.c ****         /***************************************************************************\r
- 549:.\Generated_Source\PSoC5/BL.c ****         * We do not compute checksum over the meta data section, so no need to\r
- 550:.\Generated_Source\PSoC5/BL.c ****         * subtract off App Verified or App Active information here like we do when\r
- 551:.\Generated_Source\PSoC5/BL.c ****         * verifying a row.\r
- 552:.\Generated_Source\PSoC5/BL.c ****         ***************************************************************************/\r
- 553:.\Generated_Source\PSoC5/BL.c **** \r
- 554:.\Generated_Source\PSoC5/BL.c **** \r
- 555:.\Generated_Source\PSoC5/BL.c ****         #if((!CY_PSOC4) && (CYDEV_ECC_ENABLE == 0u))\r
- 556:.\Generated_Source\PSoC5/BL.c **** \r
- 557:.\Generated_Source\PSoC5/BL.c ****             /* Add ECC data to checksum */\r
- 558:.\Generated_Source\PSoC5/BL.c ****             idx = ((BL_FIRST_APP_BYTE(appId)) >> 3u);\r
- 559:.\Generated_Source\PSoC5/BL.c **** \r
- 560:.\Generated_Source\PSoC5/BL.c ****             /* Flash may run into meta data, ECC does not so use full row */\r
- 561:.\Generated_Source\PSoC5/BL.c ****             end = (end == (CY_FLASH_SIZE - BL_MD_SIZEOF))\r
- 562:.\Generated_Source\PSoC5/BL.c ****                 ? (CY_FLASH_SIZE >> 3u)\r
- 563:.\Generated_Source\PSoC5/BL.c ****                 : (end >> 3u);\r
- 564:.\Generated_Source\PSoC5/BL.c **** \r
- 565:.\Generated_Source\PSoC5/BL.c ****             for (; idx < end; ++idx)\r
- 566:.\Generated_Source\PSoC5/BL.c ****             {\r
- 567:.\Generated_Source\PSoC5/BL.c ****                 calcedChecksum += CY_GET_XTND_REG8((volatile uint8 *)(CYDEV_ECC_BASE + idx));\r
- 568:.\Generated_Source\PSoC5/BL.c ****             }\r
- 569:.\Generated_Source\PSoC5/BL.c **** \r
- 570:.\Generated_Source\PSoC5/BL.c ****         #endif  /* ((!CY_PSOC4) && (CYDEV_ECC_ENABLE == 0u)) */\r
- 571:.\Generated_Source\PSoC5/BL.c **** \r
- 572:.\Generated_Source\PSoC5/BL.c **** \r
- 573:.\Generated_Source\PSoC5/BL.c ****         calcedChecksum = ( uint8 )1u + ( uint8 )(~calcedChecksum);\r
- 574:.\Generated_Source\PSoC5/BL.c **** \r
- 575:.\Generated_Source\PSoC5/BL.c ****         if((calcedChecksum != BL_MD_BTLDB_CHECKSUM_VALUE(appId)) ||\r
- 576:.\Generated_Source\PSoC5/BL.c ****            (0u == valid))\r
- 577:.\Generated_Source\PSoC5/BL.c ****         {\r
- 578:.\Generated_Source\PSoC5/BL.c ****             return(CYRET_BAD_DATA);\r
- 579:.\Generated_Source\PSoC5/BL.c ****         }\r
-\fARM GAS  C:\Users\MICHA_~1\AppData\Local\Temp\ccjItj5m.s                      page 12\r
-\r
-\r
- 580:.\Generated_Source\PSoC5/BL.c **** \r
- 581:.\Generated_Source\PSoC5/BL.c **** \r
- 582:.\Generated_Source\PSoC5/BL.c ****         #if(0u != BL_FAST_APP_VALIDATION)\r
- 583:.\Generated_Source\PSoC5/BL.c ****             BL_SetFlashByte((uint32) BL_MD_BTLDB_VERIFIED_OFFSET(appId),\r
- 584:.\Generated_Source\PSoC5/BL.c ****                                           BL_MD_BTLDB_IS_VERIFIED);\r
- 585:.\Generated_Source\PSoC5/BL.c ****         #endif  /* (0u != BL_FAST_APP_VALIDATION) */\r
- 586:.\Generated_Source\PSoC5/BL.c **** \r
- 587:.\Generated_Source\PSoC5/BL.c **** \r
- 588:.\Generated_Source\PSoC5/BL.c ****         return(CYRET_SUCCESS);\r
- 589:.\Generated_Source\PSoC5/BL.c **** }\r
- 590:.\Generated_Source\PSoC5/BL.c **** \r
- 591:.\Generated_Source\PSoC5/BL.c **** \r
- 592:.\Generated_Source\PSoC5/BL.c **** /*******************************************************************************\r
- 593:.\Generated_Source\PSoC5/BL.c **** * Function Name: BL_HostLink\r
- 594:.\Generated_Source\PSoC5/BL.c **** ********************************************************************************\r
- 595:.\Generated_Source\PSoC5/BL.c **** *\r
- 596:.\Generated_Source\PSoC5/BL.c **** * Summary:\r
- 597:.\Generated_Source\PSoC5/BL.c **** *  Causes the bootloader to attempt to read data being transmitted by the\r
- 598:.\Generated_Source\PSoC5/BL.c **** *  host application.  If data is sent from the host, this establishes the\r
- 599:.\Generated_Source\PSoC5/BL.c **** *  communication interface to process all requests.\r
- 600:.\Generated_Source\PSoC5/BL.c **** *\r
- 601:.\Generated_Source\PSoC5/BL.c **** * Parameters:\r
- 602:.\Generated_Source\PSoC5/BL.c **** *  timeOut:\r
- 603:.\Generated_Source\PSoC5/BL.c **** *   The amount of time to listen for data before giving up. Timeout is\r
- 604:.\Generated_Source\PSoC5/BL.c **** *   measured in 10s of ms.  Use 0 for infinite wait.\r
- 605:.\Generated_Source\PSoC5/BL.c **** *\r
- 606:.\Generated_Source\PSoC5/BL.c **** * Return:\r
- 607:.\Generated_Source\PSoC5/BL.c **** *   None\r
- 608:.\Generated_Source\PSoC5/BL.c **** *\r
- 609:.\Generated_Source\PSoC5/BL.c **** *******************************************************************************/\r
- 610:.\Generated_Source\PSoC5/BL.c **** static void BL_HostLink(uint8 timeOut) \r
- 611:.\Generated_Source\PSoC5/BL.c **** {\r
- 612:.\Generated_Source\PSoC5/BL.c ****     uint16    CYDATA numberRead;\r
- 613:.\Generated_Source\PSoC5/BL.c ****     uint16    CYDATA rspSize;\r
- 614:.\Generated_Source\PSoC5/BL.c ****     uint8     CYDATA ackCode;\r
- 615:.\Generated_Source\PSoC5/BL.c ****     uint16    CYDATA pktChecksum;\r
- 616:.\Generated_Source\PSoC5/BL.c ****     cystatus  CYDATA readStat;\r
- 617:.\Generated_Source\PSoC5/BL.c ****     uint16    CYDATA pktSize    = 0u;\r
- 618:.\Generated_Source\PSoC5/BL.c ****     uint16    CYDATA dataOffset = 0u;\r
- 619:.\Generated_Source\PSoC5/BL.c ****     uint8     CYDATA timeOutCnt = 10u;\r
- 620:.\Generated_Source\PSoC5/BL.c **** \r
- 621:.\Generated_Source\PSoC5/BL.c ****     #if(0u == BL_DUAL_APP_BOOTLOADER)\r
- 622:.\Generated_Source\PSoC5/BL.c ****         uint8 CYDATA clearedMetaData = 0u;\r
- 623:.\Generated_Source\PSoC5/BL.c ****     #endif  /* (0u == BL_DUAL_APP_BOOTLOADER) */\r
- 624:.\Generated_Source\PSoC5/BL.c **** \r
- 625:.\Generated_Source\PSoC5/BL.c ****     CYBIT     communicationState = BL_COMMUNICATION_STATE_IDLE;\r
- 626:.\Generated_Source\PSoC5/BL.c **** \r
- 627:.\Generated_Source\PSoC5/BL.c ****     uint8     packetBuffer[BL_SIZEOF_COMMAND_BUFFER];\r
- 628:.\Generated_Source\PSoC5/BL.c ****     uint8     dataBuffer  [BL_SIZEOF_COMMAND_BUFFER];\r
- 629:.\Generated_Source\PSoC5/BL.c **** \r
- 630:.\Generated_Source\PSoC5/BL.c **** \r
- 631:.\Generated_Source\PSoC5/BL.c ****     /* Initialize communications channel. */\r
- 632:.\Generated_Source\PSoC5/BL.c ****     CyBtldrCommStart();\r
- 633:.\Generated_Source\PSoC5/BL.c **** \r
- 634:.\Generated_Source\PSoC5/BL.c ****     /* Enable global interrupts */\r
- 635:.\Generated_Source\PSoC5/BL.c ****     CyGlobalIntEnable;\r
- 636:.\Generated_Source\PSoC5/BL.c **** \r
-\fARM GAS  C:\Users\MICHA_~1\AppData\Local\Temp\ccjItj5m.s                      page 13\r
-\r
-\r
- 637:.\Generated_Source\PSoC5/BL.c ****     do\r
- 638:.\Generated_Source\PSoC5/BL.c ****     {\r
- 639:.\Generated_Source\PSoC5/BL.c ****         ackCode = CYRET_SUCCESS;\r
- 640:.\Generated_Source\PSoC5/BL.c **** \r
- 641:.\Generated_Source\PSoC5/BL.c ****         do\r
- 642:.\Generated_Source\PSoC5/BL.c ****         {\r
- 643:.\Generated_Source\PSoC5/BL.c ****             readStat = CyBtldrCommRead(packetBuffer,\r
- 644:.\Generated_Source\PSoC5/BL.c ****                                         BL_SIZEOF_COMMAND_BUFFER,\r
- 645:.\Generated_Source\PSoC5/BL.c ****                                         &numberRead,\r
- 646:.\Generated_Source\PSoC5/BL.c ****                                         (0u == timeOut) ? 0xFFu : timeOut);\r
- 647:.\Generated_Source\PSoC5/BL.c ****             if (0u != timeOut)\r
- 648:.\Generated_Source\PSoC5/BL.c ****             {\r
- 649:.\Generated_Source\PSoC5/BL.c ****                 timeOutCnt--;\r
- 650:.\Generated_Source\PSoC5/BL.c ****             }\r
- 651:.\Generated_Source\PSoC5/BL.c **** \r
- 652:.\Generated_Source\PSoC5/BL.c ****         } while ( (0u != timeOutCnt) && (readStat != CYRET_SUCCESS) );\r
- 653:.\Generated_Source\PSoC5/BL.c **** \r
- 654:.\Generated_Source\PSoC5/BL.c **** \r
- 655:.\Generated_Source\PSoC5/BL.c ****         if( readStat != CYRET_SUCCESS )\r
- 656:.\Generated_Source\PSoC5/BL.c ****         {\r
- 657:.\Generated_Source\PSoC5/BL.c ****             continue;\r
- 658:.\Generated_Source\PSoC5/BL.c ****         }\r
- 659:.\Generated_Source\PSoC5/BL.c **** \r
- 660:.\Generated_Source\PSoC5/BL.c ****         if((numberRead < BL_MIN_PKT_SIZE) ||\r
- 661:.\Generated_Source\PSoC5/BL.c ****            (packetBuffer[BL_SOP_ADDR] != BL_SOP))\r
- 662:.\Generated_Source\PSoC5/BL.c ****         {\r
- 663:.\Generated_Source\PSoC5/BL.c ****             ackCode = BL_ERR_DATA;\r
- 664:.\Generated_Source\PSoC5/BL.c ****         }\r
- 665:.\Generated_Source\PSoC5/BL.c ****         else\r
- 666:.\Generated_Source\PSoC5/BL.c ****         {\r
- 667:.\Generated_Source\PSoC5/BL.c ****             pktSize = ((uint16)((uint16)packetBuffer[BL_SIZE_ADDR + 1u] << 8u)) |\r
- 668:.\Generated_Source\PSoC5/BL.c ****                                packetBuffer[BL_SIZE_ADDR];\r
- 669:.\Generated_Source\PSoC5/BL.c **** \r
- 670:.\Generated_Source\PSoC5/BL.c ****             pktChecksum = ((uint16)((uint16)packetBuffer[BL_CHK_ADDR(pktSize) + 1u] << 8u)) |\r
- 671:.\Generated_Source\PSoC5/BL.c ****                                    packetBuffer[BL_CHK_ADDR(pktSize)];\r
- 672:.\Generated_Source\PSoC5/BL.c **** \r
- 673:.\Generated_Source\PSoC5/BL.c ****             if((pktSize + BL_MIN_PKT_SIZE) > numberRead)\r
- 674:.\Generated_Source\PSoC5/BL.c ****             {\r
- 675:.\Generated_Source\PSoC5/BL.c ****                 ackCode = BL_ERR_LENGTH;\r
- 676:.\Generated_Source\PSoC5/BL.c ****             }\r
- 677:.\Generated_Source\PSoC5/BL.c ****             else if(packetBuffer[BL_EOP_ADDR(pktSize)] != BL_EOP)\r
- 678:.\Generated_Source\PSoC5/BL.c ****             {\r
- 679:.\Generated_Source\PSoC5/BL.c ****                 ackCode = BL_ERR_DATA;\r
- 680:.\Generated_Source\PSoC5/BL.c ****             }\r
- 681:.\Generated_Source\PSoC5/BL.c ****             else if(pktChecksum != BL_CalcPacketChecksum(packetBuffer,\r
- 682:.\Generated_Source\PSoC5/BL.c ****                                                                         pktSize + BL_DATA_ADDR))\r
- 683:.\Generated_Source\PSoC5/BL.c ****             {\r
- 684:.\Generated_Source\PSoC5/BL.c ****                 ackCode = BL_ERR_CHECKSUM;\r
- 685:.\Generated_Source\PSoC5/BL.c ****             }\r
- 686:.\Generated_Source\PSoC5/BL.c ****             else\r
- 687:.\Generated_Source\PSoC5/BL.c ****             {\r
- 688:.\Generated_Source\PSoC5/BL.c ****                 /* Empty section */\r
- 689:.\Generated_Source\PSoC5/BL.c ****             }\r
- 690:.\Generated_Source\PSoC5/BL.c ****         }\r
- 691:.\Generated_Source\PSoC5/BL.c **** \r
- 692:.\Generated_Source\PSoC5/BL.c ****         rspSize = 0u;\r
- 693:.\Generated_Source\PSoC5/BL.c ****         if(ackCode == CYRET_SUCCESS)\r
-\fARM GAS  C:\Users\MICHA_~1\AppData\Local\Temp\ccjItj5m.s                      page 14\r
-\r
-\r
- 694:.\Generated_Source\PSoC5/BL.c ****         {\r
- 695:.\Generated_Source\PSoC5/BL.c ****             uint8 CYDATA btldrData = packetBuffer[BL_DATA_ADDR];\r
- 696:.\Generated_Source\PSoC5/BL.c **** \r
- 697:.\Generated_Source\PSoC5/BL.c ****             ackCode = BL_ERR_DATA;\r
- 698:.\Generated_Source\PSoC5/BL.c ****             switch(packetBuffer[BL_CMD_ADDR])\r
- 699:.\Generated_Source\PSoC5/BL.c ****             {\r
- 700:.\Generated_Source\PSoC5/BL.c **** \r
- 701:.\Generated_Source\PSoC5/BL.c **** \r
- 702:.\Generated_Source\PSoC5/BL.c ****             /***************************************************************************\r
- 703:.\Generated_Source\PSoC5/BL.c ****             *   Get metadata\r
- 704:.\Generated_Source\PSoC5/BL.c ****             ***************************************************************************/\r
- 705:.\Generated_Source\PSoC5/BL.c ****             #if(0u != BL_CMD_GET_METADATA)\r
- 706:.\Generated_Source\PSoC5/BL.c **** \r
- 707:.\Generated_Source\PSoC5/BL.c ****                 case BL_COMMAND_GET_METADATA:\r
- 708:.\Generated_Source\PSoC5/BL.c **** \r
- 709:.\Generated_Source\PSoC5/BL.c ****                     if((BL_COMMUNICATION_STATE_ACTIVE == communicationState) && (pktSize == 1u))\r
- 710:.\Generated_Source\PSoC5/BL.c ****                     {\r
- 711:.\Generated_Source\PSoC5/BL.c ****                         if (btldrData >= BL_MAX_NUM_OF_BTLDB)\r
- 712:.\Generated_Source\PSoC5/BL.c ****                         {\r
- 713:.\Generated_Source\PSoC5/BL.c ****                             ackCode = BL_ERR_APP;\r
- 714:.\Generated_Source\PSoC5/BL.c ****                         }\r
- 715:.\Generated_Source\PSoC5/BL.c ****                         else if(CYRET_SUCCESS == BL_ValidateBootloadable(btldrData))\r
- 716:.\Generated_Source\PSoC5/BL.c ****                         {\r
- 717:.\Generated_Source\PSoC5/BL.c ****                             #if(CY_PSOC3)\r
- 718:.\Generated_Source\PSoC5/BL.c ****                                 (void) memcpy(&packetBuffer[BL_DATA_ADDR],\r
- 719:.\Generated_Source\PSoC5/BL.c ****                                             ((uint8  CYCODE *) (BL_META_BASE(btldrData))), 56);\r
- 720:.\Generated_Source\PSoC5/BL.c ****                             #else\r
- 721:.\Generated_Source\PSoC5/BL.c ****                                 (void) memcpy(&packetBuffer[BL_DATA_ADDR],\r
- 722:.\Generated_Source\PSoC5/BL.c ****                                             (uint8 *) BL_META_BASE(btldrData), 56u);\r
- 723:.\Generated_Source\PSoC5/BL.c ****                             #endif  /* (CY_PSOC3) */\r
- 724:.\Generated_Source\PSoC5/BL.c **** \r
- 725:.\Generated_Source\PSoC5/BL.c ****                             rspSize = 56u;\r
- 726:.\Generated_Source\PSoC5/BL.c ****                             ackCode = CYRET_SUCCESS;\r
- 727:.\Generated_Source\PSoC5/BL.c ****                         }\r
- 728:.\Generated_Source\PSoC5/BL.c ****                         else\r
- 729:.\Generated_Source\PSoC5/BL.c ****                         {\r
- 730:.\Generated_Source\PSoC5/BL.c ****                             ackCode = BL_ERR_APP;\r
- 731:.\Generated_Source\PSoC5/BL.c ****                         }\r
- 732:.\Generated_Source\PSoC5/BL.c ****                     }\r
- 733:.\Generated_Source\PSoC5/BL.c ****                     break;\r
- 734:.\Generated_Source\PSoC5/BL.c **** \r
- 735:.\Generated_Source\PSoC5/BL.c ****             #endif  /* (0u != BL_CMD_GET_METADATA) */\r
- 736:.\Generated_Source\PSoC5/BL.c **** \r
- 737:.\Generated_Source\PSoC5/BL.c **** \r
- 738:.\Generated_Source\PSoC5/BL.c ****             /***************************************************************************\r
- 739:.\Generated_Source\PSoC5/BL.c ****             *   Verify checksum\r
- 740:.\Generated_Source\PSoC5/BL.c ****             ***************************************************************************/\r
- 741:.\Generated_Source\PSoC5/BL.c ****             case BL_COMMAND_CHECKSUM:\r
- 742:.\Generated_Source\PSoC5/BL.c **** \r
- 743:.\Generated_Source\PSoC5/BL.c ****                 if((BL_COMMUNICATION_STATE_ACTIVE == communicationState) && (pktSize == 0u))\r
- 744:.\Generated_Source\PSoC5/BL.c ****                 {\r
- 745:.\Generated_Source\PSoC5/BL.c ****                     packetBuffer[BL_DATA_ADDR] =\r
- 746:.\Generated_Source\PSoC5/BL.c ****                             (uint8)(BL_ValidateBootloadable(BL_activeApp) == CYRET_SUCCESS);\r
- 747:.\Generated_Source\PSoC5/BL.c **** \r
- 748:.\Generated_Source\PSoC5/BL.c ****                     rspSize = 1u;\r
- 749:.\Generated_Source\PSoC5/BL.c ****                     ackCode = CYRET_SUCCESS;\r
- 750:.\Generated_Source\PSoC5/BL.c ****                 }\r
-\fARM GAS  C:\Users\MICHA_~1\AppData\Local\Temp\ccjItj5m.s                      page 15\r
-\r
-\r
- 751:.\Generated_Source\PSoC5/BL.c ****                 break;\r
- 752:.\Generated_Source\PSoC5/BL.c **** \r
- 753:.\Generated_Source\PSoC5/BL.c **** \r
- 754:.\Generated_Source\PSoC5/BL.c ****             /***************************************************************************\r
- 755:.\Generated_Source\PSoC5/BL.c ****             *   Get flash size\r
- 756:.\Generated_Source\PSoC5/BL.c ****             ***************************************************************************/\r
- 757:.\Generated_Source\PSoC5/BL.c ****             #if(0u != BL_CMD_GET_FLASH_SIZE_AVAIL)\r
- 758:.\Generated_Source\PSoC5/BL.c **** \r
- 759:.\Generated_Source\PSoC5/BL.c ****                 case BL_COMMAND_REPORT_SIZE:\r
- 760:.\Generated_Source\PSoC5/BL.c **** \r
- 761:.\Generated_Source\PSoC5/BL.c ****                     if((BL_COMMUNICATION_STATE_ACTIVE == communicationState) && (pktSize == 1u))\r
- 762:.\Generated_Source\PSoC5/BL.c ****                     {\r
- 763:.\Generated_Source\PSoC5/BL.c ****                         /* btldrData holds flash array ID sent by host */\r
- 764:.\Generated_Source\PSoC5/BL.c ****                         if(btldrData < BL_NUM_OF_FLASH_ARRAYS)\r
- 765:.\Generated_Source\PSoC5/BL.c ****                         {\r
- 766:.\Generated_Source\PSoC5/BL.c ****                             #if (1u == BL_NUM_OF_FLASH_ARRAYS)\r
- 767:.\Generated_Source\PSoC5/BL.c ****                                 uint16 CYDATA startRow = (uint16)*BL_SizeBytesAccess / CYDEV_FLS_RO\r
- 768:.\Generated_Source\PSoC5/BL.c ****                             #else\r
- 769:.\Generated_Source\PSoC5/BL.c ****                                 uint16 CYDATA startRow = 0u;\r
- 770:.\Generated_Source\PSoC5/BL.c ****                             #endif  /* (1u == BL_NUM_OF_FLASH_ARRAYS) */\r
- 771:.\Generated_Source\PSoC5/BL.c **** \r
- 772:.\Generated_Source\PSoC5/BL.c ****                             packetBuffer[BL_DATA_ADDR]      = LO8(startRow);\r
- 773:.\Generated_Source\PSoC5/BL.c ****                             packetBuffer[BL_DATA_ADDR + 1u] = HI8(startRow);\r
- 774:.\Generated_Source\PSoC5/BL.c ****                             packetBuffer[BL_DATA_ADDR + 2u] = LO8(CY_FLASH_NUMBER_ROWS - 1u);\r
- 775:.\Generated_Source\PSoC5/BL.c ****                             packetBuffer[BL_DATA_ADDR + 3u] = HI8(CY_FLASH_NUMBER_ROWS - 1u);\r
- 776:.\Generated_Source\PSoC5/BL.c **** \r
- 777:.\Generated_Source\PSoC5/BL.c ****                             rspSize = 4u;\r
- 778:.\Generated_Source\PSoC5/BL.c ****                             ackCode = CYRET_SUCCESS;\r
- 779:.\Generated_Source\PSoC5/BL.c ****                         }\r
- 780:.\Generated_Source\PSoC5/BL.c **** \r
- 781:.\Generated_Source\PSoC5/BL.c ****                     }\r
- 782:.\Generated_Source\PSoC5/BL.c ****                     break;\r
- 783:.\Generated_Source\PSoC5/BL.c **** \r
- 784:.\Generated_Source\PSoC5/BL.c ****             #endif  /* (0u != BL_CMD_GET_FLASH_SIZE_AVAIL) */\r
- 785:.\Generated_Source\PSoC5/BL.c **** \r
- 786:.\Generated_Source\PSoC5/BL.c **** \r
- 787:.\Generated_Source\PSoC5/BL.c ****             /***************************************************************************\r
- 788:.\Generated_Source\PSoC5/BL.c ****             *   Get application status\r
- 789:.\Generated_Source\PSoC5/BL.c ****             ***************************************************************************/\r
- 790:.\Generated_Source\PSoC5/BL.c ****             #if(0u != BL_DUAL_APP_BOOTLOADER)\r
- 791:.\Generated_Source\PSoC5/BL.c **** \r
- 792:.\Generated_Source\PSoC5/BL.c ****                 #if(0u != BL_CMD_GET_APP_STATUS_AVAIL)\r
- 793:.\Generated_Source\PSoC5/BL.c **** \r
- 794:.\Generated_Source\PSoC5/BL.c ****                     case BL_COMMAND_APP_STATUS:\r
- 795:.\Generated_Source\PSoC5/BL.c **** \r
- 796:.\Generated_Source\PSoC5/BL.c ****                         if((BL_COMMUNICATION_STATE_ACTIVE == communicationState) && (pktSize == 1u)\r
- 797:.\Generated_Source\PSoC5/BL.c ****                         {\r
- 798:.\Generated_Source\PSoC5/BL.c **** \r
- 799:.\Generated_Source\PSoC5/BL.c ****                             packetBuffer[BL_DATA_ADDR] =\r
- 800:.\Generated_Source\PSoC5/BL.c ****                                 (uint8)BL_ValidateBootloadable(btldrData);\r
- 801:.\Generated_Source\PSoC5/BL.c **** \r
- 802:.\Generated_Source\PSoC5/BL.c ****                             packetBuffer[BL_DATA_ADDR + 1u] =\r
- 803:.\Generated_Source\PSoC5/BL.c ****                                 (uint8)BL_MD_BTLDB_ACTIVE_VALUE(btldrData);\r
- 804:.\Generated_Source\PSoC5/BL.c **** \r
- 805:.\Generated_Source\PSoC5/BL.c ****                             rspSize = 2u;\r
- 806:.\Generated_Source\PSoC5/BL.c ****                             ackCode = CYRET_SUCCESS;\r
- 807:.\Generated_Source\PSoC5/BL.c ****                         }\r
-\fARM GAS  C:\Users\MICHA_~1\AppData\Local\Temp\ccjItj5m.s                      page 16\r
-\r
-\r
- 808:.\Generated_Source\PSoC5/BL.c ****                         break;\r
- 809:.\Generated_Source\PSoC5/BL.c **** \r
- 810:.\Generated_Source\PSoC5/BL.c ****                 #endif  /* (0u != BL_CMD_GET_APP_STATUS_AVAIL) */\r
- 811:.\Generated_Source\PSoC5/BL.c **** \r
- 812:.\Generated_Source\PSoC5/BL.c ****             #endif  /* (0u != BL_DUAL_APP_BOOTLOADER) */\r
- 813:.\Generated_Source\PSoC5/BL.c **** \r
- 814:.\Generated_Source\PSoC5/BL.c **** \r
- 815:.\Generated_Source\PSoC5/BL.c ****             /***************************************************************************\r
- 816:.\Generated_Source\PSoC5/BL.c ****             *   Program / Erase row\r
- 817:.\Generated_Source\PSoC5/BL.c ****             ***************************************************************************/\r
- 818:.\Generated_Source\PSoC5/BL.c ****             case BL_COMMAND_PROGRAM:\r
- 819:.\Generated_Source\PSoC5/BL.c **** \r
- 820:.\Generated_Source\PSoC5/BL.c ****             /* The btldrData variable holds Flash Array ID */\r
- 821:.\Generated_Source\PSoC5/BL.c **** \r
- 822:.\Generated_Source\PSoC5/BL.c ****         #if (0u != BL_CMD_ERASE_ROW_AVAIL)\r
- 823:.\Generated_Source\PSoC5/BL.c **** \r
- 824:.\Generated_Source\PSoC5/BL.c ****             case BL_COMMAND_ERASE:\r
- 825:.\Generated_Source\PSoC5/BL.c ****                 if (BL_COMMAND_ERASE == packetBuffer[BL_CMD_ADDR])\r
- 826:.\Generated_Source\PSoC5/BL.c ****                 {\r
- 827:.\Generated_Source\PSoC5/BL.c ****                     if ((BL_COMMUNICATION_STATE_ACTIVE == communicationState) && (pktSize == 3u))\r
- 828:.\Generated_Source\PSoC5/BL.c ****                     {\r
- 829:.\Generated_Source\PSoC5/BL.c ****                         #if(!CY_PSOC4)\r
- 830:.\Generated_Source\PSoC5/BL.c ****                             if((btldrData >= BL_FIRST_EE_ARRAYID) &&\r
- 831:.\Generated_Source\PSoC5/BL.c ****                                (btldrData <= BL_LAST_EE_ARRAYID))\r
- 832:.\Generated_Source\PSoC5/BL.c ****                             {\r
- 833:.\Generated_Source\PSoC5/BL.c ****                                 /* Size of EEPROM row */\r
- 834:.\Generated_Source\PSoC5/BL.c ****                                 dataOffset = CY_EEPROM_SIZEOF_ROW;\r
- 835:.\Generated_Source\PSoC5/BL.c ****                             }\r
- 836:.\Generated_Source\PSoC5/BL.c ****                             else\r
- 837:.\Generated_Source\PSoC5/BL.c ****                             {\r
- 838:.\Generated_Source\PSoC5/BL.c ****                                 /* Size of FLASH row (depends on ECC configuration) */\r
- 839:.\Generated_Source\PSoC5/BL.c ****                                 dataOffset = BL_FROW_SIZE;\r
- 840:.\Generated_Source\PSoC5/BL.c ****                             }\r
- 841:.\Generated_Source\PSoC5/BL.c ****                         #else\r
- 842:.\Generated_Source\PSoC5/BL.c ****                             /* Size of FLASH row (no ECC available) */\r
- 843:.\Generated_Source\PSoC5/BL.c ****                             dataOffset = BL_FROW_SIZE;\r
- 844:.\Generated_Source\PSoC5/BL.c ****                         #endif  /* (!CY_PSOC4) */\r
- 845:.\Generated_Source\PSoC5/BL.c **** \r
- 846:.\Generated_Source\PSoC5/BL.c ****                         #if(CY_PSOC3)\r
- 847:.\Generated_Source\PSoC5/BL.c ****                             (void) memset(dataBuffer, (char8) 0, (int16) dataOffset);\r
- 848:.\Generated_Source\PSoC5/BL.c ****                         #else\r
- 849:.\Generated_Source\PSoC5/BL.c ****                             (void) memset(dataBuffer, 0, dataOffset);\r
- 850:.\Generated_Source\PSoC5/BL.c ****                         #endif  /* (CY_PSOC3) */\r
- 851:.\Generated_Source\PSoC5/BL.c ****                     }\r
- 852:.\Generated_Source\PSoC5/BL.c ****                     else\r
- 853:.\Generated_Source\PSoC5/BL.c ****                     {\r
- 854:.\Generated_Source\PSoC5/BL.c ****                         break;\r
- 855:.\Generated_Source\PSoC5/BL.c ****                     }\r
- 856:.\Generated_Source\PSoC5/BL.c ****                 }\r
- 857:.\Generated_Source\PSoC5/BL.c **** \r
- 858:.\Generated_Source\PSoC5/BL.c ****         #endif  /* (0u != BL_CMD_ERASE_ROW_AVAIL) */\r
- 859:.\Generated_Source\PSoC5/BL.c **** \r
- 860:.\Generated_Source\PSoC5/BL.c **** \r
- 861:.\Generated_Source\PSoC5/BL.c ****                 if((BL_COMMUNICATION_STATE_ACTIVE == communicationState) && (pktSize >= 3u))\r
- 862:.\Generated_Source\PSoC5/BL.c ****                 {\r
- 863:.\Generated_Source\PSoC5/BL.c **** \r
- 864:.\Generated_Source\PSoC5/BL.c ****                     /* The command may be sent along with the last block of data, to program the ro\r
-\fARM GAS  C:\Users\MICHA_~1\AppData\Local\Temp\ccjItj5m.s                      page 17\r
-\r
-\r
- 865:.\Generated_Source\PSoC5/BL.c ****                     #if(CY_PSOC3)\r
- 866:.\Generated_Source\PSoC5/BL.c ****                         (void) memcpy(&dataBuffer[dataOffset],\r
- 867:.\Generated_Source\PSoC5/BL.c ****                                       &packetBuffer[BL_DATA_ADDR + 3u],\r
- 868:.\Generated_Source\PSoC5/BL.c ****                                       ( int16 )pktSize - 3);\r
- 869:.\Generated_Source\PSoC5/BL.c ****                     #else\r
- 870:.\Generated_Source\PSoC5/BL.c ****                         (void) memcpy(&dataBuffer[dataOffset],\r
- 871:.\Generated_Source\PSoC5/BL.c ****                                       &packetBuffer[BL_DATA_ADDR + 3u],\r
- 872:.\Generated_Source\PSoC5/BL.c ****                                       pktSize - 3u);\r
- 873:.\Generated_Source\PSoC5/BL.c ****                     #endif  /* (CY_PSOC3) */\r
- 874:.\Generated_Source\PSoC5/BL.c **** \r
- 875:.\Generated_Source\PSoC5/BL.c ****                     dataOffset += (pktSize - 3u);\r
- 876:.\Generated_Source\PSoC5/BL.c **** \r
- 877:.\Generated_Source\PSoC5/BL.c ****                     #if(!CY_PSOC4)\r
- 878:.\Generated_Source\PSoC5/BL.c ****                         if((btldrData >= BL_FIRST_EE_ARRAYID) &&\r
- 879:.\Generated_Source\PSoC5/BL.c ****                            (btldrData <= BL_LAST_EE_ARRAYID))\r
- 880:.\Generated_Source\PSoC5/BL.c ****                         {\r
- 881:.\Generated_Source\PSoC5/BL.c **** \r
- 882:.\Generated_Source\PSoC5/BL.c ****                             CyEEPROM_Start();\r
- 883:.\Generated_Source\PSoC5/BL.c **** \r
- 884:.\Generated_Source\PSoC5/BL.c ****                             /* Size of EEPROM row */\r
- 885:.\Generated_Source\PSoC5/BL.c ****                             pktSize = CY_EEPROM_SIZEOF_ROW;\r
- 886:.\Generated_Source\PSoC5/BL.c ****                         }\r
- 887:.\Generated_Source\PSoC5/BL.c ****                         else\r
- 888:.\Generated_Source\PSoC5/BL.c ****                         {\r
- 889:.\Generated_Source\PSoC5/BL.c ****                             /* Size of FLASH row (depends on ECC configuration) */\r
- 890:.\Generated_Source\PSoC5/BL.c ****                             pktSize = BL_FROW_SIZE;\r
- 891:.\Generated_Source\PSoC5/BL.c ****                         }\r
- 892:.\Generated_Source\PSoC5/BL.c ****                     #else\r
- 893:.\Generated_Source\PSoC5/BL.c ****                         /* Size of FLASH row (no ECC available) */\r
- 894:.\Generated_Source\PSoC5/BL.c ****                         pktSize = BL_FROW_SIZE;\r
- 895:.\Generated_Source\PSoC5/BL.c ****                     #endif  /* (!CY_PSOC4) */\r
- 896:.\Generated_Source\PSoC5/BL.c **** \r
- 897:.\Generated_Source\PSoC5/BL.c **** \r
- 898:.\Generated_Source\PSoC5/BL.c ****                     /* Check if we have all data to program */\r
- 899:.\Generated_Source\PSoC5/BL.c ****                     if(dataOffset == pktSize)\r
- 900:.\Generated_Source\PSoC5/BL.c ****                     {\r
- 901:.\Generated_Source\PSoC5/BL.c ****                         /* Get FLASH/EEPROM row number */\r
- 902:.\Generated_Source\PSoC5/BL.c ****                         dataOffset = ((uint16)((uint16)packetBuffer[BL_DATA_ADDR + 2u] << 8u)) |\r
- 903:.\Generated_Source\PSoC5/BL.c ****                                               packetBuffer[BL_DATA_ADDR + 1u];\r
- 904:.\Generated_Source\PSoC5/BL.c **** \r
- 905:.\Generated_Source\PSoC5/BL.c ****                         #if(!CY_PSOC4)\r
- 906:.\Generated_Source\PSoC5/BL.c ****                             if(btldrData <= BL_LAST_FLASH_ARRAYID)\r
- 907:.\Generated_Source\PSoC5/BL.c ****                             {\r
- 908:.\Generated_Source\PSoC5/BL.c ****                         #endif  /* (!CY_PSOC4) */\r
- 909:.\Generated_Source\PSoC5/BL.c **** \r
- 910:.\Generated_Source\PSoC5/BL.c ****                         #if(0u == BL_DUAL_APP_BOOTLOADER)\r
- 911:.\Generated_Source\PSoC5/BL.c **** \r
- 912:.\Generated_Source\PSoC5/BL.c ****                             if(0u == clearedMetaData)\r
- 913:.\Generated_Source\PSoC5/BL.c ****                             {\r
- 914:.\Generated_Source\PSoC5/BL.c ****                                 /* Metadata section must be filled with zeroes */\r
- 915:.\Generated_Source\PSoC5/BL.c **** \r
- 916:.\Generated_Source\PSoC5/BL.c ****                                 uint8 erase[BL_FROW_SIZE];\r
- 917:.\Generated_Source\PSoC5/BL.c **** \r
- 918:.\Generated_Source\PSoC5/BL.c ****                                 #if(CY_PSOC3)\r
- 919:.\Generated_Source\PSoC5/BL.c ****                                     (void) memset(erase, (char8) 0, (int16) BL_FROW_SIZE);\r
- 920:.\Generated_Source\PSoC5/BL.c ****                                 #else\r
- 921:.\Generated_Source\PSoC5/BL.c ****                                     (void) memset(erase, 0, BL_FROW_SIZE);\r
-\fARM GAS  C:\Users\MICHA_~1\AppData\Local\Temp\ccjItj5m.s                      page 18\r
-\r
-\r
- 922:.\Generated_Source\PSoC5/BL.c ****                                 #endif  /* (CY_PSOC3) */\r
- 923:.\Generated_Source\PSoC5/BL.c **** \r
- 924:.\Generated_Source\PSoC5/BL.c ****                                 #if(CY_PSOC4)\r
- 925:.\Generated_Source\PSoC5/BL.c ****                                     (void) CySysFlashWriteRow(BL_MD_ROW, erase);\r
- 926:.\Generated_Source\PSoC5/BL.c ****                                 #else\r
- 927:.\Generated_Source\PSoC5/BL.c ****                                     (void) CyWriteRowFull((uint8)  BL_MD_FLASH_ARRAY_NUM,\r
- 928:.\Generated_Source\PSoC5/BL.c ****                                                           (uint16) BL_MD_ROW,\r
- 929:.\Generated_Source\PSoC5/BL.c ****                                                                     erase,\r
- 930:.\Generated_Source\PSoC5/BL.c ****                                                                     BL_FROW_SIZE);\r
- 931:.\Generated_Source\PSoC5/BL.c ****                                 #endif  /* (CY_PSOC4) */\r
- 932:.\Generated_Source\PSoC5/BL.c **** \r
- 933:.\Generated_Source\PSoC5/BL.c ****                                 /* Set up flag that metadata was cleared */\r
- 934:.\Generated_Source\PSoC5/BL.c ****                                 clearedMetaData = 1u;\r
- 935:.\Generated_Source\PSoC5/BL.c ****                             }\r
- 936:.\Generated_Source\PSoC5/BL.c **** \r
- 937:.\Generated_Source\PSoC5/BL.c ****                         #else\r
- 938:.\Generated_Source\PSoC5/BL.c **** \r
- 939:.\Generated_Source\PSoC5/BL.c ****                             if(BL_activeApp < BL_MD_BTLDB_ACTIVE_NONE)\r
- 940:.\Generated_Source\PSoC5/BL.c ****                             {\r
- 941:.\Generated_Source\PSoC5/BL.c ****                                 /* First active bootloadable application row */\r
- 942:.\Generated_Source\PSoC5/BL.c ****                                 uint16 firstRow = (uint16) 1u +\r
- 943:.\Generated_Source\PSoC5/BL.c ****                                     (uint16) BL_GetMetadata(BL_GET_METADATA_BTLDR_LAST_ROW,\r
- 944:.\Generated_Source\PSoC5/BL.c ****                                                                           BL_activeApp);\r
- 945:.\Generated_Source\PSoC5/BL.c **** \r
- 946:.\Generated_Source\PSoC5/BL.c ****                                 #if(CY_PSOC4)\r
- 947:.\Generated_Source\PSoC5/BL.c ****                                     uint16 row = dataOffset;\r
- 948:.\Generated_Source\PSoC5/BL.c ****                                 #else\r
- 949:.\Generated_Source\PSoC5/BL.c ****                                     uint16 row = (uint16)(btldrData * (CYDEV_FLS_SECTOR_SIZE / CYDE\r
- 950:.\Generated_Source\PSoC5/BL.c ****                                                   dataOffset;\r
- 951:.\Generated_Source\PSoC5/BL.c ****                                 #endif  /* (CY_PSOC4) */\r
- 952:.\Generated_Source\PSoC5/BL.c **** \r
- 953:.\Generated_Source\PSoC5/BL.c **** \r
- 954:.\Generated_Source\PSoC5/BL.c ****                                 /******************************************************************\r
- 955:.\Generated_Source\PSoC5/BL.c ****                                 * Last row is equal to the first row plus the number of rows availa\r
- 956:.\Generated_Source\PSoC5/BL.c ****                                 * app. To compute this, we first subtract the number of appliaction\r
- 957:.\Generated_Source\PSoC5/BL.c ****                                 * the total flash rows: (CY_FLASH_NUMBER_ROWS - 2u).\r
- 958:.\Generated_Source\PSoC5/BL.c ****                                 *\r
- 959:.\Generated_Source\PSoC5/BL.c ****                                 * Then subtract off the first row:\r
- 960:.\Generated_Source\PSoC5/BL.c ****                                 * App Rows = (CY_FLASH_NUMBER_ROWS - 2u - firstRow)\r
- 961:.\Generated_Source\PSoC5/BL.c ****                                 * Then divide that number by the number of application that must fi\r
- 962:.\Generated_Source\PSoC5/BL.c ****                                 * space, if we are app1 then that number is 2, if app2 then 1.  Our\r
- 963:.\Generated_Source\PSoC5/BL.c ****                                 * then: (2u - BL_activeApp).\r
- 964:.\Generated_Source\PSoC5/BL.c ****                                 *\r
- 965:.\Generated_Source\PSoC5/BL.c ****                                 * Adding this number to firstRow gives the address right beyond our\r
- 966:.\Generated_Source\PSoC5/BL.c ****                                 * so we subtract 1.\r
- 967:.\Generated_Source\PSoC5/BL.c ****                                 *******************************************************************\r
- 968:.\Generated_Source\PSoC5/BL.c ****                                 uint16 lastRow = (firstRow - 1u) +\r
- 969:.\Generated_Source\PSoC5/BL.c ****                                                   ((uint16)((CYDEV_FLASH_SIZE / CYDEV_FLS_ROW_SIZE)\r
- 970:.\Generated_Source\PSoC5/BL.c ****                                                   ((uint16)2u - (uint16)BL_activeApp));\r
- 971:.\Generated_Source\PSoC5/BL.c **** \r
- 972:.\Generated_Source\PSoC5/BL.c **** \r
- 973:.\Generated_Source\PSoC5/BL.c ****                                 /******************************************************************\r
- 974:.\Generated_Source\PSoC5/BL.c ****                                 * Check to see if the row to program is within the range of the act\r
- 975:.\Generated_Source\PSoC5/BL.c ****                                 * application, or if it maches the active application's metadata ro\r
- 976:.\Generated_Source\PSoC5/BL.c ****                                 * refuse to program as it would corrupt the active app.\r
- 977:.\Generated_Source\PSoC5/BL.c ****                                 *******************************************************************\r
- 978:.\Generated_Source\PSoC5/BL.c ****                                 if(((row >= firstRow) && (row <= lastRow)) ||\r
-\fARM GAS  C:\Users\MICHA_~1\AppData\Local\Temp\ccjItj5m.s                      page 19\r
-\r
-\r
- 979:.\Generated_Source\PSoC5/BL.c ****                                    ((btldrData == BL_MD_FLASH_ARRAY_NUM) &&\r
- 980:.\Generated_Source\PSoC5/BL.c ****                                    (dataOffset == BL_MD_ROW_NUM(BL_activeApp))))\r
- 981:.\Generated_Source\PSoC5/BL.c ****                                 {\r
- 982:.\Generated_Source\PSoC5/BL.c ****                                     ackCode = BL_ERR_ACTIVE;\r
- 983:.\Generated_Source\PSoC5/BL.c ****                                     dataOffset = 0u;\r
- 984:.\Generated_Source\PSoC5/BL.c ****                                     break;\r
- 985:.\Generated_Source\PSoC5/BL.c ****                                 }\r
- 986:.\Generated_Source\PSoC5/BL.c ****                             }\r
- 987:.\Generated_Source\PSoC5/BL.c **** \r
- 988:.\Generated_Source\PSoC5/BL.c ****                         #endif  /* (0u == BL_DUAL_APP_BOOTLOADER) */\r
- 989:.\Generated_Source\PSoC5/BL.c **** \r
- 990:.\Generated_Source\PSoC5/BL.c ****                         #if(!CY_PSOC4)\r
- 991:.\Generated_Source\PSoC5/BL.c ****                             }\r
- 992:.\Generated_Source\PSoC5/BL.c ****                         #endif  /* (!CY_PSOC4) */\r
- 993:.\Generated_Source\PSoC5/BL.c **** \r
- 994:.\Generated_Source\PSoC5/BL.c ****                         #if(CY_PSOC4)\r
- 995:.\Generated_Source\PSoC5/BL.c **** \r
- 996:.\Generated_Source\PSoC5/BL.c ****                             ackCode = (CYRET_SUCCESS != CySysFlashWriteRow((uint32) dataOffset, dat\r
- 997:.\Generated_Source\PSoC5/BL.c ****                                 ? BL_ERR_ROW \\r
- 998:.\Generated_Source\PSoC5/BL.c ****                                 : CYRET_SUCCESS;\r
- 999:.\Generated_Source\PSoC5/BL.c **** \r
-1000:.\Generated_Source\PSoC5/BL.c ****                         #else\r
-1001:.\Generated_Source\PSoC5/BL.c **** \r
-1002:.\Generated_Source\PSoC5/BL.c ****                             ackCode = (CYRET_SUCCESS != CyWriteRowFull(btldrData, dataOffset, dataB\r
-1003:.\Generated_Source\PSoC5/BL.c ****                                 ? BL_ERR_ROW \\r
-1004:.\Generated_Source\PSoC5/BL.c ****                                 : CYRET_SUCCESS;\r
-1005:.\Generated_Source\PSoC5/BL.c **** \r
-1006:.\Generated_Source\PSoC5/BL.c ****                         #endif  /* (CY_PSOC4) */\r
-1007:.\Generated_Source\PSoC5/BL.c **** \r
-1008:.\Generated_Source\PSoC5/BL.c ****                     }\r
-1009:.\Generated_Source\PSoC5/BL.c ****                     else\r
-1010:.\Generated_Source\PSoC5/BL.c ****                     {\r
-1011:.\Generated_Source\PSoC5/BL.c ****                         ackCode = BL_ERR_LENGTH;\r
-1012:.\Generated_Source\PSoC5/BL.c ****                     }\r
-1013:.\Generated_Source\PSoC5/BL.c **** \r
-1014:.\Generated_Source\PSoC5/BL.c ****                     dataOffset = 0u;\r
-1015:.\Generated_Source\PSoC5/BL.c ****                 }\r
-1016:.\Generated_Source\PSoC5/BL.c ****                 break;\r
-1017:.\Generated_Source\PSoC5/BL.c **** \r
-1018:.\Generated_Source\PSoC5/BL.c **** \r
-1019:.\Generated_Source\PSoC5/BL.c ****             /***************************************************************************\r
-1020:.\Generated_Source\PSoC5/BL.c ****             *   Sync bootloader\r
-1021:.\Generated_Source\PSoC5/BL.c ****             ***************************************************************************/\r
-1022:.\Generated_Source\PSoC5/BL.c ****             #if(0u != BL_CMD_SYNC_BOOTLOADER_AVAIL)\r
-1023:.\Generated_Source\PSoC5/BL.c **** \r
-1024:.\Generated_Source\PSoC5/BL.c ****             case BL_COMMAND_SYNC:\r
-1025:.\Generated_Source\PSoC5/BL.c **** \r
-1026:.\Generated_Source\PSoC5/BL.c ****                 if(BL_COMMUNICATION_STATE_ACTIVE == communicationState)\r
-1027:.\Generated_Source\PSoC5/BL.c ****                 {\r
-1028:.\Generated_Source\PSoC5/BL.c ****                     /* If something failed the host would send this command to reset the bootloader\r
-1029:.\Generated_Source\PSoC5/BL.c ****                     dataOffset = 0u;\r
-1030:.\Generated_Source\PSoC5/BL.c **** \r
-1031:.\Generated_Source\PSoC5/BL.c ****                     /* Don't ack the packet, just get ready to accept the next one */\r
-1032:.\Generated_Source\PSoC5/BL.c ****                     continue;\r
-1033:.\Generated_Source\PSoC5/BL.c ****                 }\r
-1034:.\Generated_Source\PSoC5/BL.c ****                 break;\r
-1035:.\Generated_Source\PSoC5/BL.c **** \r
-\fARM GAS  C:\Users\MICHA_~1\AppData\Local\Temp\ccjItj5m.s                      page 20\r
-\r
-\r
-1036:.\Generated_Source\PSoC5/BL.c ****             #endif  /* (0u != BL_CMD_SYNC_BOOTLOADER_AVAIL) */\r
-1037:.\Generated_Source\PSoC5/BL.c **** \r
-1038:.\Generated_Source\PSoC5/BL.c **** \r
-1039:.\Generated_Source\PSoC5/BL.c ****             /***************************************************************************\r
-1040:.\Generated_Source\PSoC5/BL.c ****             *   Set active application\r
-1041:.\Generated_Source\PSoC5/BL.c ****             ***************************************************************************/\r
-1042:.\Generated_Source\PSoC5/BL.c ****             #if(0u != BL_DUAL_APP_BOOTLOADER)\r
-1043:.\Generated_Source\PSoC5/BL.c **** \r
-1044:.\Generated_Source\PSoC5/BL.c ****                 case BL_COMMAND_APP_ACTIVE:\r
-1045:.\Generated_Source\PSoC5/BL.c **** \r
-1046:.\Generated_Source\PSoC5/BL.c ****                     if((BL_COMMUNICATION_STATE_ACTIVE == communicationState) && (pktSize == 1u))\r
-1047:.\Generated_Source\PSoC5/BL.c ****                     {\r
-1048:.\Generated_Source\PSoC5/BL.c ****                         if(CYRET_SUCCESS == BL_ValidateBootloadable(btldrData))\r
-1049:.\Generated_Source\PSoC5/BL.c ****                         {\r
-1050:.\Generated_Source\PSoC5/BL.c ****                             uint8 CYDATA idx;\r
-1051:.\Generated_Source\PSoC5/BL.c **** \r
-1052:.\Generated_Source\PSoC5/BL.c ****                             for(idx = 0u; idx < BL_MAX_NUM_OF_BTLDB; idx++)\r
-1053:.\Generated_Source\PSoC5/BL.c ****                             {\r
-1054:.\Generated_Source\PSoC5/BL.c ****                                 BL_SetFlashByte((uint32) BL_MD_BTLDB_ACTIVE_OFFSET(idx),\r
-1055:.\Generated_Source\PSoC5/BL.c ****                                                               (uint8 )(idx == btldrData));\r
-1056:.\Generated_Source\PSoC5/BL.c ****                             }\r
-1057:.\Generated_Source\PSoC5/BL.c ****                             BL_activeApp = btldrData;\r
-1058:.\Generated_Source\PSoC5/BL.c ****                             ackCode = CYRET_SUCCESS;\r
-1059:.\Generated_Source\PSoC5/BL.c ****                         }\r
-1060:.\Generated_Source\PSoC5/BL.c ****                         else\r
-1061:.\Generated_Source\PSoC5/BL.c ****                         {\r
-1062:.\Generated_Source\PSoC5/BL.c ****                             ackCode = BL_ERR_APP;\r
-1063:.\Generated_Source\PSoC5/BL.c ****                         }\r
-1064:.\Generated_Source\PSoC5/BL.c ****                     }\r
-1065:.\Generated_Source\PSoC5/BL.c ****                     break;\r
-1066:.\Generated_Source\PSoC5/BL.c **** \r
-1067:.\Generated_Source\PSoC5/BL.c ****             #endif  /* (0u != BL_DUAL_APP_BOOTLOADER) */\r
-1068:.\Generated_Source\PSoC5/BL.c **** \r
-1069:.\Generated_Source\PSoC5/BL.c **** \r
-1070:.\Generated_Source\PSoC5/BL.c ****             /***************************************************************************\r
-1071:.\Generated_Source\PSoC5/BL.c ****             *   Send data\r
-1072:.\Generated_Source\PSoC5/BL.c ****             ***************************************************************************/\r
-1073:.\Generated_Source\PSoC5/BL.c ****             #if (0u != BL_CMD_SEND_DATA_AVAIL)\r
-1074:.\Generated_Source\PSoC5/BL.c **** \r
-1075:.\Generated_Source\PSoC5/BL.c ****                 case BL_COMMAND_DATA:\r
-1076:.\Generated_Source\PSoC5/BL.c **** \r
-1077:.\Generated_Source\PSoC5/BL.c ****                     if(BL_COMMUNICATION_STATE_ACTIVE == communicationState)\r
-1078:.\Generated_Source\PSoC5/BL.c ****                     {\r
-1079:.\Generated_Source\PSoC5/BL.c ****                         /*  Make sure that dataOffset is valid before copying the data */\r
-1080:.\Generated_Source\PSoC5/BL.c ****                         if((dataOffset + pktSize) <= BL_SIZEOF_COMMAND_BUFFER)\r
-1081:.\Generated_Source\PSoC5/BL.c ****                         {\r
-1082:.\Generated_Source\PSoC5/BL.c ****                             ackCode = CYRET_SUCCESS;\r
-1083:.\Generated_Source\PSoC5/BL.c **** \r
-1084:.\Generated_Source\PSoC5/BL.c ****                             #if(CY_PSOC3)\r
-1085:.\Generated_Source\PSoC5/BL.c ****                                 (void) memcpy(&dataBuffer[dataOffset],\r
-1086:.\Generated_Source\PSoC5/BL.c ****                                               &packetBuffer[BL_DATA_ADDR],\r
-1087:.\Generated_Source\PSoC5/BL.c ****                                               ( int16 )pktSize);\r
-1088:.\Generated_Source\PSoC5/BL.c ****                             #else\r
-1089:.\Generated_Source\PSoC5/BL.c ****                                 (void) memcpy(&dataBuffer[dataOffset],\r
-1090:.\Generated_Source\PSoC5/BL.c ****                                               &packetBuffer[BL_DATA_ADDR],\r
-1091:.\Generated_Source\PSoC5/BL.c ****                                               pktSize);\r
-1092:.\Generated_Source\PSoC5/BL.c ****                             #endif  /* (CY_PSOC3) */\r
-\fARM GAS  C:\Users\MICHA_~1\AppData\Local\Temp\ccjItj5m.s                      page 21\r
-\r
-\r
-1093:.\Generated_Source\PSoC5/BL.c **** \r
-1094:.\Generated_Source\PSoC5/BL.c ****                             dataOffset += pktSize;\r
-1095:.\Generated_Source\PSoC5/BL.c ****                         }\r
-1096:.\Generated_Source\PSoC5/BL.c ****                         else\r
-1097:.\Generated_Source\PSoC5/BL.c ****                         {\r
-1098:.\Generated_Source\PSoC5/BL.c ****                             ackCode = BL_ERR_LENGTH;\r
-1099:.\Generated_Source\PSoC5/BL.c ****                         }\r
-1100:.\Generated_Source\PSoC5/BL.c ****                     }\r
-1101:.\Generated_Source\PSoC5/BL.c **** \r
-1102:.\Generated_Source\PSoC5/BL.c ****                     break;\r
-1103:.\Generated_Source\PSoC5/BL.c **** \r
-1104:.\Generated_Source\PSoC5/BL.c ****             #endif  /* (0u != BL_CMD_SEND_DATA_AVAIL) */\r
-1105:.\Generated_Source\PSoC5/BL.c **** \r
-1106:.\Generated_Source\PSoC5/BL.c **** \r
-1107:.\Generated_Source\PSoC5/BL.c ****             /***************************************************************************\r
-1108:.\Generated_Source\PSoC5/BL.c ****             *   Enter bootloader\r
-1109:.\Generated_Source\PSoC5/BL.c ****             ***************************************************************************/\r
-1110:.\Generated_Source\PSoC5/BL.c ****             case BL_COMMAND_ENTER:\r
-1111:.\Generated_Source\PSoC5/BL.c **** \r
-1112:.\Generated_Source\PSoC5/BL.c ****                 if(pktSize == 0u)\r
-1113:.\Generated_Source\PSoC5/BL.c ****                 {\r
-1114:.\Generated_Source\PSoC5/BL.c ****                     #if(CY_PSOC3)\r
-1115:.\Generated_Source\PSoC5/BL.c **** \r
-1116:.\Generated_Source\PSoC5/BL.c ****                         BL_ENTER CYDATA BtldrVersion =\r
-1117:.\Generated_Source\PSoC5/BL.c ****                             {CYSWAP_ENDIAN32(CYDEV_CHIP_JTAG_ID), CYDEV_CHIP_REV_EXPECT, BL_VERSION\r
-1118:.\Generated_Source\PSoC5/BL.c **** \r
-1119:.\Generated_Source\PSoC5/BL.c ****                     #else\r
-1120:.\Generated_Source\PSoC5/BL.c **** \r
-1121:.\Generated_Source\PSoC5/BL.c ****                         BL_ENTER CYDATA BtldrVersion =\r
-1122:.\Generated_Source\PSoC5/BL.c ****                             {CYDEV_CHIP_JTAG_ID, CYDEV_CHIP_REV_EXPECT, BL_VERSION};\r
-1123:.\Generated_Source\PSoC5/BL.c **** \r
-1124:.\Generated_Source\PSoC5/BL.c ****                     #endif  /* (CY_PSOC3) */\r
-1125:.\Generated_Source\PSoC5/BL.c **** \r
-1126:.\Generated_Source\PSoC5/BL.c ****                     communicationState = BL_COMMUNICATION_STATE_ACTIVE;\r
-1127:.\Generated_Source\PSoC5/BL.c **** \r
-1128:.\Generated_Source\PSoC5/BL.c ****                     rspSize = sizeof(BL_ENTER);\r
-1129:.\Generated_Source\PSoC5/BL.c **** \r
-1130:.\Generated_Source\PSoC5/BL.c ****                     #if(CY_PSOC3)\r
-1131:.\Generated_Source\PSoC5/BL.c ****                         (void) memcpy(&packetBuffer[BL_DATA_ADDR],\r
-1132:.\Generated_Source\PSoC5/BL.c ****                                       &BtldrVersion,\r
-1133:.\Generated_Source\PSoC5/BL.c ****                                       ( int16 )rspSize);\r
-1134:.\Generated_Source\PSoC5/BL.c ****                     #else\r
-1135:.\Generated_Source\PSoC5/BL.c ****                         (void) memcpy(&packetBuffer[BL_DATA_ADDR],\r
-1136:.\Generated_Source\PSoC5/BL.c ****                                       &BtldrVersion,\r
-1137:.\Generated_Source\PSoC5/BL.c ****                                       rspSize);\r
-1138:.\Generated_Source\PSoC5/BL.c ****                     #endif  /* (CY_PSOC3) */\r
-1139:.\Generated_Source\PSoC5/BL.c **** \r
-1140:.\Generated_Source\PSoC5/BL.c ****                     ackCode = CYRET_SUCCESS;\r
-1141:.\Generated_Source\PSoC5/BL.c ****                 }\r
-1142:.\Generated_Source\PSoC5/BL.c ****                 break;\r
-1143:.\Generated_Source\PSoC5/BL.c **** \r
-1144:.\Generated_Source\PSoC5/BL.c **** \r
-1145:.\Generated_Source\PSoC5/BL.c ****             /***************************************************************************\r
-1146:.\Generated_Source\PSoC5/BL.c ****             *   Verify row\r
-1147:.\Generated_Source\PSoC5/BL.c ****             ***************************************************************************/\r
-1148:.\Generated_Source\PSoC5/BL.c ****             case BL_COMMAND_VERIFY:\r
-1149:.\Generated_Source\PSoC5/BL.c **** \r
-\fARM GAS  C:\Users\MICHA_~1\AppData\Local\Temp\ccjItj5m.s                      page 22\r
-\r
-\r
-1150:.\Generated_Source\PSoC5/BL.c ****                 if((BL_COMMUNICATION_STATE_ACTIVE == communicationState) && (pktSize == 3u))\r
-1151:.\Generated_Source\PSoC5/BL.c ****                 {\r
-1152:.\Generated_Source\PSoC5/BL.c ****                     /* Get FLASH/EEPROM row number */\r
-1153:.\Generated_Source\PSoC5/BL.c ****                     uint16 CYDATA rowNum = ((uint16)((uint16)packetBuffer[BL_DATA_ADDR + 2u] << 8u)\r
-1154:.\Generated_Source\PSoC5/BL.c ****                                                     packetBuffer[BL_DATA_ADDR + 1u];\r
-1155:.\Generated_Source\PSoC5/BL.c **** \r
-1156:.\Generated_Source\PSoC5/BL.c ****                     #if(!CY_PSOC4)\r
-1157:.\Generated_Source\PSoC5/BL.c **** \r
-1158:.\Generated_Source\PSoC5/BL.c ****                         uint32 CYDATA rowAddr;\r
-1159:.\Generated_Source\PSoC5/BL.c ****                         uint8 CYDATA checksum;\r
-1160:.\Generated_Source\PSoC5/BL.c **** \r
-1161:.\Generated_Source\PSoC5/BL.c ****                         if((btldrData >= BL_FIRST_EE_ARRAYID) &&\r
-1162:.\Generated_Source\PSoC5/BL.c ****                            (btldrData <= BL_LAST_EE_ARRAYID))\r
-1163:.\Generated_Source\PSoC5/BL.c ****                         {\r
-1164:.\Generated_Source\PSoC5/BL.c ****                             /* EEPROM */\r
-1165:.\Generated_Source\PSoC5/BL.c ****                             /* Both PSoC 3 and PSoC 5LP architectures have one EEPROM array. */\r
-1166:.\Generated_Source\PSoC5/BL.c ****                             rowAddr = (uint32)rowNum * CYDEV_EEPROM_ROW_SIZE;\r
-1167:.\Generated_Source\PSoC5/BL.c **** \r
-1168:.\Generated_Source\PSoC5/BL.c ****                             checksum = BL_Calc8BitEepromSum(rowAddr, CYDEV_EEPROM_ROW_SIZE);\r
-1169:.\Generated_Source\PSoC5/BL.c ****                         }\r
-1170:.\Generated_Source\PSoC5/BL.c ****                         else\r
-1171:.\Generated_Source\PSoC5/BL.c ****                         {\r
-1172:.\Generated_Source\PSoC5/BL.c ****                             /* FLASH */\r
-1173:.\Generated_Source\PSoC5/BL.c ****                             rowAddr = ((uint32)btldrData * CYDEV_FLS_SECTOR_SIZE)\r
-1174:.\Generated_Source\PSoC5/BL.c ****                                        + ((uint32)rowNum * CYDEV_FLS_ROW_SIZE);\r
-1175:.\Generated_Source\PSoC5/BL.c **** \r
-1176:.\Generated_Source\PSoC5/BL.c ****                             checksum = BL_Calc8BitFlashSum(rowAddr, CYDEV_FLS_ROW_SIZE);\r
-1177:.\Generated_Source\PSoC5/BL.c ****                         }\r
-1178:.\Generated_Source\PSoC5/BL.c **** \r
-1179:.\Generated_Source\PSoC5/BL.c ****                     #else\r
-1180:.\Generated_Source\PSoC5/BL.c **** \r
-1181:.\Generated_Source\PSoC5/BL.c ****                         uint32 CYDATA rowAddr = ((uint32)btldrData * CYDEV_FLS_SECTOR_SIZE)\r
-1182:.\Generated_Source\PSoC5/BL.c ****                                             + ((uint32)rowNum * CYDEV_FLS_ROW_SIZE);\r
-1183:.\Generated_Source\PSoC5/BL.c **** \r
-1184:.\Generated_Source\PSoC5/BL.c ****                         uint8 CYDATA checksum = BL_Calc8BitFlashSum(rowAddr, CYDEV_FLS_ROW_SIZE);\r
-1185:.\Generated_Source\PSoC5/BL.c **** \r
-1186:.\Generated_Source\PSoC5/BL.c ****                     #endif  /* (!CY_PSOC4) */\r
-1187:.\Generated_Source\PSoC5/BL.c **** \r
-1188:.\Generated_Source\PSoC5/BL.c **** \r
-1189:.\Generated_Source\PSoC5/BL.c ****                     /* Calculate checksum on data from ECC */\r
-1190:.\Generated_Source\PSoC5/BL.c ****                     #if(!CY_PSOC4) && (CYDEV_ECC_ENABLE == 0u)\r
-1191:.\Generated_Source\PSoC5/BL.c **** \r
-1192:.\Generated_Source\PSoC5/BL.c ****                         if(btldrData <= BL_LAST_FLASH_ARRAYID)\r
-1193:.\Generated_Source\PSoC5/BL.c ****                         {\r
-1194:.\Generated_Source\PSoC5/BL.c ****                             uint16 CYDATA tmpIndex;\r
-1195:.\Generated_Source\PSoC5/BL.c **** \r
-1196:.\Generated_Source\PSoC5/BL.c ****                             rowAddr = CYDEV_ECC_BASE + ((uint32)btldrData * (CYDEV_FLS_SECTOR_SIZE \r
-1197:.\Generated_Source\PSoC5/BL.c ****                                         + ((uint32)rowNum * CYDEV_ECC_ROW_SIZE);\r
-1198:.\Generated_Source\PSoC5/BL.c **** \r
-1199:.\Generated_Source\PSoC5/BL.c ****                             for(tmpIndex = 0u; tmpIndex < CYDEV_ECC_ROW_SIZE; tmpIndex++)\r
-1200:.\Generated_Source\PSoC5/BL.c ****                             {\r
-1201:.\Generated_Source\PSoC5/BL.c ****                                 checksum += CY_GET_XTND_REG8((uint8 CYFAR *)(rowAddr + tmpIndex));\r
-1202:.\Generated_Source\PSoC5/BL.c ****                             }\r
-1203:.\Generated_Source\PSoC5/BL.c ****                         }\r
-1204:.\Generated_Source\PSoC5/BL.c **** \r
-1205:.\Generated_Source\PSoC5/BL.c ****                     #endif  /* (!CY_PSOC4) && (CYDEV_ECC_ENABLE == 0u) */\r
-1206:.\Generated_Source\PSoC5/BL.c **** \r
-\fARM GAS  C:\Users\MICHA_~1\AppData\Local\Temp\ccjItj5m.s                      page 23\r
-\r
-\r
-1207:.\Generated_Source\PSoC5/BL.c **** \r
-1208:.\Generated_Source\PSoC5/BL.c ****                     /******************************************************************************\r
-1209:.\Generated_Source\PSoC5/BL.c ****                     * App Verified & App Active are information that is updated in flash at runtime\r
-1210:.\Generated_Source\PSoC5/BL.c ****                     * remove these items from the checksum to allow the host to verify everything i\r
-1211:.\Generated_Source\PSoC5/BL.c ****                     * correct.\r
-1212:.\Generated_Source\PSoC5/BL.c ****                      ******************************************************************************\r
-1213:.\Generated_Source\PSoC5/BL.c ****                     if((BL_MD_FLASH_ARRAY_NUM == btldrData) &&\r
-1214:.\Generated_Source\PSoC5/BL.c ****                        (BL_CONTAIN_METADATA(rowNum)))\r
-1215:.\Generated_Source\PSoC5/BL.c ****                     {\r
-1216:.\Generated_Source\PSoC5/BL.c ****                         checksum -= BL_MD_BTLDB_ACTIVE_VALUE  (BL_GET_APP_ID(rowNum));\r
-1217:.\Generated_Source\PSoC5/BL.c ****                         checksum -= BL_MD_BTLDB_VERIFIED_VALUE(BL_GET_APP_ID(rowNum));\r
-1218:.\Generated_Source\PSoC5/BL.c ****                     }\r
-1219:.\Generated_Source\PSoC5/BL.c **** \r
-1220:.\Generated_Source\PSoC5/BL.c ****                     packetBuffer[BL_DATA_ADDR] = (uint8)1u + (uint8)(~checksum);\r
-1221:.\Generated_Source\PSoC5/BL.c ****                     ackCode = CYRET_SUCCESS;\r
-1222:.\Generated_Source\PSoC5/BL.c ****                     rspSize = 1u;\r
-1223:.\Generated_Source\PSoC5/BL.c ****                 }\r
-1224:.\Generated_Source\PSoC5/BL.c ****                 break;\r
-1225:.\Generated_Source\PSoC5/BL.c **** \r
-1226:.\Generated_Source\PSoC5/BL.c **** \r
-1227:.\Generated_Source\PSoC5/BL.c ****             /***************************************************************************\r
-1228:.\Generated_Source\PSoC5/BL.c ****             *   Exit bootloader\r
-1229:.\Generated_Source\PSoC5/BL.c ****             ***************************************************************************/\r
-1230:.\Generated_Source\PSoC5/BL.c ****             case BL_COMMAND_EXIT:\r
-1231:.\Generated_Source\PSoC5/BL.c **** \r
-1232:.\Generated_Source\PSoC5/BL.c ****                 if(CYRET_SUCCESS == BL_ValidateBootloadable(BL_activeApp))\r
-1233:.\Generated_Source\PSoC5/BL.c ****                 {\r
-1234:.\Generated_Source\PSoC5/BL.c ****                     BL_SET_RUN_TYPE(BL_START_APP);\r
-1235:.\Generated_Source\PSoC5/BL.c ****                 }\r
-1236:.\Generated_Source\PSoC5/BL.c **** \r
-1237:.\Generated_Source\PSoC5/BL.c ****                 CySoftwareReset();\r
-1238:.\Generated_Source\PSoC5/BL.c **** \r
-1239:.\Generated_Source\PSoC5/BL.c ****                 /* Will never get here */\r
-1240:.\Generated_Source\PSoC5/BL.c ****                 break;\r
-1241:.\Generated_Source\PSoC5/BL.c **** \r
-1242:.\Generated_Source\PSoC5/BL.c **** \r
-1243:.\Generated_Source\PSoC5/BL.c ****             /***************************************************************************\r
-1244:.\Generated_Source\PSoC5/BL.c ****             *   Unsupported command\r
-1245:.\Generated_Source\PSoC5/BL.c ****             ***************************************************************************/\r
-1246:.\Generated_Source\PSoC5/BL.c ****             default:\r
-1247:.\Generated_Source\PSoC5/BL.c ****                 ackCode = BL_ERR_CMD;\r
-1248:.\Generated_Source\PSoC5/BL.c ****                 break;\r
-1249:.\Generated_Source\PSoC5/BL.c ****             }\r
-1250:.\Generated_Source\PSoC5/BL.c ****         }\r
-1251:.\Generated_Source\PSoC5/BL.c **** \r
-1252:.\Generated_Source\PSoC5/BL.c ****         /* ?CK the packet and function. */\r
-1253:.\Generated_Source\PSoC5/BL.c ****         (void) BL_WritePacket(ackCode, packetBuffer, rspSize);\r
-1254:.\Generated_Source\PSoC5/BL.c **** \r
-1255:.\Generated_Source\PSoC5/BL.c ****     } while ((0u == timeOut) || (BL_COMMUNICATION_STATE_ACTIVE == communicationState));\r
-1256:.\Generated_Source\PSoC5/BL.c **** }\r
-1257:.\Generated_Source\PSoC5/BL.c **** \r
-1258:.\Generated_Source\PSoC5/BL.c **** \r
-1259:.\Generated_Source\PSoC5/BL.c **** /*******************************************************************************\r
-1260:.\Generated_Source\PSoC5/BL.c **** * Function Name: BL_WritePacket\r
-1261:.\Generated_Source\PSoC5/BL.c **** ********************************************************************************\r
-1262:.\Generated_Source\PSoC5/BL.c **** *\r
-1263:.\Generated_Source\PSoC5/BL.c **** * Summary:\r
-\fARM GAS  C:\Users\MICHA_~1\AppData\Local\Temp\ccjItj5m.s                      page 24\r
-\r
-\r
-1264:.\Generated_Source\PSoC5/BL.c **** *  Creates a bootloader responce packet and transmits it back to the bootloader\r
-1265:.\Generated_Source\PSoC5/BL.c **** *  host application over the already established communications protocol.\r
-1266:.\Generated_Source\PSoC5/BL.c **** *\r
-1267:.\Generated_Source\PSoC5/BL.c **** * Parameters:\r
-1268:.\Generated_Source\PSoC5/BL.c **** *  status:\r
-1269:.\Generated_Source\PSoC5/BL.c **** *      The status code to pass back as the second byte of the packet\r
-1270:.\Generated_Source\PSoC5/BL.c **** *  buffer:\r
-1271:.\Generated_Source\PSoC5/BL.c **** *      The buffer containing the data portion of the packet\r
-1272:.\Generated_Source\PSoC5/BL.c **** *  size:\r
-1273:.\Generated_Source\PSoC5/BL.c **** *      The number of bytes contained within the buffer to pass back\r
-1274:.\Generated_Source\PSoC5/BL.c **** *\r
-1275:.\Generated_Source\PSoC5/BL.c **** * Return:\r
-1276:.\Generated_Source\PSoC5/BL.c **** *   CYRET_SUCCESS if successful.\r
-1277:.\Generated_Source\PSoC5/BL.c **** *   CYRET_UNKNOWN if there was an error tranmitting the packet.\r
-1278:.\Generated_Source\PSoC5/BL.c **** *\r
-1279:.\Generated_Source\PSoC5/BL.c **** *******************************************************************************/\r
-1280:.\Generated_Source\PSoC5/BL.c **** static cystatus BL_WritePacket(uint8 status, uint8 buffer[], uint16 size) CYSMALL \\r
-1281:.\Generated_Source\PSoC5/BL.c ****                                             \r
-1282:.\Generated_Source\PSoC5/BL.c **** {\r
-1283:.\Generated_Source\PSoC5/BL.c ****     uint16 CYDATA checksum;\r
-1284:.\Generated_Source\PSoC5/BL.c **** \r
-1285:.\Generated_Source\PSoC5/BL.c ****     /* Start of the packet. */\r
-1286:.\Generated_Source\PSoC5/BL.c ****     buffer[BL_SOP_ADDR]      = BL_SOP;\r
-1287:.\Generated_Source\PSoC5/BL.c ****     buffer[BL_CMD_ADDR]      = status;\r
-1288:.\Generated_Source\PSoC5/BL.c ****     buffer[BL_SIZE_ADDR]     = LO8(size);\r
-1289:.\Generated_Source\PSoC5/BL.c ****     buffer[BL_SIZE_ADDR + 1u] = HI8(size);\r
-1290:.\Generated_Source\PSoC5/BL.c **** \r
-1291:.\Generated_Source\PSoC5/BL.c ****     /* Compute the checksum. */\r
-1292:.\Generated_Source\PSoC5/BL.c ****     checksum = BL_CalcPacketChecksum(buffer, size + BL_DATA_ADDR);\r
-1293:.\Generated_Source\PSoC5/BL.c **** \r
-1294:.\Generated_Source\PSoC5/BL.c ****     buffer[BL_CHK_ADDR(size)]     = LO8(checksum);\r
-1295:.\Generated_Source\PSoC5/BL.c ****     buffer[BL_CHK_ADDR(1u + size)] = HI8(checksum);\r
-1296:.\Generated_Source\PSoC5/BL.c ****     buffer[BL_EOP_ADDR(size)]     = BL_EOP;\r
-1297:.\Generated_Source\PSoC5/BL.c **** \r
-1298:.\Generated_Source\PSoC5/BL.c ****     /* Start the packet transmit. */\r
-1299:.\Generated_Source\PSoC5/BL.c ****     return(CyBtldrCommWrite(buffer, size + BL_MIN_PKT_SIZE, &size, 150u));\r
-1300:.\Generated_Source\PSoC5/BL.c **** }\r
-1301:.\Generated_Source\PSoC5/BL.c **** \r
-1302:.\Generated_Source\PSoC5/BL.c **** \r
-1303:.\Generated_Source\PSoC5/BL.c **** /*******************************************************************************\r
-1304:.\Generated_Source\PSoC5/BL.c **** * Function Name: BL_SetFlashByte\r
-1305:.\Generated_Source\PSoC5/BL.c **** ********************************************************************************\r
-1306:.\Generated_Source\PSoC5/BL.c **** *\r
-1307:.\Generated_Source\PSoC5/BL.c **** * Summary:\r
-1308:.\Generated_Source\PSoC5/BL.c **** *  Writes byte a flash memory location\r
-1309:.\Generated_Source\PSoC5/BL.c **** *\r
-1310:.\Generated_Source\PSoC5/BL.c **** * Parameters:\r
-1311:.\Generated_Source\PSoC5/BL.c **** *  address:\r
-1312:.\Generated_Source\PSoC5/BL.c **** *      Address in Flash memory where data will be written\r
-1313:.\Generated_Source\PSoC5/BL.c **** *\r
-1314:.\Generated_Source\PSoC5/BL.c **** *  runType:\r
-1315:.\Generated_Source\PSoC5/BL.c **** *      Byte to be written\r
-1316:.\Generated_Source\PSoC5/BL.c **** *\r
-1317:.\Generated_Source\PSoC5/BL.c **** * Return:\r
-1318:.\Generated_Source\PSoC5/BL.c **** *  None\r
-1319:.\Generated_Source\PSoC5/BL.c **** *\r
-1320:.\Generated_Source\PSoC5/BL.c **** *******************************************************************************/\r
-\fARM GAS  C:\Users\MICHA_~1\AppData\Local\Temp\ccjItj5m.s                      page 25\r
-\r
-\r
-1321:.\Generated_Source\PSoC5/BL.c **** void BL_SetFlashByte(uint32 address, uint8 runType) \r
-1322:.\Generated_Source\PSoC5/BL.c **** {\r
-1323:.\Generated_Source\PSoC5/BL.c ****     uint32 flsAddr = address - CYDEV_FLASH_BASE;\r
-1324:.\Generated_Source\PSoC5/BL.c ****     uint8  rowData[CYDEV_FLS_ROW_SIZE];\r
-1325:.\Generated_Source\PSoC5/BL.c **** \r
-1326:.\Generated_Source\PSoC5/BL.c ****     #if !(CY_PSOC4)\r
-1327:.\Generated_Source\PSoC5/BL.c ****         uint8 arrayId = ( uint8 )(flsAddr / CYDEV_FLS_SECTOR_SIZE);\r
-1328:.\Generated_Source\PSoC5/BL.c ****     #endif  /* !(CY_PSOC4) */\r
-1329:.\Generated_Source\PSoC5/BL.c **** \r
-1330:.\Generated_Source\PSoC5/BL.c ****     uint16 rowNum = ( uint16 )((flsAddr % CYDEV_FLS_SECTOR_SIZE) / CYDEV_FLS_ROW_SIZE);\r
-1331:.\Generated_Source\PSoC5/BL.c ****     uint32 baseAddr = address - (address % CYDEV_FLS_ROW_SIZE);\r
-1332:.\Generated_Source\PSoC5/BL.c ****     uint16 idx;\r
-1333:.\Generated_Source\PSoC5/BL.c **** \r
-1334:.\Generated_Source\PSoC5/BL.c ****     for(idx = 0u; idx < CYDEV_FLS_ROW_SIZE; idx++)\r
-1335:.\Generated_Source\PSoC5/BL.c ****     {\r
-1336:.\Generated_Source\PSoC5/BL.c ****         rowData[idx] = BL_GET_CODE_BYTE(baseAddr + idx);\r
-1337:.\Generated_Source\PSoC5/BL.c ****     }\r
-1338:.\Generated_Source\PSoC5/BL.c **** \r
-1339:.\Generated_Source\PSoC5/BL.c ****     rowData[address % CYDEV_FLS_ROW_SIZE] = runType;\r
-1340:.\Generated_Source\PSoC5/BL.c **** \r
-1341:.\Generated_Source\PSoC5/BL.c ****     #if(CY_PSOC4)\r
-1342:.\Generated_Source\PSoC5/BL.c ****         (void) CySysFlashWriteRow((uint32) rowNum, rowData);\r
-1343:.\Generated_Source\PSoC5/BL.c ****     #else\r
-1344:.\Generated_Source\PSoC5/BL.c ****         (void) CyWriteRowData(arrayId, rowNum, rowData);\r
-1345:.\Generated_Source\PSoC5/BL.c ****     #endif  /* (CY_PSOC4) */\r
-1346:.\Generated_Source\PSoC5/BL.c **** }\r
-1347:.\Generated_Source\PSoC5/BL.c **** \r
-1348:.\Generated_Source\PSoC5/BL.c **** \r
-1349:.\Generated_Source\PSoC5/BL.c **** /*******************************************************************************\r
-1350:.\Generated_Source\PSoC5/BL.c **** * Function Name: BL_GetMetadata\r
-1351:.\Generated_Source\PSoC5/BL.c **** ********************************************************************************\r
-1352:.\Generated_Source\PSoC5/BL.c **** *\r
-1353:.\Generated_Source\PSoC5/BL.c **** * Summary:\r
-1354:.\Generated_Source\PSoC5/BL.c **** *  Returns value of the multi-byte field.\r
-1355:.\Generated_Source\PSoC5/BL.c **** *\r
-1356:.\Generated_Source\PSoC5/BL.c **** * Parameters:\r
-1357:.\Generated_Source\PSoC5/BL.c **** *  fieldName:\r
-1358:.\Generated_Source\PSoC5/BL.c **** *   The field to get data from:\r
-1359:.\Generated_Source\PSoC5/BL.c **** *     BL_GET_METADATA_BTLDB_ADDR\r
-1360:.\Generated_Source\PSoC5/BL.c **** *     BL_GET_METADATA_BTLDR_LAST_ROW\r
-1361:.\Generated_Source\PSoC5/BL.c **** *     BL_GET_METADATA_BTLDB_LENGTH\r
-1362:.\Generated_Source\PSoC5/BL.c **** *     BL_GET_METADATA_BTLDR_APP_VERSION\r
-1363:.\Generated_Source\PSoC5/BL.c **** *     BL_GET_METADATA_BTLDB_APP_VERSION\r
-1364:.\Generated_Source\PSoC5/BL.c **** *     BL_GET_METADATA_BTLDB_APP_ID\r
-1365:.\Generated_Source\PSoC5/BL.c **** *     BL_GET_METADATA_BTLDB_APP_CUST_ID\r
-1366:.\Generated_Source\PSoC5/BL.c **** *\r
-1367:.\Generated_Source\PSoC5/BL.c **** *  appId:\r
-1368:.\Generated_Source\PSoC5/BL.c **** *   Number of the bootlodable application.\r
-1369:.\Generated_Source\PSoC5/BL.c **** *\r
-1370:.\Generated_Source\PSoC5/BL.c **** * Return:\r
-1371:.\Generated_Source\PSoC5/BL.c **** *  None\r
-1372:.\Generated_Source\PSoC5/BL.c **** *\r
-1373:.\Generated_Source\PSoC5/BL.c **** *******************************************************************************/\r
-1374:.\Generated_Source\PSoC5/BL.c **** static uint32 BL_GetMetadata(uint8 fieldName, uint8 appId)\r
-  49                           .loc 1 1374 0\r
-  50                           .cfi_startproc\r
-  51                           @ args = 0, pretend = 0, frame = 0\r
-\fARM GAS  C:\Users\MICHA_~1\AppData\Local\Temp\ccjItj5m.s                      page 26\r
-\r
-\r
-  52                           @ frame_needed = 0, uses_anonymous_args = 0\r
-  53                   .LVL1:\r
-1375:.\Generated_Source\PSoC5/BL.c **** {\r
-1376:.\Generated_Source\PSoC5/BL.c ****     uint32 fieldPtr;\r
-1377:.\Generated_Source\PSoC5/BL.c ****     uint8  fieldSize = 2u;\r
-1378:.\Generated_Source\PSoC5/BL.c ****     uint32 result;\r
-1379:.\Generated_Source\PSoC5/BL.c **** \r
-1380:.\Generated_Source\PSoC5/BL.c ****     switch (fieldName)\r
-  54                           .loc 1 1380 0\r
-  55 0000 431E                 subs    r3, r0, #1\r
-1374:.\Generated_Source\PSoC5/BL.c **** static uint32 BL_GetMetadata(uint8 fieldName, uint8 appId)\r
-  56                           .loc 1 1374 0\r
-  57 0002 10B5                 push    {r4, lr}\r
-  58                   .LCFI0:\r
-  59                           .cfi_def_cfa_offset 8\r
-  60                           .cfi_offset 4, -8\r
-  61                           .cfi_offset 14, -4\r
-1374:.\Generated_Source\PSoC5/BL.c **** static uint32 BL_GetMetadata(uint8 fieldName, uint8 appId)\r
-  62                           .loc 1 1374 0\r
-  63 0004 0246                 mov     r2, r0\r
-  64                           .loc 1 1380 0\r
-  65 0006 062B                 cmp     r3, #6\r
-  66 0008 0DD8                 bhi     .L3\r
-  67 000a DFE803F0             tbb     [pc, r3]\r
-  68                   .L11:\r
-  69 000e 06                   .byte   (.L4-.L11)/2\r
-  70 000f 0E                   .byte   (.L16-.L11)/2\r
-  71 0010 23                   .byte   (.L17-.L11)/2\r
-  72 0011 04                   .byte   (.L7-.L11)/2\r
-  73 0012 08                   .byte   (.L8-.L11)/2\r
-  74 0013 0A                   .byte   (.L9-.L11)/2\r
-  75 0014 21                   .byte   (.L10-.L11)/2\r
-  76 0015 00                   .align  1\r
-  77                   .L7:\r
-1381:.\Generated_Source\PSoC5/BL.c ****     {\r
-1382:.\Generated_Source\PSoC5/BL.c ****     case BL_GET_METADATA_BTLDB_APP_CUST_ID:\r
-1383:.\Generated_Source\PSoC5/BL.c ****         fieldPtr  = BL_MD_BTLDB_APP_CUST_ID_OFFSET(appId);\r
-1384:.\Generated_Source\PSoC5/BL.c ****         fieldSize = 4u;\r
-1385:.\Generated_Source\PSoC5/BL.c ****         break;\r
-1386:.\Generated_Source\PSoC5/BL.c **** \r
-1387:.\Generated_Source\PSoC5/BL.c ****     case BL_GET_METADATA_BTLDR_APP_VERSION:\r
-1388:.\Generated_Source\PSoC5/BL.c ****         fieldPtr  = BL_MD_BTLDR_APP_VERSION_OFFSET(appId);\r
-  78                           .loc 1 1388 0\r
-  79 0016 1648                 ldr     r0, .L26\r
-  80                   .LVL2:\r
-  81 0018 08E0                 b       .L5\r
-  82                   .LVL3:\r
-  83                   .L4:\r
-1389:.\Generated_Source\PSoC5/BL.c ****         break;\r
-1390:.\Generated_Source\PSoC5/BL.c **** \r
-1391:.\Generated_Source\PSoC5/BL.c ****     case BL_GET_METADATA_BTLDB_ADDR:\r
-1392:.\Generated_Source\PSoC5/BL.c ****         fieldPtr  = BL_MD_BTLDB_ADDR_OFFSET(appId);\r
-  84                           .loc 1 1392 0\r
-  85 001a 164B                 ldr     r3, .L26+4\r
-  86 001c 1BE0                 b       .L6\r
-  87                   .L8:\r
-  88                   .LVL4:\r
-\fARM GAS  C:\Users\MICHA_~1\AppData\Local\Temp\ccjItj5m.s                      page 27\r
-\r
-\r
-1393:.\Generated_Source\PSoC5/BL.c ****     #if(!CY_PSOC3)\r
-1394:.\Generated_Source\PSoC5/BL.c ****         fieldSize = 4u;\r
-1395:.\Generated_Source\PSoC5/BL.c ****     #endif  /* (!CY_PSOC3) */\r
-1396:.\Generated_Source\PSoC5/BL.c ****         break;\r
-1397:.\Generated_Source\PSoC5/BL.c **** \r
-1398:.\Generated_Source\PSoC5/BL.c ****     case BL_GET_METADATA_BTLDR_LAST_ROW:\r
-1399:.\Generated_Source\PSoC5/BL.c ****         fieldPtr  = BL_MD_BTLDR_LAST_ROW_OFFSET(appId);\r
-1400:.\Generated_Source\PSoC5/BL.c ****         break;\r
-1401:.\Generated_Source\PSoC5/BL.c **** \r
-1402:.\Generated_Source\PSoC5/BL.c ****     case BL_GET_METADATA_BTLDB_LENGTH:\r
-1403:.\Generated_Source\PSoC5/BL.c ****         fieldPtr  = BL_MD_BTLDB_LENGTH_OFFSET(appId);\r
-1404:.\Generated_Source\PSoC5/BL.c ****     #if(!CY_PSOC3)\r
-1405:.\Generated_Source\PSoC5/BL.c ****         fieldSize = 4u;\r
-1406:.\Generated_Source\PSoC5/BL.c ****     #endif  /* (!CY_PSOC3) */\r
-1407:.\Generated_Source\PSoC5/BL.c ****         break;\r
-1408:.\Generated_Source\PSoC5/BL.c **** \r
-1409:.\Generated_Source\PSoC5/BL.c ****     case BL_GET_METADATA_BTLDB_APP_VERSION:\r
-1410:.\Generated_Source\PSoC5/BL.c ****         fieldPtr  = BL_MD_BTLDB_APP_VERSION_OFFSET(appId);\r
-  89                           .loc 1 1410 0\r
-  90 001e 1648                 ldr     r0, .L26+8\r
-  91                   .LVL5:\r
-  92 0020 04E0                 b       .L5\r
-  93                   .LVL6:\r
-  94                   .L9:\r
-1411:.\Generated_Source\PSoC5/BL.c ****         break;\r
-1412:.\Generated_Source\PSoC5/BL.c **** \r
-1413:.\Generated_Source\PSoC5/BL.c ****     case BL_GET_METADATA_BTLDB_APP_ID:\r
-1414:.\Generated_Source\PSoC5/BL.c ****         fieldPtr  = BL_MD_BTLDB_APP_ID_OFFSET(appId);\r
-  95                           .loc 1 1414 0\r
-  96 0022 1648                 ldr     r0, .L26+12\r
-  97                   .LVL7:\r
-  98 0024 02E0                 b       .L5\r
-  99                   .LVL8:\r
- 100                   .L3:\r
-1415:.\Generated_Source\PSoC5/BL.c ****         break;\r
-1416:.\Generated_Source\PSoC5/BL.c **** \r
-1417:.\Generated_Source\PSoC5/BL.c ****     default:\r
-1418:.\Generated_Source\PSoC5/BL.c ****         /* Should never be here */\r
-1419:.\Generated_Source\PSoC5/BL.c ****         CYASSERT(0u != 0u);\r
-1420:.\Generated_Source\PSoC5/BL.c ****         fieldPtr  = 0u;\r
- 101                           .loc 1 1420 0\r
- 102 0026 0020                 movs    r0, #0\r
- 103                   .LVL9:\r
- 104 0028 00E0                 b       .L5\r
- 105                   .LVL10:\r
- 106                   .L16:\r
-1399:.\Generated_Source\PSoC5/BL.c ****         fieldPtr  = BL_MD_BTLDR_LAST_ROW_OFFSET(appId);\r
- 107                           .loc 1 1399 0\r
- 108 002a 1548                 ldr     r0, .L26+16\r
- 109                   .LVL11:\r
- 110                   .L5:\r
-1421:.\Generated_Source\PSoC5/BL.c ****         break;\r
-1422:.\Generated_Source\PSoC5/BL.c ****     }\r
-1423:.\Generated_Source\PSoC5/BL.c **** \r
-1424:.\Generated_Source\PSoC5/BL.c **** \r
-1425:.\Generated_Source\PSoC5/BL.c ****     /* Read all fields as big-endian */\r
-1426:.\Generated_Source\PSoC5/BL.c ****     if (2u == fieldSize)\r
-\fARM GAS  C:\Users\MICHA_~1\AppData\Local\Temp\ccjItj5m.s                      page 28\r
-\r
-\r
-1427:.\Generated_Source\PSoC5/BL.c ****     {\r
-1428:.\Generated_Source\PSoC5/BL.c ****         result =  (uint32) CY_GET_XTND_REG8((volatile uint8 *)(fieldPtr + 1u));\r
- 111                           .loc 1 1428 0\r
- 112 002c 4178                 ldrb    r1, [r0, #1]    @ zero_extendqisi2\r
- 113                   .LVL12:\r
-1429:.\Generated_Source\PSoC5/BL.c ****         result |= (uint32) CY_GET_XTND_REG8((volatile uint8 *) fieldPtr      ) <<  8u;\r
- 114                           .loc 1 1429 0\r
- 115 002e 0078                 ldrb    r0, [r0, #0]    @ zero_extendqisi2\r
- 116                   .LVL13:\r
- 117 0030 41EA0020             orr     r0, r1, r0, lsl #8\r
- 118                   .LVL14:\r
- 119                   .L15:\r
-1430:.\Generated_Source\PSoC5/BL.c ****     }\r
-1431:.\Generated_Source\PSoC5/BL.c ****     else\r
-1432:.\Generated_Source\PSoC5/BL.c ****     {\r
-1433:.\Generated_Source\PSoC5/BL.c ****         result =  (uint32) CY_GET_XTND_REG8((volatile uint8 *)(fieldPtr + 3u));\r
-1434:.\Generated_Source\PSoC5/BL.c ****         result |= (uint32) CY_GET_XTND_REG8((volatile uint8 *)(fieldPtr + 2u)) <<  8u;\r
-1435:.\Generated_Source\PSoC5/BL.c ****         result |= (uint32) CY_GET_XTND_REG8((volatile uint8 *)(fieldPtr + 1u)) << 16u;\r
-1436:.\Generated_Source\PSoC5/BL.c ****         result |= (uint32) CY_GET_XTND_REG8((volatile uint8 *)(fieldPtr     )) << 24u;\r
-1437:.\Generated_Source\PSoC5/BL.c ****     }\r
-1438:.\Generated_Source\PSoC5/BL.c **** \r
-1439:.\Generated_Source\PSoC5/BL.c ****     /* Following fields should be little-endian */\r
-1440:.\Generated_Source\PSoC5/BL.c **** #if(!CY_PSOC3)\r
-1441:.\Generated_Source\PSoC5/BL.c ****     switch (fieldName)\r
- 120                           .loc 1 1441 0\r
- 121 0034 022A                 cmp     r2, #2\r
- 122 0036 04D0                 beq     .L14\r
- 123 0038 032A                 cmp     r2, #3\r
- 124 003a 07D0                 beq     .L13\r
- 125 003c 012A                 cmp     r2, #1\r
- 126 003e 15D1                 bne     .L24\r
- 127 0040 04E0                 b       .L13\r
- 128                   .L14:\r
-1442:.\Generated_Source\PSoC5/BL.c ****     {\r
-1443:.\Generated_Source\PSoC5/BL.c ****     case BL_GET_METADATA_BTLDR_LAST_ROW:\r
-1444:.\Generated_Source\PSoC5/BL.c ****         result = CYSWAP_ENDIAN16(result);\r
- 129                           .loc 1 1444 0\r
- 130 0042 0202                 lsls    r2, r0, #8\r
- 131 0044 42EA1023             orr     r3, r2, r0, lsr #8\r
- 132 0048 98B2                 uxth    r0, r3\r
- 133                   .LVL15:\r
- 134 004a 10BD                 pop     {r4, pc}\r
- 135                   .L13:\r
- 136 004c 00BA                 rev     r0, r0\r
- 137                   .LVL16:\r
- 138 004e 10BD                 pop     {r4, pc}\r
- 139                   .LVL17:\r
- 140                   .L10:\r
-1383:.\Generated_Source\PSoC5/BL.c ****         fieldPtr  = BL_MD_BTLDB_APP_CUST_ID_OFFSET(appId);\r
- 141                           .loc 1 1383 0\r
- 142 0050 0C4B                 ldr     r3, .L26+20\r
- 143 0052 00E0                 b       .L6\r
- 144                   .L17:\r
-1403:.\Generated_Source\PSoC5/BL.c ****         fieldPtr  = BL_MD_BTLDB_LENGTH_OFFSET(appId);\r
- 145                           .loc 1 1403 0\r
- 146 0054 0C4B                 ldr     r3, .L26+24\r
- 147                   .L6:\r
-\fARM GAS  C:\Users\MICHA_~1\AppData\Local\Temp\ccjItj5m.s                      page 29\r
-\r
-\r
- 148                   .LVL18:\r
-1433:.\Generated_Source\PSoC5/BL.c ****         result =  (uint32) CY_GET_XTND_REG8((volatile uint8 *)(fieldPtr + 3u));\r
- 149                           .loc 1 1433 0\r
- 150 0056 D878                 ldrb    r0, [r3, #3]    @ zero_extendqisi2\r
- 151                   .LVL19:\r
-1434:.\Generated_Source\PSoC5/BL.c ****         result |= (uint32) CY_GET_XTND_REG8((volatile uint8 *)(fieldPtr + 2u)) <<  8u;\r
- 152                           .loc 1 1434 0\r
- 153 0058 9C78                 ldrb    r4, [r3, #2]    @ zero_extendqisi2\r
- 154                   .LVL20:\r
-1435:.\Generated_Source\PSoC5/BL.c ****         result |= (uint32) CY_GET_XTND_REG8((volatile uint8 *)(fieldPtr + 1u)) << 16u;\r
- 155                           .loc 1 1435 0\r
- 156 005a 5978                 ldrb    r1, [r3, #1]    @ zero_extendqisi2\r
- 157                   .LVL21:\r
-1436:.\Generated_Source\PSoC5/BL.c ****         result |= (uint32) CY_GET_XTND_REG8((volatile uint8 *)(fieldPtr     )) << 24u;\r
- 158                           .loc 1 1436 0\r
- 159 005c 1B78                 ldrb    r3, [r3, #0]    @ zero_extendqisi2\r
- 160                   .LVL22:\r
-1434:.\Generated_Source\PSoC5/BL.c ****         result |= (uint32) CY_GET_XTND_REG8((volatile uint8 *)(fieldPtr + 2u)) <<  8u;\r
- 161                           .loc 1 1434 0\r
- 162 005e 40EA0360             orr     r0, r0, r3, lsl #24\r
- 163                   .LVL23:\r
-1435:.\Generated_Source\PSoC5/BL.c ****         result |= (uint32) CY_GET_XTND_REG8((volatile uint8 *)(fieldPtr + 1u)) << 16u;\r
- 164                           .loc 1 1435 0\r
- 165 0062 40EA0423             orr     r3, r0, r4, lsl #8\r
-1436:.\Generated_Source\PSoC5/BL.c ****         result |= (uint32) CY_GET_XTND_REG8((volatile uint8 *)(fieldPtr     )) << 24u;\r
- 166                           .loc 1 1436 0\r
- 167 0066 43EA0140             orr     r0, r3, r1, lsl #16\r
- 168                   .LVL24:\r
- 169 006a E3E7                 b       .L15\r
- 170                   .LVL25:\r
- 171                   .L24:\r
-1445:.\Generated_Source\PSoC5/BL.c ****         break;\r
-1446:.\Generated_Source\PSoC5/BL.c **** \r
-1447:.\Generated_Source\PSoC5/BL.c ****     case BL_GET_METADATA_BTLDB_ADDR:\r
-1448:.\Generated_Source\PSoC5/BL.c ****     case BL_GET_METADATA_BTLDB_LENGTH:\r
-1449:.\Generated_Source\PSoC5/BL.c ****         result = CYSWAP_ENDIAN32(result);\r
-1450:.\Generated_Source\PSoC5/BL.c ****         break;\r
-1451:.\Generated_Source\PSoC5/BL.c **** \r
-1452:.\Generated_Source\PSoC5/BL.c ****     default:\r
-1453:.\Generated_Source\PSoC5/BL.c ****         break;\r
-1454:.\Generated_Source\PSoC5/BL.c ****     }\r
-1455:.\Generated_Source\PSoC5/BL.c **** \r
-1456:.\Generated_Source\PSoC5/BL.c **** #endif  /* (!CY_PSOC3) */\r
-1457:.\Generated_Source\PSoC5/BL.c **** \r
-1458:.\Generated_Source\PSoC5/BL.c ****     return (result);\r
-1459:.\Generated_Source\PSoC5/BL.c **** }\r
- 172                           .loc 1 1459 0\r
- 173 006c 10BD                 pop     {r4, pc}\r
- 174                   .L27:\r
- 175 006e 00BF                 .align  2\r
- 176                   .L26:\r
- 177 0070 D2FF0100             .word   131026\r
- 178 0074 C1FF0100             .word   131009\r
- 179 0078 D6FF0100             .word   131030\r
- 180 007c D4FF0100             .word   131028\r
- 181 0080 C5FF0100             .word   131013\r
- 182 0084 D8FF0100             .word   131032\r
-\fARM GAS  C:\Users\MICHA_~1\AppData\Local\Temp\ccjItj5m.s                      page 30\r
-\r
-\r
- 183 0088 C9FF0100             .word   131017\r
- 184                           .cfi_endproc\r
- 185                   .LFE69:\r
- 186                           .size   BL_GetMetadata.constprop.1, .-BL_GetMetadata.constprop.1\r
- 187                           .section        .text.BL_ValidateBootloadable.constprop.0,"ax",%progbits\r
- 188                           .align  1\r
- 189                           .thumb\r
- 190                           .thumb_func\r
- 191                           .type   BL_ValidateBootloadable.constprop.0, %function\r
- 192                   BL_ValidateBootloadable.constprop.0:\r
- 193                   .LFB70:\r
- 501:.\Generated_Source\PSoC5/BL.c **** static cystatus BL_ValidateBootloadable(uint8 appId) CYSMALL \\r
- 194                           .loc 1 501 0\r
- 195                           .cfi_startproc\r
- 196                           @ args = 0, pretend = 0, frame = 0\r
- 197                           @ frame_needed = 0, uses_anonymous_args = 0\r
- 198                   .LVL26:\r
- 199 0000 70B5                 push    {r4, r5, r6, lr}\r
- 200                   .LCFI1:\r
- 201                           .cfi_def_cfa_offset 16\r
- 202                           .cfi_offset 4, -16\r
- 203                           .cfi_offset 5, -12\r
- 204                           .cfi_offset 6, -8\r
- 205                           .cfi_offset 14, -4\r
- 506:.\Generated_Source\PSoC5/BL.c ****         uint32 CYDATA end   = BL_FIRST_APP_BYTE(appId) +\r
- 206                           .loc 1 506 0\r
- 207 0002 0220                 movs    r0, #2\r
- 208 0004 FFF7FEFF             bl      BL_GetMetadata.constprop.1\r
- 209                   .LVL27:\r
- 210 0008 0646                 mov     r6, r0\r
- 507:.\Generated_Source\PSoC5/BL.c ****                                 BL_GetMetadata(BL_GET_METADATA_BTLDB_LENGTH,\r
- 211                           .loc 1 507 0\r
- 212 000a 0320                 movs    r0, #3\r
- 213 000c FFF7FEFF             bl      BL_GetMetadata.constprop.1\r
- 214                   .LVL28:\r
- 506:.\Generated_Source\PSoC5/BL.c ****         uint32 CYDATA end   = BL_FIRST_APP_BYTE(appId) +\r
- 215                           .loc 1 506 0\r
- 216 0010 711C                 adds    r1, r6, #1\r
- 217 0012 00EB0126             add     r6, r0, r1, lsl #8\r
- 218                   .LVL29:\r
- 535:.\Generated_Source\PSoC5/BL.c ****         for(idx = BL_FIRST_APP_BYTE(appId); idx < end; ++idx)\r
- 219                           .loc 1 535 0\r
- 220 0016 0220                 movs    r0, #2\r
- 221 0018 FFF7FEFF             bl      BL_GetMetadata.constprop.1\r
- 222                   .LVL30:\r
- 511:.\Generated_Source\PSoC5/BL.c ****         uint8  CYDATA calcedChecksum = 0u;\r
- 223                           .loc 1 511 0\r
- 224 001c 0024                 movs    r4, #0\r
- 535:.\Generated_Source\PSoC5/BL.c ****         for(idx = BL_FIRST_APP_BYTE(appId); idx < end; ++idx)\r
- 225                           .loc 1 535 0\r
- 226 001e 0130                 adds    r0, r0, #1\r
- 227 0020 0102                 lsls    r1, r0, #8\r
- 228                   .LVL31:\r
- 510:.\Generated_Source\PSoC5/BL.c ****         CYBIT         valid = 0u; /* Assume bad flash image */\r
- 229                           .loc 1 510 0\r
- 230 0022 2546                 mov     r5, r4\r
- 231                   .LVL32:\r
-\fARM GAS  C:\Users\MICHA_~1\AppData\Local\Temp\ccjItj5m.s                      page 31\r
-\r
-\r
- 232                   .L29:\r
- 535:.\Generated_Source\PSoC5/BL.c ****         for(idx = BL_FIRST_APP_BYTE(appId); idx < end; ++idx)\r
- 233                           .loc 1 535 0\r
- 234 0024 B142                 cmp     r1, r6\r
- 235 0026 09D2                 bcs     .L44\r
- 236                   .L31:\r
- 237                   .LBB3:\r
- 537:.\Generated_Source\PSoC5/BL.c ****             uint8 CYDATA curByte = BL_GET_CODE_BYTE(idx);\r
- 238                           .loc 1 537 0\r
- 239 0028 11F8010B             ldrb    r0, [r1], #1    @ zero_extendqisi2\r
- 240                   .LVL33:\r
- 539:.\Generated_Source\PSoC5/BL.c ****             if((curByte != 0u) && (curByte != 0xFFu))\r
- 241                           .loc 1 539 0\r
- 242 002c 421E                 subs    r2, r0, #1\r
- 243 002e D3B2                 uxtb    r3, r2\r
- 544:.\Generated_Source\PSoC5/BL.c ****             calcedChecksum += curByte;\r
- 244                           .loc 1 544 0\r
- 245 0030 0419                 adds    r4, r0, r4\r
- 246                   .LVL34:\r
- 541:.\Generated_Source\PSoC5/BL.c ****                 valid = 1u;\r
- 247                           .loc 1 541 0\r
- 248 0032 FD2B                 cmp     r3, #253\r
- 249 0034 98BF                 it      ls\r
- 250 0036 0125                 movls   r5, #1\r
- 251                   .LVL35:\r
- 544:.\Generated_Source\PSoC5/BL.c ****             calcedChecksum += curByte;\r
- 252                           .loc 1 544 0\r
- 253 0038 E4B2                 uxtb    r4, r4\r
- 254                   .LVL36:\r
- 255 003a F3E7                 b       .L29\r
- 256                   .LVL37:\r
- 257                   .L44:\r
- 258                   .LBE3:\r
- 558:.\Generated_Source\PSoC5/BL.c ****             idx = ((BL_FIRST_APP_BYTE(appId)) >> 3u);\r
- 259                           .loc 1 558 0\r
- 260 003c 0220                 movs    r0, #2\r
- 261 003e FFF7FEFF             bl      BL_GetMetadata.constprop.1\r
- 262                   .LVL38:\r
- 563:.\Generated_Source\PSoC5/BL.c ****                 : (end >> 3u);\r
- 263                           .loc 1 563 0\r
- 264 0042 0F49                 ldr     r1, .L46\r
- 558:.\Generated_Source\PSoC5/BL.c ****             idx = ((BL_FIRST_APP_BYTE(appId)) >> 3u);\r
- 265                           .loc 1 558 0\r
- 266 0044 421C                 adds    r2, r0, #1\r
- 267 0046 1302                 lsls    r3, r2, #8\r
- 268 0048 DB08                 lsrs    r3, r3, #3\r
- 269                   .LVL39:\r
- 563:.\Generated_Source\PSoC5/BL.c ****                 : (end >> 3u);\r
- 270                           .loc 1 563 0\r
- 271 004a 8E42                 cmp     r6, r1\r
- 272 004c 01D0                 beq     .L39\r
- 273 004e F608                 lsrs    r6, r6, #3\r
- 274                   .LVL40:\r
- 275 0050 01E0                 b       .L43\r
- 276                   .LVL41:\r
- 277                   .L39:\r
- 278 0052 4FF48046             mov     r6, #16384\r
-\fARM GAS  C:\Users\MICHA_~1\AppData\Local\Temp\ccjItj5m.s                      page 32\r
-\r
-\r
- 279                   .LVL42:\r
- 280                   .L43:\r
- 565:.\Generated_Source\PSoC5/BL.c ****             for (; idx < end; ++idx)\r
- 281                           .loc 1 565 0\r
- 282 0056 B342                 cmp     r3, r6\r
- 283 0058 06D2                 bcs     .L45\r
- 284                   .L34:\r
- 501:.\Generated_Source\PSoC5/BL.c **** static cystatus BL_ValidateBootloadable(uint8 appId) CYSMALL \\r
- 285                           .loc 1 501 0\r
- 286 005a 03F19041             add     r1, r3, #1207959552\r
- 567:.\Generated_Source\PSoC5/BL.c ****                 calcedChecksum += CY_GET_XTND_REG8((volatile uint8 *)(CYDEV_ECC_BASE + idx));\r
- 287                           .loc 1 567 0\r
- 288 005e 0878                 ldrb    r0, [r1, #0]    @ zero_extendqisi2\r
- 565:.\Generated_Source\PSoC5/BL.c ****             for (; idx < end; ++idx)\r
- 289                           .loc 1 565 0\r
- 290 0060 0133                 adds    r3, r3, #1\r
- 291                   .LVL43:\r
- 567:.\Generated_Source\PSoC5/BL.c ****                 calcedChecksum += CY_GET_XTND_REG8((volatile uint8 *)(CYDEV_ECC_BASE + idx));\r
- 292                           .loc 1 567 0\r
- 293 0062 0219                 adds    r2, r0, r4\r
- 294 0064 D4B2                 uxtb    r4, r2\r
- 295                   .LVL44:\r
- 296 0066 F6E7                 b       .L43\r
- 297                   .LVL45:\r
- 298                   .L45:\r
- 575:.\Generated_Source\PSoC5/BL.c ****         if((calcedChecksum != BL_MD_BTLDB_CHECKSUM_VALUE(appId)) ||\r
- 299                           .loc 1 575 0\r
- 300 0068 0548                 ldr     r0, .L46\r
- 573:.\Generated_Source\PSoC5/BL.c ****         calcedChecksum = ( uint8 )1u + ( uint8 )(~calcedChecksum);\r
- 301                           .loc 1 573 0\r
- 302 006a 6442                 negs    r4, r4\r
- 303                   .LVL46:\r
- 575:.\Generated_Source\PSoC5/BL.c ****         if((calcedChecksum != BL_MD_BTLDB_CHECKSUM_VALUE(appId)) ||\r
- 304                           .loc 1 575 0\r
- 305 006c 0278                 ldrb    r2, [r0, #0]    @ zero_extendqisi2\r
- 306 006e E4B2                 uxtb    r4, r4\r
- 307                   .LVL47:\r
- 308 0070 9442                 cmp     r4, r2\r
- 309 0072 01D0                 beq     .L35\r
- 310                   .L37:\r
- 578:.\Generated_Source\PSoC5/BL.c ****             return(CYRET_BAD_DATA);\r
- 311                           .loc 1 578 0\r
- 312 0074 0620                 movs    r0, #6\r
- 313 0076 70BD                 pop     {r4, r5, r6, pc}\r
- 314                   .L35:\r
- 575:.\Generated_Source\PSoC5/BL.c ****         if((calcedChecksum != BL_MD_BTLDB_CHECKSUM_VALUE(appId)) ||\r
- 315                           .loc 1 575 0\r
- 316 0078 002D                 cmp     r5, #0\r
- 317 007a FBD0                 beq     .L37\r
- 588:.\Generated_Source\PSoC5/BL.c ****         return(CYRET_SUCCESS);\r
- 318                           .loc 1 588 0\r
- 319 007c 0020                 movs    r0, #0\r
- 589:.\Generated_Source\PSoC5/BL.c **** }\r
- 320                           .loc 1 589 0\r
- 321 007e 70BD                 pop     {r4, r5, r6, pc}\r
- 322                   .L47:\r
- 323                           .align  2\r
-\fARM GAS  C:\Users\MICHA_~1\AppData\Local\Temp\ccjItj5m.s                      page 33\r
-\r
-\r
- 324                   .L46:\r
- 325 0080 C0FF0100             .word   131008\r
- 326                           .cfi_endproc\r
- 327                   .LFE70:\r
- 328                           .size   BL_ValidateBootloadable.constprop.0, .-BL_ValidateBootloadable.constprop.0\r
- 329                           .section        .text.BL_HostLink,"ax",%progbits\r
- 330                           .align  1\r
- 331                           .thumb\r
- 332                           .thumb_func\r
- 333                           .type   BL_HostLink, %function\r
- 334                   BL_HostLink:\r
- 335                   .LFB64:\r
- 611:.\Generated_Source\PSoC5/BL.c **** {\r
- 336                           .loc 1 611 0\r
- 337                           .cfi_startproc\r
- 338                           @ args = 0, pretend = 0, frame = 896\r
- 339                           @ frame_needed = 0, uses_anonymous_args = 0\r
- 340                   .LVL48:\r
- 341 0000 2DE9F04F             push    {r4, r5, r6, r7, r8, r9, sl, fp, lr}\r
- 342                   .LCFI2:\r
- 343                           .cfi_def_cfa_offset 36\r
- 344                           .cfi_offset 4, -36\r
- 345                           .cfi_offset 5, -32\r
- 346                           .cfi_offset 6, -28\r
- 347                           .cfi_offset 7, -24\r
- 348                           .cfi_offset 8, -20\r
- 349                           .cfi_offset 9, -16\r
- 350                           .cfi_offset 10, -12\r
- 351                           .cfi_offset 11, -8\r
- 352                           .cfi_offset 14, -4\r
- 353 0004 ADF5617D             sub     sp, sp, #900\r
- 354                   .LCFI3:\r
- 355                           .cfi_def_cfa_offset 936\r
- 611:.\Generated_Source\PSoC5/BL.c **** {\r
- 356                           .loc 1 611 0\r
- 357 0008 8046                 mov     r8, r0\r
- 632:.\Generated_Source\PSoC5/BL.c ****     CyBtldrCommStart();\r
- 358                           .loc 1 632 0\r
- 359 000a FFF7FEFF             bl      USBFS_CyBtldrCommStart\r
- 360                   .LVL49:\r
- 635:.\Generated_Source\PSoC5/BL.c ****     CyGlobalIntEnable;\r
- 361                           .loc 1 635 0\r
- 362                   @ 635 ".\Generated_Source\PSoC5\BL.c" 1\r
- 363 000e 62B6                 CPSIE   i\r
- 364                   @ 0 "" 2\r
- 625:.\Generated_Source\PSoC5/BL.c ****     CYBIT     communicationState = BL_COMMUNICATION_STATE_IDLE;\r
- 365                           .loc 1 625 0\r
- 366                           .thumb\r
- 367 0010 0026                 movs    r6, #0\r
- 622:.\Generated_Source\PSoC5/BL.c ****         uint8 CYDATA clearedMetaData = 0u;\r
- 368                           .loc 1 622 0\r
- 369 0012 B246                 mov     sl, r6\r
- 619:.\Generated_Source\PSoC5/BL.c ****     uint8     CYDATA timeOutCnt = 10u;\r
- 370                           .loc 1 619 0\r
- 371 0014 4FF00A09             mov     r9, #10\r
- 618:.\Generated_Source\PSoC5/BL.c ****     uint16    CYDATA dataOffset = 0u;\r
- 372                           .loc 1 618 0\r
-\fARM GAS  C:\Users\MICHA_~1\AppData\Local\Temp\ccjItj5m.s                      page 34\r
-\r
-\r
- 373 0018 3746                 mov     r7, r6\r
- 374                   .LVL50:\r
- 375                   .L128:\r
- 643:.\Generated_Source\PSoC5/BL.c ****             readStat = CyBtldrCommRead(packetBuffer,\r
- 376                           .loc 1 643 0\r
- 377 001a B8F1000F             cmp     r8, #0\r
- 378 001e 01D1                 bne     .L86\r
- 379                   .LVL51:\r
- 380                   .L112:\r
- 381 0020 FF23                 movs    r3, #255\r
- 382 0022 00E0                 b       .L50\r
- 383                   .LVL52:\r
- 384                   .L86:\r
- 385 0024 4346                 mov     r3, r8\r
- 386                   .LVL53:\r
- 387                   .L50:\r
- 643:.\Generated_Source\PSoC5/BL.c ****             readStat = CyBtldrCommRead(packetBuffer,\r
- 388                           .loc 1 643 0 is_stmt 0 discriminator 3\r
- 389 0026 4AA8                 add     r0, sp, #296\r
- 390 0028 4FF49671             mov     r1, #300\r
- 391 002c 01AA                 add     r2, sp, #4\r
- 392 002e FFF7FEFF             bl      USBFS_CyBtldrCommRead\r
- 393                   .LVL54:\r
- 647:.\Generated_Source\PSoC5/BL.c ****             if (0u != timeOut)\r
- 394                           .loc 1 647 0 is_stmt 1 discriminator 3\r
- 395 0032 B8F1000F             cmp     r8, #0\r
- 396 0036 03D0                 beq     .L51\r
- 649:.\Generated_Source\PSoC5/BL.c ****                 timeOutCnt--;\r
- 397                           .loc 1 649 0\r
- 398 0038 09F1FF39             add     r9, r9, #-1\r
- 399 003c 5FFA89F9             uxtb    r9, r9\r
- 400                   .LVL55:\r
- 401                   .L51:\r
- 652:.\Generated_Source\PSoC5/BL.c ****         } while ( (0u != timeOutCnt) && (readStat != CYRET_SUCCESS) );\r
- 402                           .loc 1 652 0\r
- 403 0040 B9F1000F             cmp     r9, #0\r
- 404 0044 02D0                 beq     .L52\r
- 652:.\Generated_Source\PSoC5/BL.c ****         } while ( (0u != timeOutCnt) && (readStat != CYRET_SUCCESS) );\r
- 405                           .loc 1 652 0 is_stmt 0 discriminator 1\r
- 406 0046 0028                 cmp     r0, #0\r
- 407 0048 E7D1                 bne     .L128\r
- 408 004a 01E0                 b       .L54\r
- 409                   .L52:\r
- 655:.\Generated_Source\PSoC5/BL.c ****         if( readStat != CYRET_SUCCESS )\r
- 410                           .loc 1 655 0 is_stmt 1\r
- 411 004c 0028                 cmp     r0, #0\r
- 412 004e 71D1                 bne     .L55\r
- 413                   .L54:\r
- 660:.\Generated_Source\PSoC5/BL.c ****         if((numberRead < BL_MIN_PKT_SIZE) ||\r
- 414                           .loc 1 660 0\r
- 415 0050 BDF80420             ldrh    r2, [sp, #4]\r
- 416 0054 062A                 cmp     r2, #6\r
- 417 0056 40F27B81             bls     .L90\r
- 660:.\Generated_Source\PSoC5/BL.c ****         if((numberRead < BL_MIN_PKT_SIZE) ||\r
- 418                           .loc 1 660 0 is_stmt 0 discriminator 1\r
- 419 005a 9DF82831             ldrb    r3, [sp, #296]  @ zero_extendqisi2\r
- 420 005e 012B                 cmp     r3, #1\r
-\fARM GAS  C:\Users\MICHA_~1\AppData\Local\Temp\ccjItj5m.s                      page 35\r
-\r
-\r
- 421 0060 40F07681             bne     .L90\r
- 667:.\Generated_Source\PSoC5/BL.c ****             pktSize = ((uint16)((uint16)packetBuffer[BL_SIZE_ADDR + 1u] << 8u)) |\r
- 422                           .loc 1 667 0 is_stmt 1\r
- 423 0064 9DF82A01             ldrb    r0, [sp, #298]  @ zero_extendqisi2\r
- 424                   .LVL56:\r
- 425 0068 9DF82B51             ldrb    r5, [sp, #299]  @ zero_extendqisi2\r
- 670:.\Generated_Source\PSoC5/BL.c ****             pktChecksum = ((uint16)((uint16)packetBuffer[BL_CHK_ADDR(pktSize) + 1u] << 8u)) |\r
- 426                           .loc 1 670 0\r
- 427 006c 4AA9                 add     r1, sp, #296\r
- 667:.\Generated_Source\PSoC5/BL.c ****             pktSize = ((uint16)((uint16)packetBuffer[BL_SIZE_ADDR + 1u] << 8u)) |\r
- 428                           .loc 1 667 0\r
- 429 006e 40EA0525             orr     r5, r0, r5, lsl #8\r
- 430                   .LVL57:\r
- 673:.\Generated_Source\PSoC5/BL.c ****             if((pktSize + BL_MIN_PKT_SIZE) > numberRead)\r
- 431                           .loc 1 673 0\r
- 432 0072 EC1D                 adds    r4, r5, #7\r
- 670:.\Generated_Source\PSoC5/BL.c ****             pktChecksum = ((uint16)((uint16)packetBuffer[BL_CHK_ADDR(pktSize) + 1u] << 8u)) |\r
- 433                           .loc 1 670 0\r
- 434 0074 4B19                 adds    r3, r1, r5\r
- 673:.\Generated_Source\PSoC5/BL.c ****             if((pktSize + BL_MIN_PKT_SIZE) > numberRead)\r
- 435                           .loc 1 673 0\r
- 436 0076 9442                 cmp     r4, r2\r
- 670:.\Generated_Source\PSoC5/BL.c ****             pktChecksum = ((uint16)((uint16)packetBuffer[BL_CHK_ADDR(pktSize) + 1u] << 8u)) |\r
- 437                           .loc 1 670 0\r
- 438 0078 5879                 ldrb    r0, [r3, #5]    @ zero_extendqisi2\r
- 671:.\Generated_Source\PSoC5/BL.c ****                                    packetBuffer[BL_CHK_ADDR(pktSize)];\r
- 439                           .loc 1 671 0\r
- 440 007a 1979                 ldrb    r1, [r3, #4]    @ zero_extendqisi2\r
- 441                   .LVL58:\r
- 673:.\Generated_Source\PSoC5/BL.c ****             if((pktSize + BL_MIN_PKT_SIZE) > numberRead)\r
- 442                           .loc 1 673 0\r
- 443 007c 00F26681             bhi     .L89\r
- 677:.\Generated_Source\PSoC5/BL.c ****             else if(packetBuffer[BL_EOP_ADDR(pktSize)] != BL_EOP)\r
- 444                           .loc 1 677 0\r
- 445 0080 9A79                 ldrb    r2, [r3, #6]    @ zero_extendqisi2\r
- 446 0082 172A                 cmp     r2, #23\r
- 447 0084 40F06481             bne     .L90\r
- 681:.\Generated_Source\PSoC5/BL.c ****             else if(pktChecksum != BL_CalcPacketChecksum(packetBuffer,\r
- 448                           .loc 1 681 0\r
- 449 0088 2B1D                 adds    r3, r5, #4\r
- 450 008a 9BB2                 uxth    r3, r3\r
- 451                   .LVL59:\r
- 157:.\Generated_Source\PSoC5/BL.c ****         uint16 CYDATA sum = 0u;\r
- 452                           .loc 1 157 0\r
- 453 008c 0022                 movs    r2, #0\r
- 454                   .LVL60:\r
- 455                   .L57:\r
- 456                   .LBB20:\r
- 457                   .LBB21:\r
- 159:.\Generated_Source\PSoC5/BL.c ****         while (size > 0u)\r
- 458                           .loc 1 159 0\r
- 459 008e 3BB1                 cbz     r3, .L134\r
- 460                   .L58:\r
- 161:.\Generated_Source\PSoC5/BL.c ****             sum += buffer[size - 1u];\r
- 461                           .loc 1 161 0\r
- 462 0090 0DF22714             addw    r4, sp, #295\r
- 463 0094 E45C                 ldrb    r4, [r4, r3]    @ zero_extendqisi2\r
-\fARM GAS  C:\Users\MICHA_~1\AppData\Local\Temp\ccjItj5m.s                      page 36\r
-\r
-\r
- 162:.\Generated_Source\PSoC5/BL.c ****             size--;\r
- 464                           .loc 1 162 0\r
- 465 0096 013B                 subs    r3, r3, #1\r
- 466                   .LVL61:\r
- 161:.\Generated_Source\PSoC5/BL.c ****             sum += buffer[size - 1u];\r
- 467                           .loc 1 161 0\r
- 468 0098 1219                 adds    r2, r2, r4\r
- 469                   .LVL62:\r
- 470 009a 92B2                 uxth    r2, r2\r
- 471                   .LVL63:\r
- 162:.\Generated_Source\PSoC5/BL.c ****             size--;\r
- 472                           .loc 1 162 0\r
- 473 009c 9BB2                 uxth    r3, r3\r
- 474                   .LVL64:\r
- 475 009e F6E7                 b       .L57\r
- 476                   .L134:\r
- 165:.\Generated_Source\PSoC5/BL.c ****         return(( uint16 )1u + ( uint16 )(~sum));\r
- 477                           .loc 1 165 0\r
- 478 00a0 5242                 negs    r2, r2\r
- 479                   .LVL65:\r
- 480                   .LBE21:\r
- 481                   .LBE20:\r
- 681:.\Generated_Source\PSoC5/BL.c ****             else if(pktChecksum != BL_CalcPacketChecksum(packetBuffer,\r
- 482                           .loc 1 681 0\r
- 483 00a2 41EA0020             orr     r0, r1, r0, lsl #8\r
- 484                   .LVL66:\r
- 485 00a6 91B2                 uxth    r1, r2\r
- 486                   .LVL67:\r
- 487 00a8 8842                 cmp     r0, r1\r
- 488 00aa 40F05381             bne     .L91\r
- 489 00ae 4AE0                 b       .L135\r
- 490                   .LVL68:\r
- 491                   .L62:\r
- 492                   .LBB22:\r
- 761:.\Generated_Source\PSoC5/BL.c ****                     if((BL_COMMUNICATION_STATE_ACTIVE == communicationState) && (pktSize == 1u))\r
- 493                           .loc 1 761 0\r
- 494 00b0 002E                 cmp     r6, #0\r
- 495 00b2 00F04D81             beq     .L90\r
- 761:.\Generated_Source\PSoC5/BL.c ****                     if((BL_COMMUNICATION_STATE_ACTIVE == communicationState) && (pktSize == 1u))\r
- 496                           .loc 1 761 0 is_stmt 0 discriminator 1\r
- 497 00b6 012D                 cmp     r5, #1\r
- 498 00b8 4FF00004             mov     r4, #0\r
- 499 00bc 40F03C81             bne     .L96\r
- 764:.\Generated_Source\PSoC5/BL.c ****                         if(btldrData < BL_NUM_OF_FLASH_ARRAYS)\r
- 500                           .loc 1 764 0 is_stmt 1\r
- 501 00c0 BBF1010F             cmp     fp, #1\r
- 502 00c4 00F23881             bhi     .L96\r
- 503                   .LVL69:\r
- 504                   .LBB23:\r
- 774:.\Generated_Source\PSoC5/BL.c ****                             packetBuffer[BL_DATA_ADDR + 2u] = LO8(CY_FLASH_NUMBER_ROWS - 1u);\r
- 505                           .loc 1 774 0\r
- 506 00c8 FF23                 movs    r3, #255\r
- 772:.\Generated_Source\PSoC5/BL.c ****                             packetBuffer[BL_DATA_ADDR]      = LO8(startRow);\r
- 507                           .loc 1 772 0\r
- 508 00ca 8DF82C41             strb    r4, [sp, #300]\r
- 773:.\Generated_Source\PSoC5/BL.c ****                             packetBuffer[BL_DATA_ADDR + 1u] = HI8(startRow);\r
- 509                           .loc 1 773 0\r
-\fARM GAS  C:\Users\MICHA_~1\AppData\Local\Temp\ccjItj5m.s                      page 37\r
-\r
-\r
- 510 00ce 8DF82D41             strb    r4, [sp, #301]\r
- 778:.\Generated_Source\PSoC5/BL.c ****                             ackCode = CYRET_SUCCESS;\r
- 511                           .loc 1 778 0\r
- 512 00d2 2546                 mov     r5, r4\r
- 513                   .LVL70:\r
- 774:.\Generated_Source\PSoC5/BL.c ****                             packetBuffer[BL_DATA_ADDR + 2u] = LO8(CY_FLASH_NUMBER_ROWS - 1u);\r
- 514                           .loc 1 774 0\r
- 515 00d4 8DF82E31             strb    r3, [sp, #302]\r
- 775:.\Generated_Source\PSoC5/BL.c ****                             packetBuffer[BL_DATA_ADDR + 3u] = HI8(CY_FLASH_NUMBER_ROWS - 1u);\r
- 516                           .loc 1 775 0\r
- 517 00d8 8DF82F61             strb    r6, [sp, #303]\r
- 518                   .LVL71:\r
- 777:.\Generated_Source\PSoC5/BL.c ****                             rspSize = 4u;\r
- 519                           .loc 1 777 0\r
- 520 00dc 0424                 movs    r4, #4\r
- 521                   .LVL72:\r
- 522                   .L61:\r
- 523                   .LBE23:\r
- 524                   .LBE22:\r
- 525                   .LBB32:\r
- 526                   .LBB33:\r
-1286:.\Generated_Source\PSoC5/BL.c ****     buffer[BL_SOP_ADDR]      = BL_SOP;\r
- 527                           .loc 1 1286 0\r
- 528 00de 0120                 movs    r0, #1\r
-1289:.\Generated_Source\PSoC5/BL.c ****     buffer[BL_SIZE_ADDR + 1u] = HI8(size);\r
- 529                           .loc 1 1289 0\r
- 530 00e0 0022                 movs    r2, #0\r
-1292:.\Generated_Source\PSoC5/BL.c ****     checksum = BL_CalcPacketChecksum(buffer, size + BL_DATA_ADDR);\r
- 531                           .loc 1 1292 0\r
- 532 00e2 211D                 adds    r1, r4, #4\r
- 533 00e4 ADF80640             strh    r4, [sp, #6]    @ movhi\r
-1286:.\Generated_Source\PSoC5/BL.c ****     buffer[BL_SOP_ADDR]      = BL_SOP;\r
- 534                           .loc 1 1286 0\r
- 535 00e8 8DF82801             strb    r0, [sp, #296]\r
-1287:.\Generated_Source\PSoC5/BL.c ****     buffer[BL_CMD_ADDR]      = status;\r
- 536                           .loc 1 1287 0\r
- 537 00ec 8DF82951             strb    r5, [sp, #297]\r
-1288:.\Generated_Source\PSoC5/BL.c ****     buffer[BL_SIZE_ADDR]     = LO8(size);\r
- 538                           .loc 1 1288 0\r
- 539 00f0 8DF82A41             strb    r4, [sp, #298]\r
-1289:.\Generated_Source\PSoC5/BL.c ****     buffer[BL_SIZE_ADDR + 1u] = HI8(size);\r
- 540                           .loc 1 1289 0\r
- 541 00f4 8DF82B21             strb    r2, [sp, #299]\r
-1292:.\Generated_Source\PSoC5/BL.c ****     checksum = BL_CalcPacketChecksum(buffer, size + BL_DATA_ADDR);\r
- 542                           .loc 1 1292 0\r
- 543 00f8 8BB2                 uxth    r3, r1\r
- 544                   .LVL73:\r
- 545                   .L82:\r
- 546                   .LBB34:\r
- 547                   .LBB35:\r
- 161:.\Generated_Source\PSoC5/BL.c ****             sum += buffer[size - 1u];\r
- 548                           .loc 1 161 0\r
- 549 00fa 0DF22710             addw    r0, sp, #295\r
- 550 00fe C15C                 ldrb    r1, [r0, r3]    @ zero_extendqisi2\r
- 162:.\Generated_Source\PSoC5/BL.c ****             size--;\r
- 551                           .loc 1 162 0\r
- 552 0100 013B                 subs    r3, r3, #1\r
-\fARM GAS  C:\Users\MICHA_~1\AppData\Local\Temp\ccjItj5m.s                      page 38\r
-\r
-\r
- 161:.\Generated_Source\PSoC5/BL.c ****             sum += buffer[size - 1u];\r
- 553                           .loc 1 161 0\r
- 554 0102 5218                 adds    r2, r2, r1\r
- 162:.\Generated_Source\PSoC5/BL.c ****             size--;\r
- 555                           .loc 1 162 0\r
- 556 0104 9BB2                 uxth    r3, r3\r
- 161:.\Generated_Source\PSoC5/BL.c ****             sum += buffer[size - 1u];\r
- 557                           .loc 1 161 0\r
- 558 0106 92B2                 uxth    r2, r2\r
- 559                   .LVL74:\r
- 159:.\Generated_Source\PSoC5/BL.c ****         while (size > 0u)\r
- 560                           .loc 1 159 0\r
- 561 0108 002B                 cmp     r3, #0\r
- 562 010a F6D1                 bne     .L82\r
- 165:.\Generated_Source\PSoC5/BL.c ****         return(( uint16 )1u + ( uint16 )(~sum));\r
- 563                           .loc 1 165 0\r
- 564 010c 5042                 negs    r0, r2\r
- 565 010e 81B2                 uxth    r1, r0\r
- 566                   .LBE35:\r
- 567                   .LBE34:\r
-1295:.\Generated_Source\PSoC5/BL.c ****     buffer[BL_CHK_ADDR(1u + size)] = HI8(checksum);\r
- 568                           .loc 1 1295 0\r
- 569 0110 080A                 lsrs    r0, r1, #8\r
-1294:.\Generated_Source\PSoC5/BL.c ****     buffer[BL_CHK_ADDR(size)]     = LO8(checksum);\r
- 570                           .loc 1 1294 0\r
- 571 0112 4BAA                 add     r2, sp, #300\r
- 572                   .LVL75:\r
-1295:.\Generated_Source\PSoC5/BL.c ****     buffer[BL_CHK_ADDR(1u + size)] = HI8(checksum);\r
- 573                           .loc 1 1295 0\r
- 574 0114 0DF22D13             addw    r3, sp, #301\r
- 575                   .LVL76:\r
-1294:.\Generated_Source\PSoC5/BL.c ****     buffer[BL_CHK_ADDR(size)]     = LO8(checksum);\r
- 576                           .loc 1 1294 0\r
- 577 0118 1155                 strb    r1, [r2, r4]\r
-1295:.\Generated_Source\PSoC5/BL.c ****     buffer[BL_CHK_ADDR(1u + size)] = HI8(checksum);\r
- 578                           .loc 1 1295 0\r
- 579 011a 1855                 strb    r0, [r3, r4]\r
-1296:.\Generated_Source\PSoC5/BL.c ****     buffer[BL_EOP_ADDR(size)]     = BL_EOP;\r
- 580                           .loc 1 1296 0\r
- 581 011c 1721                 movs    r1, #23\r
- 582 011e 0DF59772             add     r2, sp, #302\r
-1299:.\Generated_Source\PSoC5/BL.c ****     return(CyBtldrCommWrite(buffer, size + BL_MIN_PKT_SIZE, &size, 150u));\r
- 583                           .loc 1 1299 0\r
- 584 0122 E31D                 adds    r3, r4, #7\r
-1296:.\Generated_Source\PSoC5/BL.c ****     buffer[BL_EOP_ADDR(size)]     = BL_EOP;\r
- 585                           .loc 1 1296 0\r
- 586 0124 1155                 strb    r1, [r2, r4]\r
-1299:.\Generated_Source\PSoC5/BL.c ****     return(CyBtldrCommWrite(buffer, size + BL_MIN_PKT_SIZE, &size, 150u));\r
- 587                           .loc 1 1299 0\r
- 588 0126 4AA8                 add     r0, sp, #296\r
- 589                   .LVL77:\r
- 590 0128 99B2                 uxth    r1, r3\r
- 591 012a 0DF10602             add     r2, sp, #6\r
- 592 012e 9623                 movs    r3, #150\r
- 593 0130 FFF7FEFF             bl      USBFS_CyBtldrCommWrite\r
- 594                   .LVL78:\r
- 595                   .L55:\r
-\fARM GAS  C:\Users\MICHA_~1\AppData\Local\Temp\ccjItj5m.s                      page 39\r
-\r
-\r
- 596                   .LBE33:\r
- 597                   .LBE32:\r
-1255:.\Generated_Source\PSoC5/BL.c ****     } while ((0u == timeOut) || (BL_COMMUNICATION_STATE_ACTIVE == communicationState));\r
- 598                           .loc 1 1255 0\r
- 599 0134 B8F1000F             cmp     r8, #0\r
- 600 0138 3FF472AF             beq     .L112\r
-1255:.\Generated_Source\PSoC5/BL.c ****     } while ((0u == timeOut) || (BL_COMMUNICATION_STATE_ACTIVE == communicationState));\r
- 601                           .loc 1 1255 0 is_stmt 0 discriminator 1\r
- 602 013c 002E                 cmp     r6, #0\r
- 603 013e 00F01281             beq     .L136\r
- 604                   .LVL79:\r
- 605                   .L84:\r
-1029:.\Generated_Source\PSoC5/BL.c ****                     dataOffset = 0u;\r
- 606                           .loc 1 1029 0 is_stmt 1\r
- 607 0142 0126                 movs    r6, #1\r
- 608 0144 69E7                 b       .L128\r
- 609                   .LVL80:\r
- 610                   .L135:\r
- 611                   .LBB36:\r
- 698:.\Generated_Source\PSoC5/BL.c ****             switch(packetBuffer[BL_CMD_ADDR])\r
- 612                           .loc 1 698 0\r
- 613 0146 9DF82921             ldrb    r2, [sp, #297]  @ zero_extendqisi2\r
- 614                   .LVL81:\r
- 695:.\Generated_Source\PSoC5/BL.c ****             uint8 CYDATA btldrData = packetBuffer[BL_DATA_ADDR];\r
- 615                           .loc 1 695 0\r
- 616 014a 9DF82CB1             ldrb    fp, [sp, #300]  @ zero_extendqisi2\r
- 617                   .LVL82:\r
- 698:.\Generated_Source\PSoC5/BL.c ****             switch(packetBuffer[BL_CMD_ADDR])\r
- 618                           .loc 1 698 0\r
- 619 014e A2F13103             sub     r3, r2, #49\r
- 620                   .LVL83:\r
- 621 0152 0A2B                 cmp     r3, #10\r
- 622 0154 00F2F780             bhi     .L110\r
- 623 0158 01A1                 adr     r1, .L85\r
- 624 015a 51F823F0             ldr     pc, [r1, r3, lsl #2]\r
- 625 015e 00BF                 .align  2\r
- 626                   .L85:\r
- 627 0160 8D010000             .word   .L60+1\r
- 628 0164 B1000000             .word   .L62+1\r
- 629 0168 47030000             .word   .L110+1\r
- 630 016c AB010000             .word   .L63+1\r
- 631 0170 5D020000             .word   .L69+1\r
- 632 0174 47030000             .word   .L110+1\r
- 633 0178 63020000             .word   .L71+1\r
- 634 017c 81020000             .word   .L72+1\r
- 635 0180 AB010000             .word   .L63+1\r
- 636 0184 9B020000             .word   .L73+1\r
- 637 0188 27030000             .word   .L80+1\r
- 638                   .L60:\r
- 743:.\Generated_Source\PSoC5/BL.c ****                 if((BL_COMMUNICATION_STATE_ACTIVE == communicationState) && (pktSize == 0u))\r
- 639                           .loc 1 743 0\r
- 640 018c 002E                 cmp     r6, #0\r
- 641 018e 00F0DF80             beq     .L90\r
- 743:.\Generated_Source\PSoC5/BL.c ****                 if((BL_COMMUNICATION_STATE_ACTIVE == communicationState) && (pktSize == 0u))\r
- 642                           .loc 1 743 0 is_stmt 0 discriminator 1\r
- 643 0192 002D                 cmp     r5, #0\r
- 644 0194 40F0DC80             bne     .L90\r
-\fARM GAS  C:\Users\MICHA_~1\AppData\Local\Temp\ccjItj5m.s                      page 40\r
-\r
-\r
- 746:.\Generated_Source\PSoC5/BL.c ****                             (uint8)(BL_ValidateBootloadable(BL_activeApp) == CYRET_SUCCESS);\r
- 645                           .loc 1 746 0 is_stmt 1\r
- 646 0198 FFF7FEFF             bl      BL_ValidateBootloadable.constprop.0\r
- 647                   .LVL84:\r
- 648 019c D0F10102             rsbs    r2, r0, #1\r
- 649 01a0 38BF                 it      cc\r
- 650 01a2 0022                 movcc   r2, #0\r
- 651 01a4 8DF82C21             strb    r2, [sp, #300]\r
- 652                   .LVL85:\r
- 653 01a8 BBE0                 b       .L132\r
- 654                   .LVL86:\r
- 655                   .L63:\r
- 825:.\Generated_Source\PSoC5/BL.c ****                 if (BL_COMMAND_ERASE == packetBuffer[BL_CMD_ADDR])\r
- 656                           .loc 1 825 0\r
- 657 01aa 342A                 cmp     r2, #52\r
- 658 01ac 12D1                 bne     .L64\r
- 827:.\Generated_Source\PSoC5/BL.c ****                     if ((BL_COMMUNICATION_STATE_ACTIVE == communicationState) && (pktSize == 3u))\r
- 659                           .loc 1 827 0\r
- 660 01ae 002E                 cmp     r6, #0\r
- 661 01b0 00F0CE80             beq     .L90\r
- 827:.\Generated_Source\PSoC5/BL.c ****                     if ((BL_COMMUNICATION_STATE_ACTIVE == communicationState) && (pktSize == 3u))\r
- 662                           .loc 1 827 0 is_stmt 0 discriminator 1\r
- 663 01b4 032D                 cmp     r5, #3\r
- 664 01b6 40F0CB80             bne     .L90\r
- 830:.\Generated_Source\PSoC5/BL.c ****                             if((btldrData >= BL_FIRST_EE_ARRAYID) &&\r
- 665                           .loc 1 830 0 is_stmt 1\r
- 666 01ba ABF14007             sub     r7, fp, #64\r
- 834:.\Generated_Source\PSoC5/BL.c ****                                 dataOffset = CY_EEPROM_SIZEOF_ROW;\r
- 667                           .loc 1 834 0\r
- 668 01be 3F2F                 cmp     r7, #63\r
- 669 01c0 8CBF                 ite     hi\r
- 670 01c2 4FF49077             movhi   r7, #288\r
- 671 01c6 1027                 movls   r7, #16\r
- 672                   .LVL87:\r
- 849:.\Generated_Source\PSoC5/BL.c ****                             (void) memset(dataBuffer, 0, dataOffset);\r
- 673                           .loc 1 849 0\r
- 674 01c8 95A8                 add     r0, sp, #596\r
- 675 01ca 0021                 movs    r1, #0\r
- 676 01cc 3A46                 mov     r2, r7\r
- 677 01ce FFF7FEFF             bl      memset\r
- 678                   .LVL88:\r
- 679 01d2 05E0                 b       .L66\r
- 680                   .LVL89:\r
- 681                   .L64:\r
- 861:.\Generated_Source\PSoC5/BL.c ****                 if((BL_COMMUNICATION_STATE_ACTIVE == communicationState) && (pktSize >= 3u))\r
- 682                           .loc 1 861 0\r
- 683 01d4 002E                 cmp     r6, #0\r
- 684 01d6 00F0BB80             beq     .L90\r
- 861:.\Generated_Source\PSoC5/BL.c ****                 if((BL_COMMUNICATION_STATE_ACTIVE == communicationState) && (pktSize >= 3u))\r
- 685                           .loc 1 861 0 is_stmt 0 discriminator 1\r
- 686 01da 022D                 cmp     r5, #2\r
- 687 01dc 40F2B880             bls     .L90\r
- 688                   .LVL90:\r
- 689                   .L66:\r
- 870:.\Generated_Source\PSoC5/BL.c ****                         (void) memcpy(&dataBuffer[dataOffset],\r
- 690                           .loc 1 870 0 is_stmt 1\r
- 691 01e0 033D                 subs    r5, r5, #3\r
-\fARM GAS  C:\Users\MICHA_~1\AppData\Local\Temp\ccjItj5m.s                      page 41\r
-\r
-\r
- 692                   .LVL91:\r
- 693 01e2 95AB                 add     r3, sp, #596\r
- 694 01e4 2A46                 mov     r2, r5\r
- 695 01e6 D819                 adds    r0, r3, r7\r
- 696 01e8 0DF22F11             addw    r1, sp, #303\r
- 697 01ec FFF7FEFF             bl      memcpy\r
- 698                   .LVL92:\r
- 878:.\Generated_Source\PSoC5/BL.c ****                         if((btldrData >= BL_FIRST_EE_ARRAYID) &&\r
- 699                           .loc 1 878 0\r
- 700 01f0 ABF14000             sub     r0, fp, #64\r
- 875:.\Generated_Source\PSoC5/BL.c ****                     dataOffset += (pktSize - 3u);\r
- 701                           .loc 1 875 0\r
- 702 01f4 7A19                 adds    r2, r7, r5\r
- 878:.\Generated_Source\PSoC5/BL.c ****                         if((btldrData >= BL_FIRST_EE_ARRAYID) &&\r
- 703                           .loc 1 878 0\r
- 704 01f6 3F28                 cmp     r0, #63\r
- 875:.\Generated_Source\PSoC5/BL.c ****                     dataOffset += (pktSize - 3u);\r
- 705                           .loc 1 875 0\r
- 706 01f8 96B2                 uxth    r6, r2\r
- 707                   .LVL93:\r
- 878:.\Generated_Source\PSoC5/BL.c ****                         if((btldrData >= BL_FIRST_EE_ARRAYID) &&\r
- 708                           .loc 1 878 0\r
- 709 01fa 03D8                 bhi     .L102\r
- 882:.\Generated_Source\PSoC5/BL.c ****                             CyEEPROM_Start();\r
- 710                           .loc 1 882 0\r
- 711 01fc FFF7FEFF             bl      CyEEPROM_Start\r
- 712                   .LVL94:\r
- 885:.\Generated_Source\PSoC5/BL.c ****                             pktSize = CY_EEPROM_SIZEOF_ROW;\r
- 713                           .loc 1 885 0\r
- 714 0200 1024                 movs    r4, #16\r
- 715 0202 01E0                 b       .L67\r
- 716                   .LVL95:\r
- 717                   .L102:\r
- 890:.\Generated_Source\PSoC5/BL.c ****                             pktSize = BL_FROW_SIZE;\r
- 718                           .loc 1 890 0\r
- 719 0204 4FF49074             mov     r4, #288\r
- 720                   .LVL96:\r
- 721                   .L67:\r
- 899:.\Generated_Source\PSoC5/BL.c ****                     if(dataOffset == pktSize)\r
- 722                           .loc 1 899 0\r
- 723 0208 A642                 cmp     r6, r4\r
- 724 020a 40F09780             bne     .L103\r
- 902:.\Generated_Source\PSoC5/BL.c ****                         dataOffset = ((uint16)((uint16)packetBuffer[BL_DATA_ADDR + 2u] << 8u)) |\r
- 725                           .loc 1 902 0\r
- 726 020e 9DF82E11             ldrb    r1, [sp, #302]  @ zero_extendqisi2\r
- 727 0212 9DF82D71             ldrb    r7, [sp, #301]  @ zero_extendqisi2\r
- 906:.\Generated_Source\PSoC5/BL.c ****                             if(btldrData <= BL_LAST_FLASH_ARRAYID)\r
- 728                           .loc 1 906 0\r
- 729 0216 BBF13F0F             cmp     fp, #63\r
- 902:.\Generated_Source\PSoC5/BL.c ****                         dataOffset = ((uint16)((uint16)packetBuffer[BL_DATA_ADDR + 2u] << 8u)) |\r
- 730                           .loc 1 902 0\r
- 731 021a 47EA0125             orr     r5, r7, r1, lsl #8\r
- 732                   .LVL97:\r
- 906:.\Generated_Source\PSoC5/BL.c ****                             if(btldrData <= BL_LAST_FLASH_ARRAYID)\r
- 733                           .loc 1 906 0\r
- 734 021e 11D8                 bhi     .L68\r
- 912:.\Generated_Source\PSoC5/BL.c ****                             if(0u == clearedMetaData)\r
-\fARM GAS  C:\Users\MICHA_~1\AppData\Local\Temp\ccjItj5m.s                      page 42\r
-\r
-\r
- 735                           .loc 1 912 0\r
- 736 0220 BAF1000F             cmp     sl, #0\r
- 737 0224 0ED1                 bne     .L68\r
- 738                   .LBB24:\r
- 921:.\Generated_Source\PSoC5/BL.c ****                                     (void) memset(erase, 0, BL_FROW_SIZE);\r
- 739                           .loc 1 921 0\r
- 740 0226 5146                 mov     r1, sl\r
- 741 0228 4FF49072             mov     r2, #288\r
- 742 022c 02A8                 add     r0, sp, #8\r
- 743 022e FFF7FEFF             bl      memset\r
- 744                   .LVL98:\r
- 927:.\Generated_Source\PSoC5/BL.c ****                                     (void) CyWriteRowFull((uint8)  BL_MD_FLASH_ARRAY_NUM,\r
- 745                           .loc 1 927 0\r
- 746 0232 0120                 movs    r0, #1\r
- 747 0234 FF21                 movs    r1, #255\r
- 748 0236 02AA                 add     r2, sp, #8\r
- 749 0238 4FF49073             mov     r3, #288\r
- 750 023c FFF7FEFF             bl      CyWriteRowFull\r
- 751                   .LVL99:\r
- 934:.\Generated_Source\PSoC5/BL.c ****                                 clearedMetaData = 1u;\r
- 752                           .loc 1 934 0\r
- 753 0240 4FF0010A             mov     sl, #1\r
- 754                   .LVL100:\r
- 755                   .L68:\r
- 756                   .LBE24:\r
-1002:.\Generated_Source\PSoC5/BL.c ****                             ackCode = (CYRET_SUCCESS != CyWriteRowFull(btldrData, dataOffset, dataB\r
- 757                           .loc 1 1002 0\r
- 758 0244 3346                 mov     r3, r6\r
- 759 0246 5846                 mov     r0, fp\r
- 760 0248 2946                 mov     r1, r5\r
- 761 024a 95AA                 add     r2, sp, #596\r
- 762 024c FFF7FEFF             bl      CyWriteRowFull\r
- 763                   .LVL101:\r
- 764 0250 0126                 movs    r6, #1\r
- 765 0252 0028                 cmp     r0, #0\r
- 766 0254 75D0                 beq     .L104\r
-1014:.\Generated_Source\PSoC5/BL.c ****                     dataOffset = 0u;\r
- 767                           .loc 1 1014 0\r
- 768 0256 0027                 movs    r7, #0\r
-1002:.\Generated_Source\PSoC5/BL.c ****                             ackCode = (CYRET_SUCCESS != CyWriteRowFull(btldrData, dataOffset, dataB\r
- 769                           .loc 1 1002 0\r
- 770 0258 0A25                 movs    r5, #10\r
- 771                   .LVL102:\r
- 772 025a 75E0                 b       .L131\r
- 773                   .LVL103:\r
- 774                   .L69:\r
-1026:.\Generated_Source\PSoC5/BL.c ****                 if(BL_COMMUNICATION_STATE_ACTIVE == communicationState)\r
- 775                           .loc 1 1026 0\r
- 776 025c 002E                 cmp     r6, #0\r
- 777 025e 77D0                 beq     .L90\r
- 778 0260 7AE0                 b       .L70\r
- 779                   .L71:\r
-1077:.\Generated_Source\PSoC5/BL.c ****                     if(BL_COMMUNICATION_STATE_ACTIVE == communicationState)\r
- 780                           .loc 1 1077 0\r
- 781 0262 002E                 cmp     r6, #0\r
- 782 0264 74D0                 beq     .L90\r
-1080:.\Generated_Source\PSoC5/BL.c ****                         if((dataOffset + pktSize) <= BL_SIZEOF_COMMAND_BUFFER)\r
-\fARM GAS  C:\Users\MICHA_~1\AppData\Local\Temp\ccjItj5m.s                      page 43\r
-\r
-\r
- 783                           .loc 1 1080 0\r
- 784 0266 7C19                 adds    r4, r7, r5\r
- 785 0268 B4F5967F             cmp     r4, #300\r
- 786 026c 6ED8                 bhi     .L89\r
- 787                   .LVL104:\r
-1089:.\Generated_Source\PSoC5/BL.c ****                                 (void) memcpy(&dataBuffer[dataOffset],\r
- 788                           .loc 1 1089 0\r
- 789 026e 95A9                 add     r1, sp, #596\r
- 790 0270 C819                 adds    r0, r1, r7\r
- 791 0272 2A46                 mov     r2, r5\r
- 792 0274 4BA9                 add     r1, sp, #300\r
- 793                   .LVL105:\r
- 794 0276 FFF7FEFF             bl      memcpy\r
- 795                   .LVL106:\r
-1094:.\Generated_Source\PSoC5/BL.c ****                             dataOffset += pktSize;\r
- 796                           .loc 1 1094 0\r
- 797 027a A7B2                 uxth    r7, r4\r
- 798                   .LVL107:\r
- 799                   .L133:\r
-1082:.\Generated_Source\PSoC5/BL.c ****                             ackCode = CYRET_SUCCESS;\r
- 800                           .loc 1 1082 0\r
- 801 027c 0025                 movs    r5, #0\r
- 802 027e 63E0                 b       .L131\r
- 803                   .LVL108:\r
- 804                   .L72:\r
-1112:.\Generated_Source\PSoC5/BL.c ****                 if(pktSize == 0u)\r
- 805                           .loc 1 1112 0\r
- 806 0280 002D                 cmp     r5, #0\r
- 807 0282 65D1                 bne     .L90\r
- 808                   .LBB25:\r
-1121:.\Generated_Source\PSoC5/BL.c ****                         BL_ENTER CYDATA BtldrVersion =\r
- 809                           .loc 1 1121 0\r
- 810 0284 3A48                 ldr     r0, .L138\r
- 811 0286 02AE                 add     r6, sp, #8\r
-1135:.\Generated_Source\PSoC5/BL.c ****                         (void) memcpy(&packetBuffer[BL_DATA_ADDR],\r
- 812                           .loc 1 1135 0\r
- 813 0288 4BAC                 add     r4, sp, #300\r
- 814                   .LVL109:\r
-1121:.\Generated_Source\PSoC5/BL.c ****                         BL_ENTER CYDATA BtldrVersion =\r
- 815                           .loc 1 1121 0\r
- 816 028a 03C8                 ldmia   r0, {r0, r1}\r
- 817 028c 86E80300             stmia   r6, {r0, r1}\r
- 818                   .LVL110:\r
-1135:.\Generated_Source\PSoC5/BL.c ****                         (void) memcpy(&packetBuffer[BL_DATA_ADDR],\r
- 819                           .loc 1 1135 0\r
- 820 0290 84E80300             stmia   r4, {r0, r1}\r
- 821                   .LVL111:\r
-1126:.\Generated_Source\PSoC5/BL.c ****                     communicationState = BL_COMMUNICATION_STATE_ACTIVE;\r
- 822                           .loc 1 1126 0\r
- 823 0294 0126                 movs    r6, #1\r
-1128:.\Generated_Source\PSoC5/BL.c ****                     rspSize = sizeof(BL_ENTER);\r
- 824                           .loc 1 1128 0\r
- 825 0296 0824                 movs    r4, #8\r
- 826                   .LVL112:\r
- 827 0298 21E7                 b       .L61\r
- 828                   .LVL113:\r
- 829                   .L73:\r
-\fARM GAS  C:\Users\MICHA_~1\AppData\Local\Temp\ccjItj5m.s                      page 44\r
-\r
-\r
- 830                   .LBE25:\r
-1150:.\Generated_Source\PSoC5/BL.c ****                 if((BL_COMMUNICATION_STATE_ACTIVE == communicationState) && (pktSize == 3u))\r
- 831                           .loc 1 1150 0\r
- 832 029a 002E                 cmp     r6, #0\r
- 833 029c 58D0                 beq     .L90\r
-1150:.\Generated_Source\PSoC5/BL.c ****                 if((BL_COMMUNICATION_STATE_ACTIVE == communicationState) && (pktSize == 3u))\r
- 834                           .loc 1 1150 0 is_stmt 0 discriminator 1\r
- 835 029e 032D                 cmp     r5, #3\r
- 836 02a0 56D1                 bne     .L90\r
- 837                   .LBB26:\r
-1153:.\Generated_Source\PSoC5/BL.c ****                     uint16 CYDATA rowNum = ((uint16)((uint16)packetBuffer[BL_DATA_ADDR + 2u] << 8u)\r
- 838                           .loc 1 1153 0 is_stmt 1\r
- 839 02a2 9DF82E01             ldrb    r0, [sp, #302]  @ zero_extendqisi2\r
- 840 02a6 9DF82D11             ldrb    r1, [sp, #301]  @ zero_extendqisi2\r
-1161:.\Generated_Source\PSoC5/BL.c ****                         if((btldrData >= BL_FIRST_EE_ARRAYID) &&\r
- 841                           .loc 1 1161 0\r
- 842 02aa ABF14002             sub     r2, fp, #64\r
- 843 02ae 3F2A                 cmp     r2, #63\r
-1153:.\Generated_Source\PSoC5/BL.c ****                     uint16 CYDATA rowNum = ((uint16)((uint16)packetBuffer[BL_DATA_ADDR + 2u] << 8u)\r
- 844                           .loc 1 1153 0\r
- 845 02b0 41EA0025             orr     r5, r1, r0, lsl #8\r
- 846                   .LVL114:\r
-1161:.\Generated_Source\PSoC5/BL.c ****                         if((btldrData >= BL_FIRST_EE_ARRAYID) &&\r
- 847                           .loc 1 1161 0\r
- 848 02b4 0AD8                 bhi     .L74\r
-1166:.\Generated_Source\PSoC5/BL.c ****                             rowAddr = (uint32)rowNum * CYDEV_EEPROM_ROW_SIZE;\r
- 849                           .loc 1 1166 0\r
- 850 02b6 2D01                 lsls    r5, r5, #4\r
- 851                   .LVL115:\r
- 227:.\Generated_Source\PSoC5/BL.c ****         uint8 CYDATA sum = 0u;\r
- 852                           .loc 1 227 0\r
- 853 02b8 0023                 movs    r3, #0\r
-1166:.\Generated_Source\PSoC5/BL.c ****                             rowAddr = (uint32)rowNum * CYDEV_EEPROM_ROW_SIZE;\r
- 854                           .loc 1 1166 0\r
- 855 02ba 1022                 movs    r2, #16\r
- 856                   .LVL116:\r
- 857                   .L75:\r
- 858                   .LBB27:\r
- 859                   .LBB28:\r
- 610:.\Generated_Source\PSoC5/BL.c **** static void BL_HostLink(uint8 timeOut) \r
- 860                           .loc 1 610 0\r
- 861 02bc 2D48                 ldr     r0, .L138+4\r
- 862 02be 1118                 adds    r1, r2, r0\r
- 232:.\Generated_Source\PSoC5/BL.c ****             sum += BL_GET_EEPROM_BYTE(start + size);\r
- 863                           .loc 1 232 0\r
- 864 02c0 4C5D                 ldrb    r4, [r1, r5]    @ zero_extendqisi2\r
- 229:.\Generated_Source\PSoC5/BL.c ****         while (size > 0u)\r
- 865                           .loc 1 229 0\r
- 866 02c2 013A                 subs    r2, r2, #1\r
- 867                   .LVL117:\r
- 232:.\Generated_Source\PSoC5/BL.c ****             sum += BL_GET_EEPROM_BYTE(start + size);\r
- 868                           .loc 1 232 0\r
- 869 02c4 2344                 add     r3, r3, r4\r
- 870 02c6 DBB2                 uxtb    r3, r3\r
- 871                   .LVL118:\r
- 229:.\Generated_Source\PSoC5/BL.c ****         while (size > 0u)\r
- 872                           .loc 1 229 0\r
-\fARM GAS  C:\Users\MICHA_~1\AppData\Local\Temp\ccjItj5m.s                      page 45\r
-\r
-\r
- 873 02c8 F8D1                 bne     .L75\r
- 874 02ca 26E0                 b       .L79\r
- 875                   .LVL119:\r
- 876                   .L74:\r
- 877                   .LBE28:\r
- 878                   .LBE27:\r
-1174:.\Generated_Source\PSoC5/BL.c ****                                        + ((uint32)rowNum * CYDEV_FLS_ROW_SIZE);\r
- 879                           .loc 1 1174 0\r
- 880 02cc 05EB0B23             add     r3, r5, fp, lsl #8\r
-1173:.\Generated_Source\PSoC5/BL.c ****                             rowAddr = ((uint32)btldrData * CYDEV_FLS_SECTOR_SIZE)\r
- 881                           .loc 1 1173 0\r
- 882 02d0 1C02                 lsls    r4, r3, #8\r
- 883                   .LVL120:\r
- 884 02d2 4FF48072             mov     r2, #256\r
- 192:.\Generated_Source\PSoC5/BL.c ****     uint8 CYDATA sum = 0u;\r
- 885                           .loc 1 192 0\r
- 886 02d6 0023                 movs    r3, #0\r
- 887                   .LVL121:\r
- 888                   .L77:\r
- 889                   .LBB29:\r
- 890                   .LBB30:\r
- 196:.\Generated_Source\PSoC5/BL.c ****         size--;\r
- 891                           .loc 1 196 0\r
- 892 02d8 013A                 subs    r2, r2, #1\r
- 893                   .LVL122:\r
- 197:.\Generated_Source\PSoC5/BL.c ****         sum += BL_GET_CODE_BYTE(start + size);\r
- 894                           .loc 1 197 0\r
- 895 02da 105D                 ldrb    r0, [r2, r4]    @ zero_extendqisi2\r
- 896 02dc 1918                 adds    r1, r3, r0\r
- 897 02de CBB2                 uxtb    r3, r1\r
- 898                   .LVL123:\r
- 194:.\Generated_Source\PSoC5/BL.c ****     while (size > 0u)\r
- 899                           .loc 1 194 0\r
- 900 02e0 002A                 cmp     r2, #0\r
- 901 02e2 F9D1                 bne     .L77\r
- 902                   .LVL124:\r
- 903                   .LBE30:\r
- 904                   .LBE29:\r
-1192:.\Generated_Source\PSoC5/BL.c ****                         if(btldrData <= BL_LAST_FLASH_ARRAYID)\r
- 905                           .loc 1 1192 0\r
- 906 02e4 BBF13F0F             cmp     fp, #63\r
- 907 02e8 17D8                 bhi     .L79\r
- 908                   .LBB31:\r
-1197:.\Generated_Source\PSoC5/BL.c ****                                         + ((uint32)rowNum * CYDEV_ECC_ROW_SIZE);\r
- 909                           .loc 1 1197 0\r
- 910 02ea 0BF51034             add     r4, fp, #147456\r
- 911                   .LVL125:\r
- 912 02ee 05EB0420             add     r0, r5, r4, lsl #8\r
-1196:.\Generated_Source\PSoC5/BL.c ****                             rowAddr = CYDEV_ECC_BASE + ((uint32)btldrData * (CYDEV_FLS_SECTOR_SIZE \r
- 913                           .loc 1 1196 0\r
- 914 02f2 4101                 lsls    r1, r0, #5\r
- 915                   .LVL126:\r
- 916                   .L78:\r
-1201:.\Generated_Source\PSoC5/BL.c ****                                 checksum += CY_GET_XTND_REG8((uint8 CYFAR *)(rowAddr + tmpIndex));\r
- 917                           .loc 1 1201 0 discriminator 2\r
- 918 02f4 545C                 ldrb    r4, [r2, r1]    @ zero_extendqisi2\r
- 919 02f6 0132                 adds    r2, r2, #1\r
-\fARM GAS  C:\Users\MICHA_~1\AppData\Local\Temp\ccjItj5m.s                      page 46\r
-\r
-\r
- 920 02f8 1B19                 adds    r3, r3, r4\r
-1199:.\Generated_Source\PSoC5/BL.c ****                             for(tmpIndex = 0u; tmpIndex < CYDEV_ECC_ROW_SIZE; tmpIndex++)\r
- 921                           .loc 1 1199 0 discriminator 2\r
- 922 02fa 202A                 cmp     r2, #32\r
-1201:.\Generated_Source\PSoC5/BL.c ****                                 checksum += CY_GET_XTND_REG8((uint8 CYFAR *)(rowAddr + tmpIndex));\r
- 923                           .loc 1 1201 0 discriminator 2\r
- 924 02fc DBB2                 uxtb    r3, r3\r
- 925                   .LVL127:\r
-1199:.\Generated_Source\PSoC5/BL.c ****                             for(tmpIndex = 0u; tmpIndex < CYDEV_ECC_ROW_SIZE; tmpIndex++)\r
- 926                           .loc 1 1199 0 discriminator 2\r
- 927 02fe F9D1                 bne     .L78\r
- 928                   .LBE31:\r
-1213:.\Generated_Source\PSoC5/BL.c ****                     if((BL_MD_FLASH_ARRAY_NUM == btldrData) &&\r
- 929                           .loc 1 1213 0\r
- 930 0300 BBF1010F             cmp     fp, #1\r
- 931 0304 09D1                 bne     .L79\r
-1213:.\Generated_Source\PSoC5/BL.c ****                     if((BL_MD_FLASH_ARRAY_NUM == btldrData) &&\r
- 932                           .loc 1 1213 0 is_stmt 0 discriminator 1\r
- 933 0306 FF2D                 cmp     r5, #255\r
- 934 0308 07D1                 bne     .L79\r
-1216:.\Generated_Source\PSoC5/BL.c ****                         checksum -= BL_MD_BTLDB_ACTIVE_VALUE  (BL_GET_APP_ID(rowNum));\r
- 935                           .loc 1 1216 0 is_stmt 1\r
- 936 030a 1B4D                 ldr     r5, .L138+8\r
- 937                   .LVL128:\r
-1217:.\Generated_Source\PSoC5/BL.c ****                         checksum -= BL_MD_BTLDB_VERIFIED_VALUE(BL_GET_APP_ID(rowNum));\r
- 938                           .loc 1 1217 0\r
- 939 030c 1B4C                 ldr     r4, .L138+12\r
-1216:.\Generated_Source\PSoC5/BL.c ****                         checksum -= BL_MD_BTLDB_ACTIVE_VALUE  (BL_GET_APP_ID(rowNum));\r
- 940                           .loc 1 1216 0\r
- 941 030e 2878                 ldrb    r0, [r5, #0]    @ zero_extendqisi2\r
- 942 0310 191A                 subs    r1, r3, r0\r
- 943                   .LVL129:\r
-1217:.\Generated_Source\PSoC5/BL.c ****                         checksum -= BL_MD_BTLDB_VERIFIED_VALUE(BL_GET_APP_ID(rowNum));\r
- 944                           .loc 1 1217 0\r
- 945 0312 2378                 ldrb    r3, [r4, #0]    @ zero_extendqisi2\r
- 946 0314 CA1A                 subs    r2, r1, r3\r
- 947 0316 02F0FF03             and     r3, r2, #255\r
- 948                   .LVL130:\r
- 949                   .L79:\r
-1220:.\Generated_Source\PSoC5/BL.c ****                     packetBuffer[BL_DATA_ADDR] = (uint8)1u + (uint8)(~checksum);\r
- 950                           .loc 1 1220 0\r
- 951 031a 5D42                 negs    r5, r3\r
- 952 031c 8DF82C51             strb    r5, [sp, #300]\r
- 953                   .LVL131:\r
-1221:.\Generated_Source\PSoC5/BL.c ****                     ackCode = CYRET_SUCCESS;\r
- 954                           .loc 1 1221 0\r
- 955 0320 0025                 movs    r5, #0\r
- 956                   .LVL132:\r
- 957                   .L132:\r
-1222:.\Generated_Source\PSoC5/BL.c ****                     rspSize = 1u;\r
- 958                           .loc 1 1222 0\r
- 959 0322 0124                 movs    r4, #1\r
- 960 0324 DBE6                 b       .L61\r
- 961                   .LVL133:\r
- 962                   .L80:\r
- 963                   .LBE26:\r
-1232:.\Generated_Source\PSoC5/BL.c ****                 if(CYRET_SUCCESS == BL_ValidateBootloadable(BL_activeApp))\r
-\fARM GAS  C:\Users\MICHA_~1\AppData\Local\Temp\ccjItj5m.s                      page 47\r
-\r
-\r
- 964                           .loc 1 1232 0\r
- 965 0326 FFF7FEFF             bl      BL_ValidateBootloadable.constprop.0\r
- 966                   .LVL134:\r
- 967 032a 10B9                 cbnz    r0, .L81\r
-1234:.\Generated_Source\PSoC5/BL.c ****                     BL_SET_RUN_TYPE(BL_START_APP);\r
- 968                           .loc 1 1234 0\r
- 969 032c 144D                 ldr     r5, .L138+16\r
- 970                   .LVL135:\r
- 971 032e 8024                 movs    r4, #128\r
- 972 0330 2C70                 strb    r4, [r5, #0]\r
- 973                   .L81:\r
-1237:.\Generated_Source\PSoC5/BL.c ****                 CySoftwareReset();\r
- 974                           .loc 1 1237 0\r
- 975 0332 FFF7FEFF             bl      CySoftwareReset\r
- 976                   .LVL136:\r
- 977 0336 0BE0                 b       .L90\r
- 978                   .LVL137:\r
- 979                   .L96:\r
- 697:.\Generated_Source\PSoC5/BL.c ****             ackCode = BL_ERR_DATA;\r
- 980                           .loc 1 697 0\r
- 981 0338 0425                 movs    r5, #4\r
- 982                   .LVL138:\r
- 983 033a D0E6                 b       .L61\r
- 984                   .LVL139:\r
- 985                   .L103:\r
- 899:.\Generated_Source\PSoC5/BL.c ****                     if(dataOffset == pktSize)\r
- 986                           .loc 1 899 0\r
- 987 033c 0126                 movs    r6, #1\r
- 988                   .LVL140:\r
-1014:.\Generated_Source\PSoC5/BL.c ****                     dataOffset = 0u;\r
- 989                           .loc 1 1014 0\r
- 990 033e 0027                 movs    r7, #0\r
- 991                   .LVL141:\r
- 992 0340 04E0                 b       .L89\r
- 993                   .LVL142:\r
- 994                   .L104:\r
- 995 0342 0746                 mov     r7, r0\r
- 996 0344 9AE7                 b       .L133\r
- 997                   .LVL143:\r
- 998                   .L110:\r
-1247:.\Generated_Source\PSoC5/BL.c ****                 ackCode = BL_ERR_CMD;\r
- 999                           .loc 1 1247 0\r
- 1000 0346 0525                movs    r5, #5\r
- 1001                  .LVL144:\r
- 1002                  .L131:\r
- 692:.\Generated_Source\PSoC5/BL.c ****         rspSize = 0u;\r
- 1003                          .loc 1 692 0\r
- 1004 0348 0024                movs    r4, #0\r
- 1005 034a C8E6                b       .L61\r
- 1006                  .L89:\r
- 1007                  .LBE36:\r
- 675:.\Generated_Source\PSoC5/BL.c ****                 ackCode = BL_ERR_LENGTH;\r
- 1008                          .loc 1 675 0\r
- 1009 034c 0325                movs    r5, #3\r
- 1010 034e FBE7                b       .L131\r
- 1011                  .L90:\r
- 663:.\Generated_Source\PSoC5/BL.c ****             ackCode = BL_ERR_DATA;\r
-\fARM GAS  C:\Users\MICHA_~1\AppData\Local\Temp\ccjItj5m.s                      page 48\r
-\r
-\r
- 1012                          .loc 1 663 0\r
- 1013 0350 0425                movs    r5, #4\r
- 1014 0352 F9E7                b       .L131\r
- 1015                  .LVL145:\r
- 1016                  .L91:\r
- 684:.\Generated_Source\PSoC5/BL.c ****                 ackCode = BL_ERR_CHECKSUM;\r
- 1017                          .loc 1 684 0\r
- 1018 0354 0825                movs    r5, #8\r
- 1019                  .LVL146:\r
- 1020 0356 F7E7                b       .L131\r
- 1021                  .LVL147:\r
- 1022                  .L70:\r
-1255:.\Generated_Source\PSoC5/BL.c ****     } while ((0u == timeOut) || (BL_COMMUNICATION_STATE_ACTIVE == communicationState));\r
- 1023                          .loc 1 1255 0\r
- 1024 0358 B8F1000F            cmp     r8, #0\r
- 1025 035c 01D1                bne     .L137\r
- 1026                  .L111:\r
-1029:.\Generated_Source\PSoC5/BL.c ****                     dataOffset = 0u;\r
- 1027                          .loc 1 1029 0\r
- 1028 035e 4746                mov     r7, r8\r
- 1029 0360 5EE6                b       .L112\r
- 1030                  .L137:\r
- 1031 0362 0027                movs    r7, #0\r
- 1032 0364 EDE6                b       .L84\r
- 1033                  .LVL148:\r
- 1034                  .L136:\r
-1256:.\Generated_Source\PSoC5/BL.c **** }\r
- 1035                          .loc 1 1256 0\r
- 1036 0366 0DF5617D            add     sp, sp, #900\r
- 1037 036a BDE8F08F            pop     {r4, r5, r6, r7, r8, r9, sl, fp, pc}\r
- 1038                  .L139:\r
- 1039 036e 00BF                .align  2\r
- 1040                  .L138:\r
- 1041 0370 00000000            .word   .LANCHOR0\r
- 1042 0374 FF7F0040            .word   1073774591\r
- 1043 0378 D0FF0100            .word   131024\r
- 1044 037c D1FF0100            .word   131025\r
- 1045 0380 FA460040            .word   1073759994\r
- 1046                          .cfi_endproc\r
- 1047                  .LFE64:\r
- 1048                          .size   BL_HostLink, .-BL_HostLink\r
- 1049                          .section        .text.BL_Start,"ax",%progbits\r
- 1050                          .align  1\r
- 1051                          .global BL_Start\r
- 1052                          .thumb\r
- 1053                          .thumb_func\r
- 1054                          .type   BL_Start, %function\r
- 1055                  BL_Start:\r
- 1056                  .LFB59:\r
- 273:.\Generated_Source\PSoC5/BL.c **** {\r
- 1057                          .loc 1 273 0\r
- 1058                          .cfi_startproc\r
- 1059                          @ args = 0, pretend = 0, frame = 288\r
- 1060                          @ frame_needed = 0, uses_anonymous_args = 0\r
- 1061 0000 10B5                push    {r4, lr}\r
- 1062                  .LCFI4:\r
- 1063                          .cfi_def_cfa_offset 8\r
-\fARM GAS  C:\Users\MICHA_~1\AppData\Local\Temp\ccjItj5m.s                      page 49\r
-\r
-\r
- 1064                          .cfi_offset 4, -8\r
- 1065                          .cfi_offset 14, -4\r
- 1066 0002 C8B0                sub     sp, sp, #288\r
- 1067                  .LCFI5:\r
- 1068                          .cfi_def_cfa_offset 296\r
- 306:.\Generated_Source\PSoC5/BL.c ****         if (CYRET_SUCCESS != CySetTemp())\r
- 1069                          .loc 1 306 0\r
- 1070 0004 FFF7FEFF            bl      CySetTemp\r
- 1071                  .LVL149:\r
- 1072 0008 10B1                cbz     r0, .L141\r
- 308:.\Generated_Source\PSoC5/BL.c ****             CyHalt(0x00u);\r
- 1073                          .loc 1 308 0\r
- 1074 000a 0020                movs    r0, #0\r
- 1075 000c FFF7FEFF            bl      CyHalt\r
- 1076                  .LVL150:\r
- 1077                  .L141:\r
- 311:.\Generated_Source\PSoC5/BL.c ****         if (CYRET_SUCCESS != CySetFlashEEBuffer(BL_flashBuffer))\r
- 1078                          .loc 1 311 0\r
- 1079 0010 6846                mov     r0, sp\r
- 1080 0012 FFF7FEFF            bl      CySetFlashEEBuffer\r
- 1081                  .LVL151:\r
- 1082 0016 10B1                cbz     r0, .L142\r
- 313:.\Generated_Source\PSoC5/BL.c ****             CyHalt(0x00u);\r
- 1083                          .loc 1 313 0\r
- 1084 0018 0020                movs    r0, #0\r
- 1085 001a FFF7FEFF            bl      CyHalt\r
- 1086                  .LVL152:\r
- 1087                  .L142:\r
- 329:.\Generated_Source\PSoC5/BL.c ****         calcedChecksum = BL_Calc8BitFlashSum(BL_MD_BTLDR_ADDR_PTR,\r
- 1088                          .loc 1 329 0\r
- 1089 001e 1648                ldr     r0, .L162\r
- 1090 0020 0368                ldr     r3, [r0, #0]\r
- 1091 0022 1968                ldr     r1, [r3, #0]\r
- 1092                  .LVL153:\r
- 192:.\Generated_Source\PSoC5/BL.c ****     uint8 CYDATA sum = 0u;\r
- 1093                          .loc 1 192 0\r
- 1094 0024 0023                movs    r3, #0\r
- 329:.\Generated_Source\PSoC5/BL.c ****         calcedChecksum = BL_Calc8BitFlashSum(BL_MD_BTLDR_ADDR_PTR,\r
- 1095                          .loc 1 329 0\r
- 1096 0026 0A46                mov     r2, r1\r
- 1097                  .LVL154:\r
- 1098                  .L143:\r
- 1099                  .LBB41:\r
- 1100                  .LBB42:\r
- 194:.\Generated_Source\PSoC5/BL.c ****     while (size > 0u)\r
- 1101                          .loc 1 194 0\r
- 1102 0028 22B1                cbz     r2, .L161\r
- 1103                  .L144:\r
- 197:.\Generated_Source\PSoC5/BL.c ****         sum += BL_GET_CODE_BYTE(start + size);\r
- 1104                          .loc 1 197 0\r
- 1105 002a 12F8014D            ldrb    r4, [r2, #-1]!  @ zero_extendqisi2\r
- 1106 002e E318                adds    r3, r4, r3\r
- 1107                  .LVL155:\r
- 1108 0030 DBB2                uxtb    r3, r3\r
- 1109                  .LVL156:\r
- 1110 0032 F9E7                b       .L143\r
- 1111                  .L161:\r
-\fARM GAS  C:\Users\MICHA_~1\AppData\Local\Temp\ccjItj5m.s                      page 50\r
-\r
-\r
- 1112                  .LBE42:\r
- 1113                  .LBE41:\r
- 333:.\Generated_Source\PSoC5/BL.c ****         calcedChecksum -= *BL_ChecksumAccess;\r
- 1114                          .loc 1 333 0\r
- 1115 0034 4268                ldr     r2, [r0, #4]\r
- 1116 0036 1078                ldrb    r0, [r2, #0]    @ zero_extendqisi2\r
- 1117                  .LVL157:\r
- 334:.\Generated_Source\PSoC5/BL.c ****         calcedChecksum = ( uint8 )1u + ( uint8 )(~calcedChecksum);\r
- 1118                          .loc 1 334 0\r
- 1119 0038 C41A                subs    r4, r0, r3\r
- 337:.\Generated_Source\PSoC5/BL.c ****         if((calcedChecksum != *BL_ChecksumAccess) ||\r
- 1120                          .loc 1 337 0\r
- 1121 003a 04F0FF03            and     r3, r4, #255\r
- 1122                  .LVL158:\r
- 1123 003e 8342                cmp     r3, r0\r
- 1124 0040 00D1                bne     .L145\r
- 337:.\Generated_Source\PSoC5/BL.c ****         if((calcedChecksum != *BL_ChecksumAccess) ||\r
- 1125                          .loc 1 337 0 is_stmt 0 discriminator 1\r
- 1126 0042 11B9                cbnz    r1, .L146\r
- 1127                  .L145:\r
- 340:.\Generated_Source\PSoC5/BL.c ****             CyHalt(0x00u);\r
- 1128                          .loc 1 340 0 is_stmt 1\r
- 1129 0044 0020                movs    r0, #0\r
- 1130 0046 FFF7FEFF            bl      CyHalt\r
- 1131                  .LVL159:\r
- 1132                  .L146:\r
- 356:.\Generated_Source\PSoC5/BL.c ****     if ((BL_GET_RUN_TYPE == BL_START_BTLDR) ||\r
- 1133                          .loc 1 356 0\r
- 1134 004a 0C4C                ldr     r4, .L162+4\r
- 354:.\Generated_Source\PSoC5/BL.c ****     tmpStatus = BL_ValidateBootloadable(BL_activeApp);\r
- 1135                          .loc 1 354 0\r
- 1136 004c FFF7FEFF            bl      BL_ValidateBootloadable.constprop.0\r
- 1137                  .LVL160:\r
- 356:.\Generated_Source\PSoC5/BL.c ****     if ((BL_GET_RUN_TYPE == BL_START_BTLDR) ||\r
- 1138                          .loc 1 356 0\r
- 1139 0050 2178                ldrb    r1, [r4, #0]    @ zero_extendqisi2\r
- 1140 0052 01F0C002            and     r2, r1, #192\r
- 1141 0056 402A                cmp     r2, #64\r
- 1142 0058 00D0                beq     .L147\r
- 356:.\Generated_Source\PSoC5/BL.c ****     if ((BL_GET_RUN_TYPE == BL_START_BTLDR) ||\r
- 1143                          .loc 1 356 0 is_stmt 0 discriminator 1\r
- 1144 005a 18B1                cbz     r0, .L148\r
- 1145                  .L147:\r
- 359:.\Generated_Source\PSoC5/BL.c ****         BL_SET_RUN_TYPE(0u);\r
- 1146                          .loc 1 359 0 is_stmt 1\r
- 1147 005c 0020                movs    r0, #0\r
- 1148                  .LVL161:\r
- 1149 005e 2070                strb    r0, [r4, #0]\r
- 361:.\Generated_Source\PSoC5/BL.c ****         BL_HostLink(BL_WAIT_FOR_COMMAND_FOREVER);\r
- 1150                          .loc 1 361 0\r
- 1151 0060 FFF7FEFF            bl      BL_HostLink\r
- 1152                  .LVL162:\r
- 1153                  .L148:\r
- 369:.\Generated_Source\PSoC5/BL.c ****         BL_HostLink(BL_WAIT_FOR_COMMAND_TIME);\r
- 1154                          .loc 1 369 0\r
- 1155 0064 1420                movs    r0, #20\r
- 1156 0066 FFF7FEFF            bl      BL_HostLink\r
-\fARM GAS  C:\Users\MICHA_~1\AppData\Local\Temp\ccjItj5m.s                      page 51\r
-\r
-\r
- 1157                  .LVL163:\r
- 1158                  .LBB43:\r
- 1159                  .LBB44:\r
- 396:.\Generated_Source\PSoC5/BL.c ****     BL_SET_RUN_TYPE(BL_START_APP);\r
- 1160                          .loc 1 396 0\r
- 1161 006a 8020                movs    r0, #128\r
- 1162 006c 2070                strb    r0, [r4, #0]\r
- 398:.\Generated_Source\PSoC5/BL.c ****     CySoftwareReset();\r
- 1163                          .loc 1 398 0\r
- 1164 006e FFF7FEFF            bl      CySoftwareReset\r
- 1165                  .LVL164:\r
- 1166                  .LBE44:\r
- 1167                  .LBE43:\r
- 376:.\Generated_Source\PSoC5/BL.c **** }\r
- 1168                          .loc 1 376 0\r
- 1169 0072 48B0                add     sp, sp, #288\r
- 1170 0074 10BD                pop     {r4, pc}\r
- 1171                  .L163:\r
- 1172 0076 00BF                .align  2\r
- 1173                  .L162:\r
- 1174 0078 00000000            .word   .LANCHOR1\r
- 1175 007c FA460040            .word   1073759994\r
- 1176                          .cfi_endproc\r
- 1177                  .LFE59:\r
- 1178                          .size   BL_Start, .-BL_Start\r
- 1179                          .section        .text.CyBtldr_CheckLaunch,"ax",%progbits\r
- 1180                          .align  1\r
- 1181                          .global CyBtldr_CheckLaunch\r
- 1182                          .thumb\r
- 1183                          .thumb_func\r
- 1184                          .type   CyBtldr_CheckLaunch, %function\r
- 1185                  CyBtldr_CheckLaunch:\r
- 1186                  .LFB61:\r
- 420:.\Generated_Source\PSoC5/BL.c **** {\r
- 1187                          .loc 1 420 0\r
- 1188                          .cfi_startproc\r
- 1189                          @ args = 0, pretend = 0, frame = 0\r
- 1190                          @ frame_needed = 0, uses_anonymous_args = 0\r
- 1191 0000 08B5                push    {r3, lr}\r
- 1192                  .LCFI6:\r
- 1193                          .cfi_def_cfa_offset 8\r
- 1194                          .cfi_offset 3, -8\r
- 1195                          .cfi_offset 14, -4\r
- 437:.\Generated_Source\PSoC5/BL.c ****     if (BL_GET_RUN_TYPE == BL_START_APP)\r
- 1196                          .loc 1 437 0\r
- 1197 0002 0A4B                ldr     r3, .L171\r
- 1198 0004 1A78                ldrb    r2, [r3, #0]    @ zero_extendqisi2\r
- 1199 0006 02F0C000            and     r0, r2, #192\r
- 1200 000a 8028                cmp     r0, #128\r
- 1201 000c 0CD1                bne     .L164\r
- 439:.\Generated_Source\PSoC5/BL.c ****         BL_SET_RUN_TYPE(0u);\r
- 1202                          .loc 1 439 0\r
- 1203 000e 0021                movs    r1, #0\r
- 1204 0010 1970                strb    r1, [r3, #0]\r
- 447:.\Generated_Source\PSoC5/BL.c ****         if(0u != BL_GetMetadata(BL_GET_METADATA_BTLDB_ADDR, BL_activeApp))\r
- 1205                          .loc 1 447 0\r
- 1206 0012 0120                movs    r0, #1\r
-\fARM GAS  C:\Users\MICHA_~1\AppData\Local\Temp\ccjItj5m.s                      page 52\r
-\r
-\r
- 1207 0014 FFF7FEFF            bl      BL_GetMetadata.constprop.1\r
- 1208                  .LVL165:\r
- 1209 0018 30B1                cbz     r0, .L164\r
- 450:.\Generated_Source\PSoC5/BL.c ****             BL_LaunchBootloadable(BL_GetMetadata(BL_GET_METADATA_BTLDB_ADDR,\r
- 1210                          .loc 1 450 0\r
- 1211 001a 0120                movs    r0, #1\r
- 1212 001c FFF7FEFF            bl      BL_GetMetadata.constprop.1\r
- 1213                  .LVL166:\r
- 454:.\Generated_Source\PSoC5/BL.c **** }\r
- 1214                          .loc 1 454 0\r
- 1215 0020 BDE80840            pop     {r3, lr}\r
- 450:.\Generated_Source\PSoC5/BL.c ****             BL_LaunchBootloadable(BL_GetMetadata(BL_GET_METADATA_BTLDB_ADDR,\r
- 1216                          .loc 1 450 0\r
- 1217 0024 FFF7FEBF            b       BL_LaunchBootloadable\r
- 1218                  .LVL167:\r
- 1219                  .L164:\r
- 1220 0028 08BD                pop     {r3, pc}\r
- 1221                  .L172:\r
- 1222 002a 00BF                .align  2\r
- 1223                  .L171:\r
- 1224 002c FA460040            .word   1073759994\r
- 1225                          .cfi_endproc\r
- 1226                  .LFE61:\r
- 1227                          .size   CyBtldr_CheckLaunch, .-CyBtldr_CheckLaunch\r
- 1228                          .section        .text.BL_SetFlashByte,"ax",%progbits\r
- 1229                          .align  1\r
- 1230                          .global BL_SetFlashByte\r
- 1231                          .thumb\r
- 1232                          .thumb_func\r
- 1233                          .type   BL_SetFlashByte, %function\r
- 1234                  BL_SetFlashByte:\r
- 1235                  .LFB66:\r
-1322:.\Generated_Source\PSoC5/BL.c **** {\r
- 1236                          .loc 1 1322 0\r
- 1237                          .cfi_startproc\r
- 1238                          @ args = 0, pretend = 0, frame = 256\r
- 1239                          @ frame_needed = 0, uses_anonymous_args = 0\r
- 1240                  .LVL168:\r
- 1241 0000 70B5                push    {r4, r5, r6, lr}\r
- 1242                  .LCFI7:\r
- 1243                          .cfi_def_cfa_offset 16\r
- 1244                          .cfi_offset 4, -16\r
- 1245                          .cfi_offset 5, -12\r
- 1246                          .cfi_offset 6, -8\r
- 1247                          .cfi_offset 14, -4\r
-1330:.\Generated_Source\PSoC5/BL.c ****     uint16 rowNum = ( uint16 )((flsAddr % CYDEV_FLS_SECTOR_SIZE) / CYDEV_FLS_ROW_SIZE);\r
- 1248                          .loc 1 1330 0\r
- 1249 0002 C0F30722            ubfx    r2, r0, #8, #8\r
-1322:.\Generated_Source\PSoC5/BL.c **** {\r
- 1250                     &