Flash Magic programming UCFG1

Started by BobStevens01, March 10, 2011, 06:43:20 AM

Previous topic - Next topic

BobStevens01

I recently purchased Flash Magic Production version. I want to be able to program the P89LPC9xx parts along with the UCFG1 bits all at once instead of going through the two step process. Reading the manual, I thought I could use the command line options, but the FM.exe file it talks about doesn't exist. I'm not familiar with the Python programming script. Are there some examples of how to do this in script? Is there some other way that is easier. I would like to set up separate batch files for different parts and different programs if possible.

One added note. The Flash Magic program I purchased has a couple bugs in it. The helps at the bottom of the screen are over written by the option blocks above it. If you turn off the helps, they still get displayed even after exitting and re-starting FM. Also, clicking on the Manual ICON or in the help drop down doesn't do anything.

Any help would be appreciated. Thanks!

Andy Ayre

FM.EXE is called FMPS.EXE in the Production System.

UCFG1 is set in your project, not in Flash Magic. If you are using Keil uVision then include the file start900.a51 in your project and edit it to set up UCFG1. This places a hex record at FFF0H in the hex file which Flash Magic will parse and use to program UCFG1.
Embedded Systems Academy, Inc.
support at esacademy dot com

BobStevens01

I have the startup file included in the project. However, I have the free code limited version. Maybe it's no able to include the info at FFF0H.

Andy Ayre

You can check by opening the hex file in Notepad and scrolling through it until you find the record. Also you can manually add the record after building your project using Notepad.

Andy
Embedded Systems Academy, Inc.
support at esacademy dot com

Andy Ayre

Quote from: BobStevens01 on March 10, 2011, 06:43:20 AM
One added note. The Flash Magic program I purchased has a couple bugs in it. The helps at the bottom of the screen are over written by the option blocks above it. If you turn off the helps, they still get displayed even after exitting and re-starting FM. Also, clicking on the Manual ICON or in the help drop down doesn't do anything.

The display issue is fixed in version 5.84.

The hints at the bottom are always shown. What you are disabling is internet access to update them.

The manual won't show if you don't have a suitable application associated with the .pdf extension. Try installing Adobe Reader and rebooting.

Andy
Embedded Systems Academy, Inc.
support at esacademy dot com