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.


Messages - Andy Ayre

Pages: [1] 2 3 ... 141
1
LPC2xxx / Re: communication error
« on: March 06, 2017, 10:39:40 am »
Are you able to read the device signature (ISP -> Read Signature...)?

Andy

2
ARM Cortex / Re: not programming under windows 10
« on: January 27, 2017, 10:25:23 am »
Richard,

Thank you very much for the detailed analysis. When there are problems suspected with RS232 drivers, cables, Windows settings it comes down to the user having to try things and often people contact us expecting us to just be able to fix it for them without any information or any further help from them. With the information you have posted others can now try the same settings on their PCs if they run into a problem like this.

Andy

3
ARM Cortex / Re: not programming under windows 10
« on: January 23, 2017, 10:25:28 am »
Send to the email address show in Help -> About, referencing this topic.

4
ARM Cortex / Re: not programming under windows 10
« on: January 19, 2017, 11:21:33 am »
Hi,

Please generate and post a debug file. Instructions are here: http://www.flashmagictool.com/debugfile.html

Andy

5
P89V51Rx2/P89LV51Rx2 / Re: Flash magic is not erasing 89v51rd2
« on: December 22, 2016, 11: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.

6
Feature Requests / Re: Comment in Commandfile
« on: November 23, 2016, 03:24:33 pm »
It should be possible to do this by constructing FM command lines using a batch file.

7
ARM Cortex / Re: Programming LPC4370/W25Q80BV
« on: November 22, 2016, 06:15:47 pm »
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.

Compile.

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.

Andy

8
ARM Cortex / Re: Programming LPC4370/W25Q80BV
« on: November 22, 2016, 06:05:53 pm »
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.

Andy

9
ARM Cortex / Re: Programming LPC4370/W25Q80BV
« on: November 18, 2016, 11:35:48 pm »
When Flash Magic communicates with the Link2 it first checks if the Flash Magic Link2 firmware is already running. So in theory it should be possible to manually program the Link2 with the firmware. You can find it inside the installation.

Andy

10
ARM Cortex / Re: Enable Code Read Protection via command-line
« on: November 17, 2016, 10:27:44 am »
Code Read Protection is set in the hex file. Typically this is achieved by setting the value in the startup code. For example with Keil compilers the startup code defines "CRP" and a value to use.

The manual is out of date and we will fix that - sorry for the confusion.

11
ARM Cortex / Re: Error verifying
« on: November 17, 2016, 10:20:49 am »
Erase the entire device then view the contents of flash again. Are the first four locations 0xFFFFFFFF? If not then the part has a problem erasing.

If it is erasing then open the hex file in notepad and confirm that location zero is only used once. I.e. that you don't have two records in there writing different values to the same location. A description of the Intel Hex File Format can be found on wikipedia.

Make sure the voltage you are applying to the part meets the minimum requirements.

12
LPC9xx/LPC9xxx / Re: p89lpc931 isp programming issue
« on: November 08, 2016, 11:10:57 pm »
Hi LindsiWaign,

Due to a forum glitch your post and account was deleted. Please re-register. Sorry for the inconvenience. I have reposted your question.

In general please start a new topic for new questions.

Please generate and send us a debug file along with details of the settings you are using. Instructions are here:

http://www.flashmagictool.com/debugfile.html

13
LPC9xx/LPC9xxx / Re: p89lpc931 isp programming issue
« on: November 08, 2016, 11:09:24 pm »
From LindsiWaign:

Hi,

I am using BlueBoard LPC21xx and trying to program it using USB-Serial bridge, which is there on NGX ARM USB JTAG.
I have installed FTDI drivers and serial communication is working fine Docklight  Win7.
But if i try to burn the flash using FlashMagic its not working...
If i follow the switch press procedure mentioned in User Manual...
When i press resetsw3  ISP switchsw2...flash magic hangs...saying connected at 9600 and just hangs...

Some people say FlashMagic doesnt work with FT2232 based converters...

Please Help it really urgent

14
LPC2xxx / Re: LPC 2148 FAILED TO AUTOBAUD
« on: October 17, 2016, 11:10:00 am »
Which TXD and RXD do you think I should check?

The pins on the microcontroller.

15
LPC2xxx / Re: LPC 2148 FAILED TO AUTOBAUD
« on: October 17, 2016, 08:56:49 am »
The debug file only confirms what you are describing, that FM is not getting a response.

Please go back to your terminal approach. Eight bits, no parity, one stop bit (aka 8N1), 19200 baud. Send a single '?'. It should be echoed back but you will find that it isn't.

Put a scope on the RxD pin and check the '?' is arriving. Put a scope on the TxD pin and check if it is being transmitted.

Put a scope on the XTAL pins and check for a waveform. Double check supply voltages, make sure no noise or ripple. Also the reset line. Double-check the voltage at the ISP entry pin and make sure that when you are resetting the part the voltage is going down to zero at the pin.

Most likely cause is electrical - either a bad solder joint or incorrect design.

Andy

Pages: [1] 2 3 ... 141