Hi,
I am using JLINK.EXE (V6.14b) in batch processing mode (i.e.: I am feeding it a command file using the "-CommandFile <file>" argument when calling it from the command-line). I need to disable the Flash Downloader for what I am doing. I have tried using the "exec DisableFlashDL" command, but it does not seem to work. Despite calling "exec DisableFlashDL" from my script when it starts, JLINK.EXE still seems to notice if I write to an address mapped into internal flash space and automatically invokes the flash downloader which does an erase, program and verify (I can see this in the JLINK.EXE log which I enable using the "log" command in my script).
The only way I have been able to successfully disable the flash downloader is through the SEGGER J-Link Control panel GUI. If I go to the "Settings" tab and select the "Off" radio button under the "Flash download" section, the flash downloader is disabled. So now the first thing my script does is wait 10 seconds after connecting, which gives me time to open the control panel and hit the radio button to disable Flash Download. Yuck.
It seems like the "exec FlashDisableDL" command should do what I need, but it just isn't working for me. Has anybody else had this problem? Am I calling the command incorrectly?
I am using an Atmel SAM4C CPU, which is supported by the SEGGER tools.
Thanks,
Jason
I am using JLINK.EXE (V6.14b) in batch processing mode (i.e.: I am feeding it a command file using the "-CommandFile <file>" argument when calling it from the command-line). I need to disable the Flash Downloader for what I am doing. I have tried using the "exec DisableFlashDL" command, but it does not seem to work. Despite calling "exec DisableFlashDL" from my script when it starts, JLINK.EXE still seems to notice if I write to an address mapped into internal flash space and automatically invokes the flash downloader which does an erase, program and verify (I can see this in the JLINK.EXE log which I enable using the "log" command in my script).
The only way I have been able to successfully disable the flash downloader is through the SEGGER J-Link Control panel GUI. If I go to the "Settings" tab and select the "Off" radio button under the "Flash download" section, the flash downloader is disabled. So now the first thing my script does is wait 10 seconds after connecting, which gives me time to open the control panel and hit the radio button to disable Flash Download. Yuck.
It seems like the "exec FlashDisableDL" command should do what I need, but it just isn't working for me. Has anybody else had this problem? Am I calling the command incorrectly?
I am using an Atmel SAM4C CPU, which is supported by the SEGGER tools.
Thanks,
Jason