



 |
 |
Question
|
 |
 |
Answer
|
| Q1. |
I burnt the monitor program on the CD-ROM into an EPROM for using it as a boot program, but it would not work.
Can I directly write <Moni091.abs> included in CD-ROM into EPROM? |
|
|
A1
|
The monitor program must be written to an EPROM, etc.
as an S-Type file. Although Moni09l.abs contains the monitor program for the MS7709SE01,it is a binary file, so you cannot directly write it to EPROM .
Use the file Moni09l.mot (S-Type) that has been converted from Moni09l.abs.The same goes for the equivalent SH7750 and SH7709A files. |
| Q2. |
Why is the user stack pointer automatically set to H'0DF00000 (the RAM address of the monitor program) when I use the monitor program's "STEP" command to execute a program? |
|
|
A2
|
When you use the "ML" command to open a downloaded program, the monitor program ("GO" command, "STEP" command) sets the stack pointer (R15) to H'0DF00000, which is different from the RAM area on the monitor program, and hands over the processing to the user program. The program in RAM might, for example, be called "[sci_main_mon.MOT]". When you execute a register-read ("RR") command from the above program, R15 will be displayed as H'0DF00000 until you use the "STEP" command to set the status register (SR) to execute [sci_main_mot.MOT] from H'AC000000 (Start.src). After you execute an "RR" command and the stack pointer is set at H'0D000000, and R15 will again be displayed as H'0D000000. |
| Q3. |
According to the file "SE driver\Readme_j.text" on the attached CD-ROM under (1)XXXXether(b), "Use SW5-SW8 to set the MAC address. The settings of SW5-SW8 are 0x9e, 0xd3, 0x0a, and 0xf8." Are these switches only used to set the MAC address so the sample driver software can control the Ethernet? Can I use SW5-SW8 as general-purpose switches instead of for setting the MAC address to control the Ethernet? How do I set the MAC address in that case? |
|
|
A3
|
You can use the switches as general-purpose switches. We only use the switches to set a MAC address for the Ethernet link in the sample software. If you do not use the general-purpose switches to set the MAC address,
store the MAC address in Flash ROM or include the fixed MAC address in the software
. Send an e-mail to our Contact Center to request your MAC address. Please be sure to indicate the serial number of your Solution Engine in your e-mail.
Contact Center
|
| Q4. |
I cannot write a program that starts from H'A0000000 into Flash ROM.
I am, however, able to write other programs into the Flash ROM that look normal. Why is it so?
===================================================
Self Debugger Ver 1.0B
----------------------------------------------------
(c)Copyright 1999-2005. Hitachi.Ltd. All rights reserved
===================================================
H[elp] for help messages...
Ready >fl
Flash ROM data copy to RAM
Please Send A S-format Record
Start Addrs = A00021C8
End Addrs = A00021C8
Transfer complete
Flash chip erase: complete
Program: complete
Flash write complete
Ready >
|
|
|
A4
|
When you use the "FL" command to write a program into Flash ROM,apply an offset as follows:
Ready >fl 0
Flash ROM data copy to RAM
Please Send A S-format Record
Compare the contents of SDRAM (H'0xAC000000) and Flash ROM (H'0xA1000000) after you finish writing the program into SDRAM by offseting it as directed above. If you have written it successfully
, both SDRAM and Flash ROM should have the same contents over the range covered by the program. Then
, turn off the power
and turn the power back on after setting SW4-3: OFF and SW4-4: ON.
|
| Q5. |
We are developing a test program that is allocated to the ROM area, but will run from RAM for testing. After we execute the "G" command, the Solution Engine cannot execute any commands.
|
|
|
A5
|
When the user program overwrites the VBR setting, the interrupt of the monitor program becomes disabled. The Solution Engine thus cannot respond to any key strokes.
|
| Q6. |
After I re-compile the sample program that is included in the CD-ROM on my WinNT machine, I cannot load the program to the target system. The following is the procedure I followed:
Communications software: Hyper-terminal on WinNT
(1) After turning on the power, I executed the monitor program.
(2) I issued an "ml" command.
(3) I transferred the file via hyper-terminal.
I cannot transfer the sample program even though I have tried several communications protocols.
|
|
|
A6
|
Choose "text-file transfer" (T) instead of "file transfer "(S).
|
| Q7. |
When I execute the compiler that comes with the Solution Engine, why does the following error occur?
(0) : 3021 (F) Memory overflow
Object not created
The environment is as follows:
SHC_INC=d:\sedk\shcv50ev\shc\include
SHC_LIB=d:\sedk\shcv50ev\shc\lib
SHC_TMP=d:\sedk\shcv50ev\shc
|
|
|
A7
|
The environment parameters have the following meanings:
SHC_INC: indicates the directory holding system include files
SHC_LIB: indicates the directory holding the compiler itself.
SHC_TMP: indicates the directory holding the temporary files made by compiler
Therefore, please make the following changes.
SHC_LIB=d:\sedk\shcv50ev\shc\lib
to
SHC_LIB=d:\sedk\shcv50ev\shc\bin
|
| Q8. |
I found that rebooting with DIP switch settings adjusted produced the following change. With the Flash-ROM setting, I was able to read the data on the LEDs for debugging from H'0xB0C00000, and then write this data as 8-bit units. With the EPROM setting, I was unable to read from 0xB0C00000, and I was not able to write data in the way I expected.
|
|
|
A8
|
LEDs for debugging on board are "write only". We cannot guarantee the value when reading from H'0xb0c00000; we can only presume that the difference between Flash ROM and EPROM is caused by the difference between 5V and 3V bus buffer characteristics.
|
| Q9. |
What is the reason for using Marubun's controller for PCMCIA LSI? Is there any problem with using SH-4 built-in interface? |
|
|
A9
|
There is no problem with the functioning of the PCMCIA interface built into the SH-4. There is, however, no protection circuitry for for PCMCIA card hot-swap, or no power-control circuitry. Therefore, you must add these circuits to the board by using the general I/O functions that are built into the SH-4. The Solution Engine is for general-purpose use, including with target processors other than the SH-4, and the use of circuits which rely on the built-in functions of the SH-4 has thus been avoided. Hence,we decided to use Marubun's PCMCIA controller. |

|












|