Flash Magic Download For Windows 10

0 views
Skip to first unread message

Maricel Fergason

unread,
Aug 4, 2024, 8:28:54 PM8/4/24
to tumerwiva
OnUSB the flashmagic crashes very often. just exit at once.

Is flashmagic supported somewhere? by NXP? The site it's self does not reactot any forum question.

BLHost seems not very practical.


Hi Raul, thanks for helping.

Does this MCU SPT work on the ISP of the LPC55?

I don't read any thing about ISP in this tool...

in the mean time i'm still waiting for flashmagic support aswell...


I am a newbie. I just have started my ARM career with NXP's LPC2148 kit. I am doing simple project of interfacing 4*4 matrix keypad with LPC2148 module. The progam is that after pressing a key, the key will be displayed in the flash magic terminal window using UART serial communication. So, after uploaded the program to the kit, terminal shows the message "matrix keypad Press the key' as mentioned in the program. But when i press the key, the terminal doesn't show the pressed key. I didn't get any error in compiling also. My program is


I have gotten a new board, a SKR 1.4. I already have a SKR 1.3 and have Marlin 2.0 installed on it. After a handful of firmware flashes changing some configuration options in Marlin the SKR 1.4 seems to be dead.


As I just got this board 2 days ago, I wonder if there is an issue with the board or if there is something I can try before just sending it back as defective. For testing purposes I only had the x-motor and x-endstop connected.


However, one piece of advice I can give you is to try and flash the board directly with a known good firmware, not via an SD update mechanism (that second-stage bootloader / updater burned on the chip might be broken or overwritten now), but via the chips internal bootloader (e.g., via the SWD or UART interface).


flashing-the-bootloader [smoothieware.org] does it via UART. But since the LPC1768 on the board has a Cortex M3 microprocessor, you can also flash it via SWD (SWCLK + SWDIO [+ GND]) and a cheap STLink V2 clone. According to the schematic this is very conveniently available via the J2 connector.


I bought an STLink V2 clone. image10001000 180 KB Installed STM32 ST-LINK Utility, connected the 4 wires to the SWD (J2) connector on the SKR 1.4. The Diode (labelled D4 on SKR 1.3) is illuminated when I connect the ST-Link Adapter. However I cannot get it to connect with ST-Link Utility. I tried all the different connection modes and also varied the connection frequency.

When I connect the STLink adapter to the ICSP header on my SKR1.3 I can at least get the status LED on the adapter to blink blue instead of red for a couple of seconds, the ST-Link utility also detects the target as 3.3v. However, the connection still fails.


In PlatformIO I cannot select stlink as an upload_protocol as I get unknown upload protocol error. When I edit the config files for lpc1768 in my user config directory to add stlink to the supported upload protocols I still get unknown protocol.


Sorry for the confusion. The Diode which lights up is labelled as D4 on the actual PCB of the SKR 1.3. It is not labelled on the SKR 1.4. However, it will most likely have the same meaning. It is the same Diode which just signals that the board is powered.


I tried all steps but this one. I could not find the C14 capacitor in the schematic or the board. However, I measured the 3.3V pin on the SWD pin header and it showed 3.26V on my multimeter. Connecting external 5V USB power raised the chip voltage from 3.15V to 3.19V.


flash read_bank 0 dump.bin

error reading to flash at address 0x00000000 at offset 0x00000000

Read error

jtag status contains invalid mode value - communication failure

Polling target lpc17xx.cpu failed, trying to reexamine

Examination failed, GDB will be halted. Polling again in 100ms

Previous state query failed, trying to reconnect

jtag status contains invalid mode value - communication failure

Polling target lpc17xx.cpu failed, trying to reexamine

Examination failed, GDB will be halted. Polling again in 300ms

Previous state query failed, trying to reconnect


I had the same problem with my skr1.4 turboboard. I changed the lpc17xx-dfu-bootloader of triffid

(which flashes firmware.bin, renames it to firmware.cur and then boot). One of the changes was using pin P0_26 instead of pin P0_6 as SS pin. I flashed it with flashmagic and UART connection

to the SKR1.4 turbo. (I had to short the bootpin to GND.)

After that I can load new marlin firmware via a card reader shield module connected to the spi connector.


on the TFT screen connector P2. So if you have adapter hooked up that, bridged ISP_BOOT with GND, and then power up the board, the MCU should start up in ISP mode and you should be able to flash it with flashmagic.


thank you very much

your screens show me or was my mistake, I tried to flash by the SPI instead of the port TFT, I can now flash.

but the bootloader that I got here GitHub - Marsman1970/SKR-V1.3-Bootloader: KR V1.3 Bootloader may not be good, because I still cannot flash marlin via microSD


Can anyone walk me through how to convert my bin files from the online compiler to a hex file so that I can upload the hex file in flashmagic. I am using Windows 8 and seem to be having trouble figuring out how to open bin2hex. If anyone can help that would be great.


Yes, then you can open it in Flash Magic using the Browse button in Step 3. I use the Embedded Artists LPC1768/9 Jtag board to load the code onto the chip., baud rate 115200, interface None(ISP), Oscillator 12Mhz. Works every time.


When I try to open any of the bin2hex.exe files listed in the manual it pops up and then immediately closes, keeping me from being able to use the software to make a hex file. Any idea why it does this?


You should run those bin2hex executables in a DOS box. Go to Start/Accessories/command prompt or something like that under Windows. Best thing is then to change directory to whereever you have saved the mbed binary and then run bin2hex on that file. You can get some help with bin2hex /h.


This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.


I was about to contect sandisk when my mate (who is a techie at the local university) popped in forra visit. After explaining my problem to him, he decided to have a look at my pc and found that the windows installer I was using was in fact corrupted and although everything visually appeared to be OK, the W7 Enterprise install was in fact faulty.


Another thing: do not try running Parted Magic on a Virtual Machine. By default, Parted Magic does not allow you to ATA Secure Erase USB-connected drives. If your internal HDD is not detected, it wil not allow you to open the ATA Secure Erase app at all. Once you boot into PM, it will detect your HDD and then you can proceed to NAND wipe your flash drive at your own risk.


You hope for a better performance or something else? Please forget that. Flashing your xexun TK102 with flashmagic is too risky. If Flashmagic tool crashes while firmware update or the connection is lost this can cause the tracker to get inaccessible.Maybe you can never access the tracker again in that case. Never touch a running system, if the tracker is working as designed, let the tracker do its work.A firmware update on your TK102 should only be done in case of emergency or malfunction, for example if the tracker LED is flashing fast permanently.Flashing your TK102 firmware with Flashmagic tool is like throwing a marble through a basketball basket from the other side of the field, possible, but you will need some tries.Before you can start you need a firmware update cable. As you cannot use a common USB cable you need an original xexun TK102 USB firmware update data cable.The most common error message in a firmware update process is the autobaud error, and that message can nearly mean everything. We will get back to this error later.


Because XEXUN doens't offer an own firmware update software we need to use an external tool called Flash Magic. Flash Magic is a PC and MAC programming tool for flash based NXP microcontrollers by RS232 or USB to serial adapter. NXP is a manufactorer of microcontrollers and processors. The built in CPU of a XEXUN TK102 is usually ARM7 from NXP. And because of that we can use the Flash Magic tool.Download Flash Magic for Windows XP/Vista/7/8/10 here or download Flash Magic Version for MacOS / iOS here.


Connect your USB to serial cable to USB and open your windows device manager (Start Control panel System and Maintenance Device manager). The device manager will open in a new window. Look for Ports (COM & LPT), click the . If you see an entry called Prolific USB-to-Serial Comm Port (COM26) or similar note down the value in brackets. In this case we are using COM26, but this value may vary.


Once completed your Flash Magic window should look like this. But please take care. Wrong settings can destroy your tracker.



Now you need fast fingers and both hands. Plug the USB cable into the tracker (still disconnected from the computer). Move your mouse pointer to the start button. Plug the USB cable into your computer and as fast as you can, click the start button. If the tool has successfully connected by software serial the title bar of the tool will change to Flash Magic - NON PRODUCTION USE ONLY - Using xxxxx baud (depending on the baud rate you have entered before).If software connection failed you will get a autobaud error message called Operation failed - failed to autobaud. Close the message popup window, remove USB from tracker and computer, and repeat. Maybe you have to do that many times.

3a8082e126
Reply all
Reply to author
Forward
0 new messages