Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - gesingle

#1
I set up a customized tool in uVision3 to launch FlashMagic:

DEVICE(89V51RD2,0) ERASEUSED(%H, PROTECTISP) HEXFILE(%H, NOCHECKSUMS, NOFILL, PROTECTISP) COM(1,38400) RESET

It works, but gives no prompt to "Reset the device into ISP mode now" or other clue that it is waiting for this action.

Is there a command line option to give a prompt or make FM more verbose? Status reports at the start of each step, such as "Programming...", would also be helpful.
#2
General / FMTest Access Violation
July 05, 2007, 08:49:38 AM
I'm using Flash Magic Production System, version 3.57.217. My goal is to prepare a self-contained application for distributing P89V51RD2 firmware updates.

I'm beginning with FMTest, supplied with the PS distribution, and using MS Visual C++ version 6.

On my initial compilation of FMTest, I got these errors:
error: FM_CONOPT_NONE undeclared ... I changed this to FM_INTERFACETYPE_NONE
warning: expected newline ... I removed the ; from #pragma pack(pop);

I ran the program in debug mode and got an Unhandled Exception in FMTest.exe (FLASHMAGIC.DLL):0xC0000005: Access Violation. This occurred in fm_connect on a command of mov eax,dword ptr[ecx].  ecx contained 0.

Any ideas on the access violation?

Once I get past this, I think this is the fm_connect format I need.
presults = fm_connect(0, atoi(comport), atol(baudrate), FM_89V51RD2, 0, 0, 0, FM_HWNONE, 0, 0, 0, 115200, FM_INTERFACETYPE_NONE);



#3
P89V51Rx2/P89LV51Rx2 / P89V51RC2 does not erase
August 10, 2006, 06:55:51 AM
I am using FM 3.12 with a breadboarded P89V51RC2FN. I have been able to program, verify, display memory, and erase pages, but cannot erase the entire block (Erase Block 0). Erase All Flash is checked. FM shows Erase Complete (with no delay), but a subsequent read shows it is not erased.

Any ideas of what the problem may be?

Thanks,
Glen