Main Menu

Recent posts

#61
P89C51Rx+/P89C51Rx2/P89C66x/P89C6xX2/P89V66x / Selecting P89C664
Last post by HArvey - September 17, 2020, 01:45:59 AM
Hello
I Can't see P89C664 choices in the Device Database selection popup.
How can I select it ?
#62
General Discussion / Re: Old Flashmagic version 1.5...
Last post by Andy Ayre - August 14, 2020, 09:09:03 AM
The last V11 release should work. Andy
#63
General Discussion / Old Flashmagic version 1.53
Last post by Aut0mate - August 14, 2020, 07:36:01 AM
Hello,

Does anyone know where I can download flash magic version 1.53? I need to update some firmware on an old piece of equipment. I'm running into issues. It was recommended to specifically use this version.

Thanks kindly
#64
General / Re: Support for external paral...
Last post by Andy Ayre - July 21, 2020, 09:47:41 AM
No, however you can add support for it to Flash Magic yourself by taking one of the current external flash bootloader examples and modifying it.

Andy
#65
General / Support for external parallel ...
Last post by GLn - July 21, 2020, 05:50:47 AM
Hi,
Is there a planed schedule for releasing "BootRom" code for programming an external flash on the EMC bus to the LPC54018?

Best Regards,
GLn
#66
Sorry, your part is not supported by Flash Magic. A list of supported devices can be found here. Note that you will need V11 to program 8051s:

  https://www.flashmagictool.com/supporteddevices.html

Andy
#67
Hello everybody,

Recently i purchased P89C52X2BN microcontroller.
I wrote c program in keil microvision & created hex file.

now as i use Flash Magic to burn hex file ( lastly used P89v51RD2 ic),
i tried to do so....but there is no P89C52X2BN ic in selection.

please any one guide me to successfully program this controller ic.

regards,
KP
#68
General / Re: Unsupported Operation?
Last post by JamesM - June 23, 2020, 03:28:14 PM
Thank You Andy - That works fine
#69
General / Re: Unsupported Operation?
Last post by Andy Ayre - June 23, 2020, 12:25:01 PM
I don't know which version you are using, however:

Use the Microsoft DLLs
Use implib to generate Borland-compatible lib files from the Microsoft DLLs
Make sure the header files and the DLLs come from the same version.

Please post back if that does not help.

Andy
#70
General / Unsupported Operation?
Last post by JamesM - June 23, 2020, 11:33:11 AM
I am using C++ Builder XE6. I have linked with the Borland C++ 5 DLLs. However, when I run the following code, fm_connect returns "Device does not support operation. Only COM connections supported."

I must be missing something obvious? Thank you in advance for any help - James



#include "flashmagicarmcortex.h"

//---------------------------------------------------------------------------
void __fastcall TForm1::Button1Click(TObject *Sender)
{
  fm_results *presults;
  presults = fm_version();

  fm_connectoptions_com options;

  fm_set_default_timeouts();

  options.osc               = 12.000;
  sprintf_s(options.comportname, FM_MAXCOMPORTNAMELEN, "COM%d", 5);
  options.baudrate          = 115200;
  options.selecteddevice    = FM_LPC1758;
  options.highspeed         = 0;  //1;
  options.clocks            = 0;
  options.halfduplex        = 0;
  options.hwconfig          = FM_HWBOOTEXEC;
  options.hwt1              = 200;
  options.hwt2              = 200;
  options.i2caddr           = 0;
  options.maxbaudrate       = 115200;
  options.usinginterface    = 0;
  options.interfacetype     = FM_INTERFACETYPE_NONE;
  options.flashbank         = 0;
  options.protocoloptions   = FM_PROTOCOLCOM_AUTOLF;
  options.postopendelay     = 0;
  options.bootloaderpath[0] = NULL;

  presults = fm_connect(&options, sizeof(options));

  if (presults->result != FM_OK)
ShowMessage(presults->details);
}