Main Menu

Recent posts

ARM Cortex / LPC5528 missing signature
Last post by minex - January 14, 2024, 11:01:53 PM
Hello, I get error every time when flashing LPC5528 about mismatched signature.
I noticed that in the list some LPC55xx have described signature, others do not, LPC5528 has zero signature. Any thoughts on adding a signature to all products so they don't throw warnings?
ARM Cortex / Re: LPC1853 ISP, Memory Locati...
Last post by Andy Ayre - July 10, 2023, 02:40:15 PM
There should never be code located at 0x001C - it is reserved for the checksum. If your code is using it then you need to add a directive to reserve it. Andy
ARM Cortex / LPC1853 ISP, Memory Location a...
Last post by Werner - June 14, 2023, 06:44:34 AM
Hi all,

I found that the current version of FlashMagic (V13.50) corrupts location 0x001C on bank B if "Activate Bank A" is checked. FlashMagic erases the chosen Flash blocks, then programs bank A, then programs bank B and then sends the ISP command to activate bank A. According to the NXP user manual this ISP activation command generates and writes the correct vector table checksum on location 0x001C for bank A and at the same time writes an invalid checksum (in fact 0x00000000) on location 0x001C on bank B. Dependant on what code is located at 0x001C this leads to the program to behave falsely or even crash.
Actually this is not a fault in FlashMagic itself, rather a bug in the design of the ISP command, but FlashMagic should work around it.
I suggest Flashmagic to change the order of operation: Erase the chosen sectors on the bank to be activated, program the bank to be activated, activate the bank, erase the chosen sectors on the other bank, program the other bank.

With older versions of FlashMagic (V9.80) one has to execute FlashMagic twice. One instance set to bank A and bank activation checked, the other instance set to bank B and bank activation unchecked. This process avoids corrupting the non-activated Flash bank and has worked fine for me.
Surprisingly neither version 13.50 nor version 9.80 shows an error when the corrupted code is verified. Obviously code location 0x001C is spared for verification on both banks.

Best regards
General / Ulink Pro on Windows 10 and 11...
Last post by piano301 - February 16, 2023, 04:04:33 AM
Flash Magic used to be able to see the COM port for Ulink Pro USB debug interface on Windows 7.
But COM ports look to be unavailable in general, unless the manufacturer now supplies a specific Virtual Com Port driver for their device.
Can Flash Magic be made to "see" the Ulink Pro as a native USB device (i.e. not via a com port) ?
Is there any generic way to make the Ulink Pro appear as a COM port in windows 10 or 11 ?
Feature Requests / RTS to control direction on ha...
Last post by - February 09, 2023, 02:40:00 AM
I would like to bootload over a one-wire connection. but I got the need to control the direction from the computer.
I thought I could use the RTS, but it seems that its not working, because it don't toggle for every message.
Maybe you could make a new feature?
ARM Cortex / About using the MCU-LINK SWD i...
Last post by nefty - January 30, 2023, 12:49:17 AM
Hi All,

I want to write to LPC802M001JDH20 using the MCU-LINK SWD interface.
When I type the following command line from the Windows command prompt, I get the response "ERROR: Unable to communicate. No serial number for interface".
What is wrong with my command line?
Can someone please tell me what is wrong with my command line?
By the way, I can write from the GUI.

Command Line:
C:\>C:\FlashMagic\fm.exe --device LPC802M001JDH20 --mculink --erasedevice --program="C:\FlashMagic\ZZ_MyTest.hex" --verify="C:\FlashMagic\ZZ_MyTest.hex"

13.50 build 6367
(c) Embedded Systems Academy, Inc. 2001-2022, All Rights Reserved
ARM7 UART Driver 5.06.6367
Cortex UART Driver 8.71.6367
Cortex Packet UART Driver 2.35.6367
External Memory Driver 2.20.6367
CAN Driver 3.36.6367
ARM7 Ethernet Driver 2.25.6367
Cortex Ethernet Driver 3.05.6367
USB Driver 3.02

Use -h to get some help

STATUS: Connecting to #Ygc (first found)...
ERROR: Unable to communicate. No serial number for interface
ARM Cortex / Re: LPC55S69 Not Programming t...
Last post by MV-Ware - January 19, 2023, 01:51:17 PM
I found the debug file
ARM Cortex / LPC55S69 Not Programming throu...
Last post by MV-Ware - January 19, 2023, 01:45:09 PM
Hi, I developed a board with the NXP LPC55S69. I have already developed a program with the Xpresso IDE.
My applications runs fine withe the Segger Jlink Debuger on the SWD port.

I added the USB connection on USB1 of the device in the design.
I installed latest Flashmagic:  13.50 build 6367,  it has USB driver 3.02   on windows 10

I enable the ISP with a jumper. Connect the USB ; from PC to my board. (Which also powers my PCB,)
I followed the setup of flashmagic:  select USB LPC55S69. A hex file.
Device LPC55S69 (USB, LPC5500)
Interface tiegf6JWnvo5 (USB Bootloader)
   reading Signatures works.
   reading sectors data works
   erasing sectors works.
But programming works not: (pressing START)
  LPC55S69(USB, LPC5500)  Operation Failed. (programming - failed to send data to the device)

In the Preferences:
  hardware tab shows the UART selection bullets  (as if the programmer will use UART? )
  other tabs are default.

What is going wrong here?  or do I do somthing wrong?
I enables debug mode,  but can not find the debug file.

ARM Cortex / How to answer forum.flashmagic...
Last post by Davidqsv - January 19, 2023, 05:37:18 AM
 Please tell me how to answer an existing topic? 
What am I doing wrong? 
Need your help.
Thank you.
Feature Requests / Tool entry is missing
Last post by Henk - October 24, 2022, 11:32:52 PM
In version 13.50 there is no "Tool" option in the upper bar (File, Add, ISP, View, Help).
In earlier versiens there was an option: Tools, Terminal.
Why is "Tool" entry missing?