Home arrow Support arrow Forums

Luminary Micro Forums

majkoa

Senior Boarder
Click here to see the profile of this user

2008/09/16 01:25

Reset after download (Keil) + FT2232

Hi,

1.
This question is more related to Keil then on LMI however your help is welcome here.
After programming of device (download to Flash memory) I need to reset device. Currently I'm doing this action manually on evaluation kit (S8962).

2.
Any chance to share paralell work - programming and terminal connected? In case of programming Flash must be terminal (for serial communication through UART0) disconnected.

Many thanks.

Marian

Post edited by: majkoa, at: 2008/09/16 02:04

Post edited by: majkoa, at: 2008/09/16 05:49

login or register to reply

LMI Jon

Junior Boarder
Click here to see the profile of this user

2008/09/16 09:11

Re:Reset after download (Keil) + FT2232

In response to your first question, as you've noted, Keil tools do not support MCU reset. To avoid reaching for the reset button on the target board I can think of a couple of other options apart from entering the debugger and selecting Run. You could use the LMFlashProgrammer utility (use the GUI version and leave running in the background). LMFlashProgrammer has options to automatically reset the target. The command-line version of LMFlash can also be run from within Keil. Go to 'Options for Target' > Utilities to set this up. LMFlash can do a core reset over JTAG.

For your second question the answer is - it depends. We routinely use RedSuite and CodeSourcery with the Virtual Com port. With Keil tools we find that it's usually OK, but you typically have to start the debugger before connecting to the virtual Com port. Admittedly, this is a bit of a nuisance if you're starting and stopping the debugger.

- Jon

login or register to reply

majkoa

Senior Boarder
Click here to see the profile of this user

2008/09/17 06:13

Re:Reset after download (Keil) + FT2232

Dear Jon,

Thank you for your reply for both points.
After invocation of standard path to Keil:
C:Program FilesLuminary MicroLM Flash ProgrammerLMFlash.exe with arguments --quick-set=ek-lm3s8962 --verify --reset xxx.bin it works perfectly.

Many thanks.

Marian

login or register to reply