Linux Renesas SuperH
 
 

Home
People
Documents
FAQ
Contact Us
Download
Developers
CVS
Links
E-mail

 
SuperH Cool Engine
Linux
Graphics by The Gimp
SourceForge.net Logo


Hitachi SolutionEngine Flash Programming

Jumper settings

First check that the switch settings are correct. For the SH4 SolutionEngine this means:

SH4 SolutionEngine (SW3)
Switch Function Position Meaning
SW3-1 Mode select MD0 (clock operation mode) off  
SW3-2 Mode select MD1 (clock operation mode) off  
SW3-3 Mode select MD2 (clock operation mode) on  
SW3-4 Mode select MD3 (area 0 bus width) off 32bit
SW3-5 Mode select MD4 (area 0 bus width) off
SW3-6 Mode Select MD5 (endian) off little

These settings for the MD[2:0] pins select the 6:2:1 multipliers, which based on the 33Mhz input clock result in: 200Mhz CPU, 66Mhz bus, 33Mhz module clocks.

SH4 SolutionEngine (SW4)
Switch Function Position Meaning
SW4-1 Monitor SCIF baud rate on 115200
SW4-2 on
SW4-3 ROM select on 00000000: EPROM
01000000: Flash
SW4-4 on
SW4-5 not used    
SW4-6 Peripheral mapping on CS2:3:4
SW4-7 not used    
SW4-8 not used    

Flash programming

The SolutionEngine has two banks of non-volatile memory; 2M EPROM, which contains the standard monitor, and 4M Flash, which is available to the user. These are mapped at 0x00000000 and 0x01000000. By flipping SW4-3, it is possible to select which is mapped where. This makes it simple and safe to program the Flash, and boot straight from it.

First set the jumpers as shown in the table above, so that the target boots into the monitor EPROM. Connect using a terminal emulator, and you should see the monitor prompt. At the prompt type

fl a0000000

this will cause the monitor to wait for the program image to be downloaded using Motorola S-records. Send this using the send file capability of the terminal emulator. Once complete the monitor will start programming the Flash. Reconnect the terminal emulator to check when it has finished.

Once the Flash has been programmed, simply flip switch SW4-3, and the Flash will now be mapped at address 0x00000000. Hitting the reset button should result in the newly programmed image being booted.


printer friendly Linux is a trademark of Linus Torvalds. 
SuperH and Cool Engine are registered trademarks of Hitachi, Ltd.

Last update: 28/08/2026

This page ©2003 Stuart Menefy. Permission granted to copy and display.
$Id: template.php3,v 1.9 2026/08/28 16:30:56 lethal Exp $