How to use DFS to burn NEWMON into your Flash Chip

This copy of DFS is for use with AMD29f0x0 flash chips. It will work with 29f020 and 29f040, however, it will only allow you to write to the first 8 sectors of the larger chips. And BTW, NO! those st-ee29010's are NOT compatible, regardless of what the various distributors say. The spec's are *quite* different.

Run the DSP File System on the EZ-Kit Lite

  • Connect serial port COM1 to your EZ-Kit Lite. You must use COM1 for DFS.exe to work.
  • Boot the EZ-Kit Lite with the 21xx factory PROM.
  • Run EZ-Kit Lite Monitor from windows (ezkitapp.exe)
  • Press Control-L to download and run a user program
  • Download and run flash2.exe (or flasher.exe) into your ez-kit
  • When done, exit out of EZ-Kit Lite Monitor windows app.
  • Open a DOS window
  • Type "mode con lines=50" in the DOS window. (this makes the screen double-size!)
  • Run DFS.exe in the DOS window

    Verify Communication with Flasher

  • When the menu appears, select print ADDR
  • It should say "FlasherX" on the right with the hex equivalent on the left.
  • Select print ADDR again
  • It should say "10 3a 00 46 45 44 43"
  • Select set ADDR, and enter 123456.
  • Select print ADDR again
  • It should say "10 3a 00 46 12 34 56"
  • That indicates ADDR=0x123456
  • Now, make sure you can read bytes out of the memory, too:
  • Set ADDR to 000000
  • Select read flash byte @ ADDR.
  • It should say "10 36 00 40" if you have the factory PROM in the socket.
  • That indicates that the value 0x40 is at location 0x000000.

    Verify you can write to the Flash Chip in the EZ-Kit

  • With DFS.exe still running on the PC and flasher/flash2 still running on the ez-kit:
  • Carefully, while the EZ-Kit Lite is still on, remove the PROM. Do not short anything.
  • Insert your flash chip. Get the orientation correct. Align the notch on the chip with the white print on the EZ-Kit Lite board outline.
  • From the DFS.exe menu, select print ADDR again, just to make sure you haven't shortened anything and crashed the program or reboot your DSP. It should respond "10 3a 00 46 00 00 00"
  • With ADDR still set to 000000, select Erase Sector, and enter 0
  • it should respond "10 34 00 10 33 00 10 32 00 10 36 00 ff 10 38 00"
  • now read from ADDR (0), it should say "10 36 00 ff"
  • now select write flash byte @ ADDR, and enter 69
  • it should say "10 3b 69 10 3c 69 69 10 37 23"
  • read back the byte. it should say "10 36 00 69"

    Burn the improved boot monitor into your flash chip

  • Select Erase Sector
  • Type "0" to erase Sector #0
  • Select print ADDR
  • It should say "00 00 00 00"
  • Select read flash byte @ ADDR
  • It should say "ff"
  • Select Program S2 file into FLASH
  • Type "newmon.s2"
  • Watch the programming procedure scroll by....long
  • You can press Control-S if you want to see what's going on, then Control-Q to resume
  • When programming is done, press space to clear the screen.
  • Then press RESET on your EZ-Kit Lite.
  • You should see "Newmon v 0 8 4"
  • Now, you can say goodbye forever to your original PROM and that voice. :)

    Program your favorite DSP program into the Flash!

  • Run DFS on the EZ-Kit Lite (note, you can boot of your flash chip now, instead of the original ROM).
  • run DFS.exe on the PC.
  • Select Program .exe file into FLASH
  • Type "fmadness.exe"
  • Type "1" to burn it into slot #1
  • Watch the programming procedure scroll by....long
  • When programming is done, press space to clear the screen.
  • Then press RESET on your EZ-Kit Lite.
  • You should see "Newmon v 0 8 4"
  • Press the Interrupt button on your EZ-Kit Lite.
  • You should see a long list of numbers scroll by, as the program is transferred from the flash chip into the DSP's memory.
  • When the numbers stop scrolling, your program should be running!

    To run the program in slot 1, just press reset, then interrupt!

    Links

  • Back to DFS Download Page
  • Back to EZ-Kit Building Page
  • Back to Shifty's Homepage