PDA

View Full Version : NMIT 0020 porgram load problem


noobie_boy
10-30-06, 09:46 PM
hi,
i have a NMIT0020 model. few days ago, i was trying to load my program into the board using the BUFFALO software inside the board. my problem occurs when im trying to load my program which is approximately 35 lines long. i've waited for about 15 minutes and its still not done. when i try load a program with about 5 lines, it works just fine.
can anyone help me pls...

thanks.

nmitech
10-31-06, 09:44 AM
1. Terminal programs and the Ascii settings:

HyperTerm - in the ASCII sending option, set the Line Delay for 100ms.

MaxTerm - set the PACING character to zero. Use the command ALT+P to change.
http://www.newmicros.com/download/software/NMI/Maxterm.zip


NMITerm - in the ASCII settings option, first set the Line Pacing to zero, then Line Delay to 100ms .
http://www.newmicros.com/download/software/NMI/NMITerm.zip

2. Program memory
In your program, besure to put your code address where the memory is available on the target board

noobie_boy
11-01-06, 07:53 AM
thanks, (i haven't tried it out yet)..
i was wondering if there is some sort of guide for setting the line delay (i'm using the HyperTerminal) or is it a fixed no matter how many lines of codes i send in.

another thing is, where should i load program into? the RAM or the ROM?

nmitech
11-01-06, 09:56 AM
The line delay is normally applied for serial loader, or other monitor program that supports eeprom or flash memory programming where the buffalo LOAD T command can only support RAM memory. So you can even ignore the line delay. In your case, the monitor is hung during the download operation then most likely it caused by the invalid S-record data.

noobie_boy
11-02-06, 04:05 AM
i've just tested out the method...but it didn't work.
it shows "done" but the ">" character did not show up. it just hang and i can't type anything. anyway, this is from my .S19 file... any ideas or recommendations?
(the origin of the main program starts at $0200)


S12300000000FF0000FF0000FFFF000000FF000000FF000000000000000000FF000000FFE4
S1070020000000FFD9
S10B0064000000000000000090
S1230200CE0000DF5218CE000018DF568603C6033D5AD7628600C600DD6497639750DD67D4
S1230220975A861B9751CE0000DF5418CE000018DF569650811B270F201896508B099750BB
S1230240DE5208DF5220DF18CE000018DF56204520FE96634C9763D65118DE56183A18A6BA
S123026000D6503AE600112721C664DE523AA6004CA700DC54D162270FDE5408DF5418DEB2
S123028056180818DF5620CA20B0DE52E6675CE767DE5420DE18A667975A180818DF5618EB
S12302A0E667D75B965AD65B112E0DD75A18DF5D188C0002271420E2180918DF5D18081839
S11302C08C0002270518DE5620D0965A975C2080B1
S9030000FC

nmitech
11-08-06, 01:24 PM
I copied your S19 and downloaded, it gave me the 'checksum' error as well as the prompt '>' back. No hanging like you said.


>load t

chksum error
>

noobie_boy
11-24-06, 09:48 AM
ah...i've managed to get it to work. seems like i've loaded my program on the interrupt vector. that explains the error. thanks for your help. :)