I've a TWR-K70F120M board.
I've create a project via Project wizard for MQX for this board.
After to have rebuild the MQX lib under my MCU V10.4, I've build the project created.
I can load it via the debugger and create a Flash File to Target and it's running fine.
Extract of console:
++++++++++++++++++++++++++++++++++++++
fl::target -lc "LC for Simple Flash"
fl::target -b 0x1fff0000 0x20000
fl::target -v off -l off
cmdwin::fl::device -d "FTFE_PFlash1M0" -o "128Kx64x1" -a 0x0 0xfffff
cmdwin::fl::image -f "C:\\Temp\\Community\\307595\\MCU V10.4\\test_mqx_k70\\twrk70f120m_Int_Flash_DDRData_Debug\\test_mqx_k70.afx" -t "Auto Detect" -re on -r 0x0 0xfffff -oe off
cmdwin::fl::erase image
Beginning Operation ...
-------------------------
Auto-detection is successful.
File is of type Elf Format.
Performing target initialization ...
Downloading Flash Device Driver ...
Reading flash ID ...
Erasing Sector 0x00000000 to 0x00000FFF
Erasing Sector 0x00001000 to 0x00001FFF
Erasing Sector 0x00002000 to 0x00002FFF
Erasing Sector 0x00003000 to 0x00003FFF
Erasing Sector 0x00004000 to 0x00004FFF
Erasing Sector 0x00005000 to 0x00005FFF
Erasing Sector 0x00006000 to 0x00006FFF
Erasing Sector 0x00007000 to 0x00007FFF
Erasing Sector 0x00008000 to 0x00008FFF
Erasing Sector 0x00009000 to 0x00009FFF
Erasing Sector 0x0000A000 to 0x0000AFFF
Erasing Sector 0x0000B000 to 0x0000BFFF
Erasing Sector 0x0000C000 to 0x0000CFFF
Erasing Sector 0x0000D000 to 0x0000DFFF
Erasing ...
Erase Command Succeeded
cmdwin::fl::write
Beginning Operation ...
-------------------------
Using restricted address range 0x00000000 to 0x000FFFFF
Programming file C:\Temp\Community\307595\MCU V10.4\test_mqx_k70\twrk70f120m_Int_Flash_DDRData_Debug\test_mqx_k70.afx
Auto-detection is successful.
File is of type Elf Format.
Downloading Flash Device Driver ...
Reading flash ID ...
Auto-detection is successful.
File is of type Elf Format.
Downloading 0x00000410 bytes to be programmed at 0x00000000
Executing program ....
Program Command Succeeded
Downloading 0x0000D8BC bytes to be programmed at 0x00000420
Executing program ....
Program Command Succeeded
+++++++++++++++++++++++++++++++++
Attached you will find the project I'm using.
Regards
Pascal