Quantcast
Channel: Infineon Forums
Viewing all articles
Browse latest Browse all 9892

memtool - jlink batch file

$
0
0
Quote:

Originally Posted by Aaron Walsh View Post
Thanks Mike, I will have a look at the professional version of Memtool.

I have received the Memtool batch command application note (see attached). It meets some of the requirements. So far I have not found a way to launch it silently and execute batch files so the end user doesn't have to speak English.

Attachment 505

Best regards
Aaron

Example Batch File
The following example batch file connects the target system. Than it loads a starter software
(starter.hex), a firmware and a device specific serial number. The firmware is loaded twice. The second
time it is loaded using an offset of 0x40000. So the firmware image is programmed twice into the
FLASH memory device. Please note that after each open_file operation the loaded sections have to be
added to the FLASH Buffers before the next open_file operation can take place. Finally all loaded
sections are programmed into the FLASH memory device.
connect
open_file c:\Data\starter.hex
select_all_sections
add_selected_sections
open_file c:\Data\firmware.hex
select_all_sections
add_selected_sections
open_file c:\Data\firmware.hex , +40000h
select_all_sections
add_selected_sections
open_file c:\Data\sernum.hex
select_all_sections
add_selected_sections
program
disconnect

Viewing all articles
Browse latest Browse all 9892

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>