Recent Posts

Pages: 1 ... 8 9 [10]
ARM Cortex / Re: not programming under windows 10
« Last post by Andy Ayre on January 19, 2017, 02:21:33 am »

Please generate and post a debug file. Instructions are here:

ARM Cortex / not programming under windows 10
« Last post by microflechs on January 19, 2017, 01:35:52 am »
using Flash Magic 10.01 under Windows 10 64BIT version delivers : Operation failed. (Programming - failed to send data to the device). Connection to Board, erase of device possible without any Problems. Programming starts but delivers upper message. Tried with internal RS232 (PCI express card) and via USB to RS232 converter with same result. Under Windows XP it's working with internal RS232 and with same USB to Rs232 converter.
PC is: DELL Optiplex 3020, RS232 card is:  SIONIC  OXPCIe95x (CH38), USB to RS232 converter is:  Profilec USB to serial.  Windows is: WIN 10 pro 64bit with latest updates.
I also tried other UB to Rs232 converter and other flash magic versions, always with same result: Windows XP working, windows 10: connection and erase possible programming not ( always same error message).
I checked the discussion forum. Find similar problems. Problems was always solved with newer flash magic version. Used newest one.
Test using a second PC with windows 10 deliver ssame result (Programming - failed to send data to the device)
P89V51Rx2/P89LV51Rx2 / Re: Flash magic is not erasing 89v51rd2
« Last post by Andy Ayre on December 22, 2016, 02:06:00 am »
This is probably a question only NXP can answer, but as the parts are out of production it might be difficult.

Why not use a modern device? These parts are not recommended for new projects and it will be difficult to repair/service existing products based on them.
P89V51Rx2/P89LV51Rx2 / Re: Flash magic is not erasing 89v51rd2
« Last post by mrsam41 on December 21, 2016, 06:19:06 pm »
I have bought 15 nxp89v51rd2; i am using flash magic (version 7.72) to program it; out of 15 mc only 5 mc got programmed; for rest of the micro controller i am getting the issue; It shows reset the device into isp mode now, then if I press reset, nothing happens. So I thought it as a bootloader problem and I downloaded the bootloader from your site and programmed the micro-controller using TOP Universal programmer; After that I put it back on target board and tried to re-program it, now again it shows "reset the device to isp mode now" and i press reset, it works and goes to "erasing device......" after that nothing happens, it can not erase the device.
So I thought it as a configuration bit issue and used the TOP universal programmer to read the config bit for good microcontroller and non-working microcontroller; I found the working micro controller has following configuration "0x60=22 and 0x61=42"; but the non-working micro controller shows "0x60=0f and 0x61=02".
I need your help to solve the issue

Do you find out solution for this problem? if can pls help me how to fix? thank you.
P89V51Rx2/P89LV51Rx2 / Re: Can't program p89v51RD2FA...AC
« Last post by mrsam41 on December 20, 2016, 01:28:47 am »
hi guy,
I have same problem with you. I have been using the P89V51RB2FA with PHILIPS logo on chip and i can program it very good. But now i buy some new P89V51RD2FA with NXP logo on chip ending with A0 and i can't program it. When i click Start a popup appear with message "Reset the device in to ISP mode now" and i press reset button on circuit boad then nothing happens, the popups still there and status information bar view "Attempting to connect..." untill i press Cancel. I used same circuit board and configuration Flash Magic software which i use with the 89V51RB2FA. Anyone can help me with this problem? Sorry about my basic English.
Feature Requests / Re: Comment in Commandfile
« Last post by Andy Ayre on November 23, 2016, 06:24:33 am »
It should be possible to do this by constructing FM command lines using a batch file.
ARM Cortex / Re: Programming LPC4370/W25Q80BV
« Last post by ray on November 22, 2016, 09:20:15 am »
Thank you. I will give it a try and let you know if I need help.
ARM Cortex / Re: Programming LPC4370/W25Q80BV
« Last post by Andy Ayre on November 22, 2016, 09:15:47 am »
Once you have that working you will need to customize one of the example external Flash bootloaders. Choose the closest one. They can be found inside the Flash Magic installation and are all Keil uVision projects.

The S25F129P LPC18550/LPC4350 Hitex is possibly the closest. This uses a generic SPIFI library written by NXP. I don't know if your external flash part is supported or not.

You will need to modify this external bootloader project. In FlashPrg.c change DESCRIPTOR_BOOTSTRAP_BOOTROM to DESCRIPTOR_BOOTSTRAP_SWDLINK2. This sets the method for how the secondary (external flash) bootloader gets onto your LPC4370.

Check all the other settings in FlashPrg.c to make sure they make sense. Also change the name and description fields.


Place the hex file of this secondary bootloader into the Flash Magic installation inside the Bootloaders folder.

Restart Flash Magic and you can now choose to select your secondary bootloader from the External Flash selection of the device database.

Also you can hire us to do all of this, along with testing, if you don't want to get this involved.

ARM Cortex / Re: Programming LPC4370/W25Q80BV
« Last post by Andy Ayre on November 22, 2016, 09:05:53 am »
OK, this is fairly involved. Support for your external flash is possibly not available out of the box and you may need to customize one of the existing external flash bootloaders.

The first step is to get the Link2 working with Flash Magic. You should be able to read the part signature.

Assuming your Link2 is not DFU bootable: inside the Flash Magic installation you will find the file SWDLINK2.hex. Program this into your Link2. If you then cycle the power then the LED on the Link2 should be flashing.

Next in Flash Magic choose LPC4350 (for now this is close enough) and for the interface choose "SWD over Link 2".

Are you able to read the signature by going to ISP -> Read Device Signature... ?

We need to add the LPC4370 and we will work on that in the next couple of days.

ARM Cortex / Re: Programming LPC4370/W25Q80BV
« Last post by ray on November 22, 2016, 08:52:48 am »
Thank you for the reply. I don't quite understand what you mean.
I have the Link2 board connected to the PC with USB. Then I have the Link2 board connected with SWD to our custom board.
I have an intel hex file with the code I want to program.
What settings do I choose to be able to program the custom board ( LPC4370 processor and external flash W25Q80BV on SPIFI)?
I have been trying, but so far have been unsuccessful. And I do not see LPC4370 included in any of the settings.
Pages: 1 ... 8 9 [10]