Author Topic: Flash Magic programming UCFG1  (Read 6356 times)

BobStevens01

  • Jr. Member
  • **
  • Posts: 2
    • View Profile
Flash Magic programming UCFG1
« 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!

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2160
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: Flash Magic programming UCFG1
« Reply #1 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.
Embedded Systems Academy, Inc.
support at esacademy dot com

BobStevens01

  • Jr. Member
  • **
  • Posts: 2
    • View Profile
Re: Flash Magic programming UCFG1
« Reply #2 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.

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2160
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: Flash Magic programming UCFG1
« Reply #3 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
Embedded Systems Academy, Inc.
support at esacademy dot com

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2160
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: Flash Magic programming UCFG1
« Reply #4 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
Embedded Systems Academy, Inc.
support at esacademy dot com