1# MAX3263x HDK CMSIS-DAP SWD firmware load script 2 3interface cmsis-dap 4 5# adapter speed 6adapter_khz 2000 7 8# reset pin configuration 9reset_config srst_only 10 11# SWD DAP 12swd newdap max32630 cpu -irlen 4 -irmask 0xf -ircapture 0x1 -expected-id 0x07f67197 -ignore-version 13 14# target configuration 15target create max32630.cpu cortex_m -chain-position max32630.cpu 16max32630.cpu configure -work-area-phys 0x20005000 -work-area-size 0x2000 17 18# Config Command: flash bank name driver base size chip_width bus_width target [driver_options] 19# flash bank <name> maxim <base> <size> 0 0 <target> <flc base> <sector> <clk> <burst> 20# max32630 flash base address 0x00000000 21# max32630 flash size 0x200000 (2MB) 22# max32630 FLC base address 0x40002000 23# max32630 sector (page) size 0x2000 (8kB) 24# max32630 clock speed 96 (MHz) 25flash bank max32630.flash maxim 0x00000000 0x200000 0 0 max32630.cpu 0x40002000 0x2000 96 26