Flash Magic Forum

In-System Programming Support => LPC9xx/LPC9xxx => Topic started by: BobStevens01 on March 10, 2011, 06:43:20 am

Title: Flash Magic programming UCFG1
Post by: BobStevens01 on March 10, 2011, 06:43:20 am
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!
Title: Re: Flash Magic programming UCFG1
Post by: Andy Ayre on March 14, 2011, 02:16:45 am
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.
Title: Re: Flash Magic programming UCFG1
Post by: BobStevens01 on March 15, 2011, 07:34:53 pm
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.
Title: Re: Flash Magic programming UCFG1
Post by: Andy Ayre on March 16, 2011, 02:10:31 am
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
Title: Re: Flash Magic programming UCFG1
Post by: Andy Ayre on March 16, 2011, 03:13:44 pm
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