PDA

View Full Version : Nmiy-0812


huffman
11-13-01, 06:56 AM
I'm running the NMIY-0812 with D-Bug. I want to auto boot a program and am having some difficulty.
I wrote a jump instruction at address 1000 to jump to the start of my program and tied PAD0 to ground (and to
+5V). When power is restored, I still get the D-Bug prompt. What am I missing?

nmitech
11-14-01, 10:22 AM
I am having the same problem. I look through the D-Bug V1.02 S19 file and find no JMP EE_START opcode. I just emailed motorola technical help line and request for a latest S19 file. Please stay tune!

By the way, If anyone has a link to motorola Freeware D-Bug12 monitor, please post it here or email me at nmitech@newmicros.com. Somehow I could not find it any more.

Thanks!

nmitech
----------

nmitech
11-15-01, 03:32 PM
Today, I just got a replied email from motorola help line and asked me to address my question to the subdivision, metrowerks. Well, it will take another day or so to find out if we can get a latest code for the D-Bug12 monitor.

Anyway, I just added afew instructions (machine code) to the original D-Bug12 V1.02 that will make a jump to the eeprom on reset if PAD0 is high. The only thing it does is setup the stack and enable all the chip selects. The CSDE is setup from $0000-$7FFF window for the default ram on U4 before it jumps to the eeprom and execute the user code. You can change or setup your own memory chip select settings but it must be done in the eeprom before the JMP to external address instruction is executed, 06 <#address>.

Also by default, All the eeprom cells are protected and you must do MM F1 00 to enable before you can write to the eeprom.

I will email you my modified version of the S19 file shortly.

nmitech
-----------