My FEZ Panda was, sadly, sitting there, doing nothing, as the project I’m working on can’t be done with .NETMF Shocked Sad (I didn’t know about that when I purchased it)
Now my Panda is happy again, working as an ARM devboard, thanks to the following:
(edited with the latest tools I’m using, thanks to JDAL for the help)
The basics:
Free Compiler: MDK Version 5
Free Uploader: http://www.flashmagictool.com/
Erase your FEZ Panda: ( ! WARNING ! ) http://www.tinyclr.com/forum/17/2734
In Keil MDK, click Flash → Configure Flash Tools and enter the following:
Enable: Use External Tool for Flash Programming
On Command, set {FLASH_MAGIC_DIRECTORY}\Flash Magic\FM.exe
(be sure to replace the {FLASH_MAGIC_DIRECTORY} with the correct path for the Flash Magic FM.exe file
On Arguments, place this: COM(10,57600) DEVICE(LPC2387,12.000) ERASE(DEVICE, PROTECTISP) HEXFILE(“#H”, NOCHECKSUMS, NOFILL, PROTECTISP)
(replace the COM(10,57600) with the port you are using, if you use COM3, put COM(3,57600) instead)
Now try my Blinky project, which will blink the FEZ Panda LED and also output data via the UART0 port. (the one you are using to flash the LPC chip)
http://www.beat707.com/downloads/LPC2387_MDKlite_Blinky.zip
And I’m impressed on how easy is to setup a USB 2.0 to TTL UART chip (see below) and put the Panda into programming mode: hold LOADR press RESET release everything.
Just connect TX and RX from the TTL UART into the FEZ Panda UART0, which are pins 0 for Input and 1 for Output. So its just like this:
TTL Pin TX → Panda Pin 0 (COM1 In)
TTL Pin RX → Panda Pin 1 (COM1 Out)
Now power up the FEZ Panda board, you can use the USB cable for that, or the TTL 5V output. Hold LDR and press RESET. Now the board is waiting for the Flash Magic program. Once you flash it, click RESET to load the program.
Here’s the UART chip I’m using:
http://www.ebay.com/itm/USB-2-0-CP2102-Module-TTL-UART-6PIN-Serial-Converter-/190532885797?pt=LH_DefaultDomain_0&hash=item2c5ca51d25
(maybe not from this seller, but its the same chip, and I remember paying a bit more: $ 6.5 USD)
Extra files:
LPC23xx Example Files: http://www.standardics.nxp.com/support/documents/microcontrollers/zip/code.bundle.lpc23xx.lpc24xx.uvision.zip
LPC2387 info and files: http://www.keil.com/dd/chip/4531.htm
LPC2387 official NXP product page: NXP® Semiconductors Official Site | NXP Semiconductors
In any event, be sure that your connection to the Panda board is good. To check it out, follow the steps at the following link, under Loading Test Application: http://wiki.tinyclr.com/index.php?title=Porting_Details
The BlinkPandaLED.hex file is missing from that page, but you can use this other one instead: http://www.beat707.com/downloads/Blinky.hex
Thanks again, Wk