cleanup
authorBernhard Urban <lewurm@gmx.net>
Mon, 14 Dec 2009 13:05:18 +0000 (14:05 +0100)
committerBernhard Urban <lewurm@gmx.net>
Mon, 14 Dec 2009 13:17:28 +0000 (14:17 +0100)
-rw-r--r-- 1 lewurm lewurm 5620 2009-12-14 14:12 pkernel.mhx

README [new file with mode: 0644]
changes_to_HWM.txt [deleted file]
pkernel/Makefile
pkernel/flash.c
pkernel/flash.h
pkernel/mb91465k.asm
pkernel/mb91465k.h
readme.txt [deleted file]

diff --git a/README b/README
new file mode 100644 (file)
index 0000000..bd8108e
--- /dev/null
+++ b/README
@@ -0,0 +1 @@
+insert $README here ;)
diff --git a/changes_to_HWM.txt b/changes_to_HWM.txt
deleted file mode 100644 (file)
index e33bd33..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-\r
-\r
-Differences to the manual\r
--------------------------\r
-\r
-\r
-# Port Data Register\r
-  - Bitnames in headerfiles are D7 to D0\r
-\r
-# ROM Select Register\r
-  - ROMS, Bitnames in headerfile are D00 to D15\r
-\r
-# CAN IFx Data A and Data B Registers IFxDTA_SWPyz\r
-  - IFx Data A and Data B Registers with Little endian order are named IFxDTA_SWPyz\r
-    for example CAN 0\r
-        Hardware Manual: Address: 0x00C030H; Register Name: IF1DTA20\r
-        Header File    : Address: 0x00C030H; Register Name: IF1DTA_SWP20 \r
-\r
-# ADC Status Register, Timing Register, Enable Register and Data Register:\r
-       - Status Register: ADCS (16Bit access) in HWM only 2 8Bit types ADCS0 and ADCS1\r
-       - Data Register: ADCR (16Bit access) in HWM only 2 8Bit types ADCR1 and ADCR0\r
-       - Timing Register: ADCT (16Bit access) in HWM only 2 8Bit types ADCT1 and ADCT0\r
-       - Enable Register: ADER (32Bit access) in HWM only 2 16Bit types ADERL and ADERH
\ No newline at end of file
index 3da18c06ccffdcc21445976b487c0a50424b993e..ff044d80e7eb703548ef8c2ecbbce798aee3ddf2 100644 (file)
@@ -1,16 +1,15 @@
-# TODO: make upload, remove warnings
-
-# hinweise:
-# wenn folgende meldung kommt
+# note:
+# when this message appears on build
 #> "*** F9012D : tool execute is failed (fasm911s)"
-# per 'wine regedit' den string "Path" in
+# you have to set the "Path" environment var in wine.
+# start 'wine regedit' and create a string "Path" in
 #> HKEY_CURRENT_USER/Environment
-# setzen, naemlich auf die ausgabe von
+# and set it to the output of
 #> winepath $FUJDEV/Bin
-# natuerlich muss $FUJDEV richtig gesetzt sein!
+# consider you have to set $FUJDEV properly
 
 ifeq ($(strip $(FUJDEV)),)
-$(error "Set FUJDEV in your environment. Ususally this is the Rootpath of the Softune installer. You MUST NOT install it through wine.")
+$(error "Set FUJDEV in your environment. Ususally this is the Rootpath of the Softune installer package. You MUST NOT install it through wine.")
 endif
 
 PREFIX = wine $(FUJDEV)/Bin/
index cd1b20c26c108ea286c2625fdc7b7da2ca0800df..a86c20541244bfed54502c1c6e51d88691f58091 100644 (file)
@@ -1,10 +1,3 @@
-/*****************************************************************************/
-/* 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                  */
-/*****************************************************************************/
-
 #include "flash.h"
 #include "mb91465k.h"
 
index 00736670b7d69ce268b8a7f489252abd4d15588f..654430fa9438d4f2a24c516af3581b846d2ab337 100644 (file)
@@ -1,10 +1,3 @@
-/*****************************************************************************/
-/* 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                  */
-/*****************************************************************************/
-
 #ifndef __FLASH_H__
 #define __FLASH_H__
 
@@ -31,4 +24,4 @@ unsigned int FLASH_SaveDisableInterruptFlag(void);
 void FLASH_RestoreInterruptFlag(unsigned int flag);
 unsigned char FLASH_CheckPendingInterrupt(void);
 
-#endif /* __FLASH_H__  */
+#endif
index d2240e967eea1946bdeddfab9961337f5537e60f..3a30673d74e33b16198bc07fab5f26be75afbeb2 100644 (file)
@@ -1,13 +1,2 @@
-/* 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                  */
-/*---------------------------------------------------------------------------
-  mb91467d.asm
-
-
-            1.00   UMa    Initial Version
------------------------------------------------------------------------------*/
-
 #define __IO_DEFINE
 #include "mb91465k.h"
index d34b99db45d4badc6ee4683a44daefbf40d9e4ac..bded6da6f25697ceb1879e7faffea330e2b91229 100644 (file)
 /* ELIGIBILITY FOR ANY PURPOSES                                              */
 /*                 (C) Fujitsu Microelectronics Europe GmbH                  */
 /* ************************************************************************* */
-/* ---------------------------------------------------------------------- */
-/*  Id: MB91465K.h,v 1.5 2007/01/04 11:04:48 meffen Exp   */
-/* ----------------------------------------------------------------------                                  */
-/*  Id: MB91465K.h,v 1.5 2007/01/04 11:04:48 meffen Exp   */
-/*      - removed LCD and Sound Controller */
-/* Id: MB91465K.h,v 1.4 2006/11/30 14:39:18 meffen Exp  */
-/*      - -added registers: ADER (32Bit access)         */
-/*                          ADCS (16Bit access)         */
-/*                          ADCR (16Bit access)         */
-/*                          ADCT (16Bit access)         */
 
 /* ASSEMBLER DEFINITIONS : */
 
diff --git a/readme.txt b/readme.txt
deleted file mode 100644 (file)
index c74f757..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-==========================================================================\r
-                   FLASH Programming Demo for MB91F465K \r
-==========================================================================\r
-                   Fujitsu Microelectronics Europe GmbH                       \r
-                 http://emea.fujitsu.com/microelectronics \r
-                                                            \r
- The following  software  is for  demonstration  purposes only.  It is not\r
- fully  tested, nor validated  in order  to fullfill  its task  under  all\r
- circumstances.  Therefore,  this software or  any part of it must only be\r
- used in an evaluation laboratory environment.                        \r
- This software is subject to the rules of our standard DISCLAIMER, that is\r
- delivered with our  SW-tools on the Fujitsu Microcontrollers CD \r
- (V3.4 or higher "\START.HTM") or on our Internet Pages:\r
- http://www.fme.gsdc.de/gsdc.htm\r
- http://emea.fujitsu.com/microelectronics \r
-==========================================================================\r
-               \r
-History\r
-Date      Ver   Author  Softune   Description\r
-10.07.07  1.0   MVo     V60L06    First Version\r
-                                                                 \r
-==========================================================================\r
-\r
-This is simple demo showing how to use the FLASH programming Auto\r
-Algorithms.\r
-\r
-Target of this demo is to show application of the following aspects of\r
-FLASH memory erase/write:\r
-\r
-1) Preparation of FLASH Read/Write Mode (via BootROM routine)\r
-2) Sector Erase\r
-3) Sector Erase Suspend/Resume\r
-4) Write Halfword to FLASH memory addresses\r
-\r
-Remarks:\r
-\r
-A) Reload Timer 0 is setup to demonstrate handling of Interrupt Requests\r
-   via polling and subsequent Sector Erase Suspend, Restore Global \r
-   Interrupt Flag, Handling of IRQ and Sector Erase Resume.\r
-   \r
-B) Handling of RAMCODE is added to Start91460.asm because FLASH prog.\r
-   routines have to be run from RAM since no code fetching is possible\r
-   while write/erase of FLASH memory.\r
-\r
-Connect MCU UART4 to Terminal Program (19200Baud 8N1). After Power On\r
-a welcome message is output on UART4. The Action of Reload Timer 0 is\r
-to increase a counter displayed on LED D1..D8 of SK-91F465K-120PMT each\r
-0.010s.\r
-The FLASH memory Sector content at Addresses 0xA0000 up to 0xA001F is\r
-shown.\r
-After this the Sector 0xA0000 will be erased by Sector\r
-Erase command (this Sector Erase Commands is repeatedly interrupted by\r
-Reload Timer 0 Interrupts which are handled from FLASH memory (Sector \r
-Erase Suspend/Resume).\r
-When the Sectors are earsed a few data are programmed to some given \r
-addresses in the sector 0xA0000. \r
-Finaly the FLASH memory content at addresses 0xA0000 up to 0xA001F is shown\r
-again to confirm the programmed values.\r