Main Menu

Recent posts

#11
General / Programming multiple LPC11C14 ...
Last post by areebkhan22 - April 14, 2022, 09:43:41 AM
Hey Guys,

I am currently using the free version of FlashMagic to flash my device using the LPC11C14/301 CAN & PEAK PCAN USB interface.

Is it possible to flash multiple devices at the same time? Maybe with the paid version of Flash Magic? If so what else would I need?

Any help would be greatly appreciated.
#12
General / Command Line fm.exe - how to A...
Last post by tymphany - March 23, 2022, 01:58:43 AM
Hello Flash Magic Forum,
please is there a way how to Activate Bank A in FlashMagic command line fm.exe?

I am using following command:
fm.exe --device LPC1837 --serialport COM7 --baudrate 115200 --erasedevice --program="released.hex" --verify "released.hex"

size of released.hex = 1,514,188 bytes

Erase, program and verification is done successfully but Bank A is not activated - bootloader not started. And I haven't found any notice about this in --help and documentation.

Thank you for help.
#13
Feature Requests / Easy and simple techniques to ...
Last post by toby777 - February 06, 2022, 09:45:17 PM
The use of the digital platform has led to the necessity of knowing the operation methods of the cash app account. They must learn about the transaction processes. It is vital to select the appropriate techniques for sending $10,000 via cash app. The majority of consumers are unaware of how to properly handle their cash app account. As a result, they must be capable of taking risks.
#14
General / Use FlashMagic programming LPC...
Last post by JennieZhjun - January 04, 2022, 12:36:43 AM
Dear support,
We Use FlashMagic programming LPC54608 RAM in ISP Uart mode.
Now FlashMagic can read signature without issue.
Then I want to burn LPC54018 SDK flashloader bin file to target RAM (start from 0x2000000)through ISP uart. But failed. see attachment
Could you please advice where is the problem?

Thanks,
Jennie


#15
ARM Cortex / Re: LPC4322: Wrong chip signat...
Last post by Zlodey - December 24, 2021, 05:58:30 AM
Added screenshot
#16
ARM Cortex / LPC4322: Wrong chip signature
Last post by Zlodey - December 24, 2021, 05:52:21 AM
Hi all.

Chip signature when reading from a real LPC4322 microcontroller in the FlashMagic software:
0xA00BCB3C

Chip signature provided by the NXP User Manual:
LPC4322JBD144     0xA00BCB3C

Chip signature in the FlashMagic software (incorrect signature):
0xA001CB3C

Please chack/fix incorrect signature in FlashMagic software.
#17
General / Use of command line fm.exe res...
Last post by georged - December 21, 2021, 08:28:20 AM
Let me start by noting that if I use the GUI, I have absolutely no issues with the hardware setup I am using.  I have been actively using this setup for several months to update early prototype hardware.  Using V13.45.

Because I have the desire to preserve 1 page of flash on an LPC5516, I cannot use the GUI to update without several separate manual steps.  The GUI allows me to chose to erase device or sectors used by program being flashed.  My issue is that I want to preserve the last page in a sector.  Yes, I can do this with extra manual steps, but I was hoping to automate to speed the process & make it less error prone.  Thus I opted to try the command line with a command file.

The commands I initiate first erase sectors 0-5 and then pages 384-446.  No issue.

I then initiate the programming step with fm --device="LPC5516" -b57600 --serialport=COM4 --crystalfreq=12 --t1=50 --t2=120 --commandfile="D:\LEDSwitchApp\projects\LEDSwitchApp\LPC551\programAppImage.cmd"

command file is:
--program=D:\LEDSwitchApp\projects\LEDSwitchApp\LPC551\bin\LEDSwitchApp_bootAndApp.hex

The programming starts & consistently fails as follows:
FlashMagic
13.45 build 6257
(c) Embedded Systems Academy, Inc. 2001-2021, All Rights Reserved
ARM7 UART Driver 5.06.5754
Cortex UART Driver 8.71.6249
Cortex Packet UART Driver 2.35.6257
External Memory Driver 2.20.6249
CAN Driver 3.36.6088
ARM7 Ethernet Driver 2.25.5754
Cortex Ethernet Driver 3.05.5754
USB Driver 3.02

Use -h to get some help

STATUS: Connecting to LPC5516 on COM4 at 57600...
TASK: Programming 'D:\LEDSwitchApp\projects\LEDSwitchApp\LPC551\bin\LEDSwitchApp_bootAndApp.hex'...
  STATUS: Programming 0x00037C00...
  STATUS: Programming 0x00037A00...
  STATUS: Programming 0x00037800...
  STATUS: Programming 0x00037600...
  STATUS: Programming 0x00037400...
  STATUS: Programming 0x00037200...
  STATUS: Programming 0x00037000...
  STATUS: Programming 0x00036E00...
  STATUS: Programming 0x00036C00...
  STATUS: Programming 0x00036A00...
  STATUS: Programming 0x00036800...
  STATUS: Programming 0x00036600...
  STATUS: Programming 0x00036400...
  STATUS: Programming 0x00036200...
  STATUS: Programming 0x00036000...
  STATUS: Programming 0x00035E00...
  STATUS: Programming 0x00035C00...
  STATUS: Programming 0x00035A00...
  STATUS: Programming 0x00035800...
  STATUS: Programming 0x00035600...
  STATUS: Programming 0x00035400...
  STATUS: Programming 0x00035200...
  STATUS: Programming 0x00035000...
  STATUS: Programming 0x00034E00...
  STATUS: Programming 0x00034C00...
  STATUS: Programming 0x00034A00...
  STATUS: Programming 0x00034800...
  STATUS: Programming 0x00034600...
  STATUS: Programming 0x00034400...
  STATUS: Programming 0x00034200...
  STATUS: Programming 0x00034000...
  STATUS: Programming 0x00033E00...
  STATUS: Programming 0x00033C00...
  STATUS: Programming 0x00033A00...
  STATUS: Programming 0x00033800...
  STATUS: Programming 0x00033600...
  STATUS: Programming 0x00033400...
  STATUS: Programming 0x00033200...
  STATUS: Programming 0x00033000...
  STATUS: Programming 0x00032E00...
  STATUS: Programming 0x00032C00...
  STATUS: Programming 0x00032A00...
  STATUS: Programming 0x00032800...
  STATUS: Programming 0x00032600...
  STATUS: Programming 0x00032400...
  STATUS: Programming 0x00032200...
  STATUS: Programming 0x00032000...
ERROR: Executing '--program="D:\LEDSwitchApp\projects\LEDSwitchApp\LPC551\bin\LEDSwitchApp_bootAndApp.hex"'
ERROR: Operation Failed. (programming - failed to send data to the device)

It seems that if I perform a full erase followed by programming, no error results.

Ideas? 

#18
ARM Cortex / Re: LPC55S28 (USB, LPC5500) Op...
Last post by mikaeleiman - October 05, 2021, 12:32:03 AM
We worked around the problem by implementing the bootloader protocol in a simple command line app using hidapi, which also lets me run it on MacOS and Linux. Seems to be working well.
#19
ARM Cortex / Re: Customized bootloader for ...
Last post by sonam chouhan - September 29, 2021, 01:57:33 AM
Could you let us know the below information about spifi_drv_M3.lib?

1. In the flash magic example code, this lib is directly used for the support of spi flash, so, is the library created from .a (NXP) or it is created in KEIL by using source code?

2. Do you have any source code to create .lib?

3. We got the source code for this from NXP, but by building the project in KEIL, .lib size is different and that does not work?

Currently, we need to add the support of an flash of MXIC which is not supported by the old spifi lib, so we are working to add the support of the flash in spilib source ccode and by doing so, we need to create the customized bootloader for the flash MX25V16xx.
#20
ARM Cortex / LPC55S28 (USB, LPC5500) Operat...
Last post by mikaeleiman - September 21, 2021, 06:47:09 AM
I connect my device via USB (directly, no UART involved), and try to write firmware data to the flash.

FlashMagic says: LPC55S28 (USB, LPC5500) Operation failed. (programming - failed to send data to the device)

Debug file attached.

Any ideas on what could be wrong? As far as I know it's a brand new chip, so there shouldn't be any locked areas and such. Reading signature works, blank check works, erasing works. It's only firmware download that doesn't work.

Also FLashMagic crashes a lot when using the USB interface, maybe that indicates that something in particular is wrong?

kind regards,
   Mikael