Recent Posts

Pages: [1] 2 3 ... 10
1
ARM Cortex / Re: NHS3100 flashing- Failed to Autobaud
« Last post by Andy Ayre on Today at 07:22:16 am »
Just to confirm, the procedure is:

1. Connect NHS3100 board to J7 on LPC-Link2
2. JP2 on, JP1 off
3. No battery inserted into NHS3100 board
4. Connect LPC-Link2 to your PC -> LED on LPC-Link2 on solid
5. Start Flash Magic -> LED on LPC-Link2 flashes
6. Choose SWD over Link2 in Flash Magic main window
7. ISP -> Read Signature

Your screenshot shows that Flash Magic has been able to communicate with the LPC-Link2.

Your debug file shows that the LPC-Link2 can't communicate with the NHS3100.

Could be due to the cable being too long, not properly seated at both ends. Do you have the battery in? If so remove it. Could be due to static damage. Could be due to configuring the part to disable SWD.

Andy
2
ARM Cortex / Re: NHS3100 flashing- Failed to Autobaud
« Last post by vrushali on Today at 12:06:04 am »
Hi Andy,

My Jumper settings on LPC link2: JP1 is open, JP2 is mounted.
i am using J7 connector on LPC link2 board to connect to target board.
Settings in flash magic:see flash magic setting.png in attachments.
flashmagic version 10.90

Thanks.
3
ARM Cortex / Re: NHS3100 flashing- Failed to Autobaud
« Last post by Andy Ayre on September 20, 2018, 04:54:19 am »
What are your LPC-Link2 jumper settings?
Which connector are you using on the LPC-Link2 to connect to the target board?
What are you settings in Flash Magic?
What version of Flash Magic?

We can't help you unless you provide basic information.
4
ARM Cortex / NHS3100 flashing- Failed to Autobaud
« Last post by vrushali on September 20, 2018, 01:13:00 am »
Hello,
I am flashing NHS3100 (in Therapy adherence ADK) using Flash magic. But it is giving pop-up error as "Operation Failed. Failed to autobaud". LED on LPC link2 is blinking.
I have attached flash magic debug file in attachment.
5
ARM Cortex / NHS3100 flashing- Failed to Autobaud
« Last post by vrushali on September 17, 2018, 02:18:00 am »
Hi,
I am using LPC link2 debug board for flashing NHS3100 using Flash magic.
It was working fine till now, but suddenly my LPC device is not getting detected when flash magic is open.
Before opening Flash magic, LED1 on lpc link2 board is ON continuously and lpc device is detected in device manager.
But after opening Flash magic system can not detect LPC device and LED1 is blinking continuously.

Anyone can help in finding what is basically the problem with my LPC-link 2 and how I can fix it.
6
LPC2xxx / Re: LPC2294 .NET Cant Connect
« Last post by LittleBit on July 17, 2018, 07:22:55 am »
Thank you, with the right assembly its working fine.
7
LPC2xxx / Re: LPC2294 .NET Cant Connect
« Last post by Andy Ayre on July 17, 2018, 06:18:00 am »
LPC2294 is an ARM7 not an ARM Cortex device. You are using the wrong .NET assembly.
8
ARM Cortex / Re: LPC 1549 - ISP options not working
« Last post by Andy Ayre on July 17, 2018, 06:13:54 am »
If an item on the ISP menu is disabled then it isn't supported by the bootloader in the part.

The File -> Save As option supports more than 64kb. Note that for the LPC1549 the flash memory range is 0x00000000 -> 0x0003FFFF. The File -> Save As option only supports saving the contents of Flash memory.

Andy
9
LPC2xxx / LPC2294 .NET Cant Connect
« Last post by LittleBit on July 12, 2018, 12:27:15 am »
Hello everyone

Currently i try to automate the Programming of a LPC2294 with the .NET Library from Flash Magic. When i use the FM Program with the GUI everything works fine, the device responds and can be programmed but with the .NET Library i cant connect to the Device. Even modifying the parameters described in this Post http://forum.flashmagictool.com/index.php?topic=3273.0 didnt help.

Am i missing a difference in the Configuration or something important to consider?

Here is the C# Code to Connect (not working)
Code: [Select]
            try
            {
                //Set up Connection Parameters
                COMOptions comOptions = new COMOptions();
                comOptions.selecteddevice = Devices.LPC2294;                                                //Processor Type
                comOptions.port = "COM32";                                                                  //COM Port
                comOptions.baudrate = 115200;                                                               //Baudrate
                comOptions.highspeed = 0;                                                                   //Use MaxBaudrate
                comOptions.maxbaudrate = 115200;                                                            //Max Baudrate
                comOptions.interfacetype = Interfaces.NONE;                                                 //None required
                comOptions.osc = 14.7456;                                                                   //Processor Oscillator
                comOptions.bootloaderpath = @"H:\idden\due\to\company\rules.hex";                           //Hard coded, get from Settings later
                comOptions.halfduplex = 0;                                                                  //We do not use half duplex
                comOptions.hwt1 = 50;                                                                       //DTR RTS Assert time
                comOptions.hwt2 = 100;                                                                      //DTR RTS Deassert time
                comOptions.protocoloptions = ProtocolOptions.AUTOLF;                                        //Let Flash Magic Handle LF
                comOptions.hwconfig = HardwareConfigurations.BOOTEXEC;                                      //HW Boot and DTR/RTS handle RST/ISP
                comOptions.clocks = 0;                                                                      //Ignored when highspeed = 0  (manual recommends setting to 0 when using ARM)
                comOptions.postopendelay = 0;                                                               //0 because we have no problem with missing data
                comOptions.interfaceserialnumber = String.Empty;                                            //Not used, set to empty
                comOptions.flashbank = 0;                                                                   //Not used, default is 0
                comOptions.usinginterface = 0;                                                              //0 no HW Interface used

                FlashMagicARMCortex cortex = new FlashMagicARMCortex();
                cortex.Connect(comOptions);                                                                 //Throws Exception
            }
            catch (FMException ex)
            {
                Console.WriteLine(ex.Message);         
            }

which throws the Exception
Code: [Select]
Exception thrown: 'ESA.FlashMagic.Common.FMException' in FlashMagicARMCortexNET.dll
Invalid value or command sent. Please try the operation again. (device not found)

The Flash Magic Settings used with the GUI Program are attached (they are working fine)
10
ARM Cortex / Re: LPC 1549 - ISP options not working
« Last post by wayneSGS on July 04, 2018, 06:37:39 am »
Hi Andy, I'm getting this issue also for the LPC1549 with latest FM v11.16.5087.
Just updated to FM v11.16.5087, under the ISP tab the only functions selectable are:
Blank Check, Read Security, Read Device Signature, Display Memory, Erase Flash, Verify, Execute, Go
All other selections under ISP are "grayed out" and not selectable.
I want to read LPC1549 flash and save to hex file, but unable to find any option to perform this function.
Besides Display Memory which doesn't appear to have save ability, is read/save flash available in FM?

Update: Found that File: Save allows read/save of a portion of memory, limited to 0x00000000 to 0x0000FFFF on LPC1549.
Under Display Memory the memory size is much larger up to 0x002003FFF, how can this be read/saved to hex?
Pages: [1] 2 3 ... 10