Start of a new Fujitsu demo - still a work in progress.

pull/1/head
Richard Barry 16 years ago
parent 06265d2313
commit c10e20be42

@ -0,0 +1,146 @@
[Information]
DebChangeFlag=0
MCUChangeFlag=0
[Version]
Version=1
Level=1
Revision=0
[Debug Type]
Type=0
Virtual CPU File=wv907e4.dll
Core ID=0
Monitor Load=1
Monitor Load Condition=Enable
Mode=FFFFFFFF
[Device]
Communication=RS COM1 115200
ProductID=0
Protocol=3
[Target]
AutoLoad=Enable
Before Batch File=
After Batch File=
Non AutoMap=Disable
Load DebInfo Only=Disable
Ondemand Load Condition=Disable
[Start]
Batch File=
[Window]
Flag=Enable
AssemblySize=0 0 0 0
AssemblyState=0
AssemblyFGColor=0 0 255
RegisterSize=0 0 0 0
RegisterState=0
MemorySize=0 0 0 0
MemoryState=0
CommandSize=0 0 0 0
CommandState=0
Assembly Address=H'000000
Memory Address=H'000000
Memory Mode=H'FFFFFFFF
Memory Ascii=H'00000001
Memory SplitRow=0
RMemory Address=H'000000
RMemory Mode=H'FFFFFFFF
RMemory Ascii=H'00000001
RMemory SplitRow=0
Trace ViewMode=FFFFFFFF
Command Max History=H'00000032
Source Display Mode=Enable
Source Multi Mode=Enable
Source Ask Mode=Enable
Source Active Mode=Enable
Source PC Color=255 255 0
Source Scope Color=255 0 255
Source Back Trace=255 0 255
Register Change Color=255 0 0
Perfomance Mode=H'00000001
Perfomance Scale=1 0 0.000000 0.000000
Coverage Address=H'000000
Coverage Type=H'00000000
Coverage SplitRow=0
RMemory Change Color=255 0 0
RMemory Invalid Color=128 128 128
[Path Environment]
Flag=Enable
Source=
[Map]
Flag=Enable
Undef=On
Inrom Access=Off
Inrom=Off
Inrom Image=On
Area0=00000180 0000037F 7 1 0
Area1=00002240 00007FFF 7 1 0
Area2=00000000 000000EF 3 1 0
Area3=00000100 0000017F 3 1 0
Area4=00000380 00000BFF 3 1 0
[Radix Environment]
Flag=Enable
Mode=10
Source=1
[Watch Environment]
Flag=Enable
Size=0
Mode=0
MBuf=0
Check=1
CSiz=100
[Exec Environment]
Flag=Enable
GoIntMask=0
StepUnit=3
StepIntMask=0
StepIntpCtrl=4
GoTrcCtrl=2
OnTheFlyBreakAdmit=0
[Break Environment]
Flag=Enable
[Emulation Environment]
Flag=Enable
RunMode=0
Verify=1
EventMode=0
Limit Volt MB2198=5.75 2.5
WatchDoc=0
Resource=0
External Pin=0
DefaultBreak=0
DebugArea1=105 34A066E 49356 1234724 0
DebugArea2=0 326508 13702376 1237400 0
ParallelPort=-1 0
Performance Break=2
Coverage Status=0
Frequency=40
[Monitor Environment]
Flag=Enable
MemoryWindow=0
WatchWindow=0
ObjectWindow=0
ElapseTime=3E8
Unit=1
Mode=0
RealtimeMemoryWindow=0
[Error]
Flag=Enable
GuiErrorOutput=2
CommandErrorOutput=1
BatchErrorOutput=1
ErrorOutputLevel=0
[Color]
Flag=Enable
[Tab Environment]
TabSize=8
[Communication]
Send=1000
Receive=800
[Trace Environment]
Trace Break=0
Trace Status=1
Trace StartPosition=1
Trace BufferfulStop=0
Trace Instruction=1
Trace Verbose=0
Trace DataArea1=1 00000000 FFFFFFFF 7
Trace DataArea2=2 00000000 FFFFFFFF 0

@ -0,0 +1,146 @@
[Information]
DebChangeFlag=0
MCUChangeFlag=0
[Version]
Version=1
Level=1
Revision=0
[Debug Type]
Type=0
Virtual CPU File=wv907e4.dll
Core ID=0
Monitor Load=1
Monitor Load Condition=Enable
Mode=FFFFFFFF
[Device]
Communication=RS COM2 115200
ProductID=2002
Protocol=3
[Target]
AutoLoad=Enable
Before Batch File=
After Batch File=
Non AutoMap=Disable
Load DebInfo Only=Disable
Ondemand Load Condition=Disable
[Start]
Batch File=
[Window]
Flag=Enable
AssemblySize=0 0 0 0
AssemblyState=0
AssemblyFGColor=0 0 255
RegisterSize=0 0 0 0
RegisterState=0
MemorySize=0 0 0 0
MemoryState=0
CommandSize=0 0 0 0
CommandState=0
Assembly Address=H'000000
Memory Address=H'000000
Memory Mode=H'FFFFFFFF
Memory Ascii=H'00000001
Memory SplitRow=0
RMemory Address=H'000000
RMemory Mode=H'FFFFFFFF
RMemory Ascii=H'00000001
RMemory SplitRow=0
Trace ViewMode=FFFFFFFF
Command Max History=H'00000032
Source Display Mode=Enable
Source Multi Mode=Enable
Source Ask Mode=Enable
Source Active Mode=Enable
Source PC Color=255 255 0
Source Scope Color=255 0 255
Source Back Trace=255 0 255
Register Change Color=255 0 0
Perfomance Mode=H'00000001
Perfomance Scale=1 0 0.000000 0.000000
Coverage Address=H'000000
Coverage Type=H'00000000
Coverage SplitRow=0
RMemory Change Color=255 0 0
RMemory Invalid Color=128 128 128
[Path Environment]
Flag=Enable
Source=
[Map]
Flag=Enable
Undef=On
Inrom Access=Off
Inrom=Off
Inrom Image=On
Area0=00000180 0000037F 7 1 0
Area1=00002240 00007FFF 7 1 0
Area2=00000000 000000EF 3 1 0
Area3=00000100 0000017F 3 1 0
Area4=00000380 00000BFF 3 1 0
[Radix Environment]
Flag=Enable
Mode=10
Source=1
[Watch Environment]
Flag=Enable
Size=0
Mode=0
MBuf=0
Check=1
CSiz=100
[Exec Environment]
Flag=Enable
GoIntMask=0
StepUnit=3
StepIntMask=0
StepIntpCtrl=4
GoTrcCtrl=2
OnTheFlyBreakAdmit=0
[Break Environment]
Flag=Enable
[Emulation Environment]
Flag=Enable
RunMode=0
Verify=1
EventMode=0
Limit Volt MB2198=5.75 2.5
WatchDoc=0
Resource=0
External Pin=0
DefaultBreak=0
DebugArea1=105 34A0671 49356 1234724 0
DebugArea2=0 326358 13702376 1237400 0
ParallelPort=-1 0
Performance Break=2
Coverage Status=0
Frequency=40
[Monitor Environment]
Flag=Enable
MemoryWindow=0
WatchWindow=0
ObjectWindow=0
ElapseTime=3E8
Unit=1
Mode=0
RealtimeMemoryWindow=0
[Error]
Flag=Enable
GuiErrorOutput=2
CommandErrorOutput=1
BatchErrorOutput=1
ErrorOutputLevel=0
[Color]
Flag=Enable
[Tab Environment]
TabSize=8
[Communication]
Send=1000
Receive=800
[Trace Environment]
Trace Break=0
Trace Status=1
Trace StartPosition=1
Trace BufferfulStop=0
Trace Instruction=1
Trace Verbose=0
Trace DataArea1=1 00000000 FFFFFFFF 7
Trace DataArea2=2 00000000 FFFFFFFF 0

@ -0,0 +1,46 @@
[Information]
DebChangeFlag=1
MCUChangeFlag=1
[Version]
Version=1
Level=1
Revision=0
[Debug Type]
Type=0
Virtual CPU File=wv907e4.dll
Core ID=0
Monitor Load=1
Monitor Load Condition=Enable
ChangeFlag=Enable
[Device]
Communication=LAN 127.0.0.1
ProductID=0
Protocol=3
[Target]
AutoLoad=Enable
Before Batch File=
After Batch File=
[Start]
Batch File=
[Window]
Flag=Enable
[Path Environment]
Flag=Enable
[Map]
Flag=Enable
[Radix Environment]
Flag=Enable
[Watch Environment]
Flag=Enable
[Exec Environment]
Flag=Enable
[Break Environment]
Flag=Enable
[Emulation Environment]
Flag=Enable
[Monitor Environment]
Flag=Enable
[Error]
Flag=Enable
[Color]
Flag=Enable

@ -0,0 +1,146 @@
[Information]
DebChangeFlag=0
MCUChangeFlag=0
[Version]
Version=1
Level=1
Revision=0
[Debug Type]
Type=0
Virtual CPU File=wv907e4.dll
Core ID=0
Monitor Load=1
Monitor Load Condition=Enable
Mode=FFFFFFFF
[Device]
Communication=USB
ProductID=2002
Protocol=3
[Target]
AutoLoad=Enable
Before Batch File=
After Batch File=
Non AutoMap=Disable
Load DebInfo Only=Disable
Ondemand Load Condition=Disable
[Start]
Batch File=
[Window]
Flag=Enable
AssemblySize=0 0 420 240
AssemblyState=0
AssemblyFGColor=0 0 255
RegisterSize=0 0 0 0
RegisterState=0
MemorySize=0 0 0 0
MemoryState=0
CommandSize=0 0 0 0
CommandState=0
Assembly Address=H'0FFC00
Memory Address=H'000000
Memory Mode=H'FFFFFFFF
Memory Ascii=H'00000001
Memory SplitRow=0
RMemory Address=H'000000
RMemory Mode=H'FFFFFFFF
RMemory Ascii=H'00000001
RMemory SplitRow=0
Trace ViewMode=FFFFFFFF
Command Max History=H'00000032
Source Display Mode=Enable
Source Multi Mode=Enable
Source Ask Mode=Enable
Source Active Mode=Enable
Source PC Color=255 255 0
Source Scope Color=255 0 255
Source Back Trace=255 0 255
Register Change Color=255 0 0
Perfomance Mode=H'00000001
Perfomance Scale=1 0 0.000000 0.000000
Coverage Address=H'000000
Coverage Type=H'00000000
Coverage SplitRow=0
RMemory Change Color=255 0 0
RMemory Invalid Color=128 128 128
[Path Environment]
Flag=Enable
Source=
[Map]
Flag=Enable
Undef=On
Inrom Access=Off
Inrom=Off
Inrom Image=On
Area0=00000180 0000037F 7 1 0
Area1=00002240 00007FFF 7 1 0
Area2=00000000 000000EF 3 1 0
Area3=00000100 0000017F 3 1 0
Area4=00000380 00000BFF 3 1 0
[Radix Environment]
Flag=Enable
Mode=10
Source=1
[Watch Environment]
Flag=Enable
Size=0
Mode=0
MBuf=0
Check=1
CSiz=100
[Exec Environment]
Flag=Enable
GoIntMask=0
StepUnit=3
StepIntMask=0
StepIntpCtrl=4
GoTrcCtrl=2
OnTheFlyBreakAdmit=0
[Break Environment]
Flag=Enable
[Emulation Environment]
Flag=Enable
RunMode=0
Verify=1
EventMode=0
Limit Volt MB2198=5.75 2.5
WatchDoc=0
Resource=0
External Pin=0
DefaultBreak=0
DebugArea1=105 33A066B 49356 1234724 0
DebugArea2=0 325A58 13702376 1237400 0
ParallelPort=-1 0
Performance Break=2
Coverage Status=0
Frequency=40
[Monitor Environment]
Flag=Enable
MemoryWindow=0
WatchWindow=0
ObjectWindow=0
ElapseTime=3E8
Unit=1
Mode=0
RealtimeMemoryWindow=0
[Error]
Flag=Enable
GuiErrorOutput=2
CommandErrorOutput=1
BatchErrorOutput=1
ErrorOutputLevel=0
[Color]
Flag=Enable
[Tab Environment]
TabSize=8
[Communication]
Send=63992
Receive=32000
[Trace Environment]
Trace Break=0
Trace Status=1
Trace StartPosition=1
Trace BufferfulStop=0
Trace Instruction=1
Trace Verbose=0
Trace DataArea1=1 00000000 FFFFFFFF 7
Trace DataArea2=2 00000000 FFFFFFFF 0

@ -0,0 +1,117 @@
/*
FreeRTOS.org V5.1.1 - Copyright (C) 2003-2008 Richard Barry.
This file is part of the FreeRTOS.org distribution.
FreeRTOS.org is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
FreeRTOS.org is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with FreeRTOS.org; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
A special exception to the GPL can be applied should you wish to distribute
a combined work that includes FreeRTOS.org, without being obliged to provide
the source code for any proprietary components. See the licensing section
of http://www.FreeRTOS.org for full details of how and when the exception
can be applied.
***************************************************************************
***************************************************************************
* *
* SAVE TIME AND MONEY! We can port FreeRTOS.org to your own hardware, *
* and even write all or part of your application on your behalf. *
* See http://www.OpenRTOS.com for details of the services we provide to *
* expedite your project. *
* *
***************************************************************************
***************************************************************************
Please ensure to read the configuration and relevant port sections of the
online documentation.
http://www.FreeRTOS.org - Documentation, latest information, license and
contact details.
http://www.SafeRTOS.com - A version that is certified for use in safety
critical systems.
http://www.OpenRTOS.com - Commercial support, development, porting,
licensing and training services.
*/
#ifndef FREERTOS_CONFIG_H
#define FREERTOS_CONFIG_H
#include "mb96356rs.h"
/*
* The below define should be same as the option selected by the Memory
* Model (Project->Setup Project->C Compiler->Category->Target Depend )
*
* Valid settings here include:
* ------- Memory models --------- Data Code
* portSMALL 16 Bit 16 Bit
* portMEDIUM 16 Bit 24 Bit
* portCOMPACT 24 Bit 16 Bit
* portLARGE 24 Bit 24 Bit
*/
#define configMEMMODEL portMEDIUM
/* Demo specific definition - set this to 1 if you want to include the task
that writes trace and debug information to the UART. If it is set to 0 then
the ComTest tasks will be included in place of the trace task. */
#define INCLUDE_TraceListTasks 0
/*-----------------------------------------------------------
* Application specific definitions.
*
* These definitions should be adjusted for your particular hardware and
* application requirements.
*
* THESE PARAMETERS ARE DESCRIBED WITHIN THE 'CONFIGURATION' SECTION OF THE
* FreeRTOS API DOCUMENTATION AVAILABLE ON THE FreeRTOS.org WEB SITE.
*----------------------------------------------------------*/
#define configUSE_PREEMPTION 1
#define configUSE_IDLE_HOOK 1
#define configUSE_TICK_HOOK 0
#define configMINIMAL_STACK_SIZE ( ( unsigned portSHORT ) 180 ) /* This can be greatly reduced when using the small or medium memory model. */
#define configCPU_CLOCK_HZ ( ( unsigned portLONG ) 56000000 ) /* Clock setup from start.asm in the demo application. */
#define configCLKP1_CLOCK_HZ ( ( unsigned portLONG ) 56000000 ) /* Clock setup from start.asm in the demo application. */
#define configTICK_RATE_HZ ( (portTickType) 1000 )
#define configMAX_PRIORITIES ( ( unsigned portBASE_TYPE ) 6 )
#define configTOTAL_HEAP_SIZE ( (size_t) (200) )
#define configMAX_TASK_NAME_LEN ( 20 )
#define configUSE_16_BIT_TICKS 1
#define configIDLE_SHOULD_YIELD 1
#define configUSE_MUTEXES 1
#define configUSE_TRACE_FACILITY 1
/* Co-routine definitions. */
#define configUSE_CO_ROUTINES 1
#define configMAX_CO_ROUTINE_PRIORITIES ( 4 )
/* Set the following definitions to 1 to include the API function, or zero
to exclude the API function. */
#define INCLUDE_vTaskPrioritySet 1
#define INCLUDE_uxTaskPriorityGet 1
#define INCLUDE_vTaskDelete 1
#define INCLUDE_vTaskCleanUpResources 1
#define INCLUDE_vTaskSuspend 1
#define INCLUDE_vResumeFromISR 1
#define INCLUDE_vTaskDelayUntil 1
#define INCLUDE_vTaskDelay 1
#define INCLUDE_xTaskGetSchedulerState 1
#define INCLUDE_xTaskGetCurrentTaskHandle 1
#define configKERNEL_INTERRUPT_PRIORITY 6
#endif /* FREERTOS_CONFIG_H */

@ -0,0 +1,13 @@
-g
-w 2
-linf ON
-lsrc ON
-lsec ON
-lcros OFF
-linc ON
-lexp OBJ
-pl 60
-pw 100
-tab 8
-cwno
-cpu MB96F356RSA

@ -0,0 +1,19 @@
-dt s,d,r,a
-pl 60
-pw 132
-g
-cwno
-cpu MB96F356RSA
"C:\E\Dev\FreeRTOS\WorkingCopy3\Demo\MB96350_Softune_Dice_Kit\ABS\RTOSDemo.abs"
-a "C:\E\Dev\FreeRTOS\WorkingCopy3\Demo\MB96350_Softune_Dice_Kit\OBJ\vectors.obj"
-a "C:\E\Dev\FreeRTOS\WorkingCopy3\Demo\MB96350_Softune_Dice_Kit\OBJ\main.obj"
-a "C:\E\Dev\FreeRTOS\WorkingCopy3\Demo\MB96350_Softune_Dice_Kit\OBJ\mb96356rs.obj"
-a "C:\E\Dev\FreeRTOS\WorkingCopy3\Demo\MB96350_Softune_Dice_Kit\OBJ\START.obj"
-a "C:\E\Dev\FreeRTOS\WorkingCopy3\Demo\MB96350_Softune_Dice_Kit\OBJ\tasks.obj"
-a "C:\E\Dev\FreeRTOS\WorkingCopy3\Demo\MB96350_Softune_Dice_Kit\OBJ\list.obj"
-a "C:\E\Dev\FreeRTOS\WorkingCopy3\Demo\MB96350_Softune_Dice_Kit\OBJ\queue.obj"
-a "C:\E\Dev\FreeRTOS\WorkingCopy3\Demo\MB96350_Softune_Dice_Kit\OBJ\port.obj"
-a "C:\E\Dev\FreeRTOS\WorkingCopy3\Demo\MB96350_Softune_Dice_Kit\OBJ\__STD_LIB_sbrk.obj"
-a "C:\E\Dev\FreeRTOS\WorkingCopy3\Demo\MB96350_Softune_Dice_Kit\OBJ\heap_1.obj"
-a "C:\E\Dev\FreeRTOS\WorkingCopy3\Demo\MB96350_Softune_Dice_Kit\OBJ\croutine.obj"

@ -0,0 +1,17 @@
-g
-w 3
-INF LIST
-D _16FX_SOFTUNE
-I "."
-I "..\Common\Include"
-I "..\..\Source\Include"
-O 1
-model MEDIUM
-B
-K NOEOPT
-K NOLIB
-K NOUNROLL
-c
-cwno
-cpu MB96F356RSA
-INF srcin

@ -0,0 +1,36 @@
-g
-AL 2
-ra _INRAM01=0x005240/0x007FFF
-ro _INROM01=0xFC0000/0xFFFFFF
-ro _INROM02=0xDF0000/0xDF7FFF
-sc CONST/Const/BYTE=0xFF8000
-check_rora
-check_locate
-rg 0
-m "C:\E\Dev\FreeRTOS\WorkingCopy3\Demo\MB96350_Softune_Dice_Kit\LST\RTOSDemo.mp1"
-pl 60
-pw 132
-alin "C:\E\Dev\FreeRTOS\WorkingCopy3\Demo\MB96350_Softune_Dice_Kit\LST"
-alout "C:\E\Dev\FreeRTOS\WorkingCopy3\Demo\MB96350_Softune_Dice_Kit\LST"
-Xals
-Xalr
-na
-w 2
-cwno
-a
-cpu MB96F356RSA
-Xset_rora
-o "C:\E\Dev\FreeRTOS\WorkingCopy3\Demo\MB96350_Softune_Dice_Kit\ABS\RTOSDemo.abs"
"C:\E\Dev\FreeRTOS\WorkingCopy3\Demo\MB96350_Softune_Dice_Kit\OBJ\vectors.obj"
"C:\E\Dev\FreeRTOS\WorkingCopy3\Demo\MB96350_Softune_Dice_Kit\OBJ\main.obj"
"C:\E\Dev\FreeRTOS\WorkingCopy3\Demo\MB96350_Softune_Dice_Kit\OBJ\mb96356rs.obj"
"C:\E\Dev\FreeRTOS\WorkingCopy3\Demo\MB96350_Softune_Dice_Kit\OBJ\START.obj"
"C:\E\Dev\FreeRTOS\WorkingCopy3\Demo\MB96350_Softune_Dice_Kit\OBJ\tasks.obj"
"C:\E\Dev\FreeRTOS\WorkingCopy3\Demo\MB96350_Softune_Dice_Kit\OBJ\list.obj"
"C:\E\Dev\FreeRTOS\WorkingCopy3\Demo\MB96350_Softune_Dice_Kit\OBJ\queue.obj"
"C:\E\Dev\FreeRTOS\WorkingCopy3\Demo\MB96350_Softune_Dice_Kit\OBJ\port.obj"
"C:\E\Dev\FreeRTOS\WorkingCopy3\Demo\MB96350_Softune_Dice_Kit\OBJ\__STD_LIB_sbrk.obj"
"C:\E\Dev\FreeRTOS\WorkingCopy3\Demo\MB96350_Softune_Dice_Kit\OBJ\heap_1.obj"
"C:\E\Dev\FreeRTOS\WorkingCopy3\Demo\MB96350_Softune_Dice_Kit\OBJ\croutine.obj"

@ -0,0 +1,3 @@
-cwno
-o "C:\E\Dev\FreeRTOS\WorkingCopy3\Demo\MB96350_Softune_Dice_Kit\ABS\RTOSDemo.mhx"
"C:\E\Dev\FreeRTOS\WorkingCopy3\Demo\MB96350_Softune_Dice_Kit\ABS\RTOSDemo.abs"

@ -0,0 +1,325 @@
# Simulator only:
# Copy ROM-mirror area to bank 0x00
if %EVAL(ROMM_CONFIG & 0x01) == 0x01
set variable ROMM_BANK = %EVAL(ROMM_CONFIG >> 4)
set variable ROMM_SIZE = %EVAL((ROMM_CONFIG >> 1) & 0x03)
print "\n\n>Set ROM-mirror memory map...\n"
if %ROMM_SIZE == 0
set map /read H'00E000..H'00FFFF
if %ROMM_BANK == 0x00
show map
move H'f0e000..H'F0FFFF,H'e000
elseif %ROMM_BANK == 0x01
show map
move H'f1e000..H'F1FFFF,H'e000
elseif %ROMM_BANK == 0x02
show map
move H'f2e000..H'F2FFFF,H'e000
elseif %ROMM_BANK == 0x03
show map
move H'f3e000..H'F3FFFF,H'e000
elseif %ROMM_BANK == 0x04
show map
move H'f4e000..H'F4FFFF,H'e000
elseif %ROMM_BANK == 0x05
show map
move H'f5e000..H'F5FFFF,H'e000
elseif %ROMM_BANK == 0x06
show map
move H'f6e000..H'F6FFFF,H'e000
elseif %ROMM_BANK == 0x07
show map
move H'f7e000..H'F7FFFF,H'e000
elseif %ROMM_BANK == 0x08
show map
move H'f8e000..H'F8FFFF,H'e000
elseif %ROMM_BANK == 0x09
show map
move H'f9e000..H'F9FFFF,H'e000
elseif %ROMM_BANK == 0x0A
show map
move H'fAe000..H'FAFFFF,H'e000
elseif %ROMM_BANK == 0x0B
show map
move H'fBe000..H'FBFFFF,H'e000
elseif %ROMM_BANK == 0x0B
show map
move H'fBe000..H'FBFFFF,H'e000
elseif %ROMM_BANK == 0x0C
show map
move H'fCe000..H'FCFFFF,H'e000
elseif %ROMM_BANK == 0x0D
show map
move H'fde000..H'FDFFFF,H'e000
elseif %ROMM_BANK == 0x0E
show map
move H'fee000..H'FEFFFF,H'e000
elseif %ROMM_BANK == 0x0F
show map
move H'ffe000..H'FFFFFF,H'e000
endif # ROMM_BANK selection
elseif %ROMM_SIZE == 1
set map /read H'00C000..H'00FFFF
if %ROMM_BANK == 0x00
show map
move H'f0c000..H'F0FFFF,H'c000
elseif %ROMM_BANK == 0x01
show map
move H'f1c000..H'F1FFFF,H'c000
elseif %ROMM_BANK == 0x02
show map
move H'f2c000..H'F2FFFF,H'c000
elseif %ROMM_BANK == 0x03
show map
move H'f3c000..H'F3FFFF,H'c000
elseif %ROMM_BANK == 0x04
show map
move H'f4c000..H'F4FFFF,H'c000
elseif %ROMM_BANK == 0x05
show map
move H'f5c000..H'F5FFFF,H'c000
elseif %ROMM_BANK == 0x06
show map
move H'f6c000..H'F6FFFF,H'c000
elseif %ROMM_BANK == 0x07
show map
move H'f7c000..H'F7FFFF,H'c000
elseif %ROMM_BANK == 0x08
show map
move H'f8c000..H'F8FFFF,H'c000
elseif %ROMM_BANK == 0x09
show map
move H'f9c000..H'F9FFFF,H'c000
elseif %ROMM_BANK == 0x0A
show map
move H'fAc000..H'FAFFFF,H'c000
elseif %ROMM_BANK == 0x0B
show map
move H'fBc000..H'FBFFFF,H'c000
elseif %ROMM_BANK == 0x0B
show map
move H'fBc000..H'FBFFFF,H'c000
elseif %ROMM_BANK == 0x0C
show map
move H'fCc000..H'FCFFFF,H'c000
elseif %ROMM_BANK == 0x0D
show map
move H'fdc000..H'FDFFFF,H'c000
elseif %ROMM_BANK == 0x0E
show map
move H'fec000..H'FEFFFF,H'c000
elseif %ROMM_BANK == 0x0F
show map
move H'ffc000..H'FFFFFF,H'c000
endif # ROMM_BANK selection
elseif %ROMM_SIZE == 2
set map /read H'00A000..H'00FFFF
if %ROMM_BANK == 0x00
show map
move H'f0a000..H'F0FFFF,H'a000
elseif %ROMM_BANK == 0x01
show map
move H'f1a000..H'F1FFFF,H'a000
elseif %ROMM_BANK == 0x02
show map
move H'f2a000..H'F2FFFF,H'a000
elseif %ROMM_BANK == 0x03
show map
move H'f3a000..H'F3FFFF,H'a000
elseif %ROMM_BANK == 0x04
show map
move H'f4a000..H'F4FFFF,H'a000
elseif %ROMM_BANK == 0x05
show map
move H'f5a000..H'F5FFFF,H'a000
elseif %ROMM_BANK == 0x06
show map
move H'f6a000..H'F6FFFF,H'a000
elseif %ROMM_BANK == 0x07
show map
move H'f7a000..H'F7FFFF,H'a000
elseif %ROMM_BANK == 0x08
show map
move H'f8a000..H'F8FFFF,H'a000
elseif %ROMM_BANK == 0x09
show map
move H'f9a000..H'F9FFFF,H'a000
elseif %ROMM_BANK == 0x0A
show map
move H'fAa000..H'FAFFFF,H'a000
elseif %ROMM_BANK == 0x0B
show map
move H'fBa000..H'FBFFFF,H'a000
elseif %ROMM_BANK == 0x0B
show map
move H'fBa000..H'FBFFFF,H'a000
elseif %ROMM_BANK == 0x0C
show map
move H'fCa000..H'FCFFFF,H'a000
elseif %ROMM_BANK == 0x0D
show map
move H'fda000..H'FDFFFF,H'a000
elseif %ROMM_BANK == 0x0E
show map
move H'fea000..H'FEFFFF,H'a000
elseif %ROMM_BANK == 0x0F
show map
move H'ffa000..H'FFFFFF,H'a000
endif # ROMM_BANK selection
elseif %ROMM_SIZE == 3
set map /read H'008000..H'00FFFF
if %ROMM_BANK == 0x00
show map
move H'f08000..H'F0FFFF,H'8000
elseif %ROMM_BANK == 0x01
show map
move H'f18000..H'F1FFFF,H'8000
elseif %ROMM_BANK == 0x02
show map
move H'f28000..H'F2FFFF,H'8000
elseif %ROMM_BANK == 0x03
show map
move H'f38000..H'F3FFFF,H'8000
elseif %ROMM_BANK == 0x04
show map
move H'f48000..H'F4FFFF,H'8000
elseif %ROMM_BANK == 0x05
show map
move H'f58000..H'F5FFFF,H'8000
elseif %ROMM_BANK == 0x06
show map
move H'f68000..H'F6FFFF,H'8000
elseif %ROMM_BANK == 0x07
show map
move H'f78000..H'F7FFFF,H'8000
elseif %ROMM_BANK == 0x08
show map
move H'f88000..H'F8FFFF,H'8000
elseif %ROMM_BANK == 0x09
show map
move H'f98000..H'F9FFFF,H'8000
elseif %ROMM_BANK == 0x0A
show map
move H'fA8000..H'FAFFFF,H'8000
elseif %ROMM_BANK == 0x0B
show map
move H'fB8000..H'FBFFFF,H'8000
elseif %ROMM_BANK == 0x0B
show map
move H'fB8000..H'FBFFFF,H'8000
elseif %ROMM_BANK == 0x0C
show map
move H'fC8000..H'FCFFFF,H'8000
elseif %ROMM_BANK == 0x0D
show map
move H'fd8000..H'FDFFFF,H'8000
elseif %ROMM_BANK == 0x0E
show map
move H'fe8000..H'FEFFFF,H'8000
elseif %ROMM_BANK == 0x0F
show map
move H'ff8000..H'FFFFFF,H'8000
endif # ROMM_BANK selection
endif # ROMM_SIZE selection
print ">Copy ROMCONST for simulation..."
print "OK"
print "\n-----------------------------------------------------------"
print "\nUse command \"batch prc\\romconst.prc\" after each download"
print "\n-----------------------------------------------------------"
else
print "\n----------------------"
print "\nROM Mirror disabled!!!"
print "\n----------------------"
endif
print "\n-------------------------------------------------------------------"
print "\nSetting CKMR to 0xF0 to allow for the Clock Wait in that start.asm."
print "\n-------------------------------------------------------------------"
set MEM /byte 0x0403 = 0xF0

File diff suppressed because it is too large Load Diff

@ -0,0 +1,196 @@
[Information]
DebChangeFlag=0
MCUChangeFlag=0
[Version]
Version=1
Level=1
Revision=0
[Debug Type]
Type=1
Virtual CPU File=wv907f3.dll
Monitor Load=1
Monitor Load Condition=Disable
Core ID=0
Monitor Combination Version=10100
Mcu Name=MB96F356RSA
Monitor Select Count=0
[Device]
Communication=LAN 141.187.6.53
ProductID=0
Protocol=3
[Target]
AutoLoad=Enable
Before Batch File=
After Batch File=Prc\romconst.prc
Non AutoMap=Disable
Load DebInfo Only=Disable
Ondemand Load Condition=Disable
[Start]
Batch File=
[Window]
Flag=Enable
AssemblySize=0 0 420 240
AssemblyState=0
AssemblyFGColor=0 0 255
Assembly Address=H'FC0001
Memory Address=H'FE0000
Memory Mode=H'00000001
Memory Ascii=H'00000001
Memory SplitRow=0
RMemory Address=H'000000
RMemory Mode=H'FFFFFFFF
RMemory Ascii=H'00000001
RMemory SplitRow=0
Trace ViewMode=FFFFFFFF
Command Max History=H'00000032
Source Display Mode=Enable
Source Multi Mode=Enable
Source Ask Mode=Enable
Source Active Mode=Enable
Source PC Color=255 255 0
Source Scope Color=255 0 255
Source Back Trace=255 0 255
Register Change Color=255 0 0
Perfomance Mode=H'00000001
Perfomance Scale=1 0 0.000000 0.000000
Coverage Address=H'000000
Coverage Type=H'00000000
RMemory Change Color=255 0 0
RMemory Invalid Color=128 128 128
CommandSize=282 414 875 700
CommandState=0
MemorySize=0 0 420 160
MemoryState=2
Coverage SplitRow=0
RegisterSize=756 3 872 397
RegisterState=0
Register Select0=H'00000000
Register Select1=H'00000003
Register Select2=H'00000004
Register Select3=H'00000005
Register Select4=H'00000006
Register Select5=H'00000007
Register Select6=H'00000008
Register Select7=H'00000010
Register Select8=H'00000011
Register Select9=H'00000012
Register Select10=H'00000013
Register Select11=H'00000014
Register Select12=H'00000015
Register Select13=H'00000016
Register Select14=H'00000017
Register Select15=H'00000018
Register Select16=H'00000022
Register Select17=H'00000023
Register Select18=H'00000024
Register Select19=H'00000025
Register Select20=H'00000026
Register Select21=H'00000027
Register Select22=H'00000028
Register Select23=H'00000029
Register Select24=H'00000035
Memory Line Byte=H'00000000
Assembly Coverage Mode=Disable
Source Coverage Mode=Disable
Abs Coverage Mode=Disable
Abs Sort Mode=H'00000001
Memory Change Color=255 0 0
Memory Mark Color0=192 192 192
Memory Mark Color1=192 0 0
Memory Mark Color2=255 255 0
Memory Mark Color3=0 255 0
Memory Mark Color4=0 255 255
Memory Mark Color5=0 128 192
Memory Mark Color6=255 128 64
Source Executed Color=0 128 0
Source UnExecuted Color=128 0 0
[Path Environment]
Flag=Enable
Source=
[Map]
Flag=Enable
Area0=00000000 00000BFF 3 0 0
Area2=00001000 00001501 3 0 0
Area3=00001502 000021FF 7 0 0
Area4=00002200 00002523 3 0 0
Area5=00002524 0000523F 7 0 0
Area6=00005240 000055FF 3 0 0
Area7=00005600 00007FFF 7 0 0
Area8=00008000 0000FFFF 1 0 0
Area9=00010000 0001FFFF 7 0 0
Area11=000F0000 000F0FFF 3 0 0
Area13=000FE000 000FFFFF 5 0 0
Area15=00DE0000 00DE00AA 5 0 0
Area17=00DF0000 00DF007F 5 0 0
Area19=00FC0000 00FC0467 5 0 0
Area21=00FE0000 00FFFFFF 5 0 0
Inrom Image=Off
[Radix Environment]
Flag=Enable
Mode=10
Source=1
[Watch Environment]
Flag=Enable
Size=0
Mode=0
MBuf=0
Check=1
CSiz=100
[Exec Environment]
Flag=Enable
GoIntMask=0
StepUnit=3
StepIntMask=0
StepIntpCtrl=4
GoTrcCtrl=2
OnTheFlyBreakAdmit=0
[Break Environment]
Flag=Enable
[Emulation Environment]
Flag=Disable
[Monitor Environment]
Flag=Enable
MemoryWindow=0
WatchWindow=0
ObjectWindow=0
ElapseTime=3E8
Unit=1
Mode=0
RealtimeMemoryWindow=0
[Error]
Flag=Enable
GuiErrorOutput=2
CommandErrorOutput=1
BatchErrorOutput=1
ErrorOutputLevel=0
[Color]
Flag=Enable
[Tab Environment]
TabSize=8
[Communication]
Send=1000
Receive=64
[Trace Environment]
Trace Break=0
Trace Status=1
[Coverage Environment]
Coverage Status=0

@ -0,0 +1,654 @@
[WorkState_v1_2.Frames.ChildFrames.Document-1]
ptn_Child1=ViewFrame-0
[WorkState_v1_2.Frames.ChildFrames.Document-1.ViewFrame-0]
DocPathName=
DocumentString=EUROSScope Document
DocTemplateIndex=0
WindowPlacement=MCAAAAAAAAAAAAAABAAAAAAAPPPPPPPPPPPPPPPPMPPPPPPPIOPPPPPPGBAAAAAAHBAAAAAANACAAAAAHNAAAAAA
IsActiveChildFrame=False
IsFrameVisible=True
[WorkState_v1_2.Frames.ChildFrames.Document-2]
ptn_Child1=ViewFrame-0
[WorkState_v1_2.Frames.ChildFrames.Document-2.ViewFrame-0]
DocPathName=
DocumentString=EUROSScope Document
DocTemplateIndex=0
WindowPlacement=MCAAAAAACAAAAAAADAAAAAAAPPPPPPPPPPPPPPPPMPPPPPPPIOPPPPPPMCAAAAAAOCAAAAAAHHDAAAAAMKBAAAAA
IsActiveChildFrame=True
IsFrameVisible=True
[WorkState_v1_2.SourceController_1]
FollowPC=False
DisplayLineNumbers=True
StepIntoModulesWithoutSource=False
[WorkState_v1_2.SourceController_2]
FollowPC=False
DisplayLineNumbers=True
StepIntoModulesWithoutSource=False
[WorkState_v1_2]
CpuName=F2MC16 LX/FX
TargetConnectionName=Fujitsu 16FXBootROM (RS232)
ObjectName=C:\Temp\dice\dicekit16fx_dice2-v10\ABS\dicekit16fx_dice2-v10.abs
ObjectFileCPU=8
FlashName=
TargetConfigurationFileName=
EnableTargetConfigurationFile=True
ExecuteInitScriptAfterConnect=True
ExecuteInitScriptAfterReset=True
EnableSmartDownload=False
BootstrapLoader=Fujitsu F16LX Bootstrap Loader
nSourcePathEntries=2
SourcePathEntry0=C:\Temp\dice\dicekit16fx_dice2-v10\Src\
SourcePathEntry1=\
SubstituteSourcePath=
SubstituteSourcePathWith=
CustomColor0=16777215
CustomColor1=16777215
CustomColor2=16777215
CustomColor3=16777215
CustomColor4=16777215
CustomColor5=16777215
CustomColor6=16777215
CustomColor7=16777215
CustomColor8=16777215
CustomColor9=16777215
CustomColor10=16777215
CustomColor11=16777215
CustomColor12=16777215
CustomColor13=16777215
CustomColor14=16777215
CustomColor15=16777215
FontName=Courier New
FontSize=90
FlashBaseAddress=0
FlashMergeGap=0
DotExecutableFileName=
DefaultSFRFile=C:\devtools\EUROScope\sfr\default.sfr
PreferHardwareBreakpoints=True
PreferBreakpointsHexAddr=False
AskToSaveConfigurationOnClose=True
ptn_Child1=DockState
ptn_Child2=ToolBarMgr
ptn_Child3=OpenedFiles
ptn_Child4=Frames
ptn_Child5=Fujitsu F16LX Bootstrap Loader
ptn_Child6=none
ptn_Child7=Target Memory Emulation
ptn_Child8=EUROSMon (Virtual)
ptn_Child9=RDTMon (RS232)
ptn_Child10=Fujitsu 16FXBootROM (RS232)
ptn_Child11=EUROSMon (RS232)
ptn_Child12=CodeWnd_0
ptn_Child13=CallWnd_0
ptn_Child14=RegisterWnd_0
ptn_Child15=MemoryWnd_0
ptn_Child16=BreakpointWnd_0
ptn_Child17=VariableTabWnd_0
ptn_Child18=VariableWndLocal_0
ptn_Child19=VariableWndGlobal_0
ptn_Child20=VariableWndWatch_0
ptn_Child21=VariableWndThis_0
ptn_Child22=VariableWndTrack_0
ptn_Child23=VTrackListWnd_0
ptn_Child24=SourceController_0
[WorkState_v1_2.DockState]
Bars=13
ScreenCX=1680
ScreenCY=1050
ptn_Child1=Bar-0
ptn_Child2=Bar-1
ptn_Child3=Bar-2
ptn_Child4=Bar-3
ptn_Child5=Bar-4
ptn_Child6=Bar-5
ptn_Child7=Bar-6
ptn_Child8=Bar-7
ptn_Child9=Bar-8
ptn_Child10=Bar-9
ptn_Child11=Bar-10
ptn_Child12=Bar-11
ptn_Child13=Bar-12
[WorkState_v1_2.DockState.Bar-0]
BarID=59393
Style=32768
ExStyle=0
PrevFloating=False
MDIChild=False
PctWidth=1000000
MRUFloatCX=0
MRUFloatCY=0
MRUHorzDockCX=0
MRUHorzDockCY=0
MRUVertDockCX=0
MRUVertDockCY=0
MRUDockingState=0
DockingStyle=0
TypeID=0
ClassName=SECStatusBar
WindowName=Workspace file is C:\Temp\dice\dicekit16fx_dice2-v10\debug.cfg
ResourceID=0
[WorkState_v1_2.DockState.Bar-1]
BarID=59419
Bars=5
Bar#0=0
Bar#1=59647
Bar#2=0
Bar#3=59392
Bar#4=0
Style=0
ExStyle=0
PrevFloating=False
MDIChild=False
PctWidth=0
MRUFloatCX=0
MRUFloatCY=0
MRUHorzDockCX=0
MRUHorzDockCY=0
MRUVertDockCX=0
MRUVertDockCY=0
MRUDockingState=0
DockingStyle=0
TypeID=0
ClassName=
WindowName=
ResourceID=0
[WorkState_v1_2.DockState.Bar-2]
BarID=59422
Bars=3
Bar#0=0
Bar#1=263
Bar#2=0
Style=0
ExStyle=0
PrevFloating=False
MDIChild=False
PctWidth=0
MRUFloatCX=0
MRUFloatCY=0
MRUHorzDockCX=0
MRUHorzDockCY=0
MRUVertDockCX=0
MRUVertDockCY=0
MRUDockingState=0
DockingStyle=0
TypeID=0
ClassName=
WindowName=
ResourceID=0
[WorkState_v1_2.DockState.Bar-3]
BarID=59420
Bars=4
Bar#0=0
Bar#1=256
Bar#2=257
Bar#3=0
Style=0
ExStyle=0
PrevFloating=False
MDIChild=False
PctWidth=0
MRUFloatCX=0
MRUFloatCY=0
MRUHorzDockCX=0
MRUHorzDockCY=0
MRUVertDockCX=0
MRUVertDockCY=0
MRUDockingState=0
DockingStyle=0
TypeID=0
ClassName=
WindowName=
ResourceID=0
[WorkState_v1_2.DockState.Bar-4]
BarID=59421
Bars=5
Bar#0=0
Bar#1=259
Bar#2=260
Bar#3=261
Bar#4=0
Style=0
ExStyle=0
PrevFloating=False
MDIChild=False
PctWidth=0
MRUFloatCX=0
MRUFloatCY=0
MRUHorzDockCX=0
MRUHorzDockCY=0
MRUVertDockCX=0
MRUVertDockCY=0
MRUDockingState=0
DockingStyle=0
TypeID=0
ClassName=
WindowName=
ResourceID=0
[WorkState_v1_2.DockState.Bar-5]
BarID=59647
Docking=True
MRUDockID=0
MRUDockLeftPos=-1
MRUDockTopPos=-1
MRUDockRightPos=1679
MRUDockBottomPos=26
MRUFloatStyle=8196
MRUFloatXPos=-2147483648
MRUFloatYPos=0
Style=12220
ExStyle=131980
PrevFloating=False
MDIChild=False
PctWidth=1000000
MRUFloatCX=0
MRUFloatCY=0
MRUHorzDockCX=1680
MRUHorzDockCY=27
MRUVertDockCX=0
MRUVertDockCY=0
MRUDockingState=0
DockingStyle=61440
TypeID=14947
ClassName=SECMDIMenuBar
WindowName=Menu bar
ResourceID=0
ptn_Child1=ToolBarInfoEx
[WorkState_v1_2.DockState.Bar-5.ToolBarInfoEx]
Title=Menu bar
Buttons=BAAAAAAIAACAAAAAAIAADAAAAAAIAAEAAAAAAIAAFAAAAAAIAAGAAAAAAIAAHAAAAAAIAAIAAAAAAIAA
[WorkState_v1_2.DockState.Bar-6]
BarID=59392
YPos=26
Docking=True
MRUDockID=0
MRUDockLeftPos=-1
MRUDockTopPos=26
MRUDockRightPos=678
MRUDockBottomPos=57
MRUFloatStyle=8196
MRUFloatXPos=-2147483648
MRUFloatYPos=0
Style=12212
ExStyle=131852
PrevFloating=False
MDIChild=False
PctWidth=1000000
MRUFloatCX=0
MRUFloatCY=0
MRUHorzDockCX=679
MRUHorzDockCY=31
MRUVertDockCX=0
MRUVertDockCY=0
MRUDockingState=0
DockingStyle=61440
TypeID=14946
ClassName=SECCustomToolBar
WindowName=Standard menu
ResourceID=0
ptn_Child1=ToolBarInfoEx
[WorkState_v1_2.DockState.Bar-6.ToolBarInfoEx]
Title=Standard menu
Buttons_BinCount=2
Buttons_BinVal0=BABOAAAAAABCAIAAAAAAAGAIAAAAAABGAIAAAAAAAAAAAAAAAAMDAIAAAAAAAAAAAAAAAAJDAIAAAAAAPBAIAAAAAAACAIAAAAAAAAAAAAAAAABDAIAAAAAAANPHAAAAAAFGAIAAAAAAAAAAAAAAAALCAIAAAAAAAAAAAAAAAAFIAIAAAAAAAAAAAAAAAALAAIAAAAAAJEAIAAAAAAHEAIAAAAAAAAAAAAAAAAPIAIAAAAAAAAAAAAAAAA
Buttons_BinVal1=ECIKAAAAAAFCIKAAAAAAGCIKAAAAAAHCIKAAAAAAICIKAAAAAAJCIKAAAAAAKCIKAAAAAALCIKAAAAAAMCIKAAAAAA
[WorkState_v1_2.DockState.Bar-7]
BarID=256
XPos=0
YPos=-2
Docking=True
MRUDockID=0
MRUDockLeftPos=0
MRUDockTopPos=-2
MRUDockRightPos=320
MRUDockBottomPos=395
MRUFloatStyle=4
MRUFloatXPos=-2147483648
MRUFloatYPos=1054
Style=8084
ExStyle=69473
PrevFloating=False
MDIChild=False
PctWidth=670000
MRUFloatCX=300
MRUFloatCY=180
MRUHorzDockCX=300
MRUHorzDockCY=180
MRUVertDockCX=320
MRUVertDockCY=397
MRUDockingState=0
DockingStyle=61440
TypeID=0
ClassName=CCodeBar
WindowName=Code: 0xFC01F9 (main: _main + 0x136)
ResourceID=0
[WorkState_v1_2.DockState.Bar-8]
BarID=257
XPos=0
YPos=401
Docking=True
MRUDockID=0
MRUDockLeftPos=0
MRUDockTopPos=401
MRUDockRightPos=320
MRUDockBottomPos=599
MRUFloatStyle=4
MRUFloatXPos=-2147483648
MRUFloatYPos=1054
Style=8084
ExStyle=69473
PrevFloating=False
MDIChild=False
PctWidth=330000
MRUFloatCX=300
MRUFloatCY=180
MRUHorzDockCX=300
MRUHorzDockCY=180
MRUVertDockCX=320
MRUVertDockCY=198
MRUDockingState=0
DockingStyle=61440
TypeID=0
ClassName=CCallBar
WindowName=Callstack
ResourceID=0
[WorkState_v1_2.DockState.Bar-9]
BarID=259
XPos=5
YPos=-2
Docking=True
MRUDockID=0
MRUDockLeftPos=5
MRUDockTopPos=-2
MRUDockRightPos=325
MRUDockBottomPos=261
MRUFloatStyle=4
MRUFloatXPos=-2147483648
MRUFloatYPos=0
Style=20372
ExStyle=69473
PrevFloating=False
MDIChild=False
PctWidth=448899
MRUFloatCX=300
MRUFloatCY=180
MRUHorzDockCX=300
MRUHorzDockCY=180
MRUVertDockCX=320
MRUVertDockCY=263
MRUDockingState=0
DockingStyle=61440
TypeID=0
ClassName=CRegisterBar
WindowName=Register: Long Word General-purpose Register RL0
ResourceID=0
[WorkState_v1_2.DockState.Bar-10]
BarID=260
XPos=5
YPos=267
Docking=True
MRUDockID=0
MRUDockLeftPos=5
MRUDockTopPos=267
MRUDockRightPos=325
MRUDockBottomPos=396
MRUFloatStyle=4
MRUFloatXPos=-2147483648
MRUFloatYPos=0
Style=20372
ExStyle=69473
PrevFloating=False
MDIChild=False
PctWidth=221099
MRUFloatCX=300
MRUFloatCY=180
MRUHorzDockCX=300
MRUHorzDockCY=180
MRUVertDockCX=320
MRUVertDockCY=129
MRUDockingState=0
DockingStyle=61440
TypeID=0
ClassName=CMemoryBar
WindowName=Memory: 0x0 (MB96356RS: __pdr00)
ResourceID=0
[WorkState_v1_2.DockState.Bar-11]
BarID=261
XPos=5
YPos=402
Docking=True
MRUDockID=0
MRUDockLeftPos=5
MRUDockTopPos=402
MRUDockRightPos=325
MRUDockBottomPos=599
MRUFloatStyle=4
MRUFloatXPos=-2147483648
MRUFloatYPos=0
Style=20372
ExStyle=69473
PrevFloating=False
MDIChild=False
PctWidth=330000
MRUFloatCX=300
MRUFloatCY=180
MRUHorzDockCX=300
MRUHorzDockCY=180
MRUVertDockCX=320
MRUVertDockCY=197
MRUDockingState=0
DockingStyle=61440
TypeID=0
ClassName=CBreakpointBar
WindowName=Breakpoints
ResourceID=0
[WorkState_v1_2.DockState.Bar-12]
BarID=263
XPos=1
YPos=5
Docking=True
MRUDockID=0
MRUDockLeftPos=1
MRUDockTopPos=5
MRUDockRightPos=1680
MRUDockBottomPos=325
MRUFloatStyle=4
MRUFloatXPos=-2147483648
MRUFloatYPos=0
Style=36756
ExStyle=69473
PrevFloating=False
MDIChild=False
PctWidth=1000000
MRUFloatCX=300
MRUFloatCY=180
MRUHorzDockCX=1679
MRUHorzDockCY=320
MRUVertDockCX=300
MRUVertDockCY=180
MRUDockingState=0
DockingStyle=61440
TypeID=0
ClassName=CVariableBar
WindowName=Variables
ResourceID=0
[WorkState_v1_2.ToolBarMgr]
ToolTips=True
CoolLook=True
LargeButtons=False
[WorkState_v1_2.OpenedFiles]
LoadedObjectFile=C:\Temp\dice\dicekit16fx_dice2-v10\ABS\dicekit16fx_dice2-v10.abs
OpenedSourceDocument0=C:\Temp\dice\dicekit16fx_dice2-v10\Src\main.c
OpenedSourceDocumentCount=1
[WorkState_v1_2.Frames]
ptn_Child1=MainFrame
ptn_Child2=ChildFrames
[WorkState_v1_2.Frames.MainFrame]
WindowPlacement=MCAAAAAACAAAAAAADAAAAAAAPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPGMAAAAAAPMAAAAAACLFAAAAALLDAAAAA
Title=EUROScope - [C:\Temp\dice\dicekit16fx_dice2-v10\Src\main.c]
[WorkState_v1_2.Frames.ChildFrames]
ptn_Child1=Document-0
[WorkState_v1_2.Frames.ChildFrames.Document-0]
ptn_Child1=ViewFrame-0
[WorkState_v1_2.Frames.ChildFrames.Document-0.ViewFrame-0]
DocPathName=
DocumentString=EUROSScope Document
DocTemplateIndex=0
WindowPlacement=MCAAAAAACAAAAAAADAAAAAAAPPPPPPPPPPPPPPPPMPPPPPPPIOPPPPPPAAAAAAAAAAAAAAAAHEDAAAAAKHBAAAAA
IsActiveChildFrame=True
IsFrameVisible=True
[WorkState_v1_2.Fujitsu F16LX Bootstrap Loader]
BootFileName=bootloader
MonitorFileName=monitor
DeviceName=COM1
BaudRate=38400
ByteSize=8
Parity=0
StopBits=0
fDtrControl=0
fRtsControl=0
fInX=0
fOutX=0
fOutxCtsFlow=0
fOutxDsrFlow=0
fDsrSensitivity=0
TargetSpeed=0
[WorkState_v1_2.none]
BootFileName=bootloader
MonitorFileName=monitor
[WorkState_v1_2.Target Memory Emulation]
CpuID=-1
[WorkState_v1_2.EUROSMon (Virtual)]
NamedPipeName=pipe\com1
NamedPipeHost=.
EnableBreak=1
CommunicationRetries=3
TimeoutCommand=500
TimeoutCommandSlow=5000
TimeoutFlashErase=60000
[WorkState_v1_2.RDTMon (RS232)]
DeviceName=COM1
BaudRate=38400
ByteSize=8
Parity=0
StopBits=0
fDtrControl=0
fRtsControl=0
fInX=0
fOutX=0
fOutxCtsFlow=0
fOutxDsrFlow=0
fDsrSensitivity=0
EnableBreak=1
[WorkState_v1_2.Fujitsu 16FXBootROM (RS232)]
Selected16FXBootROMRS232Port=COM1
Selected16FXBootROMRS232Baud=115200
Selected16FXBootROMRS232Break=1
Selected16FXBootROMRS232FD=1
Selected16FXBootROMRS232CM=1
SelectedNumberofHWBreakpoints=8
SerialCommunicationModeClock= 4 MHz
[WorkState_v1_2.EUROSMon (RS232)]
DeviceName=COM1
BaudRate=38400
ByteSize=8
Parity=0
StopBits=0
fDtrControl=0
fRtsControl=0
fInX=0
fOutX=0
fOutxCtsFlow=0
fOutxDsrFlow=0
fDsrSensitivity=0
EnableBreak=1
CommunicationRetries=3
TimeoutCommand=500
TimeoutCommandSlow=5000
TimeoutFlashErase=60000
[WorkState_v1_2.CodeWnd_0]
BackgroundColor=16777215
FollowPC=1
ShowBytes=0
ShowLineNumbers=1
ShowLTI=0
ShowModule=0
ShowStackAdjust=0
ShowStackUsage=0
[WorkState_v1_2.CallWnd_0]
ColumnWidth_0=100
ColumnWidth_1=100
ColumnWidth_2=60
BackgroundColor=16777215
[WorkState_v1_2.RegisterWnd_0]
BackgroundColor=16777215
[WorkState_v1_2.MemoryWnd_0]
BackgroundColor=16777215
FirstAddress=0
CursorAddress=0
MemoryWidth=2
ByteOrder=2
ShowASCII=1
ColorizeSymbols=True
[WorkState_v1_2.BreakpointWnd_0]
ColumnWidth_0=100
ColumnWidth_1=100
ColumnWidth_2=60
ColumnWidth_3=60
BackgroundColor=16777215
[WorkState_v1_2.VariableTabWnd_0]
ActiveTab=0
[WorkState_v1_2.VariableWndLocal_0]
ColumnWidth_0=150
ColumnWidth_1=200
ColumnWidth_2=150
ColumnWidth_3=100
ColumnWidth_4=100
ColumnWidth_5=100
ColumnWidth_6=100
ColumnWidth_7=0
BackgroundColor=16777215
ShowStrings=1
DecimalInts=1
[WorkState_v1_2.VariableWndGlobal_0]
ColumnWidth_0=150
ColumnWidth_1=200
ColumnWidth_2=150
ColumnWidth_3=100
ColumnWidth_4=100
ColumnWidth_5=100
ColumnWidth_6=100
ColumnWidth_7=0
BackgroundColor=13160660
ShowStrings=1
DecimalInts=1
[WorkState_v1_2.VariableWndWatch_0]
ColumnWidth_0=150
ColumnWidth_1=200
ColumnWidth_2=150
ColumnWidth_3=100
ColumnWidth_4=100
ColumnWidth_5=100
ColumnWidth_6=100
ColumnWidth_7=0
BackgroundColor=16777215
ShowStrings=1
DecimalInts=1
[WorkState_v1_2.VariableWndThis_0]
ColumnWidth_0=150
ColumnWidth_1=200
ColumnWidth_2=150
ColumnWidth_3=100
ColumnWidth_4=100
ColumnWidth_5=100
ColumnWidth_6=100
ColumnWidth_7=0
BackgroundColor=13160660
ShowStrings=1
DecimalInts=1
[WorkState_v1_2.VariableWndTrack_0]
BackgroundColor=13160660
ShowStrings=1
DecimalInts=1
[WorkState_v1_2.SourceController_0]
FollowPC=False
DisplayLineNumbers=True
StepIntoModulesWithoutSource=False

@ -0,0 +1,185 @@
[Version]
DLLVer=02.3005.01.0
PRJVer=1
[PRJKIND]
mode=1
[CPUTYPE]
CpuSerise=907
[DirInfo]
PRJ=C:\E\Dev\FreeRTOS\WorkingCopy3\Demo\MB96350_Softune_Dice_Kit\
[PrjInfo]
Count=1
PrjInfo-0=Debug
Active=Debug
[MEMBER]
F0=14
F1=0 f Include Files
F2=0 f FreeRTOS Source
F3=0 c ..\..\Source\portable\Softune\MB96340\__STD_LIB_sbrk.c
F4=0 c ..\..\Source\croutine.c
F5=0 c ..\..\Source\portable\MemMang\heap_1.c
F6=0 c ..\..\Source\list.c
F7=0 c ..\..\Source\portable\Softune\MB96340\port.c
F8=0 c ..\..\Source\queue.c
F9=0 c ..\..\Source\tasks.c
F10=0 f Demo Source
F11=0 c main.c
F12=0 a mb96356rs.asm
F13=0 a START.ASM
F14=0 c vectors.c
[OPTIONFILE]
FILE=options.dat
[CPUTYPE-Debug]
CsvFile=Lib\907\907.csv
CpuName=MB96F356RSA
Count=0
[DirInfo-Debug]
CONFIG=.\
OBJ=OBJ\
LST=LST\
OPT=OPT\
[MEMBER-Debug]
F0=12
F1=0 m 1 ABS\RTOSDemo.abs
F2=1 c 1 vectors.c
F2-1=- mb96356rs.h
F3=1 c 1 main.c
F3-1=- mb96356rs.h
F4=0 a 1 mb96356rs.asm
F5=0 a 1 START.ASM
F6=14 c 1 ..\..\Source\tasks.c
F6-1=- ..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stdio.h
F6-2=- ..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stddef.h
F6-3=- ..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stdarg.h
F6-4=- ..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stdlib.h
F6-5=- ..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\string.h
F6-6=- ..\..\Source\Include\FreeRTOS.h
F6-7=- ..\..\Source\Include\projdefs.h
F6-8=- ..\..\Source\Include\portable.h
F6-9=- ..\..\Source\portable\Softune\MB96340\portmacro.h
F6-10=- ..\..\Source\Include\task.h
F6-11=- ..\..\Source\Include\list.h
F6-12=- ..\..\Source\Include\StackMacros.h
F6-13=- FreeRTOSConfig.h
F6-14=- mb96356rs.h
F7=9 c 1 ..\..\Source\list.c
F7-1=- ..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stdlib.h
F7-2=- ..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stddef.h
F7-3=- ..\..\Source\Include\FreeRTOS.h
F7-4=- ..\..\Source\Include\projdefs.h
F7-5=- ..\..\Source\Include\portable.h
F7-6=- ..\..\Source\portable\Softune\MB96340\portmacro.h
F7-7=- ..\..\Source\Include\list.h
F7-8=- FreeRTOSConfig.h
F7-9=- mb96356rs.h
F8=12 c 1 ..\..\Source\queue.c
F8-1=- ..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stdlib.h
F8-2=- ..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stddef.h
F8-3=- ..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\string.h
F8-4=- ..\..\Source\Include\FreeRTOS.h
F8-5=- ..\..\Source\Include\projdefs.h
F8-6=- ..\..\Source\Include\portable.h
F8-7=- ..\..\Source\portable\Softune\MB96340\portmacro.h
F8-8=- ..\..\Source\Include\task.h
F8-9=- ..\..\Source\Include\list.h
F8-10=- ..\..\Source\Include\croutine.h
F8-11=- FreeRTOSConfig.h
F8-12=- mb96356rs.h
F9=9 c 1 ..\..\Source\portable\Softune\MB96340\port.c
F9-1=- ..\..\Source\Include\FreeRTOS.h
F9-2=- ..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stddef.h
F9-3=- ..\..\Source\Include\projdefs.h
F9-4=- ..\..\Source\Include\portable.h
F9-5=- ..\..\Source\portable\Softune\MB96340\portmacro.h
F9-6=- ..\..\Source\Include\task.h
F9-7=- ..\..\Source\Include\list.h
F9-8=- FreeRTOSConfig.h
F9-9=- mb96356rs.h
F10=4 c 1 ..\..\Source\portable\Softune\MB96340\__STD_LIB_sbrk.c
F10-1=- ..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stdlib.h
F10-2=- ..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stddef.h
F10-3=- FreeRTOSConfig.h
F10-4=- mb96356rs.h
F11=10 c 1 ..\..\Source\portable\MemMang\heap_1.c
F11-1=- ..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stdlib.h
F11-2=- ..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stddef.h
F11-3=- ..\..\Source\Include\FreeRTOS.h
F11-4=- ..\..\Source\Include\projdefs.h
F11-5=- FreeRTOSConfig.h
F11-6=- mb96356rs.h
F11-7=- ..\..\Source\Include\portable.h
F11-8=- ..\..\Source\portable\Softune\MB96340\portmacro.h
F11-9=- ..\..\Source\Include\task.h
F11-10=- ..\..\Source\Include\list.h
F12=10 c 1 ..\..\Source\croutine.c
F12-1=- ..\..\Source\Include\FreeRTOS.h
F12-2=- ..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stddef.h
F12-3=- ..\..\Source\Include\projdefs.h
F12-4=- FreeRTOSConfig.h
F12-5=- mb96356rs.h
F12-6=- ..\..\Source\Include\portable.h
F12-7=- ..\..\Source\portable\Softune\MB96340\portmacro.h
F12-8=- ..\..\Source\Include\task.h
F12-9=- ..\..\Source\Include\list.h
F12-10=- ..\..\Source\Include\croutine.h
[BUILDMODE-Debug]
kernel=0
ABI=0
[RUNSET-Debug]
CONVERT=1
CONVERTKIND=0
[DebState-Debug]
SupCount=1
Supfile-0=.\Simulator.sup
Current=Simulator.sup
AliasFile=
CPURunMode=16,16,16,16,0,1,0x0:0x0,,0,0xFF
[AsmBefore]
Count=0
[AsmAfter]
Count=0
[CcBefore]
Count=0
[CcAfter]
Count=0
[LnkBefore]
Count=0
[LnkAfter]
Count=0
[LibBefore]
Count=0
[LibAfter]
Count=0
[CnvBefore]
Count=0
[CnvAfter]
Count=0
[ConfigBefore]
Count=0
[ConfigAfter]
Count=0

@ -0,0 +1,26 @@
[CPUTYPE]
CpuSerise=907
[PrjFile]
Count=1
FILE-0=dicekit16fx_dice2-v10.prj
ActivePrj=dicekit16fx_dice2-v10.prj
[SubPrj-dicekit16fx_dice2-v10.prj]
Count=0
[DebState]
AutoSave=1
Exec=0
AutoLoad=1
[DirInfo]
WSP=C:\E\Dev\FreeRTOS\WorkingCopy3\Demo\MB96350_Softune_Dice_Kit\
[EditState]
STATE-1=..\..\Source\portable\Softune\MB96340\portmacro.h:54
STATE-2=..\..\source\portable\softune\mb96340\port.c:52
STATE-3=START.ASM:1
STATE-4=main.c:202
Count=4

@ -0,0 +1,201 @@
/* THIS SAMPLE CODE IS PROVIDED AS IS AND IS SUBJECT TO ALTERATIONS. FUJITSU */
/* MICROELECTRONICS ACCEPTS NO RESPONSIBILITY OR LIABILITY FOR ANY ERRORS OR */
/* ELIGIBILITY FOR ANY PURPOSES. */
/* (C) Fujitsu Microelectronics Europe GmbH */
/*---------------------------------------------------------------------------
MAIN.C
- description
- See README.TXT for project description and disclaimer.
/*---------------------------------------------------------------------------*/
#include "mb96356rs.h"
#define DICE_MIN 1
#define DICE_MAX 6
#define DICERUN_MIN 600000L
#define DICERUN_MAX 1200000L
const char DICE7SEG1[11]={0x48, 0xeb, 0x8c, 0x89, 0x2b, 0x19, 0x18, 0xcb, 0x08, 0x09, 0xf7};
const char DICE7SEG2[11]={0xa0, 0xf3, 0xc4, 0xc1, 0x93, 0x89, 0x88, 0xe3, 0x80, 0x81, 0x7f};
unsigned char temp;
unsigned char dice1, dice2;
unsigned long dice1run, dice2run;
unsigned long dice1state, dice2state;
unsigned long dice1delay, dice2delay;
unsigned long dice1delayrld, dice2delayrld;
/*===========================================================================*/
/*====== MAIN ===============================================================*/
/*===========================================================================*/
void main(void)
{
InitIrqLevels();
__set_il(7); // allow all levels
__EI(); // globally enable interrupts
// initialize I/O-ports
PIER00 = 0x03; // Enable P00_0/INT8 and P00_1/INT9 as input
PDR00 = 0x00;
DDR00 = 0xfc; // P00_0: SW2(INT8) P00_1: SW3(INT9)
/* Do not use when Background Debugging is enabled
PIER01 = 0x04; // enable P01_2/SIN3 as input
PDR01 = 0x08; // SOT3 = 1
DDR01 = 0xfb; // SIN3 = input
*/
PIER02 = 0x00; // All inputs are disabled on this port
PDR02 = 0x00;
DDR02 = 0xff;
PIER03 = 0x00; // All inputs are disabled on this port
PDR03 = 0xff;
DDR03 = 0xff; // Set Port3 as output (7Segment Display)
PIER04 = 0x04; // Enable P04_2/RX as input
PDR04 = 0x08; // CAN TX = 1
DDR04 = 0xfb; // CAN RX = input
PIER05 = 0x00; // All inputs are disabled on this port
ADER1 = 0; // Use Port 5 as I/O-Port
PDR05 = 0x7f;
DDR05 = 0xff; // Set Port5 as output (7Segment Display)
PIER06 = 0x00; // All inputs are disabled on this port
PDR06 = 0x00;
DDR06 = 0xff;
while (1)
{
// DICE 1
switch (dice1state)
{
case 0x00: // dice1 stopped
if (PDR00_P0 == 1) // Key SW2:INT8 pressed
{
dice1run = DICERUN_MIN;
srand((unsigned char)dice1run);
dice1state = 0x01;
}
break;
case 0x01: // dice1 startup
if (dice1run < DICERUN_MAX) // variable running time
dice1run++;
else
dice1run = DICERUN_MIN;
if (PDR00_P0 == 0) // Key SW2:INT8 released
{
dice1delay = 1;
dice1delayrld = 1;
dice1state = 0x02;
}
break;
case 0x02: // dice1 running
dice1run--;
dice1delay--;
if (!dice1delay)
{
do // get new random number
{
temp = rand() % 6 + 1;
}
while (temp == dice1);
dice1 = temp;
PDR03 = (PDR03 | 0xf7) & DICE7SEG1[dice1];
dice1delayrld = dice1delayrld + 100;
dice1delay = dice1delayrld;
}
if (dice1run == 0) // dice stopped
{
PDR03 = (PDR03 | 0xf7) & DICE7SEG1[rand() % 6 + 1];
dice1state = 0x00;
}
break;
}//switch (dice1state)
// DICE 2
switch (dice2state)
{
case 0x00: // dice2 stopped
if (PDR00_P1 == 1) // Key SW3:INT9 pressed
{
dice2run = DICERUN_MIN;
srand((unsigned char)dice1run);
dice2state = 0x01;
}
break;
case 0x01: // dice2 startup
if (dice2run < DICERUN_MAX) // variable running time
dice2run++;
else
dice2run = DICERUN_MIN;
if (dice2 == DICE_MAX) // simple 'random' number
dice2 = DICE_MIN;
else dice2++;
if (PDR00_P1 == 0) // Key SW3:INT9 released
{
dice2delay = 1;
dice2delayrld = 1;
dice2state = 0x02;
}
break;
case 0x02: // dice2 running
dice2run--;
dice2delay--;
if (!dice2delay)
{
do // get new random number
{
temp = rand() % 6 + 1;
}
while (temp == dice2);
dice2 = temp;
PDR05 = DICE7SEG2[dice2];
dice2delayrld = dice2delayrld + 100;
dice2delay = dice2delayrld;
}
if (dice2run == 0) // dice stopped
{
PDR05 = DICE7SEG2[rand() % 6 + 1];
dice2state = 0x00;
}
break;
}//switch (dice2state)
} // while(1)
}
void vApplicationIdleHook( void )
{
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -0,0 +1,86 @@
$CPUSERIES-907
$Prj-Debug
$0
-g
-w 3
-INF LIST
-D _16FX_SOFTUNE
-I "."
-I "..\Common\Include"
-I "..\..\Source\Include"
-O 1
-model MEDIUM
-B
-Xdof
-K NOEOPT
-K NOLIB
-K NOUNROLL
$other
-INF srcin
$time
1232224954
$end
$1
-g
-w 2
-linf ON
-lsrc ON
-lsec ON
-lcros OFF
-linc ON
-lexp OBJ
-pl 60
-pw 100
-tab 8
-lf
-Xdof
$other
$time
1232224863
$end
$2
-g
-AL 2
-ra _INRAM01=0x005240/0x007FFF
-ro _INROM01=0xFC0000/0xFFFFFF
-ro _INROM02=0xDF0000/0xDF7FFF
-sc CONST/Const/BYTE=0xFF8000
-check_rora
-check_locate
-rg 0
-m
-pl 60
-pw 132
-Xals
-Xalr
-na
-w 2
-Xdof
$other
-Xset_rora
$time
1232226688
$end
$3
-dt s,d,r,a
-pl 60
-pw 132
-g
-Xdof
$other
$time
1232226688
$end
$4
-Xdof
$other
$time
1232224863
$end
$5
$other
$time
1232224863
$end
$Prjend
$CPUSERIESEND

@ -0,0 +1,39 @@
==========================================================================
DICE2 Project for DICE-KIT-16FX Evaluation Board
==========================================================================
Fujitsu Microelectronics Europe GmbH
The following software is for demonstration purposes only. It is not
fully tested, nor validated in order to fullfill its task under all
circumstances. Therefore, this software or any part of it must only be
used in an evaluation laboratory environment.
This software is subject to the rules of our standard DISCLAIMER, that is
delivered with our SW-tools on the Fujitsu Microcontrollers DVD
(V5.0 or higher "\START.HTM").
==========================================================================
History
Date Ver Author Softune Description
2008-04-28 1.0 AVo/HWe V30L34R06 original version
==========================================================================
This is Demoproject for the DICE-KIT-16FX Evaluation-Board.
It includes some basic settings for e.g. Linker, C-Compiler
which must be checked and modified in detail,
corresponding to the user application.
Description:
This projects simulates two dices.
SEG1 is dice1 and can be started by pressing key SW2 (INT8)
SEG2 is dice2 and can be started by pressing key SW3 (INT9)
After a while the started dice will stop displaying a value from 1..6.
Note:
Remove jumper JP2 (External watchdog is not supported by this project)
Clock settings:
---------------
Crystal: 4 MHz
CLKB: 56 MHz
CLKP1: 56 MHz
CLKP2: 14 MHz

@ -0,0 +1,143 @@
/* THIS SAMPLE CODE IS PROVIDED AS IS AND IS SUBJECT TO ALTERATIONS. FUJITSU */
/* MICROELECTRONICS ACCEPTS NO RESPONSIBILITY OR LIABILITY FOR ANY ERRORS OR */
/* ELIGIBILITY FOR ANY PURPOSES. */
/* (C) Fujitsu Microelectronics Europe GmbH */
/*---------------------------------------------------------------------------
VECTORS.C
- Interrupt level (priority) setting
- Interrupt vector definition
-----------------------------------------------------------------------------*/
#include "mb96356rs.h"
/*---------------------------------------------------------------------------
InitIrqLevels()
This function pre-sets all interrupt control registers. It can be used
to set all interrupt priorities in static applications. If this file
contains assignments to dedicated resources, verify that the
appropriate controller is used.
NOTE: value 7 disables the interrupt and value 0 sets highest priority.
-----------------------------------------------------------------------------*/
#define MIN_ICR 11
#define MAX_ICR 93
#define DEFAULT_ILM_MASK 7
void InitIrqLevels(void)
{
volatile int irq;
for (irq = MIN_ICR; irq <= MAX_ICR; irq++)
{
ICR = (irq << 8) | DEFAULT_ILM_MASK;
}
}
/*---------------------------------------------------------------------------
Prototypes
Add your own prototypes here. Each vector definition needs is proto-
type. Either do it here or include a header file containing them.
-----------------------------------------------------------------------------*/
__interrupt void DefaultIRQHandler (void);
/*---------------------------------------------------------------------------
Vector definiton for MB9635x
Use following statements to define vectors. All resource related
vectors are predefined. Remaining software interrupts can be added here
as well.
NOTE: If software interrupts 0 to 7 are defined here, this might
conflict with the reset vector in the start-up file.
-----------------------------------------------------------------------------*/
#pragma intvect DefaultIRQHandler 11 /* Non-maskable Interrupt */
#pragma intvect DefaultIRQHandler 12 /* Delayed Interrupt */
#pragma intvect DefaultIRQHandler 13 /* RC Timer */
#pragma intvect DefaultIRQHandler 14 /* Main Clock Timer */
#pragma intvect DefaultIRQHandler 15 /* Sub Clock Timer */
#pragma intvect DefaultIRQHandler 16 /* Reserved */
#pragma intvect DefaultIRQHandler 17 /* EXT0 */
#pragma intvect DefaultIRQHandler 18 /* EXT1 */
#pragma intvect DefaultIRQHandler 19 /* EXT2 */
#pragma intvect DefaultIRQHandler 20 /* EXT3 */
#pragma intvect DefaultIRQHandler 21 /* EXT4 */
#pragma intvect DefaultIRQHandler 22 /* EXT5 */
#pragma intvect DefaultIRQHandler 23 /* EXT7 */
#pragma intvect DefaultIRQHandler 24 /* EXT8 */
#pragma intvect DefaultIRQHandler 25 /* EXT9 */
#pragma intvect DefaultIRQHandler 26 /* EXT10 */
#pragma intvect DefaultIRQHandler 27 /* EXT11 */
#pragma intvect DefaultIRQHandler 28 /* EXT12 */
#pragma intvect DefaultIRQHandler 29 /* EXT13 */
#pragma intvect DefaultIRQHandler 30 /* EXT14 */
#pragma intvect DefaultIRQHandler 31 /* EXT15 */
#pragma intvect DefaultIRQHandler 32 /* CAN1 */
#pragma intvect DefaultIRQHandler 33 /* CAN2 */
#pragma intvect DefaultIRQHandler 34 /* PPG0 */
#pragma intvect DefaultIRQHandler 35 /* PPG1 */
#pragma intvect DefaultIRQHandler 36 /* PPG2 */
#pragma intvect DefaultIRQHandler 37 /* PPG3 */
#pragma intvect DefaultIRQHandler 38 /* PPG4 */
#pragma intvect DefaultIRQHandler 39 /* PPG5 */
#pragma intvect DefaultIRQHandler 40 /* PPG6 */
#pragma intvect DefaultIRQHandler 41 /* PPG7 */
#pragma intvect DefaultIRQHandler 42 /* PPG8 */
#pragma intvect DefaultIRQHandler 43 /* PPG9 */
#pragma intvect DefaultIRQHandler 44 /* PPG10 */
#pragma intvect DefaultIRQHandler 45 /* PPG11 */
#pragma intvect DefaultIRQHandler 46 /* PPG12 */
#pragma intvect DefaultIRQHandler 47 /* PPG13 */
#pragma intvect DefaultIRQHandler 48 /* PPG14 */
#pragma intvect DefaultIRQHandler 49 /* PPG15 */
#pragma intvect DefaultIRQHandler 50 /* PPG16 */
#pragma intvect DefaultIRQHandler 51 /* PPG17 */
#pragma intvect DefaultIRQHandler 52 /* PPG18 */
#pragma intvect DefaultIRQHandler 53 /* PPG19 */
#pragma intvect DefaultIRQHandler 54 /* RLT0 */
#pragma intvect DefaultIRQHandler 55 /* RLT1 */
#pragma intvect DefaultIRQHandler 56 /* RLT2 */
#pragma intvect DefaultIRQHandler 57 /* RLT3 */
#pragma intvect DefaultIRQHandler 58 /* PPGRLT - RLT6 */
#pragma intvect DefaultIRQHandler 59 /* ICU0 */
#pragma intvect DefaultIRQHandler 60 /* ICU1 */
#pragma intvect DefaultIRQHandler 63 /* ICU4 */
#pragma intvect DefaultIRQHandler 64 /* ICU5 */
#pragma intvect DefaultIRQHandler 65 /* ICU6 */
#pragma intvect DefaultIRQHandler 66 /* ICU7 */
#pragma intvect DefaultIRQHandler 71 /* OCU4 */
#pragma intvect DefaultIRQHandler 72 /* OCU5 */
#pragma intvect DefaultIRQHandler 73 /* OCU6 */
#pragma intvect DefaultIRQHandler 74 /* OCU7 */
#pragma intvect DefaultIRQHandler 77 /* FRT0 */
#pragma intvect DefaultIRQHandler 78 /* FRT1 */
#pragma intvect DefaultIRQHandler 81 /* RTC0 */
#pragma intvect DefaultIRQHandler 82 /* CAL0 */
#pragma intvect DefaultIRQHandler 83 /* I2C0 */
#pragma intvect DefaultIRQHandler 84 /* ADC */
#pragma intvect DefaultIRQHandler 85 /* LIN-UART 2 RX */
#pragma intvect DefaultIRQHandler 86 /* LIN-UART 2 TX */
#pragma intvect DefaultIRQHandler 87 /* LIN-UART 3 RX */
#pragma intvect DefaultIRQHandler 88 /* LIN-UART 3 TX */
#pragma intvect DefaultIRQHandler 89 /* LIN-UART 7 RX */
#pragma intvect DefaultIRQHandler 90 /* LIN-UART 7 TX */
#pragma intvect DefaultIRQHandler 91 /* LIN-UART 8 RX */
#pragma intvect DefaultIRQHandler 92 /* LIN-UART 8 TX */
#pragma intvect DefaultIRQHandler 93 /* MAIN FLASH IRQ */
/*---------------------------------------------------------------------------
DefaultIRQHandler()
This function is a placeholder for all vector definitions. Either use
your own placeholder or add necessary code here.
-----------------------------------------------------------------------------*/
__interrupt
void DefaultIRQHandler (void)
{
__DI(); /* disable interrupts */
while(1)
{
__wait_nop(); /* halt system */
}
}
Loading…
Cancel
Save